/* =====================================================================
   Ascenseur au Maroc, HOME V2 "Chantier" (owner pick 26/11/2026). Loaded on the home only (pages/home.blade.php).
   Port of design-ops/proposals/ascenseurmaroc-home-2026-11-26/v2/css/v2.css, scoped to .hv (+ .am-prog, .hv-fab).
   Header, footer, phone bar and the #m1hero motion stay in site.css / site.js. Tokens: site.css :root (the shape tokens --r-sm,
   --r, --r-lg, --sh, --sh-up and --ease moved there on 26/11/2026 so the inner pages share them) + the few below.
   Reveals hide only once home.js runs (html.hv-js); ?shot=1 (html.shot) = everything visible, pinned effects off.
   ===================================================================== */
:root{
  --cobalt-lt:oklch(0.94 0.03 266); --wa-dk:oklch(0.45 0.11 155); --ink-3:oklch(0.3 0.01 265);
}
html:has(.hv){scroll-padding-top:90px}
@media (max-width:767px){html:has(.hv){scroll-padding-bottom:calc(var(--bar-h) + 12px)}}
body:has(.hv){overflow-x:clip}
.hv img{display:block;max-width:100%}
.hv :is(h1,h2,h3){font-family:var(--ff-display);font-weight:800;line-height:1.04;letter-spacing:-0.025em;margin:0}
/* P5 polish 26/11/2026: display lines that are not h1-h3 are balanced too (site.css balances h1-h3 and prettifies text) */
.am-pn .dt__h,.hv-phead__h,.gbig__h,.guides-foot p,.hv-urgent p{text-wrap:balance}
html:lang(ar) .hv :is(h1,h2,h3){letter-spacing:0;line-height:1.3;font-weight:700}
.hv h2{font-size:var(--fs-3xl)}
.hv h3{font-size:var(--fs-xl);font-weight:700;letter-spacing:-.015em;line-height:1.15}
.hv p{margin:0}
.hv .kicker{display:block;font:500 var(--fs-xs)/1.2 var(--ff-mono);color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:1rem}
html:lang(ar) .hv .kicker{font-family:var(--ff-body);letter-spacing:0;text-transform:none;font-size:var(--fs-sm)}
.hv .lede{font-size:var(--fs-lg);color:var(--muted);max-width:56ch}
.hv .ico{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hv .sec{padding-block:var(--sec-y)}
.hv .sec--band{background:var(--band)}
.hv .shead{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:1rem 2rem;margin-bottom:clamp(1.5rem,1rem + 2vw,3rem)}
.hv .shead .lede{margin-top:1rem}

/* ---------- M8 pill + arrow disc + fill sweep, magnetic hook [data-magnet] ---------- */
.am-btn{--bg:var(--cobalt);--fg:#fff;--sweep:var(--ink);position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;gap:.75rem;min-height:50px;padding-block:.35rem;padding-inline:1.35rem .4rem;border:1.5px solid var(--bg);border-radius:999px;background:var(--bg);color:var(--fg);font:600 var(--fs-base)/1.1 var(--ff-body);text-decoration:none;cursor:pointer;white-space:nowrap;transition:color .35s var(--ease),border-color .35s,transform .35s var(--ease)}
.am-btn::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--sweep);transform:translateY(101%);border-radius:inherit;transition:transform .45s var(--ease)}
.am-btn:hover::before,.am-btn:focus-visible::before{transform:none}
.am-btn:hover,.am-btn:focus-visible{border-color:var(--sweep)}
.am-btn:focus-visible{outline:2px solid var(--cobalt);outline-offset:3px}
.am-btn .disc{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;color:var(--cobalt);flex:none;transition:transform .45s var(--ease)}
.am-btn .disc .ico{width:20px;height:20px}
.am-btn:hover .disc{transform:rotate(-45deg)}
[dir=rtl] .am-btn:hover .disc{transform:rotate(45deg)}
.am-btn--line{--bg:transparent;--fg:var(--ink);--sweep:var(--ink);border-color:var(--ink)}
.am-btn--line:hover,.am-btn--line:focus-visible{color:#fff}
.am-btn--line .disc{background:var(--ink);color:#fff}
.am-btn--wa{--bg:var(--wa);--sweep:var(--wa-dk)}
.am-btn--wa .disc{color:var(--wa)}
.am-btn--white{--bg:#fff;--fg:var(--ink);--sweep:var(--cobalt-lt)}
.am-btn--white .disc{background:var(--cobalt);color:#fff}
.am-btn--ghost{--bg:transparent;--fg:#fff;--sweep:#fff;border-color:oklch(1 0 0 / .6)}
.am-btn--ghost:hover,.am-btn--ghost:focus-visible{color:var(--ink)}
.am-btn--ghost .disc{background:#fff;color:var(--ink)}
.am-btn--sm{min-height:42px;font-size:var(--fs-sm);padding-inline-start:1.05rem}
.am-btn--sm .disc{width:32px;height:32px}
.am-btn--block{width:100%;justify-content:space-between}
[data-magnet]{transition:transform .35s var(--ease),color .35s var(--ease),border-color .35s}

/* ---------- M12 reading progress (header itself = site.css Header C) ---------- */
.am-prog{position:fixed;inset-inline:0;top:0;height:3px;transform-origin:left;transform:scaleX(var(--p,0));background:var(--cobalt);z-index:70;pointer-events:none}
[dir=rtl] .am-prog{transform-origin:right}

/* ---------- 2 hero: installation photo + quote card + shaft sheet ---------- */
.hv-hero{position:relative;color:#fff;isolation:isolate}
.hv-hero__bg{position:absolute;inset:0;z-index:-2;overflow:hidden}
.hv-hero__bg img{width:100%;height:100%;object-fit:cover;object-position:70% 50%}
/* scrim measured on the busiest spot (lift doors behind the H1): ink 82 % -> 30 %, white text >= 7:1 */
.hv-hero__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,oklch(0.16 0.006 265 / .82) 0%,oklch(0.16 0.006 265 / .66) 45%,oklch(0.16 0.006 265 / .3) 100%)}
[dir=rtl] .hv-hero__bg::after{background:linear-gradient(270deg,oklch(0.16 0.006 265 / .82) 0%,oklch(0.16 0.006 265 / .66) 45%,oklch(0.16 0.006 265 / .3) 100%)}
.hv-hero:not(:has(.hv-hero__bg)){background:var(--ink)}
.hv-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) auto clamp(360px,28vw + 40px,440px);gap:clamp(1.5rem,.5rem + 2.5vw,3rem);align-items:center;padding-block:clamp(3rem,2rem + 4vw,6rem) clamp(3rem,2rem + 3vw,5rem);position:relative}
.hv-hero .kicker{color:oklch(0.86 0.02 266)}
.hv-hero h1{font-size:var(--fs-4xl);line-height:1.02;letter-spacing:-.035em;max-width:10.2em}
/* QA + SEO check 01/12/2026 (home CLS): the width was 16ch, and "ch" is the width of the "0" of the font in use: 0.62em in
   Bricolage, 0.56em in the Arial fallback, so the fallback box was 10 % narrower and the H1 took one more line until the
   web font arrived (FR 136 -> 103 px at 375). In em the box is the same with every font: 10.45em = 16ch of Bricolage on
   a phone, 10.2em from 768 px (optical size). */
@media (max-width:767px){.hv-hero h1{max-width:10.45em}}
.hv-hero__end{display:none}
/* P5b polish 26/11/2026: 56 px max on wide screens, so the H1 holds 3-4 balanced lines at 1280-1920 (no lone "devis") */
@media (min-width:1101px){.hv-hero h1{font-size:clamp(2.5rem,1.2rem + 2.3vw,3.5rem);max-width:none}}
html:lang(ar) .hv-hero h1{line-height:1.3;letter-spacing:0}
.hv .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rot{display:inline-grid;vertical-align:bottom;overflow:hidden;padding-block:.08em;color:oklch(0.8 0.09 266)}
.rot > span{grid-area:1/1;white-space:nowrap;transition:transform .6s var(--ease),opacity .45s;transform:translateY(60%);opacity:0}
.rot > span::before{content:attr(data-w)}
.rot > span.on{transform:none;opacity:1}
.rot > span.out{transform:translateY(-60%);opacity:0}
.hv-hero .lede{color:oklch(0.9 0.01 265);margin-top:1.25rem;max-width:44ch}
.hv-hero__acts{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem}
/* P6 + P3 polish 26/11/2026: one quiet row in the body face, room under the CTA, items never split */
.hv-hero__proof{display:flex;flex-wrap:wrap;gap:.3rem 1.25rem;margin-top:1.1rem;font:500 var(--fs-sm)/1.5 var(--ff-body);font-variant-numeric:tabular-nums;color:oklch(0.88 0.01 265)}
.hv-hero__proof > *{white-space:nowrap}
.hv-hero__proof b{color:#fff;font-weight:600}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.75rem}
.chips a{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:0 1rem;border-radius:999px;background:oklch(0.16 0.006 265 / .62);border:1px solid oklch(1 0 0 / .45);color:#fff;text-decoration:none;font-size:var(--fs-sm);font-weight:600;transition:background .3s}
.chips a:hover{background:oklch(0.16 0.006 265 / .85)}
.chips a .ico{width:16px;height:16px}
.chips__lbl{font-size:var(--fs-xs);color:oklch(0.86 0.01 265);align-self:center;margin-inline-end:.25rem}
.hv-hero .am-btn--ghost{--bg:oklch(0.16 0.006 265 / .55);border-color:oklch(1 0 0 / .7)}
.hv-hero__quick{display:none}
@media (max-width:767px){
  .hv-hero__quick{display:flex;gap:.5rem;margin-top:1rem}
  .hv-hero__quick .am-btn{gap:.5rem;padding-inline-start:1rem}
  .hv-hero__quick .am-btn:first-child{flex:1 1 0;min-width:0;justify-content:center;padding-inline-end:1rem}
  .hv-hero__quick .am-btn:first-child .disc{display:none}
  .hv-hero__quick .am-btn--wa{flex:none}
}
/* the quote card */
.qcard{background:#fff;color:var(--ink);border-radius:var(--r-lg);padding:clamp(1.25rem,1rem + 1vw,2rem);box-shadow:var(--sh-up)}
.qcard h2{font-size:var(--fs-2xl)}
.qcard__sub{color:var(--muted);font-size:var(--fs-sm);margin-top:.6rem}
.hv .qform{display:grid;gap:.9rem;margin-top:1.25rem}
.hv .qform .row2{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.hv .qform .field{display:grid;gap:.45rem;min-width:0;align-content:start}
.hv .qform .field label{font-size:var(--fs-sm);font-weight:600}
.hv .qform :is(.inp,.sel){width:100%;min-height:48px;padding:0 .9rem;border:1px solid var(--line);border-radius:var(--r-sm);background-color:#fff;color:var(--ink);font:400 var(--fs-field,max(16px,var(--fs-base)))/1.2 var(--ff-body)}
.hv .qform .sel{appearance:none;padding-inline-end:2.4rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%230B0D10' stroke-width='1.5'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center}
[dir=rtl] .hv .qform .sel{background-position:left .9rem center}
.hv .qform :is(.inp,.sel):focus{outline:2px solid var(--cobalt);outline-offset:-1px;border-color:var(--cobalt)}
.hv .qform .tel{display:flex}
.hv .qform .tel>.tel__cc{border:1px solid var(--line);border-inline-end:0;border-start-start-radius:var(--r-sm);border-end-start-radius:var(--r-sm);font:500 var(--fs-sm)/1 var(--ff-mono);background:var(--band)}
.hv .qform .tel .inp{border-start-start-radius:0;border-end-start-radius:0;direction:ltr}
.hv .qform .err{display:none;color:var(--error);font-size:var(--fs-xs)}
.hv .qform .field.bad .err{display:block}
.hv .qform .field.bad :is(.inp,.sel){border-color:var(--error)}
.hv .qform .formerr{border-radius:var(--r-sm)}
.hv .qform > .am-btn{justify-content:space-between;width:100%;white-space:normal;text-align:start}
.or{display:flex;align-items:center;gap:.75rem;color:var(--muted);font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.08em}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--hair)}
/* M1 "Trait" shaft on its white sheet (owner pick 19/11): ink lines, cobalt cab only, never mirrored, never cropped */
.hv-sheet{align-self:center;width:clamp(128px,10vw,168px);padding:14px 12px 10px;background:#fff;border-radius:12px;color:var(--ink);direction:ltr;box-shadow:var(--sh-up)}
.hv-sheet svg{width:100%;height:auto}
.hv-sheet .drw text{font-family:var(--ff-mono);fill:var(--muted)}
@media (max-width:1100px){.hv-sheet{display:none}.hv-hero__grid{grid-template-columns:minmax(0,1fr) clamp(340px,28vw + 40px,440px)}}
@media (max-width:1023px){
  .hv-hero{color:var(--ink)}
  .hv-hero__bg{position:relative;height:clamp(140px,34vw,240px)}
  .hv-hero__bg::after,[dir=rtl] .hv-hero__bg::after{background:linear-gradient(0deg,oklch(0.16 0.006 265 / .25),transparent 60%)}
  .hv-hero:not(:has(.hv-hero__bg)){background:none}
  .hv-hero__grid{grid-template-columns:minmax(0,1fr);padding-block:1.5rem 2.5rem;gap:1.5rem}
  /* QA 01/12/2026: the rotating word stays on one line on phones too (no line-count change while it turns) */
  .hv-hero .kicker{color:var(--muted)}
  .hv-hero .lede{color:var(--muted);margin-top:.9rem}
  .rot{color:var(--cobalt)}
  .hv-hero__proof{color:var(--muted)}.hv-hero__proof b{color:var(--ink)}
  .chips{flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(-1 * var(--pad-x));padding-inline:var(--pad-x);scrollbar-width:none}
  .chips a{flex:none;background:var(--band);border-color:var(--hair);color:var(--ink)}
  .chips a:hover{background:var(--hair)}
  .chips__lbl{color:var(--muted);flex:none}
  .hv-hero__copy{display:contents}
  .hv-hero__h{order:1}.qcard{order:2;box-shadow:none;border:1px solid var(--hair);padding:1.1rem}.hv-hero__more{order:3}
  .hv-hero__grid:not(:has(> .hv-hero__end)) .hv-hero__more{display:none}
  /* D20 polish 26/11/2026: the phone card keeps its title ("Votre devis en 2 minutes") */
  .qcard h2{font-size:var(--fs-xl)}
  .hv .qform{margin-top:.9rem}
  .hv-hero .am-btn--ghost{--bg:#fff;--fg:var(--ink);--sweep:var(--ink);border-color:var(--ink)}
  .hv-hero .am-btn--ghost:hover{color:#fff}
  .hv-hero .am-btn--ghost .disc{background:var(--ink);color:#fff}
}
@media (max-width:420px){.hv .qform .row2{grid-template-columns:1fr}}
/* QA 01/12/2026: at 320 px "Recevoir mes devis" had 145 px of text in a 136 px box; under 360 px the two quick buttons
   take a size smaller and the label may wrap on two centred lines instead of touching the edges */
@media (max-width:359px){
  .hv-hero__quick{gap:.4rem}
  .hv-hero__quick .am-btn{font-size:var(--fs-sm)}
  .hv-hero__quick .am-btn:first-child{white-space:normal;text-align:center;line-height:1.15;padding-inline:.75rem}
  .hv-hero__quick .am-btn--wa{padding-inline-start:.8rem;gap:.4rem}
  .hv-hero__quick .am-btn--wa .disc{width:32px;height:32px}
}
/* P7 polish 26/11/2026, 1024-1199: fields on one column so the selects and the WhatsApp button never truncate or wrap */
@media (min-width:1024px) and (max-width:1199px){
  .hv-hero__grid{grid-template-columns:minmax(0,1fr) 360px}
  .hv .qform .row2{grid-template-columns:1fr}
  .qcard h2{font-size:var(--fs-xl)}
  .hv .qform > .am-btn{font-size:var(--fs-sm);padding-inline-start:1rem}
}
@media (min-width:1101px) and (max-width:1199px){.hv-hero__grid{grid-template-columns:minmax(0,1fr) auto 360px}}

/* ---------- M2 crossing ribbons on a curve (LTR); two straight crossing bands (AR) ---------- */
.am-rb{position:relative;height:clamp(150px,18vw,250px);overflow:hidden;background:var(--band)}
.am-rb svg{position:absolute;left:-5%;width:110%;height:100%;overflow:visible}
.am-rb .rb1{fill:none;stroke:var(--cobalt);stroke-width:44}
.am-rb .rb2{fill:none;stroke:var(--ink);stroke-width:44}
.am-rb text{font:600 19px var(--ff-body);letter-spacing:.06em;text-transform:uppercase;fill:#fff}
.am-rb--flat{height:clamp(196px,20vw,260px);overflow-x:hidden;overflow-y:visible}
.am-rb--flat .band{position:absolute;left:-5%;right:-5%;height:48px;display:flex;align-items:center;overflow:hidden;color:#fff;font:600 var(--fs-lg)/1 var(--ff-body)}
/* offset so each band stays whole inside the box; the ink band passes over the cobalt one where they cross */
.am-rb--flat .band:nth-child(1){top:calc(50% - 64px);background:var(--cobalt);transform:rotate(-2.5deg)}
.am-rb--flat .band:nth-child(2){top:calc(50% - 4px);background:var(--ink);transform:rotate(2deg)}
.am-rb--flat .trk{display:flex;width:max-content;gap:2rem;padding-inline:1rem;white-space:nowrap;animation:am-mq 60s linear infinite}
.am-rb--flat .band:nth-child(2) .trk{animation-direction:reverse}
@keyframes am-mq{to{transform:translateX(50%)}}
.am-rb .pause{position:absolute;bottom:.6rem;inset-inline-end:var(--pad-x);z-index:2;min-height:44px;min-width:44px;padding:0 .8rem;border-radius:999px;border:1px solid var(--hair);background:#fff;color:var(--ink);font:600 var(--fs-xs)/1 var(--ff-body);cursor:pointer}
.am-rb .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* owner 30/11/2026: the ribbons close the hero on its photo, no grey band of their own */
.hv-hero .am-rb{background:none}
.hv-hero:has(.am-rb) .hv-hero__grid{padding-bottom:clamp(.5rem,.25rem + 1vw,1.5rem)}
@media (min-width:1024px){.hv-hero .am-rb .pause{border-color:transparent}}
@media (max-width:1023px){.hv-hero:has(.am-rb) .hv-hero__grid{padding-bottom:1rem}}

/* ---------- 4 equipment: C2 expanding panels ---------- */
.am-pn{display:flex;gap:.5rem;height:clamp(380px,40vw,520px)}
.am-pn a{position:relative;flex:1;min-width:0;border-radius:var(--r);overflow:hidden;color:#fff;text-decoration:none;background:var(--ink);transition:flex-grow .7s var(--ease)}
.am-pn img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease)}
.am-pn a::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,oklch(0.16 0.006 265 / .85),oklch(0.16 0.006 265 / .1) 65%)}
.am-pn .lb{position:absolute;left:.9rem;bottom:1rem;z-index:1;font:700 var(--fs-lg)/1.1 var(--ff-display);writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;transition:opacity .4s}
html:lang(ar) .am-pn .lb{writing-mode:horizontal-tb;transform:none;left:auto;right:.8rem;font-size:var(--fs-base);white-space:normal;max-width:calc(100% - 1.6rem);line-height:1.4}
.am-pn .dt{position:absolute;inset-inline:1.25rem;bottom:1.25rem;z-index:1;display:grid;justify-items:start;opacity:0;transform:translateY(12px);transition:all .45s var(--ease);min-width:260px}
.am-pn .dt__h{font:800 var(--fs-2xl)/1.1 var(--ff-display);letter-spacing:-.02em;margin-bottom:.5rem}
html:lang(ar) .am-pn .dt__h{font-weight:700;letter-spacing:0;line-height:1.35}
.am-pn .dt__p{font-size:var(--fs-sm);color:oklch(0.92 0.01 265);max-width:38ch;margin-bottom:1rem}
.am-pn .dt .am-btn{pointer-events:none}
.am-pn a:is(:hover,:focus-visible,.on){flex-grow:4.2}
.am-pn a:is(:hover,:focus-visible,.on) .lb{opacity:0}
.am-pn a:is(:hover,:focus-visible,.on) .dt{opacity:1;transform:none;transition-delay:.25s}
.am-pn a:is(:hover,:focus-visible,.on) img{transform:scale(1.04)}
.am-pn:hover a.on:not(:hover){flex-grow:1}
.am-pn:hover a.on:not(:hover) .lb{opacity:1}
.am-pn:hover a.on:not(:hover) .dt{opacity:0}
.am-pn a:focus-visible{outline:3px solid var(--cobalt);outline-offset:2px}
@media (max-width:760px){
  .am-pn{flex-direction:column;height:auto}
  .am-pn a{flex:none;height:76px}
  .am-pn a:is(:hover,:focus-visible,.on){height:270px}
  .am-pn .lb{writing-mode:horizontal-tb;transform:none;bottom:50%;translate:0 50%}
  html:lang(ar) .am-pn .lb{bottom:50%}
  .am-pn .dt{min-width:0}
}

/* ---------- 5 buildings: M7 pinned horizontal gallery ---------- */
.am-hg{position:relative;height:300vh;background:var(--ink);color:#fff}
.am-hg .stage{position:sticky;top:0;height:100vh;overflow:hidden;display:flex;align-items:center}
.am-hg .track{display:flex;gap:1.25rem;padding-inline:max(var(--pad-x),calc((100vw - var(--max)) / 2 + var(--pad-x)));will-change:transform;align-items:center}
.am-hg .intro{flex:0 0 clamp(280px,30vw,400px)}
.am-hg .intro h2{font-size:var(--fs-4xl);color:#fff}
.am-hg .intro p{color:oklch(0.82 0.01 265);margin-top:1.25rem;max-width:34ch}
.am-hg .kicker{color:oklch(0.75 0.01 265)}
.am-hg figure{flex:0 0 clamp(270px,26vw,380px);aspect-ratio:4/5;margin:0;border-radius:var(--r);overflow:hidden;position:relative;background:var(--ink-3)}
.am-hg figure:nth-of-type(even){aspect-ratio:4/4.4;align-self:flex-end}
.am-hg img{width:100%;height:100%;object-fit:cover}
/* P9 polish 26/11/2026: cards sized by the viewport height (no empty half screen at 1920x1080), stronger scrim under the captions */
@media (min-width:761px){
  .am-hg figure{flex:0 0 auto;height:min(64vh,640px);width:auto;aspect-ratio:4/5}
  .am-hg figure:nth-of-type(even){height:min(56vh,560px);aspect-ratio:4/4.4}
}
.am-hg figure::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,oklch(0.16 0.006 265 / .9),oklch(0.16 0.006 265 / .35) 45%,transparent 70%)}
.am-hg figcaption{position:absolute;inset-inline:1.1rem;bottom:1.1rem;z-index:1;display:grid;gap:.75rem;justify-items:start}
.am-hg figcaption b{font:700 var(--fs-2xl)/1.1 var(--ff-display)}
.am-hg figcaption small{font-size:var(--fs-sm);color:oklch(0.88 0.01 265);max-width:30ch;display:block}
.am-hg .bar{position:absolute;inset-inline:var(--pad-x);bottom:2rem;height:3px;background:oklch(1 0 0 / .18);border-radius:3px}
.am-hg .bar i{display:block;height:100%;width:0;background:#fff;border-radius:3px}
.hv-phead{display:none}
.hv-phead__h{font:800 var(--fs-3xl)/1.1 var(--ff-display);color:#fff}
html:lang(ar) .hv-phead__h{font-weight:700;line-height:1.3}
.hv-phead p:not(.hv-phead__h){color:oklch(0.82 0.01 265);margin-top:.9rem}
@media (max-width:760px){
  .am-hg{height:auto;padding-block:var(--sec-y)}
  .am-hg .stage{position:static;height:auto;display:block;overflow:visible}
  .am-hg .track{transform:none!important;overflow-x:auto;scroll-snap-type:x mandatory;padding-inline:var(--pad-x);scrollbar-width:none}
  .am-hg .intro{display:none}
  .hv-phead{display:block;padding-inline:var(--pad-x);margin-bottom:1.5rem}
  .am-hg figure{scroll-snap-align:start;flex-basis:78%}
  .am-hg .bar{display:none}
}
/* the visible title on phone is .hv-phead (aria-hidden); keep the real h2 for assistive tech */
@media (max-width:760px){.am-hg .intro{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}

/* ---------- 6 offers: tabs + rail with round arrows ---------- */
.tabs{display:flex;gap:.4rem;overflow-x:auto;scrollbar-width:none;margin-bottom:1.5rem}
.tabs button{flex:none;min-height:42px;padding:0 1.1rem;border-radius:999px;border:1px solid var(--hair);background:#fff;color:var(--ink);font:600 var(--fs-sm)/1 var(--ff-body);cursor:pointer;transition:background .25s,color .25s,border-color .25s}
.tabs button:hover{border-color:var(--ink)}
.tabs button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.tabs button span{font-family:var(--ff-mono);font-size:var(--fs-xs);opacity:.7;margin-inline-start:.35rem}
.rail{display:flex;align-items:stretch;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:.75rem;padding-top:.25rem}
.arrows{display:flex;gap:.5rem}
.arrows button{width:48px;height:48px;border-radius:50%;border:1px solid var(--ink);background:#fff;color:var(--ink);display:grid;place-items:center;cursor:pointer;transition:background .25s,color .25s}
.arrows button:hover{background:var(--ink);color:#fff}
.arrows button:disabled{opacity:.3;cursor:default;background:#fff;color:var(--ink)}
.ocard{flex:0 0 clamp(270px,24vw,310px);scroll-snap-align:start;background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);display:flex;flex-direction:column;transition:transform .4s var(--ease),box-shadow .4s}
.ocard:hover{transform:translateY(-4px);box-shadow:var(--sh-up)}
.ocard[hidden]{display:none}
.ocard__ph{position:relative;aspect-ratio:4/3;overflow:hidden;display:block;background:var(--band)}
.ocard__ph img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.ocard:hover .ocard__ph img{transform:scale(1.05)}
.ocard__city{position:absolute;top:.75rem;inset-inline-start:.75rem;display:inline-flex;align-items:center;gap:.3rem;padding:.35rem .7rem;border-radius:999px;background:oklch(1 0 0 / .92);color:var(--ink);font-size:var(--fs-xs);font-weight:600}
.ocard__city .ico{width:16px;height:16px}
.ocard__ex{position:absolute;top:.75rem;inset-inline-end:.75rem;padding:.3rem .6rem;border-radius:999px;background:var(--ink);color:#fff;font:600 var(--fs-xs)/1 var(--ff-body)}
.ocard__b{padding:1rem 1.1rem 1.1rem;display:flex;flex-direction:column;gap:.8rem;flex:1}
/* P10 polish 26/11/2026: three title lines reserved (no clamp, the name stays whole), so the cards and their buttons align */
.ocard__b h3{font-size:var(--fs-lg);line-height:1.2;min-height:3.6em}
.ocard__b h3 a{text-decoration:none;color:inherit}
.ocard__b h3 a:hover{color:var(--cobalt)}
.ospecs{display:flex;flex-wrap:wrap;gap:.35rem}
.ospecs span{padding:.3rem .6rem;border-radius:6px;background:var(--band);font:500 var(--fs-xs)/1.2 var(--ff-body);font-variant-numeric:tabular-nums}
.ocard__b .am-btn{margin-top:auto;align-self:stretch;justify-content:space-between}
.offers-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.5rem}
.offers-foot p{font-size:var(--fs-sm);color:var(--muted)}

/* ---------- 7 services: 2 + 3, the ground fills from the bottom ---------- */
.hv-svc{display:grid;grid-template-columns:repeat(6,1fr);gap:var(--gap)}
.hv-svc a{grid-column:span 2;position:relative;isolation:isolate;display:flex;flex-direction:column;border-radius:var(--r);overflow:hidden;background:var(--band);text-decoration:none;color:var(--ink);transition:color .45s var(--ease)}
.hv-svc a:nth-child(-n+2){grid-column:span 3}
.hv-svc a::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--cobalt);transform:scaleY(0);transform-origin:bottom;transition:transform .55s var(--ease)}
.hv-svc a:hover,.hv-svc a:focus-visible{color:#fff}
.hv-svc a:hover::before,.hv-svc a:focus-visible::before{transform:none}
.hv-svc__ph{display:block;aspect-ratio:16/9;overflow:hidden}
.hv-svc a:nth-child(-n+2) .hv-svc__ph{aspect-ratio:16/8}
.hv-svc img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.hv-svc a:hover img{transform:scale(1.05)}
.hv-svc .tx{padding:1.1rem 1.25rem 1.25rem;display:grid;grid-template-columns:1fr auto;gap:.4rem 1rem;align-items:end}
.hv-svc .tx strong{font:700 var(--fs-xl)/1.15 var(--ff-display);grid-column:1}
.hv-svc .tx__p{font-size:var(--fs-sm);color:var(--muted);transition:color .45s;grid-column:1}
.hv-svc a:hover .tx__p,.hv-svc a:focus-visible .tx__p{color:oklch(0.92 0.02 266)}
.hv-svc .arr{grid-column:2;grid-row:1/span 2;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--cobalt);transform:scale(.6);opacity:0;transition:all .45s var(--ease)}
.hv-svc a:hover .arr,.hv-svc a:focus-visible .arr{transform:none;opacity:1}
.hv-urgent{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:var(--gap);padding:1.1rem 1.25rem;border-radius:var(--r);background:var(--ink);color:#fff}
.hv-urgent p{font:700 var(--fs-lg)/1.3 var(--ff-display)}
@media (hover:none){.hv-svc .arr{transform:none;opacity:1}}
@media (max-width:860px){.hv-svc{grid-template-columns:1fr 1fr}.hv-svc a,.hv-svc a:nth-child(-n+2){grid-column:span 1}.hv-svc a:first-child{grid-column:span 2}}
@media (max-width:520px){.hv-svc{grid-template-columns:1fr}.hv-svc a:first-child{grid-column:span 1}}

/* ---------- 8 how it works: M6 sticky image story, a lift floor display ---------- */
.am-st{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,5vw,4rem)}
.am-st .stage{position:sticky;top:110px;height:min(72vh,560px);border-radius:var(--r-lg);overflow:hidden;background:var(--hair)}
.am-st .stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.08);transition:opacity .8s,transform 1.4s var(--ease)}
.am-st .stage img.on{opacity:1;transform:none}
.am-st .floors{position:absolute;top:1rem;inset-inline-end:1rem;display:grid;gap:4px;padding:6px;border-radius:10px;background:oklch(0.16 0.006 265 / .82)}
.am-st .floors i{display:grid;place-items:center;min-width:46px;height:30px;padding-inline:6px;border-radius:6px;font:600 var(--fs-xs)/1 var(--ff-mono);font-style:normal;color:oklch(0.7 0.01 265);transition:background .4s,color .4s}
.am-st .floors i.on{background:var(--cobalt);color:#fff}
.am-st .st-list{display:grid}
.am-st .st-step{min-height:min(72vh,560px);display:flex;flex-direction:column;justify-content:center;gap:1rem;transition:color .5s}
/* inactive steps (QA M2 30/11/2026): muted colour instead of opacity, every text stays above 4.5:1 */
/* (JS on and motion allowed only: without JS or with reduced motion every step reads as active, as before) */
@media (prefers-reduced-motion:no-preference){
  html.hv-js .am-st .st-step:not(.on) :is(h3,p){color:var(--muted)}
  html.hv-js .am-st .st-step:not(.on) .tag{background:var(--band);color:var(--muted)}
}
.am-st .st-step :is(h3,p,.tag){transition:color .5s,background .5s}
.am-st .st-step h3{font-size:var(--fs-3xl);max-width:16ch}
.am-st .st-step p{max-width:44ch;color:var(--ink-3);font-size:var(--fs-lg)}
.am-st .st-step .acts{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}
.am-st .tag{display:inline-flex;align-self:flex-start;align-items:center;padding:.35rem .75rem;border-radius:999px;background:var(--cobalt-lt);color:var(--cobalt-dk);font:600 var(--fs-xs)/1 var(--ff-mono)}
html:lang(ar) :is(.am-st .tag,.am-st .floors i){font-family:var(--ff-body)}
/* Mobile audit 30/11/2026 P2-4: on a phone no sticky frame (it left half-empty screens); each step carries its photo */
.am-st .st-ph{display:none}
@media (max-width:760px){
  .am-st{grid-template-columns:1fr}
  .am-st .stage{display:none}
  .am-st .st-list{gap:2rem}
  .am-st .st-step{min-height:0;justify-content:flex-start;gap:.75rem}
  .am-st .st-ph{display:block;aspect-ratio:16/10;border-radius:var(--r);overflow:hidden;background:var(--hair)}
  .am-st .st-ph img{width:100%;height:100%;object-fit:cover}
}
/* no JS: every step readable, the first photo shown */
html:not(.hv-js) .am-st .st-step{opacity:1}
html:not(.hv-js) .am-st .stage img:first-of-type{opacity:1;transform:none}

/* ---------- 9 proof band: M9 count-up ---------- */
.proof{background:var(--cobalt);color:#fff;border-radius:var(--r-lg);padding:clamp(1.5rem,1rem + 2.5vw,3rem);display:grid;grid-template-columns:repeat(4,1fr) auto;gap:1.5rem 2rem;align-items:end}
.proof:not(:has(> div:nth-of-type(4))){grid-template-columns:repeat(3,1fr) auto}
.proof div b{display:block;font:800 var(--fs-4xl)/1 var(--ff-display);letter-spacing:-.03em}
.proof div span{display:block;margin-top:.6rem;font-size:var(--fs-sm);color:oklch(0.92 0.03 266);max-width:22ch}
.proof .am-btn{--sweep:var(--cobalt-lt)}
@media (max-width:1023px){.proof,.proof:not(:has(> div:nth-of-type(4))){grid-template-columns:1fr 1fr}.proof .am-btn{grid-column:1/-1;justify-self:start}}

/* ---------- 10 cities: photo tiles + every city in text ---------- */
.hv-cities{padding-top:0!important}
.ctiles{display:grid;grid-template-columns:repeat(5,1fr);gap:var(--gap)}
.ctile{position:relative;display:block;aspect-ratio:3/4;border-radius:var(--r);overflow:hidden;color:#fff;text-decoration:none;background:var(--ink)}
.ctile img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.ctile:hover img{transform:scale(1.06)}
.ctile::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,oklch(0.16 0.006 265 / .78),transparent 55%)}
.ctile > span{position:absolute;inset-inline:1rem;bottom:1rem;z-index:1;display:grid;gap:.25rem}
.ctile b{font:700 var(--fs-xl)/1.1 var(--ff-display)}
.ctile small{font:500 var(--fs-xs)/1.2 var(--ff-mono);color:oklch(0.9 0.01 265)}
html:lang(ar) .ctile small{font-family:var(--ff-body)}
.clinks{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem;align-items:center}
.clinks a{display:inline-flex;align-items:center;gap:.5rem;min-height:40px;padding:0 1rem;border-radius:999px;border:1px solid var(--hair);background:#fff;color:var(--ink);text-decoration:none;font-size:var(--fs-sm);font-weight:600;transition:border-color .25s}
.clinks a:hover{border-color:var(--ink)}
.clinks a small{font-weight:400;color:var(--muted);font-size:var(--fs-xs)}
@media (max-width:860px){.ctiles{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1 * var(--pad-x));padding-inline:var(--pad-x);scrollbar-width:none}.ctile{flex:0 0 46%;scroll-snap-align:start}}

/* ---------- 11 guides: 1 large + the others ---------- */
.hv-guides{display:grid;grid-template-columns:1.3fr 1fr;gap:var(--gap)}
.gbig{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:440px;border-radius:var(--r-lg);overflow:hidden;color:#fff;text-decoration:none;padding:clamp(1.25rem,1rem + 1.5vw,2.25rem);isolation:isolate;background:var(--ink)}
.gbig img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .9s var(--ease)}
.gbig:hover img{transform:scale(1.04)}
.gbig::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,oklch(0.16 0.006 265 / .88),oklch(0.16 0.006 265 / .15) 70%)}
.gbig__h{font:800 var(--fs-3xl)/1.05 var(--ff-display);letter-spacing:-.025em;max-width:18ch}
html:lang(ar) .gbig__h{font-weight:700;letter-spacing:0;line-height:1.3}
.gbig__p{margin-top:.75rem;max-width:44ch;color:oklch(0.9 0.01 265)}
.gbig .am-btn{margin-top:1.25rem;align-self:flex-start;pointer-events:none}
.gsmall{display:grid;gap:var(--gap);align-content:start}
.gsmall a{display:grid;grid-template-columns:clamp(96px,10vw,150px) 1fr;gap:1rem;align-items:center;padding:.6rem;border-radius:var(--r);background:#fff;color:var(--ink);text-decoration:none;transition:background .3s}
.gsmall a:hover{background:var(--cobalt-lt)}
.gsmall img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:10px}
.gsmall b{display:block;font:700 var(--fs-lg)/1.2 var(--ff-display)}
.gsmall span span{display:block;margin-top:.35rem;font-size:var(--fs-sm);color:var(--muted)}
.gsmall .gsmall__go{display:inline-flex;align-items:center;gap:.35rem;margin-top:.6rem;padding:.4rem .8rem;border:1px solid var(--ink);border-radius:999px;color:var(--ink);font-weight:600;font-size:var(--fs-xs)}
.gsmall .gsmall__go .ico{width:16px;height:16px}
.guides-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:var(--gap)}
.guides-foot p{font:700 var(--fs-lg)/1.25 var(--ff-display)}
@media (max-width:860px){.hv-guides{grid-template-columns:1fr}.gbig{min-height:340px}}

/* ---------- 12 partner: C13 fan deck + CTA ---------- */
.hv-partner{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,1rem + 4vw,5rem);align-items:center}
.hv-partner ul{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;gap:.6rem}
.hv-partner li{display:flex;gap:.65rem;align-items:flex-start}
.hv-partner li .ico{color:var(--cobalt);margin-top:.15rem}
.hv-acts{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem}
.am-fan{position:relative;height:clamp(320px,30vw,420px);display:grid;place-items:center}
.am-fan figure{position:absolute;width:min(240px,44%);aspect-ratio:3/4;margin:0;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh-up);border:5px solid #fff;background:var(--band);transition:transform .7s var(--ease)}
.am-fan figure img{width:100%;height:100%;object-fit:cover}
.am-fan figure:nth-child(1){transform:rotate(-5deg)}
.am-fan figure:nth-child(2){transform:rotate(2deg)}
.am-fan figure:nth-child(3){transform:rotate(7deg)}
.am-fan:hover figure:nth-child(1),.am-fan.open figure:nth-child(1){transform:translateX(-62%) rotate(-11deg)}
.am-fan:hover figure:nth-child(2),.am-fan.open figure:nth-child(2){transform:translateY(-6%) rotate(0)}
.am-fan:hover figure:nth-child(3),.am-fan.open figure:nth-child(3){transform:translateX(62%) rotate(11deg)}
@media (max-width:860px){.hv-partner{grid-template-columns:1fr}.am-fan{order:-1}}

/* ---------- 13 FAQ: intro left, list right ---------- */
.hv-faq{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2rem,1rem + 4vw,5rem);align-items:start}
.hv-faq__intro{position:sticky;top:110px}
.hv-faq__intro p{margin-top:1rem;color:var(--muted);max-width:40ch}
.hv-faq__intro .am-btn{margin-top:1.5rem}
.hv-faq__list{display:grid;gap:.6rem}
.hv-faq details{background:#fff;border-radius:var(--r);padding:0 1.25rem;transition:background .3s}
.hv-faq details[open]{background:var(--cobalt-lt)}
.hv-faq summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:60px;padding-block:.9rem;cursor:pointer;list-style:none;font:700 var(--fs-lg)/1.25 var(--ff-display)}
.hv-faq summary::-webkit-details-marker{display:none}
.hv-faq summary .pm{width:34px;height:34px;flex:none;border-radius:50%;background:var(--band);display:grid;place-items:center}
.hv-faq details[open] summary .pm{background:#fff}
.hv-faq summary .pm svg{width:16px;height:16px;transition:transform .35s var(--ease)}
.hv-faq details[open] .pm svg{transform:rotate(45deg)}
.hv-faq details p{padding-bottom:1.2rem;color:var(--ink-3);max-width:62ch}
.hv-faq details p a{color:var(--cobalt);font-weight:600}
@media (max-width:860px){.hv-faq{grid-template-columns:1fr}.hv-faq__intro{position:static}}

/* ---------- 14 closing band ---------- */
.hv-close{position:relative;isolation:isolate;border-radius:var(--r-lg);overflow:hidden;color:#fff;background:var(--cobalt-dk);padding:clamp(2rem,1.2rem + 4vw,5rem) clamp(1.25rem,1rem + 3vw,4rem)}
.hv-close img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hv-close::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,oklch(0.36 0.16 266 / .95),oklch(0.36 0.16 266 / .72) 60%,oklch(0.36 0.16 266 / .45))}
[dir=rtl] .hv-close::after{background:linear-gradient(270deg,oklch(0.36 0.16 266 / .95),oklch(0.36 0.16 266 / .72) 60%,oklch(0.36 0.16 266 / .45))}
.hv-close h2{font-size:var(--fs-4xl);max-width:18ch}
.hv-close .hv-acts{margin-top:2rem}
.hv-close .proofline{margin-top:1.25rem;font-size:var(--fs-sm);color:oklch(0.92 0.03 266)}
@media (max-width:560px){.hv-close .am-btn{width:100%;justify-content:space-between;white-space:normal}}

/* ---------- desktop WhatsApp button (phone = .pbar from site.css) ---------- */
.hv-fab{position:fixed;inset-inline-end:24px;bottom:24px;z-index:55;width:60px;height:60px;border-radius:50%;background:var(--wa);color:#fff;display:grid;place-items:center;box-shadow:var(--sh-up);opacity:0;transform:scale(.6);pointer-events:none;transition:opacity .3s,transform .4s var(--ease)}
.hv-fab.on{opacity:1;transform:none;pointer-events:auto}
.hv-fab .ico{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:767px){.hv-fab{display:none}}

/* ---------- M3 reveals: hidden start only once home.js runs (failsafe 1.5 s + beforeprint in home.js) ---------- */
.hv-js .hv [data-rv]{opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .8s var(--ease);transition-delay:calc(var(--i,0) * 80ms)}
.hv-js .hv [data-rv="zoom"]{transform:scale(.94)}
.hv-js .hv [data-rv].in{opacity:1;transform:none}

/* ---------- screenshot mode ?shot=1: everything visible, pinned effects off ---------- */
.shot .hv [data-rv]{opacity:1!important;transform:none!important;transition:none!important}
.shot .hdr{position:relative}
.shot .am-hg{height:auto;padding-block:var(--sec-y)}
.shot .am-hg .stage{position:static;height:auto;display:block}
.shot .am-hg .track{flex-wrap:wrap;transform:none!important;row-gap:1.25rem}
.shot .am-hg .bar{display:none}
.shot .am-st .stage{position:relative;top:0}
.shot .am-st .st-step{min-height:0;padding-block:2.5rem;opacity:1}
.shot .hv-faq__intro{position:static}
.shot .pbar,.shot .hv-fab{display:none!important}
.shot .am-rb--flat .trk{animation:none}
@media (min-width:761px){.shot .am-st .stage{height:560px}}
@media (max-width:760px){.shot .am-hg .track{flex-wrap:nowrap}}

@media (prefers-reduced-motion:reduce){
  .hv *,.hv *::before,.hv *::after,.am-btn,.hv-fab{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .hv-js .hv [data-rv]{opacity:1;transform:none}
  .am-hg{height:auto;padding-block:var(--sec-y)}.am-hg .stage{position:static;height:auto;overflow-x:auto}.am-hg .track{transform:none!important}
  .am-rb--flat .trk{animation:none}
  .am-st .st-step{opacity:1}
  /* D21 polish 26/11/2026: the active step photo is shown at once (never an empty grey frame); the first one until a step is
     active. Phone: steps no longer centred in a 52vh box (no blank band under the photo). */
  .am-st .stage img.on,.am-st .stage:not(:has(img.on)) img:first-of-type{opacity:1;transform:none}
  .am-st .stage img{transform:none}
}
@media (prefers-reduced-motion:reduce) and (max-width:760px){.am-st .st-step{min-height:0;padding-block:1.5rem}}
