/* =========================================================
   RESIDE — Los Cabos
   Archetype: Light Editorial Cream (with ink chapters)
   ========================================================= */

@font-face { font-family: "PP Monument Extended"; font-weight: 300; font-style: normal; font-display: swap;
  src: url("assets/fonts/PPMonumentExtended-Light.woff2") format("woff2"), url("assets/fonts/PPMonumentExtended-Light.otf") format("opentype"); }
@font-face { font-family: "PP Monument Extended"; font-weight: 300; font-style: italic; font-display: swap;
  src: url("assets/fonts/PPMonumentExtended-LightItalic.woff2") format("woff2"), url("assets/fonts/PPMonumentExtended-LightItalic.otf") format("opentype"); }
@font-face { font-family: "PP Monument Extended"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("assets/fonts/PPMonumentExtended-Regular.woff2") format("woff2"), url("assets/fonts/PPMonumentExtended-Regular.otf") format("opentype"); }
@font-face { font-family: "PP Monument Extended"; font-weight: 900; font-style: normal; font-display: swap;
  src: url("assets/fonts/PPMonumentExtended-Black.woff2") format("woff2"), url("assets/fonts/PPMonumentExtended-Black.otf") format("opentype"); }
@font-face { font-family: "PP Monument Extended"; font-weight: 900; font-style: italic; font-display: swap;
  src: url("assets/fonts/PPMonumentExtended-BlackItalic.woff2") format("woff2"), url("assets/fonts/PPMonumentExtended-BlackItalic.otf") format("opentype"); }

:root {
  --ink: #111111;
  --ink-2: #1c1c1b;
  --cream: #F0ECE8;
  --cream-2: #E6E0D8;
  --sand: #D9CEC1;
  --stone: #8A8178;
  --clay: #B8623A;
  --clay-soft: #E7C6B0;
  --line: rgba(17,17,17,.14);
  --line-light: rgba(240,236,232,.16);

  --display: "PP Monument Extended", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --display-light: "PP Monument Extended", "Helvetica Neue", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --body: "Helvetica Neue", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.22,.8,.18,1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--cream); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--display); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 22px; display: inline-flex; align-items: center; gap: 10px; color: var(--stone); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow--light { color: rgba(240,236,232,.65); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 0 rgba(184,98,58,.6); animation: pulse 2.2s infinite; }
.eyebrow:has(.dot)::before { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(184,98,58,0); } 100% { box-shadow: 0 0 0 0 rgba(184,98,58,0); } }

.h2 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 22px; text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
.section-head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-sub { color: #4a4642; font-size: clamp(16px, 1.3vw, 19px); max-width: 560px; margin: 0; }
.section-head--light .h2 { color: var(--cream); }

em { font-style: italic; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--ink); --fg: var(--cream); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px; background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .01em; border: 1.5px solid var(--bg); cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); }
.btn:active { transform: translateY(0); }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ink { --bg: var(--ink); --fg: var(--cream); }
.btn--cream { --bg: var(--cream); --fg: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(240,236,232,.35); }
.btn--ghost-light:hover { border-color: var(--cream); }
.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Splash ---------- */
.splash { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center; animation: splashOut .7s var(--ease) 4.5s forwards; }
.splash.is-done { opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.splash__mark { width: min(160px, 36vw); fill: var(--cream); overflow: visible; }
.sp { opacity: 0; animation: spIn .9s var(--ease) forwards; }
.sp1 { transform: translate(-120px, 80px); animation-delay: .1s; }
.sp2 { transform: translate(120px, -80px); animation-delay: .28s; }
.sp3 { transform: translate(120px, 120px); animation-delay: .46s; }
@keyframes spIn { to { opacity: 1; transform: none; } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; gap: 32px; padding: 0 var(--pad); color: var(--cream); transition: background .4s, color .4s, box-shadow .4s, transform .45s var(--ease); }
.nav__brand { display: block; position: relative; width: 118px; height: 30px; flex: none; }
.nav__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .35s; }
.nav__logo--dark { opacity: 0; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 500; position: relative; opacity: .85; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 11px 20px; font-size: 14px; }
.nav.is-solid { background: rgba(240,236,232,.86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .nav__logo--light { opacity: 0; }
.nav.is-solid .nav__logo--dark { opacity: 1; }
.nav.is-solid .nav__cta { --bg: var(--ink); --fg: var(--cream); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mmenu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 100px var(--pad) 40px; }
.mmenu[hidden] { display: none; }
.mmenu a:not(.btn) { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 7vw, 34px); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-light); }
.mmenu .btn { margin-top: 28px; }
body.menu-open { overflow: hidden; }
body.menu-open .nav { color: var(--cream); background: transparent; box-shadow: none; }
body.menu-open .nav .nav__logo--light { opacity: 1; }
body.menu-open .nav .nav__logo--dark { opacity: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--ink); color: var(--cream); overflow: hidden; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 90px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(40% 50% at 78% 60%, rgba(184,98,58,.32), transparent 70%), radial-gradient(30% 40% at 10% 10%, rgba(240,236,232,.06), transparent 70%); }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .08; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero__inner { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero__title { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.9vw, 74px); line-height: 1.02; letter-spacing: -.015em; margin: 0 0 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(1) > span { animation-delay: 1.15s; }
.hero__title .line:nth-child(2) > span { animation-delay: 1.27s; }
.hero__title .line:nth-child(3) > span { animation-delay: 1.39s; }
.hero__title em { font-family: var(--display-light); font-weight: 300; color: var(--clay-soft); }
@keyframes lineUp { to { transform: none; } }
.hero__lead { font-size: clamp(16px, 1.35vw, 20px); color: rgba(240,236,232,.75); max-width: 520px; margin: 0 0 30px; }

.hero__pick { margin: 0 0 30px; }
.hero__pick-label { font-size: 13px; color: rgba(240,236,232,.55); margin: 0 0 12px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-light); font-size: 14px; background: rgba(240,236,232,.04); transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.chip:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); transform: translateY(-2px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__art { position: relative; justify-self: end; width: 100%; max-width: 470px; }
.postcard { position: relative; aspect-ratio: 600 / 740; border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); transform: translate3d(var(--px,0), var(--py,0), 0); transition: transform .8s var(--ease); }
.postcard__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.postcard::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events: none; }
.postcard__tag { z-index: 1; }
.hero__art:hover .postcard__img { transform: scale(1.01); }
.scene__sun { animation: sunrise 9s ease-in-out infinite alternate; transform-origin: 250px 430px; }
@keyframes sunrise { from { transform: translateY(10px); } to { transform: translateY(-14px); } }
.scene__shimmer line { animation: shimmer 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.scene__shimmer line:nth-child(2n) { animation-delay: -1.4s; }
@keyframes shimmer { 50% { transform: scaleX(.6); opacity: .15; } }
.scene__birds { animation: birds 14s linear infinite; }
@keyframes birds { from { transform: translate(-40px, 10px); } to { transform: translate(220px, -30px); } }
.postcard__tag { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; font-family: var(--display); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(240,236,232,.75); }
.hero__iso { position: absolute; width: 44%; left: -18%; bottom: 10%; opacity: 1; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); transform: translate3d(calc(var(--px,0) * -1.6), calc(var(--py,0) * -1.6), 0); transition: transform .8s var(--ease); pointer-events: none; }
.hero__badge { position: absolute; right: -14px; top: 12%; background: var(--cream); color: var(--ink); border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); animation: float 6s ease-in-out infinite; }
.hero__badge strong { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; }
.hero__badge span { font-size: 12px; line-height: 1.3; }
@keyframes float { 50% { transform: translateY(-10px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1.5px solid rgba(240,236,232,.4); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cream); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--clay); color: var(--cream); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(0,0,0,.1); }
.marquee__track { display: flex; align-items: center; gap: 34px; padding-right: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--display); font-weight: 900; font-size: clamp(15px, 1.6vw, 22px); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee__track i { font-style: normal; opacity: .6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro { padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px); }
.intro__grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.intro__grid > .eyebrow { margin-top: .9em; }
.intro__text { font-family: var(--display-light); font-weight: 300; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.3; margin: 0; letter-spacing: -.005em; }
.intro__text strong { font-weight: 900; }
.intro__pillars { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.intro__pillars li { font-family: var(--display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; }
.intro__pillars li:first-child { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Services (stacked) ---------- */
.services { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); }
.stack { display: grid; gap: 28px; }
.svc { position: sticky; top: calc(var(--nav-h) + 20px); border-radius: var(--radius); padding: clamp(26px, 4vw, 56px); display: grid; gap: 30px; min-height: min(78vh, 680px); align-content: space-between; box-shadow: 0 -20px 50px -30px rgba(0,0,0,.35); transform-origin: center top; transition: transform .2s linear, filter .2s linear; }
.svc:nth-child(2) { top: calc(var(--nav-h) + 44px); }
.svc:nth-child(3) { top: calc(var(--nav-h) + 68px); }
.svc--clay { background: var(--clay); color: var(--cream); }
.svc--sand { background: var(--sand); color: var(--ink); }
.svc--ink { background: var(--ink); color: var(--cream); }
.svc__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid currentColor; padding-bottom: 18px; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.svc__num { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5vw, 72px); line-height: .9; }
.svc__kicker { font-family: var(--display); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.svc__body { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); }
.svc__title { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.7vw, 38px); line-height: 1.1; margin: 0 0 18px; text-wrap: balance; }
.svc__main p { margin: 0 0 16px; max-width: 540px; opacity: .92; }
.svc__ideal { font-size: 15px; }
.svc__ideal span { font-family: var(--display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 4px; opacity: .7; }
.svc__platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.svc__platforms span { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
.svc__list { list-style: none; margin: 0; padding: 0; align-self: start; }
.svc__list li { padding: 12px 0 12px 30px; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); position: relative; font-size: 15px; line-height: 1.45; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 14px; height: 10px; background: currentColor; clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); opacity: .85; }
.svc__cta { justify-self: start; }
.svc--clay .svc__cta { --bg: var(--ink); --fg: var(--cream); }

/* ---------- Calculator ---------- */
.calc { padding: clamp(80px, 10vw, 140px) 0; background: var(--cream-2); }
.calc__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.calc__note { font-size: 13px; color: var(--stone); margin-top: 26px; max-width: 460px; }
.calc__panel { background: var(--cream); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 44px); box-shadow: 0 40px 80px -50px rgba(0,0,0,.35); border: 1px solid var(--line); }

.field { margin-bottom: 22px; }
.field label, .field .label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field small { font-weight: 400; color: var(--stone); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select, input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; appearance: none; -webkit-appearance: none; transition: border-color .25s, box-shadow .25s; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17,17,17,.06); }
textarea { resize: vertical; min-height: 96px; }
.is-invalid { border-color: var(--clay) !important; box-shadow: 0 0 0 4px rgba(184,98,58,.12) !important; }

.seg { display: flex; gap: 6px; background: #fff; border: 1.5px solid var(--line); padding: 5px; border-radius: 14px; }
.seg button, .seg--form label { flex: 1; text-align: center; border: 0; background: transparent; padding: 10px 6px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 15px; transition: background .25s, color .25s; }
.seg button.is-on { background: var(--ink); color: var(--cream); }
.seg button:not(.is-on):hover { background: var(--cream-2); }
.seg--form label { position: relative; padding: 0; }
.seg--form input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg--form span { display: block; padding: 10px 6px; border-radius: 10px; font-size: 14px; transition: background .25s, color .25s; }
.seg--form input:checked + span { background: var(--ink); color: var(--cream); }
.seg--form input:focus-visible + span { outline: 2px solid var(--clay); }
.seg--form label:hover span { background: var(--cream-2); }
.seg--form input:checked + span:hover { background: var(--ink); }

.toggles { display: flex; gap: 10px; flex-wrap: wrap; }
.tog { position: relative; cursor: pointer; }
.tog input { position: absolute; opacity: 0; }
.tog span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; transition: all .25s; }
.tog span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); transition: all .25s; }
.tog input:checked + span { border-color: var(--ink); }
.tog input:checked + span::before { background: var(--clay); border-color: var(--clay); box-shadow: inset 0 0 0 3px #fff; }
.tog input:focus-visible + span { outline: 2px solid var(--clay); }

.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 18px; }
.out { border-radius: 16px; padding: 20px; }
.out--str { background: var(--ink); color: var(--cream); }
.out--ltr { background: var(--sand); }
.out__label { font-family: var(--display); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; opacity: .75; }
.out__num { font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.05; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.out__meta { font-size: 12.5px; margin: 0; opacity: .75; line-height: 1.4; }

/* ---------- Why ---------- */
.why { background: var(--ink); color: var(--cream); padding: clamp(90px, 12vw, 160px) 0; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.why__item { padding: 36px 30px 40px 0; border-bottom: 1px solid var(--line-light); position: relative; }
.why__item:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line-light); }
.why__ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(240,236,232,.07); font-size: 20px; margin-bottom: 22px; transition: background .35s, color .35s, transform .5s var(--ease); }
.why__item:hover .why__ico { background: var(--clay); transform: rotate(-12deg) scale(1.06); }
.why__item h3 { font-family: var(--display); font-weight: 900; font-size: 17px; margin: 0 0 10px; letter-spacing: .005em; }
.why__item p { margin: 0; color: rgba(240,236,232,.68); font-size: 15.5px; }

/* ---------- Process ---------- */
.process { padding: clamp(90px, 12vw, 160px) 0; }
.process__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.process__side { position: sticky; top: calc(var(--nav-h) + 40px); }
.process__side .btn { margin-top: 14px; }
.steps { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
.step { display: grid; grid-template-columns: 74px 1fr; gap: 20px; padding: 0 0 54px; position: relative; }
.step__n { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 1.5px solid var(--ink); font-family: var(--display); font-weight: 900; font-size: 14px; position: relative; z-index: 1; transition: background .4s, color .4s; }
.step.is-lit .step__n { background: var(--ink); color: var(--cream); }
.step h3 { font-family: var(--display); font-weight: 900; font-size: clamp(17px, 1.7vw, 22px); margin: 14px 0 10px; }
.step p { margin: 0; color: #4a4642; max-width: 480px; }
.steps__line { position: absolute; left: 28px; top: 10px; bottom: 60px; width: 1.5px; background: var(--line); }
.steps__line span { display: block; width: 100%; height: 0; background: var(--ink); }

/* ---------- Zones ---------- */
.zones { padding: 0 0 clamp(90px, 12vw, 160px); }
.zones__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.zones__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .5s var(--ease), color .4s; cursor: default; }
.zones__list li::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.zones__list li:hover { padding-left: 22px; padding-right: 22px; color: var(--cream); }
.zones__list li:hover::before { transform: scaleY(1); }
.zones__list { position: relative; z-index: 0; }
.zones__list span { font-family: var(--display); font-weight: 900; font-size: clamp(20px, 3.6vw, 50px); line-height: 1.05; }
.zones__list small { font-size: 14px; opacity: .7; text-align: right; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(90px, 12vw, 150px) 0; background: var(--cream-2); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-weight: 600; font-size: clamp(16px, 1.3vw, 19px); position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; border: 1.5px solid var(--line); background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--cream); }
.qa p { margin: 0 0 26px; color: #4a4642; max-width: 640px; animation: qaIn .5s var(--ease); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--cream); padding: clamp(90px, 12vw, 150px) 0; position: relative; overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact__side { position: relative; }
.contact__perks { list-style: none; padding: 0; margin: 10px 0 34px; }
.contact__perks li { padding: 10px 0 10px 32px; position: relative; color: rgba(240,236,232,.85); }
.contact__perks li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--clay); color: var(--cream); font-size: 11px; display: grid; place-items: center; }
.contact__direct { display: flex; gap: 28px; }
.direct { font-family: var(--display); font-weight: 900; font-size: 18px; text-decoration: none; border-bottom: 1.5px solid var(--clay); padding-bottom: 4px; }
.contact__iso { width: 260px; opacity: .06; position: absolute; left: -40px; bottom: -260px; pointer-events: none; }

.lead { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); position: relative; min-height: 520px; }
.lead__progress { height: 4px; background: var(--cream-2); border-radius: 4px; overflow: hidden; }
.lead__progress span { display: block; height: 100%; width: 33.33%; background: var(--clay); border-radius: 4px; transition: width .6s var(--ease); }
.lead__stepinfo { font-family: var(--display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin: 14px 0 22px; }
.lead__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.lead legend { font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2vw, 28px); margin-bottom: 22px; padding: 0; }
/* No-JS: all steps visible. JS adds .js-steps to hide inactive ones. */
.js-steps .lead__step:not(.is-active) { display: none; }
.js-steps .lead__step.is-active { animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.lead__step + .lead__step { margin-top: 30px; }
.js-steps .lead__step + .lead__step { margin-top: 0; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt > span { display: block; height: 100%; padding: 18px 18px 18px 50px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .25s, background .25s, transform .3s var(--ease); position: relative; }
.opt > span::before { content: ""; position: absolute; left: 18px; top: 21px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); transition: all .25s; }
.opt b { display: block; font-size: 15.5px; }
.opt small { display: block; color: var(--stone); font-size: 13px; margin-top: 2px; }
.opt:hover > span { border-color: var(--ink); transform: translateY(-2px); }
.opt input:checked + span { border-color: var(--ink); background: var(--cream); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:checked + span::before { background: var(--clay); border-color: var(--clay); box-shadow: inset 0 0 0 3px #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: #4a4642; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.lead__err { color: var(--clay); font-size: 14px; font-weight: 600; min-height: 22px; margin: 12px 0 0; }
.lead__nav .btn { white-space: nowrap; }
.lead__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.lead__nav .btn:last-child, .lead__nav #leadNext, .lead__nav #leadSubmit { margin-left: auto; }
.lead__done { text-align: center; padding: 40px 10px; }
.lead__done img { width: 72px; margin: 0 auto 26px; animation: spIn .8s var(--ease) both; }
.lead__done h3 { font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2.2vw, 28px); margin: 0 0 12px; }
.lead__done p { color: #4a4642; max-width: 420px; margin: 0 auto 26px; }
.lead.is-sent > :not(.lead__done) { display: none !important; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--cream); padding: 30px 0 34px; border-top: 1px solid var(--line-light); }
.foot__mark { width: 100%; max-width: 1180px; height: auto; margin: 30px 0 60px; opacity: .95; }
.foot__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 50px; }
.foot__grid a, .foot__grid span { display: block; text-decoration: none; color: rgba(240,236,232,.7); padding: 4px 0; font-size: 15px; }
.foot__grid a:hover { color: var(--cream); }
.foot__h { font-family: var(--display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(240,236,232,.45); margin: 0 0 12px; }
.foot__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 13px; color: rgba(240,236,232,.5); }
.foot__bottom a { color: inherit; }

/* ---------- Floating WA + mobile bar ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .4s var(--ease); animation: waIn .6s var(--ease) 2.4s both; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes waIn { from { transform: scale(0); } }
.mbar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero { padding-bottom: 70px; min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { justify-self: center; max-width: 340px; margin-top: 10px; }
  .postcard { border-radius: 180px 180px var(--radius) var(--radius); aspect-ratio: 600 / 600; }
  .hero__badge { right: -6px; top: auto; bottom: 18px; padding: 10px 14px; }
  .hero__badge strong { font-size: 26px; }
  .hero__iso { display: none; }
  .hero__scroll { display: none; }
  .intro__grid { grid-template-columns: 1fr; gap: 0; }
  .svc { position: relative; top: auto !important; min-height: 0; }
  .svc__body { grid-template-columns: 1fr; }
  .calc__grid, .process__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .process__side { position: static; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__item, .why__item:not(:nth-child(3n+1)) { padding: 30px 20px 32px 0; border-left: 0; }
  .why__item:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line-light); }
  .zones__list li { flex-direction: column; gap: 4px; }
  .zones__list small { text-align: left; }
  .mbar { display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 85; padding: 8px; border-radius: 999px; background: rgba(17,17,17,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transform: translateY(140%); transition: transform .5s var(--ease); }
  .mbar .btn { flex: 1; padding: 13px 10px; font-size: 14px; }
  .mbar.is-on { transform: none; }
  body.in-contact .wa-float { transform: scale(0); }
  .wa-float { bottom: 84px; right: 16px; width: 52px; height: 52px; }
  body { padding-bottom: 0; }
  .foot { padding-bottom: 100px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(26px, 8.4vw, 40px); }
  .opts, .row2 { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item:nth-child(2n) { padding-left: 0; border-left: 0; }
  .calc__out { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .hero__ctas .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .step { grid-template-columns: 58px 1fr; gap: 14px; }
  .steps__line { left: 22px; }
  .step__n { width: 46px; height: 46px; font-size: 12px; }
  .step h3 { margin-top: 10px; }
}

/* Only truly intrusive motion is reduced */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation-duration: 90s; }
  .scene__birds { animation: none; }
}

/* ---------- Lang switch ---------- */
.nav__lang { font-family: var(--display); font-size: 11px; letter-spacing: .12em; text-decoration: none; border: 1px solid currentColor; border-radius: 999px; padding: 7px 11px; opacity: .8; transition: opacity .3s, background .3s, color .3s; }
.nav__lang:hover { opacity: 1; }
@media (max-width: 1080px) { .nav__lang { margin-left: auto; } .nav__cta { margin-left: 0; } }
@media (max-width: 900px) { .nav__lang { margin-left: auto; } .nav__burger { margin-left: 4px; } }

/* ---------- Gallery ---------- */
.gallery { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 60px); }
.gallery__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.gallery__head .h2 { max-width: 640px; margin: 0; }
.ig-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line); transition: border-color .3s, background .3s, color .3s; }
.ig-link:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.g { margin: 0; position: relative; overflow: hidden; border-radius: 18px; background: var(--sand); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g:hover img { transform: scale(1.05); }
.g figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 12px rgba(0,0,0,.5); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); }
.g:hover figcaption { opacity: 1; transform: none; }
.g--tall { aspect-ratio: 4 / 5; }
.g--tall:nth-child(2) { transform: translateY(clamp(16px, 3vw, 44px)); }
.g--wide { grid-column: 1 / -1; aspect-ratio: 21 / 8; margin-top: clamp(16px, 3vw, 44px); }
.g--wide img { object-position: center 45%; }
@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .g--tall:nth-child(2) { transform: none; }
  .g--tall:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .g--wide { aspect-ratio: 3 / 2; margin-top: 0; }
  .g figcaption { opacity: 1; transform: none; }
}

/* ---------- Contact lines / footer legal ---------- */
.contact__direct { flex-wrap: wrap; row-gap: 14px; }
.contact__lines { margin: 28px 0 0; color: rgba(240,236,232,.7); line-height: 1.9; }
.contact__lines a { text-decoration: none; }
.contact__lines a:hover { color: var(--cream); text-decoration: underline; }
.foot__legal { display: inline-flex; gap: 20px; }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--nav-h) + 60px) 0 100px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 4vw, 46px); line-height: 1.08; margin: 0 0 12px; }
.legal__date { color: var(--stone); font-size: 14px; margin: 0 0 48px; }
.legal h2 { font-family: var(--display); font-weight: 900; font-size: clamp(16px, 1.6vw, 20px); margin: 44px 0 14px; }
.legal p, .legal li { color: #3a3633; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a:not(.btn) { color: var(--clay); }
.legal__back { display: inline-flex; margin-bottom: 40px; }
.nav--page { color: var(--ink); background: rgba(240,236,232,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav--page .nav__logo--light { opacity: 0; }
.nav--page .nav__logo--dark { opacity: 1; }
.nav--page .nav__cta { --bg: var(--ink); --fg: var(--cream); }
@media (max-width: 900px) { .nav--page .nav__cta { display: inline-flex; margin-left: auto; padding: 10px 16px; font-size: 13px; } }
