/* Generated by scripts/rtl-css.mjs from home-hero.css: do not edit. */
/* Home hero, "A-BG2c" design (Nov 2026): route map backdrop, desert landmarks, one phone.
   Loaded after build/home.css (src/components/root.tsx CSS.home); the handover bundle stays untouched.
   Markup: src/app/[lang]/(site)/(home)/page.tsx, sections/HeroMap.tsx, HeroLandmarks.tsx, PhonePreview.tsx.
   The hero keeps its old height (one screen, header to trust strip): the phone shrinks on short screens. */

/* ---------- grid: copy left, phone right; the map sits behind both ---------- */
.hg.hg-map{position:relative;grid-template-columns:minmax(0,646fr) minmax(0,506fr);gap:48px;padding:48px 0 132px}
/* positioned but no z-index: they paint over the map (it comes first) without trapping the passport list's own
   z-index, so the open list still covers the trust strip below */
.hg-map > :not(.hx-map){position:relative}

/* ---------- route map (HeroMap): fixed 1440 × 980 box centred on the page, 72px above the hero row ---------- */
.hx-map{position:absolute;top:-24px;right:50%;width:1440px;height:980px;margin-right:-720px;pointer-events:none;z-index:0}
.hx-map > svg{position:absolute;inset:0;display:block}
.hx-lbl{font:600 12.5px var(--sans);fill:#6B5E4E}
.hx-ping{position:absolute;width:15px;height:15px;border-radius:50%;border:1.5px solid #D4C0A9;animation:hxPing 3s ease-out infinite}
@keyframes hxPing{0%{transform:scale(1);opacity:.5}100%{transform:scale(2.6);opacity:0}}
.hx-plane{position:absolute;right:0;top:0;width:20px;height:20px;offset-rotate:auto 90deg;opacity:0}
.hx-plane svg{display:block;fill:#D2BA9E;filter:drop-shadow(0 3px 5px rgba(21,36,62,.18))}

/* ---------- landmarks and lantern (HeroLandmarks) ---------- */
.stage .lat,.stage .dunes{display:none}
/* on screens shorter than 900px the drawing slides down (half the difference) so the dunes and landmarks stay under
   the form and the WhatsApp line instead of behind them */
.hx-land{position:absolute;right:0;bottom:min(0px,calc((100svh - 900px) * .5));width:100%;height:320px;overflow:visible;z-index:-1;pointer-events:none}

/* WhatsApp line under the form: as in the design (17px, darker text, solid underlines) and readable on the sand */
.hg-map .help{margin-top:24px;gap:8px;font-size:16px;color:#35465D;text-shadow:0 1px 0 rgba(255,255,255,.7)}
.hg-map .help .wa{width:24px;height:24px}
.hg-map .help a{color:#101C2E;text-decoration-color:#BFBAB5;text-underline-offset:4px}
.hg-map .help a:hover{color:var(--blue-ink);text-decoration-color:currentColor}
/* line drawings kept soft (owner, 20 Nov): landmarks, palm and lantern at reduced opacity; the dunes stay as they are */
.hx-land > g{opacity:.25}
.hx-lantern{opacity:.3}
.hx-palm{transform-box:view-box;transform-origin:44px 215px;animation:hxPalm 7s ease-in-out infinite alternate}
@keyframes hxPalm{from{transform:rotate(1.2deg)}to{transform:rotate(-1.2deg)}}
.hx-lantern{position:absolute;top:var(--stage-top);left:max(16px,calc(50% - 705px));width:30px;height:250px;z-index:-1;pointer-events:none;transform-origin:50% 0;animation:hxSway 6s ease-in-out infinite alternate}
@keyframes hxSway{from{transform:rotate(2deg)}to{transform:rotate(-2deg)}}
.hx-glow{opacity:.35;animation:hxGlow 2.8s ease-in-out infinite alternate}
@keyframes hxGlow{from{opacity:.18}to{opacity:.5}}

/* ---------- phone (PhonePreview + PhoneLoop) ---------- */
.hx-pv{width:400px;max-width:100%;justify-self:center;display:flex;justify-content:flex-end}
.hx-phone{--acc:var(--blue);position:relative;flex:none;width:300px;height:600px;padding:10px;border-radius:48px;background:#0F1A2A;
  box-shadow:0 50px 90px -30px rgba(21,36,62,.45),inset 0 0 0 1.5px #2F4057,inset 0 0 0 4px #0F1A2A;animation:hxFloat 8s ease-in-out infinite}
@keyframes hxFloat{50%{transform:translateY(-8px)}}
/* side buttons */
.hx-phone::before,.hx-phone::after{content:"";position:absolute;width:3px;border-radius:4px;background:#1F2F46}
.hx-phone::before{right:-2px;top:112px;height:56px;box-shadow:0 74px 0 #1F2F46}
.hx-phone::after{left:-2px;top:150px;height:84px}

.hp-scr{position:relative;height:100%;display:flex;flex-direction:column;border-radius:40px;background:#fff;overflow:hidden;color:#101C2E;font-family:var(--sans)}
.hp-isl{position:absolute;right:50%;top:10px;z-index:4;width:86px;height:25px;margin-right:-43px;border-radius:16px;background:#000}
.hp-sb{display:flex;justify-content:space-between;align-items:center;height:44px;padding:4px 30px 0 24px;font:600 13px var(--sans);flex:none}
.hp-sb .r{display:flex;gap:5px;align-items:center}.hp-sb svg{fill:currentColor}

.hp-mail{flex:1;min-height:0;display:flex;flex-direction:column;gap:13px;padding:6px 20px 0}
.hp-back{display:flex;align-items:center;gap:2px;color:var(--acc);font:500 15px var(--sans)}
.hp-from{display:flex;gap:10px;align-items:flex-start}
.hp-from img{flex:none;width:38px;height:38px;border-radius:50%}
.hp-from > div{flex:1;min-width:0}
.hp-fr1{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.hp-fr1 b{font:600 15px var(--sans);white-space:nowrap}
.hp-from small{display:block;font-size:12.5px;color:#70747B;margin-top:2px}.hp-fr1 small{font-size:12px;margin:0;white-space:nowrap}
.hp-mail hr{border:0;height:1px;background:#F2F1F0}
.hp-mail p{font-size:14px;line-height:1.55;color:#56595D}
.hp-mail .hp-subj{font:700 20px/1.2 var(--serif);letter-spacing:-.02em;color:#101C2E}

/* attachment: pulses to invite a tap; the "tap" ripple runs from PhoneLoop */
.hp-att{position:relative;display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #F0EAE3;border-radius:16px;background:#FCFBF9;color:var(--acc);cursor:pointer;
  transition:transform .15s ease;animation:hxHint 2.4s ease-in-out infinite}
@keyframes hxHint{0%,100%{box-shadow:0 0 0 0 rgba(21,36,62,0)}50%{box-shadow:0 0 0 4px rgba(21,36,62,.14)}}
.hp-thumb{flex:none;display:flex;flex-direction:column;width:40px;height:50px;border-radius:8px;background:#fff;border:1px solid #EDEAE7;overflow:hidden}
.hp-thumb i{height:3px;margin:4px 6px 0;border-radius:4px;background:#E8E4E0}
.hp-thumb i:first-child{height:12px;margin:0;border-radius:0;background:var(--acc)}
.hp-thumb i:nth-child(2){margin-top:6px}.hp-thumb i:last-child{width:55%}
.hp-attn{flex:1;min-width:0;color:#101C2E}
.hp-attn b{display:block;font:600 14px var(--sans)}.hp-attn small{display:block;font-size:12px;color:#70747B}
.hp-tap{position:absolute;right:42%;top:50%;width:38px;height:38px;margin:-19px -19px 0 0;border-radius:50%;background:rgba(169,129,78,.22);border:2px solid rgba(21,36,62,.35);
  pointer-events:none;transform:scale(.4);opacity:0;transition:transform .35s ease,opacity .35s ease}
.hx-phone[data-tap] .hp-att{transform:scale(.97)}
.hx-phone[data-tap] .hp-tap{transform:scale(1);opacity:1}

.hp-tb{flex:none;display:flex;justify-content:space-around;padding:12px 14px 26px;border-top:1px solid #F2F1F0;color:var(--acc)}
.hp-home{position:absolute;right:50%;bottom:8px;z-index:4;width:110px;height:4px;margin-right:-55px;border-radius:4px;background:#101C2E;opacity:.8}

/* PDF viewer sheet */
.hp-pdf{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;background:#F4F2F0;transform:translateY(102%);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.hx-phone[data-pdf] .hp-pdf{transform:none}
.hp-pdf .hp-sb{background:#FAFAF9}
.hp-pdfh{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 18px 12px;background:#FAFAF9;border-bottom:1px solid #EBE9E6;color:var(--acc)}
.hp-pdfh .dn{font:600 15px var(--sans);cursor:pointer}
.hp-pdfh .ti{text-align:center;min-width:0}.hp-pdfh .ti b{display:block;font:600 14px var(--sans);color:#101C2E}.hp-pdfh .ti small{display:block;font-size:11px;color:#70747B}
.hp-pg{flex:1;display:flex;align-items:flex-start;justify-content:center;padding:20px 14px}
.hp-card{width:100%;border-radius:16px;overflow:hidden;box-shadow:0 14px 30px -16px rgba(21,36,62,.35);
  background:repeating-radial-gradient(circle at 50% 42%,transparent 0 9px,rgba(160,116,63,.05) 9px 10px),linear-gradient(-160deg,#FFFDF8,#F7F2E8);
  transform:translateY(18px) scale(.96);opacity:0;transition:transform .5s cubic-bezier(.2,.8,.2,1) .18s,opacity .4s ease .18s}
.hx-phone[data-pdf] .hp-card{transform:none;opacity:1}
.hp-card header{display:flex;align-items:center;gap:10px;padding:14px 16px;background:linear-gradient(-90deg,#15243E,var(--acc));color:#fff}
.hp-card header img{flex:none;width:32px;height:32px;border-radius:50%;background:#fff;padding:2px}
.hp-card header small{display:block;font:600 9.5px var(--sans);letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.hp-card header b{display:block;font:700 16px/1.2 var(--serif)}
.hp-id{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:20px 16px 14px}
.hp-ph{width:84px;height:104px;object-fit:cover;border-radius:12px;box-shadow:0 0 0 1px rgba(21,36,62,.1)}
.hp-id b{margin-top:10px;font:700 17px var(--sans)}.hp-id small{font-size:13px;color:#66696D}
.hp-stamp{position:absolute;left:14px;top:12px;display:grid;place-items:center;width:76px;height:76px;border-radius:50%;border:2.5px solid #1F9D55;background:rgba(255,255,255,.35);
  transform:rotate(14deg) scale(1.8);opacity:0;transition:transform .45s cubic-bezier(.2,.8,.2,1) .6s,opacity .3s ease .6s}
.hp-stamp::before{content:"";position:absolute;inset:4px;border-radius:50%;border:1px dashed #1F9D55}
.hp-stamp span{font:800 10.5px var(--sans);letter-spacing:.06em;text-transform:uppercase;color:#1F9D55}
.hx-phone[data-pdf] .hp-stamp{transform:rotate(14deg) scale(1);opacity:1}
.hp-vd{display:flex;justify-content:space-between;align-items:center;margin:0 16px;padding:10px 12px;border-radius:12px;background:#F9F8F7}
.hp-vd span{font-size:12px;color:#66696D}.hp-vd b{font:700 14px var(--sans)}
.hp-card em{display:block;margin:12px 16px 16px;font:700 10px var(--sans);font-style:normal;letter-spacing:.08em;text-transform:uppercase;color:#B45309}

/* ---------- keep the hero one screen tall: smaller phone on short screens ---------- */
@media(min-width:1001px) and (max-height:860px){.hx-phone{zoom:.88}}
@media(min-width:1001px) and (max-height:790px){.hx-phone{zoom:.8}.hg.hg-map{padding-top:36px}.hx-map{top:-36px}}
@media(min-width:1001px) and (max-height:720px){.hx-phone{zoom:.72}}

/* ---------- smaller widths ---------- */
@media(max-width:1180px){.hg.hg-map{gap:32px}.hx-pv{width:auto;justify-content:center}}
@media(max-width:1100px){.hx-map{display:none}}
@media(max-width:1000px){.hg.hg-map{grid-template-columns:1fr}.hx-pv{justify-self:stretch}.hx-phone{animation:none}}
@media(max-width:640px){.hx-lantern{display:none}.hx-phone{zoom:.9}.hx-land{height:240px}}

@media(prefers-reduced-motion:reduce){
  .hx-ping,.hx-palm,.hx-lantern,.hx-glow,.hx-phone,.hp-att{animation:none}
  .hp-pdf,.hp-card,.hp-stamp,.hp-tap,.hp-att{transition:none}
}

/* ---------- the desert runs on under the next section (owner, 20 Nov) ----------
   The ground was being cut: .hx-land is clipped by .stage's overflow:hidden, so the sand stopped on the
   hero's last pixel and white began. Matching the cut with a flat colour in the next section does not work —
   .stage::before lays a diagonal sheen over it, so the ground's own colour there moves by 3-6 levels across
   the width and with the window size.
   So the ground is not cut at all. The stage is made --ground taller, its extra strip is filled with the
   front dune's own #EBD6B3, and the drawing is held at its present place by lifting its offset by the same
   amount. The sheen and the grain are pseudo-elements on .stage at inset:0, so they now cover the strip too
   and the join is the same pixel on both sides of it.
   The section is then pulled back up over that strip and carries the dune's bottom edge as its own
   background: sand above the wave, #F9F2EC below it (was #FCFBF9; owner, 26 Nov: the cream of design A). Where the wave ends and the flat colour starts is the
   same #F9F2EC, so there is no horizontal line anywhere.
   Only above 1024px: the website is not served narrower than that (below it the phone app takes the URL),
   and .stage{min-height:0} inside the narrow media query is what print layout relies on. */
@media (min-width:1024px){
  :root{--ground:150px}

  /* the stage grows downward only: the content box keeps its height, so the hero itself does not move */
  .stage{
    padding-bottom:var(--ground);
    min-height:calc(100svh + var(--ground));
    background:
      linear-gradient(0deg,#EBD6B3 0,#EBD6B3 var(--ground),transparent var(--ground)),
      radial-gradient(900px 520px at 88% -8%,rgba(255,214,165,.30),transparent 62%),
      radial-gradient(700px 460px at -6% 28%,rgba(255,242,226,.8),transparent 66%),
      linear-gradient(-180deg,#FFFEFC 0%,#FDF9F3 50%,#FAF3E9 100%);
  }

  /* both are measured from the stage's bottom, which just moved: add it back so they stay where they were.
     The drawing's own bottom now meets the top of the filled strip, and both are #EBD6B3. */
  .hx-land{bottom:calc(var(--ground) + min(0px,(100svh - 900px) * .5))}
  .dock.dk{bottom:calc(22px + var(--ground))}

  /* z-index:1 so the section's background is painted over the stage's strip rather than under it; the only
     thing it overlaps is that strip, because the trust strip was lifted with everything else. */
  /* :is(#visas, .sx) only to carry an id's weight: the bundle paints this section with
     `:where(.pg-home,.hx) #visas{background:#fff}`, and an id beats `.stage + .sx`, so the plain selector was
     being overruled on the one property that matters here and the section stayed white with no error anywhere.
     The :is() keeps it written for whatever section comes first, rather than pinning it to that id. */
  .stage + .sx:is(#visas, .sx){
    position:relative;
    z-index:1;
    margin-top:calc(-1 * var(--ground));
    /* The wave's deepest point is about 86px down, so the padding is measured from there, not from the top of
       the section: var(--ground) - 28px leaves roughly 64px of clear ground under the dune before the eyebrow,
       which is the same breathing room the other sections have without counting the sand as empty space. */
    padding-top:calc(var(--ground) - 28px);
    /* written as longhands on purpose: the same thing as a `background:` shorthand, with the wave's size in
       it as var(--ground) and a `/` separator, was dropped by the parser and the bundle's .sx{background:#fff}
       won instead — which is how the section went back to white without anything reporting an error. */
    background-color:transparent;
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150' preserveAspectRatio='none'%3E%3Cpath d='M0 54 C220 26 430 72 690 86 C930 99 1180 62 1440 44 V150 H0 Z' fill='%23F9F2EC'/%3E%3C/svg%3E"),
      linear-gradient(-180deg,transparent 0,transparent var(--ground),#F9F2EC var(--ground));
    background-repeat:no-repeat,no-repeat;
    background-position:right top,right top;
    background-size:100% var(--ground),auto;
  }
}

/* ---------- the finder (owner, 20 Nov: keep it, redesign it) ----------
   It was a 20px-cornered white bar with a pill button sitting inside it, which left a wedge of white around
   the button's corners and made the two shapes argue with each other.
   The bar is a pill now, and the button keeps the 9px inset it already had. That is not a coincidence that
   happens to look right: a pill inside a pill, inset by g on every side, has height H − 2g, so its own
   radius is H/2 − g — which is exactly the outer radius minus the gap. The two are concentric by
   construction, at any height. */
@media (min-width:1024px){
  .fm,
  .fm.c3{
    border-radius:var(--r-pill);
    box-shadow:0 24px 48px -28px rgba(120,84,40,.42),0 0 0 1px rgba(160,116,63,.14);
  }

  /* the first field's text has to clear the curve: at 76px tall the corner is 38px deep */
  .fm .f:first-child{border-radius:0 var(--r-pill) var(--r-pill) 0;padding-right:30px}

  /* a full-height divider runs into the curve and reads as a crack in the bar, so it is a short centred rule
     drawn by the field itself */
  .fm .f{position:relative;border-left:0}
  .fm .f:nth-child(2){border-left:0}
  .fm .f+.f::before{
    content:"";
    position:absolute;
    right:0;
    top:16px;
    bottom:16px;
    width:1px;
    background:var(--line);
  }

  /* the button's own drop shadow was landing on the white bar 9px away and muddying it; the bar already
     carries the elevation for both */
  .fm .go .btn{box-shadow:none}
  /* The button sits 9px inside the bar, so .btn-p's 1px lift on hover and 1px drop on press read as the
     button jittering in its slot rather than as a press. It stays put; the arrow moves instead (owner,
     20 Nov). The card's arrow is the opposite case — there the whole card lifts, so a second moving part
     was one too many. */
  .fm .go .btn:hover,
  .fm .go .btn:active{transform:none}
  .fm .go .btn:hover::after{transform:translateX(-3px)}
}
