/* bezmiten-vnos.css – Безмитен внос (ATLANTIC DRIVE tuned) */

/* =====================
   BM THEME (inherits global vars if present)
   ===================== */
:root{
  --bm-brand: var(--brand, #1f5eff);
  --bm-brand-light: var(--brand-light, #6ea1ff);

  --bm-ink: rgba(233,241,255,.92);
  --bm-muted: rgba(233,241,255,.72);
  --bm-muted-2: rgba(233,241,255,.60);

  --bm-panel: rgba(255,255,255,.06);
  --bm-panel-2: rgba(255,255,255,.08);
  --bm-border: rgba(255,255,255,.10);
  --bm-border-strong: rgba(31,94,255,.22);

  --bm-shadow: 0 14px 34px rgba(0,0,0,.20);
  --bm-radius: 24px;

  --bm-hero-img: url("../Images/BEzmitenVnosCarsHero.jpg");
}

/* =====================
   HERO
   ===================== */

.bm-hero{
  position: relative;
  width: 100%;
  min-height: clamp(380px, 70vh, 520px);
  overflow: hidden;
  color: var(--bm-ink);
  isolation: isolate;

  /* по-надеждно от отделни background-* */
  background: #020617 var(--bm-hero-img) center / cover no-repeat !important;
}

.bm-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to right,
    rgba(3, 5, 9, .96) 0%,
    rgba(8, 16, 35, .93) 35%,
    rgba(15, 23, 42, .86) 58%,
    rgba(15, 23, 42, .62) 80%,
    rgba(15, 23, 42, .08) 100%
  );
  z-index:0;
}

.bm-hero-inner{
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding-block: clamp(56px, 15vh, 92px);
}

.bm-hero-copy{
  max-width: 560px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.bm-hero-title{
  margin: 0;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.18;
  font-weight: 900;
  color: #fff;

  background: linear-gradient(90deg, #fff 0%, rgba(169,198,255,.95) 55%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bm-hero-lead{
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.84);
}

.bm-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 8px;
}

.bm-hero-btn{
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
}

.bm-hero-btn.ghost,
.bm-hero-link{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: rgba(233,241,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bm-hero-btn.ghost:hover,
.bm-hero-link:hover{
  border-color: rgba(115,195,255,.70);
  box-shadow: 0 0 0 3px rgba(31,94,255,.14);
}

@media (max-width: 768px){
  .bm-hero{ min-height: 440px; background-position: center top; }
  .bm-hero-inner{ padding-block: 84px 36px; }
  .bm-hero-copy{ max-width: 100%; }
}

/* =====================
   MAIN WRAP + SECTION HEADERS
   ===================== */

.bm-main{
  padding-top: clamp(14px, 2.2vw, 22px);
  padding-bottom: clamp(40px, 6vw, 72px);
  color: var(--bm-ink);
}

.bm-section-head{
  max-width: 760px;
  margin: 0 auto clamp(18px, 3vw, 26px);
  text-align: center;
}

.bm-kicker{
  margin: 0 0 3px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(115,195,255,.92);
}

.bm-section-head h2{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 900;
  color: #ffffff;
}

.bm-section-head p{
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--bm-muted);
}

/* =====================
   1) INTRO – голямо заглавие + текст + голяма снимка (dark/glass)
   ===================== */

/* grid без обща “карта”, но с glass върху текста */
.bm-intro-card{
  background: transparent;
  border: none;
  box-shadow: none;

  padding: clamp(26px, 5.5vw, 36px) 0 clamp(22px, 4vw, 32px);

  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}

@media (max-width: 900px){
  .bm-intro-card{ grid-template-columns: minmax(0, 1fr); }
}

.bm-intro-title{
  margin: 0 0 14px;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.bm-intro-copy{
  max-width: 640px;

  padding: 16px 16px;
  border-radius: var(--bm-radius);
  background: var(--bm-panel);
  border: 1px solid var(--bm-border);
  box-shadow: var(--bm-shadow);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bm-intro-copy p{
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(233,241,255,.78);
}

.bm-intro-copy p + p{ margin-top: 10px; }

.bm-intro-photo{
  border-radius: 26px;
  min-height: 100%;

  background: #0b1224 url("../Images/wei-shun-kajyAu8qxFE-unsplash.jpg") center / cover no-repeat;
  position: relative;
  overflow: hidden;

  box-shadow: 0 26px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);

  transform: translateY(0);
}

/* hover само на устройства с hover */
@media (hover: hover){
  .bm-intro-photo{
    transition: transform .20s ease-out, box-shadow .20s ease-out;
  }
  .bm-intro-photo:hover{
    transform: translateY(-4px);
    box-shadow: 0 32px 80px rgba(0,0,0,.42);
  }
}

.bm-intro-photo::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to left, rgba(2,6,23,.18), transparent 40%);
  pointer-events:none;
}

/* =====================
   2) PROCESS – карти със снимки (dark/glass)
   ===================== */

.bm-process{
  text-align: center;
}

.bm-process-head{
  margin-top: clamp(10px, 2vw, 18px);
}

.bm-process-grid{
  margin-top: clamp(18px, 3vw, 26px);
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 26px);
  max-width: 1120px;
  margin-inline: auto;
}

@media (max-width: 1100px){
  .bm-process-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .bm-process-grid{ grid-template-columns: minmax(0, 1fr); }
}

.bm-process-card{
  background: var(--bm-panel);
  border-radius: 24px;
  box-shadow: var(--bm-shadow);
  border: 1px solid var(--bm-border);
  overflow:hidden;

  display:flex;
  flex-direction:column;
  text-align:left;
  min-height: 100%;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bm-process-img{
  height: 210px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* снимки за стъпките */
.bm-process-img--1{ background-image: url("../Images/zan-lazarevic-BTzLUhq4z0U-unsplash.jpg"); }
.bm-process-img--2{ background-image: url("../Images/copart.webp"); }
.bm-process-img--3{ background-image: url("../Images/romain-dancre-doplSDELX7E-unsplash.jpg"); }
.bm-process-img--4{ background-image: url("../Images/tobias-tullius-xP5an6iXcf0-unsplash.jpg"); }
.bm-process-img--5{ background-image: url("../Images/avtovoz.jpeg"); }
.bm-process-img--6{ background-image: url("../Images/nomera.jpg"); }

.bm-process-body{
  padding: 16px 18px 20px;
}

.bm-process-step{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: rgba(115,195,255,.62);
  margin: 0 0 6px;
}

.bm-process-card h3{
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
}

.bm-process-card p{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--bm-muted);
}

/* hover само на hover устройства */
@media (hover: hover){
  .bm-process-card{
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  }
  .bm-process-card:hover{
    transform: translateY(-2px);
    background: var(--bm-panel-2);
    border-color: var(--bm-border-strong);
  }
}

/* =====================
   CTA като карта
   ===================== */

.bm-process-cta{
  grid-column: 1 / -1;
  align-self: stretch;
  border-radius: 24px;
  padding: 20px 24px;

  background: linear-gradient(135deg, rgba(31,94,255,.82), rgba(2,8,20,.92));
  border: 1px solid rgba(96,165,250,.45);

  color: rgba(233,241,255,.92);
  text-align:center;

  box-shadow: 0 24px 48px rgba(0,0,0,.40);

  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
  position: relative;
}

.bm-process-cta h3{
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
  color: #fff;
}

.bm-process-cta p{
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(233,241,255,.78);
}

.bm-process-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width: 100%;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
}

/* на таблет/мобилно CTA винаги да е цяла ширина */
@media (max-width: 1100px){
  .bm-process-cta{ grid-column: span 2; }
}
@media (max-width: 640px){
  .bm-process-cta{ grid-column: span 1; padding: 18px 16px; }
}

/* =====================
   SCROLL REVEAL (ако ползваш js is-inview)
   ===================== */
.js-animate-on-scroll{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease-out, transform .55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.js-animate-on-scroll.is-inview{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .js-animate-on-scroll{ transition: opacity .25s linear; transform: none; will-change: auto; }
  .js-animate-on-scroll.is-inview{ opacity: 1; }
}

/* =====================
   Активен линк в подменюто "За нас" (single source of truth)
   ===================== */

.submenu a.is-active{
  font-weight: 700;
  color: #ffffff;
  position: relative;
}

.submenu a.is-active::after{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}

/* ако не искаш плаващия бутон тук */
.fab-contact{ display:none; }
