/* ============================================================
   Ayra Perfume — front-end styles
   ============================================================ */
:root{
  --bg:#100d09;
  --bg-2:#151109;
  --bg-soft:#1b160f;
  --panel:rgba(30,24,15,.55);
  --panel-2:rgba(24,19,12,.65);
  --line:rgba(214,164,74,.16);
  --gold:#e0b15f;
  --gold-2:#f3cf82;
  --gold-deep:#c99534;
  --gold-grad:linear-gradient(120deg,#f3d089,#d99f3f 55%,#b97b22);
  --text:#efe7d6;
  --muted:#b3a88f;
  --muted-2:#8c826c;
  --radius:16px;
  --maxw:1200px;
  --ff:'Vazirmatn',system-ui,'Segoe UI',Tahoma,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden;scrollbar-color:#6e5222 #100d09;scrollbar-width:thin}
img,svg,video,canvas{max-width:100%}
/* Themed scrollbar (WebKit/Blink) — subtle bronze */
::-webkit-scrollbar{width:9px;height:9px}
::-webkit-scrollbar-track{background:#100d09}
::-webkit-scrollbar-thumb{background:#6e5222;border-radius:10px;border:2px solid #100d09}
::-webkit-scrollbar-thumb:hover{background:var(--gold-deep)}
::selection{background:rgba(224,177,95,.3);color:#fff}
body{
  margin:0;
  font-family:var(--ff);
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(224,177,95,.10), transparent 60%),
    linear-gradient(180deg,#0d0b07,#100d09 40%,#0c0a07);
  background-attachment:fixed;
  line-height:1.85;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
/* Global site background image (whole site), admin-set, desktop + mobile.
   Sits behind everything; when unset, the gradient above shows instead. */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:var(--site-bg);background-size:cover;background-position:center;background-repeat:no-repeat}
@media (max-width:860px){ body::before{background-image:var(--site-bg-m, var(--site-bg))} }
body.loading{overflow:hidden;height:100vh}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:24px}
.gold{color:var(--gold)}
.logo-img{height:34px;width:auto;display:block}
/* Section backgrounds (admin-set images) — full cover, no fade, flush to
   the sections above and below so it reads as one continuous surface. */
/* Optional per-section background, with independent desktop & mobile images.
   Stretched to fill the whole section (no crop). */
.has-secbg{position:relative;isolation:isolate}
.has-secbg > .container{position:relative;z-index:1}
.secbg-d::before,.secbg-m::before{content:"";position:absolute;inset:0;z-index:-1;
  background-size:100% 100%;background-position:center;background-repeat:no-repeat}
.secbg-d::before{background-image:var(--secbg-d)}
@media (max-width:860px){
  .secbg-d:not(.secbg-m)::before{display:none}   /* desktop-only bg: hide on phones */
  .secbg-m::before{display:block;background-image:var(--secbg-m)}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:10px;justify-content:center;
  font-family:inherit;font-size:.95rem;font-weight:600;cursor:pointer;
  border:none;border-radius:999px;padding:14px 26px;transition:.25s ease;
  white-space:nowrap;
}
.btn svg{flex:0 0 auto}
.btn--gold{background:var(--gold-grad);color:#231703;box-shadow:0 10px 30px -10px rgba(224,177,95,.55)}
.btn--gold:hover{transform:translateY(-2px);box-shadow:0 16px 40px -12px rgba(224,177,95,.7)}
.btn--ghost{background:rgba(20,16,10,.5);color:var(--gold-2);border:1px solid var(--line)}
.btn--ghost:hover{border-color:var(--gold);color:var(--gold)}
.btn--link{background:transparent;color:var(--muted);padding:14px 8px}
.btn--link:hover{color:var(--gold)}
.btn--block{width:100%;padding:16px}

/* ---------- Section helpers ---------- */
.eyebrow{color:var(--gold);font-size:.9rem;letter-spacing:.04em;display:block;margin-bottom:12px}
.section-title{font-size:clamp(1.5rem,3.4vw,2.35rem);font-weight:700;margin:0 0 8px;line-height:1.5}
.section-head{margin-bottom:44px}
.section-head.center{text-align:center}
section{position:relative}

/* ============================================================
   LOADER
   ============================================================ */
.loader{
  position:fixed;inset:0;z-index:9999;
  display:grid;place-items:center;
  background:radial-gradient(800px 560px at 50% 42%, #1a140c, #0b0906 72%);
  transition:opacity 1.1s ease, visibility 1.1s ease;
}
.loader.is-done{opacity:0;visibility:hidden}
.loader__inner{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;
  transform:translateY(0);transition:transform 1.1s cubic-bezier(.7,0,.2,1)}
/* Soft golden glow that blooms behind the logo as it fills */
.loader__inner::before{content:"";position:absolute;top:38%;left:50%;width:60vmin;height:60vmin;
  transform:translate(-50%,-50%) scale(.6);
  background:radial-gradient(circle, rgba(243,207,130,.30), rgba(224,177,95,.10) 40%, transparent 68%);
  opacity:0;filter:blur(6px);pointer-events:none;
  transition:opacity 1.4s ease, transform 1.8s cubic-bezier(.4,0,.2,1)}
.loader__inner.is-glow::before{opacity:1;transform:translate(-50%,-50%) scale(1)}
.loader__logo{position:relative;width:min(46vw,240px)}
.loader__logo svg{width:100%;height:auto;display:block;
  filter:drop-shadow(0 12px 30px rgba(224,177,95,.2));transition:filter 1.4s ease}
.loader__logo svg path{
  stroke:var(--gold);stroke-width:1.1;
  fill-opacity:0;transition:fill-opacity 1.4s ease .1s;
}
/* Fill the colour in very softly, and bloom the glow */
.loader__logo.is-filled svg path{fill-opacity:1;stroke-opacity:0;
  transition:fill-opacity 1.5s cubic-bezier(.4,0,.2,1), stroke-opacity 1.6s ease}
.loader__logo.is-filled svg{filter:drop-shadow(0 0 34px rgba(243,207,130,.5)) drop-shadow(0 14px 34px rgba(224,177,95,.35))}
.loader__word{
  font-size:clamp(2.4rem,7vw,3.6rem);font-weight:800;color:var(--gold-2);
  letter-spacing:.02em;opacity:0;transform:translateY(16px);
  transition:opacity 1s ease, transform 1s cubic-bezier(.5,0,.2,1);
  text-shadow:0 0 30px rgba(243,207,130,.45), 0 6px 26px rgba(224,177,95,.3);
}
.loader__word.is-in{opacity:1;transform:translateY(0)}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:fixed;top:0;inset-inline:0;z-index:900;
  transition:background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom:1px solid transparent;
}
.site-header.is-stuck{
  background:rgba(12,10,7,.82);backdrop-filter:blur(14px);
  border-bottom-color:var(--line);
}
.header__bar{display:flex;align-items:center;justify-content:space-between;gap:20px;height:74px}
.header__logo{order:1}
.header__nav{order:2;display:flex;align-items:center;gap:22px;margin-inline:auto}
.header__cta{order:3}
.header__menu{display:flex;list-style:none;gap:26px;margin:0;padding:0}
.header__menu a{color:var(--text);font-size:.95rem;opacity:.85;transition:.2s;position:relative}
.header__menu a:hover{opacity:1;color:var(--gold)}
.header__menu a::after{content:"";position:absolute;bottom:-6px;inset-inline:0;height:2px;background:var(--gold);transform:scaleX(0);transition:.25s}
.header__menu a:hover::after{transform:scaleX(1)}
.header__search{background:none;border:none;color:var(--text);cursor:pointer;opacity:.8;padding:6px}
.header__search:hover{color:var(--gold)}
.header__logo{display:flex;align-items:center;gap:8px}
.header__logo-fa{font-size:1.6rem;font-weight:800;color:var(--gold-2)}
.header__logo-mark{width:32px;height:32px;flex:0 0 auto;display:flex;align-items:center}
.header__logo-mark svg{width:100%;height:100%;display:block}
.header__logo-mark svg path{fill:var(--gold)!important;stroke:none!important;fill-opacity:1!important}
.header__burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:10px;order:2;z-index:1}
.header__burger span{width:24px;height:2px;background:var(--gold-2);border-radius:2px;transition:transform .3s, opacity .2s}
.header__burger.is-active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.header__burger.is-active span:nth-child(2){opacity:0}
.header__burger.is-active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
/* Backdrop behind the mobile drawer */
.nav-backdrop{position:fixed;inset:0;background:rgba(6,5,3,.6);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:.3s;z-index:40}
.nav-backdrop.is-visible{opacity:1;visibility:visible}
body.nav-open{overflow:hidden}
/* Drawer-only chrome (hidden on desktop) */
.header__nav-top,.header__nav-cta{display:none}

/* ============================================================
   HERO  (image left, fades toward text + blends into next section)
   ============================================================ */
.hero{position:relative;min-height:100svh;display:flex;align-items:center;padding-top:74px;overflow:hidden}
/* Desktop background media (video that fades to the still image on end),
   pinned to the physical LEFT, fading toward the text on the right + bottom. */
.hero__bg{
  position:absolute;top:0;bottom:0;left:0;width:62%;overflow:hidden;
  /* Fade toward the text (right) AND toward the next section (bottom) so the
     image dissolves into the textured background — no visible section seam. */
  -webkit-mask-image:linear-gradient(to right, #000 40%, transparent 97%),
                     linear-gradient(to bottom, #000 55%, transparent 96%);
  -webkit-mask-composite:source-in;
          mask-image:linear-gradient(to right, #000 40%, transparent 97%),
                     linear-gradient(to bottom, #000 55%, transparent 96%);
          mask-composite:intersect;
}
.hero__still,.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero__still{background-size:cover;background-position:center left}
.hero__video{opacity:1;transition:opacity 1.1s ease}
.hero__bg.is-ended .hero__video{opacity:0}          /* reveal still image when video ends */
.hero__mobile-img{display:none}
/* Text column sits on the right (start side in RTL). */
.hero__grid{position:relative;z-index:3;width:100%;display:flex;justify-content:flex-start}
.hero__content{max-width:560px;text-align:start}
.hero__title{font-size:clamp(2.2rem,5.4vw,3.7rem);font-weight:800;line-height:1.35;margin:0 0 22px}
.hero__title span{display:block}
.hero__subtitle{color:var(--muted);font-size:1.08rem;max-width:520px;margin:0 0 34px}
.hero__actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
[dir="ltr"] .hero__bg{left:auto;right:0;
  -webkit-mask-image:linear-gradient(to left,#000 40%,transparent 97%),linear-gradient(to bottom,#000 55%,transparent 96%);
          mask-image:linear-gradient(to left,#000 40%,transparent 97%),linear-gradient(to bottom,#000 55%,transparent 96%);}
[dir="ltr"] .hero__still{background-position:center right}

/* ============================================================
   STORY
   ============================================================ */
.story{position:relative;min-height:100svh;display:flex;align-items:center;overflow:hidden;padding:60px 0}
/* Desktop background media pinned to the RIGHT, fading toward the text on the left. */
.story__bg{
  position:absolute;top:0;bottom:0;right:0;width:62%;overflow:hidden;
  /* Fade toward the text (left) and toward the top + bottom sections. */
  -webkit-mask-image:linear-gradient(to left, #000 40%, transparent 97%),
                     linear-gradient(to bottom, transparent 2%, #000 20%, #000 80%, transparent 98%);
  -webkit-mask-composite:source-in;
          mask-image:linear-gradient(to left, #000 40%, transparent 97%),
                     linear-gradient(to bottom, transparent 2%, #000 20%, #000 80%, transparent 98%);
          mask-composite:intersect;
}
.story__still,.story__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.story__still{background-size:cover;background-position:center right}
.story__mobile-img{display:none}
/* Text column sits on the LEFT (end side in RTL). */
.story__grid{position:relative;z-index:3;width:100%;display:flex;justify-content:flex-end}
.story__content{max-width:540px;text-align:start}
.story__body{color:var(--muted);margin:0 0 30px}
[dir="ltr"] .story__bg{right:auto;left:0;
  -webkit-mask-image:linear-gradient(to right,#000 40%,transparent 97%),linear-gradient(to bottom,transparent 2%,#000 20%,#000 80%,transparent 98%);
          mask-image:linear-gradient(to right,#000 40%,transparent 97%),linear-gradient(to bottom,transparent 2%,#000 20%,#000 80%,transparent 98%);}
[dir="ltr"] .story__still{background-position:center left}
[dir="ltr"] .story__grid{justify-content:flex-start}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials{padding:80px 0}
.testi__wrap{display:flex;align-items:center;gap:12px}
.testi__track{flex:1;min-width:0;display:grid;grid-auto-flow:column;grid-auto-columns:calc(25% - 18px);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 4px 20px;scrollbar-width:none;-webkit-user-select:none;user-select:none;-webkit-overflow-scrolling:touch}
.testi__track::-webkit-scrollbar{display:none}
.testi__card{
  scroll-snap-align:center;background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius);padding:30px 26px;text-align:center;min-height:250px;
  display:flex;flex-direction:column;align-items:center;gap:14px;transition:.3s;
}
.testi__card:hover{border-color:rgba(224,177,95,.4);transform:translateY(-4px);background:var(--panel-2)}
.testi__logo{width:72px;height:72px;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:rgba(0,0,0,.25);display:grid;place-items:center}
.testi__logo img{width:100%;height:100%;object-fit:cover;display:block}
.testi__brand{display:flex;flex-direction:column;line-height:1.1}
.testi__brand-name{font-size:1.5rem;font-weight:700;color:var(--gold-2);letter-spacing:.06em}
.testi__brand-sub{font-size:.72rem;letter-spacing:.35em;color:var(--muted)}
.testi__quote-mark{color:var(--gold);font-size:2rem;line-height:.4;height:14px}
.testi__text{color:var(--muted);font-size:.95rem;margin:0;flex:1}
.testi__author{color:var(--gold);font-size:.9rem;font-weight:600}
.testi__arrow{flex:0 0 auto;width:42px;height:42px;border-radius:50%;background:var(--panel);border:1px solid var(--line);color:var(--gold-2);display:grid;place-items:center;cursor:pointer;transition:.25s}
.testi__arrow:hover{background:var(--gold);color:#231703;border-color:var(--gold)}

/* ============================================================
   FEATURES
   ============================================================ */
.features{padding:80px 0}
.features__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;text-align:center}
.feature{padding:20px 14px}
.feature__icon{width:64px;height:64px;margin:0 auto 18px;border-radius:16px;display:grid;place-items:center;color:var(--gold-2);background:radial-gradient(circle at 50% 30%,rgba(224,177,95,.16),rgba(224,177,95,.04));border:1px solid var(--line)}
.feature__icon svg{width:30px;height:30px}
.feature__icon img{width:100%;height:100%;object-fit:cover;border-radius:16px}
.feature__title{font-size:1.05rem;font-weight:700;margin:0 0 8px;color:var(--text)}
.feature__text{color:var(--muted);font-size:.88rem;margin:0}

/* ============================================================
   REQUEST FORM
   ============================================================ */
.request{padding:60px 0 90px}
.request__card{
  background:linear-gradient(180deg,rgba(26,20,12,.75),rgba(16,13,9,.85));
  border:1px solid var(--line);border-radius:26px;padding:48px clamp(20px,4vw,56px);
  box-shadow:0 40px 90px -50px #000;position:relative;overflow:hidden;
}
.request__card::before{content:"";position:absolute;inset:0;background:radial-gradient(600px 300px at 50% -20%,rgba(224,177,95,.1),transparent);pointer-events:none}
.request__spark{color:var(--gold);font-size:.7em;vertical-align:middle}
.request__subtitle{color:var(--muted);margin:0}
.request__cols{display:grid;grid-template-columns:1fr 1.25fr;gap:36px;position:relative;z-index:1}
.request__side{display:flex;flex-direction:column;gap:22px}

.voice,.attach{background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.voice__head{display:flex;flex-direction:column;gap:4px;margin-bottom:14px}
.voice__label{color:var(--text);font-weight:600}
.voice__hint{color:var(--muted);font-size:.8rem}
.voice__viz{height:56px;background:rgba(0,0,0,.25);border-radius:10px;overflow:hidden;margin-bottom:14px}
.voice__viz canvas{width:100%;height:100%;display:block}
.voice__controls{display:flex;align-items:center;justify-content:space-between;gap:14px}
.voice__btn{width:60px;height:60px;border-radius:50%;border:none;cursor:pointer;background:var(--gold-grad);color:#231703;display:grid;place-items:center;transition:.25s;box-shadow:0 8px 24px -8px rgba(224,177,95,.6)}
.voice__btn:hover{transform:scale(1.05)}
.voice__btn.is-recording{background:#c0392b;color:#fff;animation:pulse 1.2s infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(192,57,43,.5)}50%{box-shadow:0 0 0 12px rgba(192,57,43,0)}}
.voice__time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.95rem;direction:ltr}
.voice__player{width:100%;margin-top:14px}
.voice__reset{margin-top:10px;background:none;border:none;color:var(--gold);cursor:pointer;font-family:inherit;font-size:.82rem}

.attach__drop{display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px;border:1.5px dashed var(--line);border-radius:12px;cursor:pointer;color:var(--muted);transition:.25s;text-align:center}
.attach__drop:hover{border-color:var(--gold);color:var(--gold-2)}
.attach__btn{color:var(--gold-2);font-weight:600}
.attach__name{font-size:.82rem;color:var(--text)}
.attach__note{display:block;margin-top:12px;color:var(--muted);font-size:.76rem;text-align:center}

.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field--full{grid-column:1/-1}
.field label{display:block;margin-bottom:8px;font-size:.9rem;color:var(--text)}
.field .req{color:var(--gold)}
.field input,.field textarea,.field select{
  width:100%;background:rgba(0,0,0,.28);border:1px solid var(--line);border-radius:12px;
  color:var(--text);font-family:inherit;font-size:.95rem;padding:13px 15px;transition:.2s;
}
.field textarea{resize:vertical;min-height:110px}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--gold);background:rgba(0,0,0,.4);box-shadow:0 0 0 3px rgba(224,177,95,.1)}
.field input::placeholder,.field textarea::placeholder{color:#7a7059}
.field__check{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.9rem}
.field__check input{width:auto}
.request__feedback{margin:18px 0 0;font-size:.92rem;min-height:1.2em}
.request__feedback.is-ok{color:#7fd39b}
.request__feedback.is-err{color:#e79a8f}
.request__main .btn--block{margin-top:20px}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{position:relative;background:rgba(8,6,4,.35);padding-top:64px}
.footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1.3fr 1.1fr;gap:44px;padding-bottom:48px}
.footer__col{min-width:0}
.footer__title{font-size:1rem;font-weight:700;color:var(--gold-2);margin:0 0 18px;position:relative;padding-bottom:12px}
.footer__title::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:34px;height:2px;background:var(--gold-grad);border-radius:2px}
.footer__logo{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.footer__logo svg{width:38px;height:38px;flex:0 0 auto;display:block}
.footer__logo svg path{fill:var(--gold)!important;stroke:none!important;fill-opacity:1!important}
.footer__logo span{font-size:1.6rem;font-weight:800;color:var(--gold-2)}
.footer__about{color:var(--muted);margin:0 0 20px;font-size:.92rem;line-height:1.9}
.footer__links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.footer__links a{color:var(--muted);font-size:.92rem;transition:.2s;display:inline-flex;align-items:center;gap:8px}
.footer__links a::before{content:"›";color:var(--gold);font-size:1.1em;transition:.2s}
.footer__links a:hover{color:var(--gold);padding-inline-start:4px}
.footer__contact{display:flex;flex-direction:column;gap:14px}
.footer__row{display:flex;align-items:flex-start;gap:12px;color:var(--muted);transition:.2s;font-size:.92rem;line-height:1.7}
.footer__row:hover{color:var(--gold)}
.footer__row svg{width:20px;height:20px;color:var(--gold);flex:0 0 auto;margin-top:3px}
.footer__maplink{color:var(--gold-2);font-weight:600}
.footer__social{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}
.footer__social a{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--gold-2);transition:.25s}
.footer__social a:hover{background:var(--gold);color:#231703;border-color:var(--gold);transform:translateY(-3px)}
.footer__social svg{width:20px;height:20px}
.footer__cta{background:linear-gradient(180deg,rgba(224,177,95,.08),rgba(224,177,95,.02));
  border:1px solid var(--line);border-radius:16px;padding:22px}
.footer__cta p{color:var(--muted);font-size:.88rem;margin:0 0 18px}
.footer__bottom{border-top:1px solid var(--line);padding:18px 0}
.footer__bottom-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:.85rem;flex-wrap:wrap}
.footer__credit{color:var(--muted)}
.footer__credit a{color:var(--gold-2);font-weight:600}
.footer__credit a:hover{color:var(--gold)}
.footer__enamad{margin-top:18px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.footer__enamad img{max-height:100px;border-radius:8px}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .8s ease, transform .8s cubic-bezier(.5,0,.2,1)}
.reveal.is-visible{opacity:1;transform:none}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Tablet / small laptop (≤1024px) ---- */
@media (max-width:1024px){
  .features__grid{grid-template-columns:repeat(3,1fr);row-gap:36px}
  .testi__track{grid-auto-columns:calc(50% - 12px)}
  .request__cols{grid-template-columns:1fr}
  .footer__grid{grid-template-columns:1.4fr 1fr 1.3fr;gap:34px}
  .footer__cta{grid-column:1/-1}

  /* Hero/story stack: FULL image on top (edge-to-edge, sticks to the very top
     under the header, whole image visible via matching aspect-ratio), then text. */
  .hero{min-height:auto;padding:0 0 48px}
  .hero__bg{display:none}
  .hero__grid{flex-direction:column;justify-content:flex-start;align-items:stretch;padding-inline:0}
  .hero__mobile-img{display:block;width:100vw;margin-inline:calc(50% - 50vw);
    aspect-ratio:853/1844;height:auto;max-height:100svh;background-size:cover;background-position:center top;margin-bottom:0;
    /* fade the lower part so the overlapping text sits on a soft, readable area */
    -webkit-mask-image:linear-gradient(to bottom, #000 56%, transparent 92%);
            mask-image:linear-gradient(to bottom, #000 56%, transparent 92%);}
  /* Pull the text up so it starts over the bottom quarter of the image. */
  .hero__content{position:relative;z-index:2;margin-top:-54vw;text-align:center;margin-inline:auto;max-width:600px;padding-inline:18px}
  .hero__title{font-size:clamp(2rem,7vw,2.9rem)}
  .hero__subtitle{margin-inline:auto}
  .hero__actions{justify-content:center}

  .story{min-height:auto;padding:8px 0 48px}
  .story__bg{display:none}
  .story__grid{flex-direction:column;justify-content:center;align-items:stretch;padding-inline:0}
  .story__mobile-img{display:block;width:100vw;margin-inline:calc(50% - 50vw);
    aspect-ratio:1023/1537;height:auto;background-size:cover;background-position:center;margin-bottom:12px;
    -webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 8%, #000 88%, transparent 100%);
            mask-image:linear-gradient(to bottom, transparent 0, #000 8%, #000 88%, transparent 100%);}
  .story__content{text-align:center;margin-inline:auto;max-width:600px;padding-inline:18px}
}

/* ---- Mobile menu drawer kicks in (≤860px) ---- */
@media (max-width:860px){
  .header__cta{display:none}
  /* Burger on the RIGHT, logo + wordmark centered */
  .header__bar{position:relative;justify-content:center}
  .header__logo{order:0}
  .header__burger{display:flex;position:absolute;top:50%;right:0;transform:translateY(-50%);margin:0}
  [dir="ltr"] .header__burger{right:auto;left:0}
  .header__nav{
    position:fixed;top:0;right:0;left:auto;height:100dvh;width:min(84vw,340px);max-width:100vw;
    flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;
    margin:0;padding:90px 26px 30px;
    background:linear-gradient(180deg,#141009,#0d0b07);
    border-inline-start:1px solid var(--line);
    box-shadow:-20px 0 60px -30px #000;
    transform:translateX(100%);visibility:hidden;
    transition:transform .35s cubic-bezier(.5,0,.2,1), visibility .35s;
    z-index:50;overflow-y:auto;
  }
  [dir="ltr"] .header__nav{right:auto;left:0;transform:translateX(-100%)}
  .header__nav.is-open{transform:translateX(0);visibility:visible}
  .header__menu{flex-direction:column;gap:4px;width:100%}
  .header__menu li{width:100%}
  .header__menu a{display:block;padding:15px 12px;font-size:1.05rem;opacity:.95;border-bottom:1px solid rgba(214,164,74,.1)}
  .header__menu a::after{display:none}
  .header__menu a{transition:color .2s, padding .2s}
  .header__menu a:active{color:var(--gold)}
  /* Drawer top bar (brand + close) */
  .header__nav-top{display:flex;align-items:center;justify-content:space-between;
    position:absolute;top:0;right:0;left:0;padding:18px 26px;border-bottom:1px solid rgba(214,164,74,.12)}
  .header__nav-brand{font-size:1.5rem;font-weight:800;color:var(--gold-2)}
  .header__nav-close{background:none;border:1px solid var(--line);border-radius:10px;color:var(--gold-2);cursor:pointer;padding:6px;display:flex}
  .header__nav-close:active{background:rgba(224,177,95,.12)}
  /* Drawer CTA */
  .header__nav-cta{display:inline-flex;width:100%;margin-top:20px}
  .header__search{align-self:flex-start;margin:6px 0 4px}
  .footer__grid{grid-template-columns:1fr 1fr;gap:30px}
  .footer__brand{grid-column:1/-1}
  .footer__cta{grid-column:1/-1}
}

/* ---- Phones (≤640px) ---- */
@media (max-width:640px){
  .container{padding-inline:18px}
  section{scroll-margin-top:70px}
  .header__bar{height:64px}
  .header__logo-fa{font-size:1.4rem}
  .site-header.is-stuck{background:rgba(12,10,7,.92)}

  /* Hero (phone): full image sticks to top, full-width stacked buttons */
  .hero{padding:0 0 44px}
  .hero__title{font-size:clamp(2rem,8.5vw,2.7rem);margin-bottom:16px}
  .hero__subtitle{font-size:1rem;max-width:100%;margin:0 auto 26px}
  .hero__actions{justify-content:center;flex-direction:column;gap:12px;width:100%}
  .hero__actions .btn{width:100%}
  .hero__actions .btn--link{order:2}

  .story{padding:8px 0 44px}

  .section-title{font-size:clamp(1.4rem,6vw,1.9rem)}
  .section-head{margin-bottom:34px}
  .testimonials,.features{padding:56px 0}
  .request{padding:40px 0 64px}

  /* Testimonials: one card per view, hide desktop arrows */
  .testi__wrap{gap:0}
  .testi__arrow{display:none}
  .testi__track{grid-auto-columns:calc(100% - 6px);gap:14px;
    scroll-snap-type:x mandatory;padding:6px 2px 16px;
    scroll-padding-inline:2px}
  .testi__card{min-height:auto}

  /* Features become boxes: icon on the right, title + subtext on the left */
  .features__grid{grid-template-columns:1fr;gap:14px}
  .feature{display:flex;flex-direction:row;align-items:center;gap:16px;text-align:right;
    background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
  .feature__icon{margin:0;flex:0 0 auto;width:54px;height:54px}
  .feature__body{flex:1;min-width:0}
  .feature__title{font-size:1.02rem;margin:0 0 4px}
  .feature__text{font-size:.85rem}

  .request__card{padding:30px 18px;border-radius:20px}
  .request__cols{gap:24px}
  .fields{grid-template-columns:1fr;gap:16px}
  .field--half{grid-column:1/-1}
  .voice,.attach{padding:16px}

  .footer__grid{grid-template-columns:1fr;gap:30px;text-align:right}
  .footer__title::after{inset-inline-start:0}
  .footer__bottom-bar{flex-direction:column;gap:8px;text-align:center;justify-content:center}
}

/* ---- Small phones (≤380px) ---- */
@media (max-width:380px){
  .features__grid{grid-template-columns:1fr}
  .header__logo-fa{font-size:1.25rem}
  .hero__title{font-size:1.8rem}
}

/* ---- Larger touch targets & no hover jitter on touch ---- */
@media (hover:none){
  .btn:hover{transform:none}
  .testi__card:hover{transform:none}
}
