/* Elena Naeim Agency — styles
   Palette: night #0D1222, ink #1A2238, brass #C9A64A, pale brass #E6D7A8, porcelain #EEF0F3, mist #8B94A8 */

:root {
  --night: #0D1222;
  --ink: #1A2238;
  --brass: #C9A64A;
  --brass-pale: #E6D7A8;
  --brass-deep: #8E6E22;

  --bg: #EEF0F3;
  --surface: #FFFFFF;
  --text: #1A2238;
  --text-2: #4D566C;
  --line: rgba(26, 34, 56, .14);
  --accent: #8E6E22;

  --inv-bg: #0D1222;
  --inv-surface: #151C31;
  --inv-text: #F2EEE4;
  --inv-text-2: #A9B1C3;
  --inv-line: rgba(242, 238, 228, .14);

  --hh: 72px;
  --top: calc(env(safe-area-inset-top, 0px) + var(--hh));
  --serif: "Noto Serif Display", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --sans: Manrope, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --pad: clamp(20px, 5vw, 56px);

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10162A; --surface: #161D33; --text: #EEF0F3; --text-2: #A9B1C3;
    --line: rgba(238, 240, 243, .13); --accent: #C9A64A;
    --inv-bg: #0A0E1B; --inv-surface: #121931;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #10162A; --surface: #161D33; --text: #EEF0F3; --text-2: #A9B1C3;
  --line: rgba(238, 240, 243, .13); --accent: #C9A64A;
  --inv-bg: #0A0E1B; --inv-surface: #121931;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: var(--top); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60;
  background: rgba(13, 18, 34, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--pad); }
.inv { background: var(--inv-bg); color: var(--inv-text); }
.h2 { font: 500 clamp(34px, 4.4vw, 60px)/1.06 var(--serif); letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.body { color: var(--text-2); max-width: 54ch; margin: 22px 0 0; }
.inv .body { color: var(--inv-text-2); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--brass); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* icons */
.ico { width: 20px; height: 20px; flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 15.5px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-brass { background: var(--brass); color: var(--night); }
.btn-brass:hover { background: var(--brass-pale); }
.btn-line { border-color: var(--inv-line); color: var(--inv-text); }
.btn-line:hover { border-color: var(--brass); }
.btn-ink { background: var(--text); color: var(--bg); }
.btn-ink:hover { background: var(--accent); color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-wide { width: 100%; grid-column: 1 / -1; height: 56px; font-size: 16px; }

/* header */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px); color: var(--inv-text);
  transition: background-color .3s, box-shadow .3s;
}
.hdr.solid, .hdr.open { background: rgba(13, 18, 34, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--inv-line); }
.hdr-in { height: var(--hh); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.mark { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--brass); color: var(--brass); display: grid; place-items: center; font: 500 15px/1 var(--serif); letter-spacing: .04em; flex: none; }
.brand-name { display: flex; flex-direction: column; gap: 5px; font: 500 19px/1 var(--serif); }
.brand-name small { font: 700 10px/1 var(--sans); letter-spacing: .34em; color: var(--brass); text-transform: uppercase; }
.nav { margin-left: auto; display: flex; gap: 30px; }
.nav a { color: var(--inv-text-2); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: color .2s; }
.nav a:hover { color: var(--inv-text); }
.hdr-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--inv-line); border-radius: 999px; padding: 3px; }
.lang button { background: none; border: 0; color: var(--inv-text-2); font: 700 12.5px/1 var(--sans); letter-spacing: .04em; padding: 8px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--inv-text); color: var(--night); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--inv-line); border-radius: 50%; background: none; cursor: pointer; place-content: center; gap: 6px; padding: 0; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--inv-text); transition: transform .25s; }
.hdr.open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.hdr.open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mnav { border-top: 1px solid var(--inv-line); padding: 8px 0 24px; max-height: calc(100svh - var(--top)); overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid var(--inv-line); color: var(--inv-text); text-decoration: none; font: 500 26px/1.2 var(--serif); }
.mnav .btn { margin-top: 22px; width: 100%; }

/* hero */
.hero-pin {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hh) + 48px) 0 88px;
}
.hero-pin::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 560px at 78% 34%, rgba(201, 166, 74, .17), transparent 62%),
    radial-gradient(720px 520px at 6% 100%, rgba(70, 92, 168, .2), transparent 62%);
}
.hero-pin::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(242, 238, 228, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 238, 228, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 62% 42%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 62% 42%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { will-change: transform; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; color: var(--brass-pale); font-weight: 600; font-size: 14.5px; }
.hero-kicker::before { content: ""; width: 32px; height: 1px; background: var(--brass); flex: none; }
.hero-title { margin: 0 0 30px; font: 500 clamp(44px, min(5.3vw, 9.8vh), 86px)/1 var(--serif); letter-spacing: -.022em; }
.hero-title span { display: block; white-space: nowrap; }
.hero-title span:nth-child(2) { padding-left: .6em; }
.hero-title span:nth-child(3) { padding-left: 1.2em; }
.hero-lead { margin: 0 0 36px; max-width: 44ch; color: var(--inv-text-2); font-size: clamp(17px, 1.35vw, 19.5px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { --sh: clamp(380px, 64vh, 580px); }
.stage { position: relative; height: var(--sh); perspective: 1300px; }
.stack { position: absolute; inset: 0 0 64px; transform-style: preserve-3d; will-change: transform; }
.pcard {
  --w: clamp(150px, 15vw, 214px);
  position: absolute; left: 50%; top: 50%; margin: 0;
  width: var(--w); height: calc(var(--w) * 1.28);
  margin-left: calc(var(--w) / -2); margin-top: calc(var(--w) * -.64);
  border-radius: 18px; overflow: hidden; background: #000;
  border: 1.5px solid rgba(201, 166, 74, .9);
  box-shadow: 0 44px 80px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .3);
  transform-style: preserve-3d; backface-visibility: hidden;
  animation: deal 1.1s cubic-bezier(.2, .75, .2, 1) both;
}
.pcard-lg { --w: clamp(172px, 17.5vw, 248px); }
.pcard img { width: 100%; height: 100%; object-fit: cover; }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(13, 18, 34, .45)); }
#pc1 { animation-delay: .35s; } #pc3 { animation-delay: .5s; } #pc2 { animation-delay: .65s; }
#pc1 img { object-position: 30% 30%; } #pc3 img { object-position: 40% 30%; } #pc2 img { object-position: 50% 25%; }

.route { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--inv-text-2); animation: fade .8s 1.2s both; }
.route span, .route b { padding: 7px 13px; border: 1px solid var(--inv-line); border-radius: 999px; font-weight: inherit; }
.route-line { width: 46px; height: 0; border-top: 1.5px dashed var(--brass); }

.hero-foot { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 1; display: flex; align-items: center; gap: 14px; color: var(--inv-text-2); font-size: 13.5px; }
.hint-line { width: 56px; height: 1px; background: linear-gradient(90deg, var(--brass), transparent); }

.hero-title span { animation: rise .95s cubic-bezier(.2, .75, .2, 1) both; }
.hero-title span:nth-child(1) { animation-delay: .05s; }
.hero-title span:nth-child(2) { animation-delay: .16s; }
.hero-title span:nth-child(3) { animation-delay: .27s; }
.hero-kicker, .hero-lead, .hero-ctas, .hero-foot { animation: fade .8s .55s both; }
@keyframes rise { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes deal { from { opacity: 0; translate: 0 70px; } to { opacity: 1; translate: 0 0; } }

@media (min-width: 960px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
  .hero { height: 190vh; }
  .hero-pin { position: sticky; top: 0; height: 100svh; min-height: 0; }
}
/* phones and tablets: the copy scrolls away, the card stage sticks mid-screen and fans out, then lets go.
   main.ts adds .pin-m (needs overflow: clip so the sticky stage is not trapped by the hero's clipping) */
@media (max-width: 959px) and (min-height: 520px) and (prefers-reduced-motion: no-preference) {
  .hero.pin-m { --fan: 70svh; }
  .hero.pin-m .hero-pin { overflow: clip; }
  .hero.pin-m .hero-pin::before, .hero.pin-m .hero-pin::after { bottom: var(--fan); }
  .hero.pin-m .hero-pin::before { -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
  .hero.pin-m .hero-grid { grid-template-rows: auto calc(var(--sh) + var(--fan)); }
  .hero.pin-m .stage { align-self: start; position: sticky; top: calc((100svh + var(--top) - var(--sh)) / 2); }
}

/* process */
.process { padding: clamp(96px, 12vw, 170px) 0 clamp(64px, 8vw, 120px); }
.sec-head { max-width: 15em; margin-bottom: clamp(40px, 6vw, 84px); }
.p-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.p-panel {
  position: sticky; top: calc(var(--top) + 32px);
  height: min(560px, calc(100svh - var(--top) - 64px)); min-height: 380px;
  border-radius: 28px; padding: clamp(28px, 3vw, 40px); overflow: hidden;
  display: grid; grid-template-rows: auto auto 1fr auto auto; isolation: isolate;
}
.p-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(420px 320px at 100% 0%, rgba(201, 166, 74, .18), transparent 70%),
    linear-gradient(rgba(242, 238, 228, .045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(242, 238, 228, .045) 1px, transparent 1px) 0 0 / 48px 48px;
}
.p-num { font: 400 clamp(120px, 13vw, 196px)/.82 var(--serif); letter-spacing: -.045em; color: var(--brass); }
.p-num.swap { animation: swap .5s cubic-bezier(.2, .75, .2, 1); }
@keyframes swap { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
.p-of { margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--inv-text-2); letter-spacing: .04em; }
.p-icon { align-self: end; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--inv-line); display: grid; place-items: center; color: var(--brass); }
.p-icon .ico { width: 28px; height: 28px; }
.p-title { margin: 18px 0 24px; font: 500 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); min-height: 2.4em; }
.p-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.p-bars i { height: 3px; border-radius: 2px; background: var(--inv-line); transition: background-color .4s; }
.p-bars i.on { background: var(--brass); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--line); opacity: .3; transition: opacity .45s; }
.step.on { opacity: 1; }
.step:last-child { min-height: 56vh; }
.step-n { margin-bottom: 18px; font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--accent); }
.step h3 { margin: 0 0 14px; font: 500 clamp(28px, 3vw, 42px)/1.12 var(--serif); letter-spacing: -.01em; }
.step p { margin: 0; max-width: 42ch; color: var(--text-2); font-size: 18px; }

/* sectors */
.sectors { padding: clamp(80px, 10vw, 150px) 0; border-top: 1px solid var(--line); }
.s-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.s-intro { position: sticky; top: calc(var(--top) + 40px); }
.s-intro .btn { margin-top: 32px; }
.s-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.s-list li { display: flex; align-items: center; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); font: 500 clamp(19px, 1.7vw, 22px)/1.25 var(--serif); }
.s-list .ico { width: 28px; height: 28px; color: var(--accent); }

/* why */
.why { padding: clamp(80px, 10vw, 150px) 0; background: var(--surface); }
.w-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.w-photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--ink); }
.w-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.w-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13, 18, 34, .78)); }
.w-photo figcaption { position: absolute; left: clamp(20px, 3vw, 32px); right: clamp(20px, 3vw, 32px); bottom: clamp(20px, 3vw, 28px); z-index: 1; color: #F2EEE4; font: 500 clamp(22px, 2.4vw, 30px)/1.15 var(--serif); }
.w-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 26px; }
.w-list li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; }
.w-check { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--night); }
.w-check .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.w-list b { display: block; margin-bottom: 4px; font: 500 21px/1.25 var(--serif); }
.w-list p { margin: 0; color: var(--text-2); font-size: 16.5px; }

/* quote */
.quote { height: 230vh; }
.q-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.q-pin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 500px at 50% 60%, rgba(201, 166, 74, .14), transparent 70%); }
.q-pin .wrap { position: relative; }
.q { margin: 0; max-width: 19ch; font: 400 clamp(38px, 5.6vw, 84px)/1.08 var(--serif); letter-spacing: -.018em; }
.q .w { opacity: .14; transition: opacity .35s; }
.q .w.on { opacity: 1; }
.q-by { margin: 36px 0 0; display: flex; align-items: center; gap: 14px; color: var(--brass-pale); font-weight: 600; font-size: 15px; }
.q-by::before { content: ""; width: 32px; height: 1px; background: var(--brass); }

/* offices */
.offices { padding: clamp(80px, 10vw, 150px) 0; }
.o-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.o-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.o-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.o-card .ico { width: 24px; height: 24px; color: var(--accent); }
.o-card h3 { margin: 14px 0 8px; font: 500 22px/1.2 var(--serif); }
.o-card p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.o-map { margin: 0; border-radius: 28px; overflow: hidden; }
.o-map svg { display: block; width: 100%; height: auto; }
.m-dot { fill: rgba(242, 238, 228, .1); }
.m-ghost { fill: none; stroke: rgba(242, 238, 228, .16); stroke-width: 1.5; stroke-dasharray: 3 7; }
.m-path { fill: none; stroke: var(--brass); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.m-node { opacity: .25; transition: opacity .5s; }
.m-node.on { opacity: 1; }
.m-node circle { fill: var(--inv-bg); stroke: var(--brass); stroke-width: 2; }
.m-node.office circle:not(.halo) { fill: var(--brass); }
.m-node .halo { fill: rgba(201, 166, 74, .14); stroke: rgba(201, 166, 74, .4); stroke-width: 1; }
.m-node text { font: 600 15px var(--sans); fill: var(--inv-text-2); }
.m-node text.big { font: 500 22px var(--serif); fill: var(--inv-text); }
.m-node text.sub { font: 600 12px var(--sans); fill: var(--brass); letter-spacing: .06em; }

/* contact */
.contact { padding: clamp(90px, 11vw, 160px) 0; }
.c-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.c-lines { list-style: none; margin: 40px 0 0; padding: 0; }
.c-lines a { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid var(--inv-line); color: var(--inv-text); text-decoration: none; font: 500 22px/1.2 var(--serif); transition: color .2s; }
.c-lines a:hover { color: var(--brass-pale); }
.c-lines a.mail { font-size: 19px; overflow-wrap: anywhere; }
.c-lines small { display: block; margin-bottom: 7px; font: 600 12.5px/1 var(--sans); color: var(--inv-text-2); letter-spacing: .02em; }
.c-lines .ico { width: 22px; height: 22px; color: var(--brass); }
.c-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--inv-line); border-radius: 28px; background: var(--inv-surface); }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 13.5px; color: var(--inv-text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--inv-line);
  background: rgba(242, 238, 228, .04); color: var(--inv-text); font: 500 16px/1.4 var(--sans);
  -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s;
}
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23C9A64A' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { color: #1A2238; background: #fff; }
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(169, 177, 195, .6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(201, 166, 74, .22); }
.field [aria-invalid="true"] { border-color: #E0877D; }
.f-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--inv-text-2); line-height: 1.5; }
.f-status { grid-column: 1 / -1; margin: 0; font-weight: 600; font-size: 14.5px; color: var(--brass-pale); }
.f-status:empty { display: none; }
.f-status.err { color: #F2A7A0; }
.f-status a { color: var(--brass); }

/* footer */
.ftr { padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--inv-line); }
.f-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 40px; }
.f-tag { margin: 0; font: 500 19px/1.3 var(--serif); color: var(--brass-pale); }
.f-meta { margin: 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--inv-text-2); }
.f-meta a { color: var(--inv-text-2); }
.f-meta a:hover { color: var(--inv-text); }
.f-priv { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--inv-line); font-size: 13px; color: var(--inv-text-2); max-width: 90ch; }

/* WhatsApp button */
.wa-fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #1FA855; color: #fff; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .45);
  transition: opacity .3s, transform .3s;
}
.wa-fab .ico { width: 26px; height: 26px; }
.wa-fab.hide { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* responsive */
@media (max-width: 959px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { --sh: 420px; }
  .hero-foot { display: none; }
  .hero-pin { padding-bottom: 64px; }
}
@media (max-width: 900px) {
  .nav, .hide-sm { display: none; }
  .burger { display: grid; }
  .hdr-actions { margin-left: auto; }

  .p-grid { grid-template-columns: 1fr; gap: 0; }
  .p-panel {
    top: calc(var(--top) + 12px); z-index: 5; height: auto; min-height: 0;
    grid-template-columns: auto 1fr auto; grid-template-rows: none; grid-template-areas: "num of icon" "title title title" "bars bars bars";
    column-gap: 12px; border-radius: 22px; padding: 18px 20px 20px;
    box-shadow: 0 -20px 0 8px var(--bg); /* hides steps scrolling through the gap under the header */
  }
  .p-num { grid-area: num; font-size: 64px; }
  .p-of { grid-area: of; align-self: end; margin: 0 0 4px; }
  .p-icon { grid-area: icon; align-self: center; width: 48px; height: 48px; }
  .p-icon .ico { width: 22px; height: 22px; }
  .p-title { grid-area: title; margin: 14px 0 16px; min-height: 0; font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .p-bars { grid-area: bars; }
  .step { min-height: 0; padding: 44px 0; opacity: 1; }
  .step:last-child { min-height: 0; }

  .s-grid, .w-grid, .o-grid, .c-grid { grid-template-columns: 1fr; }
  .s-intro { position: static; }
  .w-photo { order: 2; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .hero-title { font-size: clamp(42px, 12vw, 58px); }
  .hero-title span:nth-child(2) { padding-left: .5em; }
  .hero-title span:nth-child(3) { padding-left: 1em; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero { --sh: 360px; }
  .pcard { --w: 134px; }
  .pcard-lg { --w: 156px; }
  .route { font-size: 13px; }
  .route-line { width: 22px; }
  .s-list { grid-template-columns: 1fr; }
  .o-cards { grid-template-columns: 1fr; }
  .c-form { grid-template-columns: 1fr; }
  .f-in { grid-template-columns: 1fr; }
  .brand-name { font-size: 17px; }
  .lang button { padding: 8px 9px; }
}
@media (max-width: 389px) {
  .route { gap: 6px; }
  .route span, .route b { padding: 6px 10px; }
  .route-line { width: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .quote { height: auto; }
  .q-pin { position: static; height: auto; padding: 140px 0; }
  .q .w, .step, .m-node { opacity: 1; }
  .m-path { stroke-dashoffset: 0; }
}
.p-panel, .o-map { border: 1px solid var(--inv-line); }
