/* DAMAC Islands · DAMAC Properties — Nova Luxury Homes
   DNA from the digital brochure (v2, Dec 2024): swirling turquoise water, white space, letter-spaced serif CAPS
   (Collier) set against a pale-aqua brush script (Parslay), and small wide grotesk captions (Termina).
   Stand-ins: Marcellus, Allura, Archivo at 125% width. Brand teal #218eae sampled from the vector lockup. */

@font-face { font-family: "Caps"; src: url("/fonts/marcellus.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Script"; src: url("/fonts/allura.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Text"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

:root {
  --lagoon: #218eae;        /* lockup + map (vector fill) */
  --lagoon-d: #16708b;      /* buttons: 5.6:1 with white */
  --lagoon-dd: #105c73;
  --deep: #0b4a5c;
  --abyss: #062f3b;
  --cyan: #00b2d0;          /* cover swirl */
  --aqua: #8ad9e4;          /* script on dark */
  --aqua-ink: #2fa3bb;      /* script on light: large sizes only */
  --sand: #f4ede2;
  --paper: #fbf9f5;
  --white: #fff;
  --ink: #0d2a33;
  --grey: #56676d;
  --line: rgba(13, 42, 51, .14);
  --line-w: rgba(255, 255, 255, .24);

  --caps: "Caps", "Optima", "Palatino", serif;
  --script: "Script", "Snell Roundhand", cursive;
  --text: "Text", "Helvetica Neue", system-ui, sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --bar: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 1.0625rem/1.6 var(--text); font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
b, strong { font-weight: 500; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
sup { font-size: .6em; line-height: 0; vertical-align: super; }
[hidden] { display: none !important; }
.sprite { position: absolute; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.anchor { position: absolute; top: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { top: 12px; }

/* ── type ─────────────────────────────────────────────────── */
/* Termina-style captions: wide, light, tracked caps */
.kicker { font: 400 .72rem/1.35 var(--text); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; }
.kicker i { display: inline-block; width: 1.6em; height: 1px; background: currentColor; vertical-align: middle; margin: 0 .7em; opacity: .6; }
.kicker--lagoon { color: var(--lagoon-d); }

/* The brochure headline: tracked serif CAPS, then a larger brush-script word that tucks up under them. */
.h2 { font: 400 clamp(1.7rem, 3.1vw, 2.55rem)/1.15 var(--caps); color: var(--lagoon-d); text-transform: uppercase; letter-spacing: .07em; }
.h2 .caps { display: block; }
.h2 .script, .hero__line .script, .close__title .script, .form__title .script { display: block; font: 400 2.05em/.9 var(--script); text-transform: none; letter-spacing: 0; color: var(--aqua-ink); margin-top: -.02em; padding-bottom: .06em; }
.h2--light { color: var(--white); }
.h2--light .script { color: var(--aqua); }

.link { display: inline-flex; align-items: center; gap: .6rem; font: 400 .74rem/1.2 var(--text); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--lagoon-d); padding: .6rem 0; border-bottom: 1px solid currentColor; }
.link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform 200ms var(--ease-out); }

/* ── buttons ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .8rem 1.6rem; background: var(--lagoon-d); color: var(--white); font: 500 .74rem/1.2 var(--text); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-radius: 999px; transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: .55rem 1.15rem; font-size: .68rem; }
.btn--block { width: 100%; }
.btn--line { background: transparent; color: var(--lagoon-d); box-shadow: inset 0 0 0 1px rgba(22, 112, 139, .45); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .7; cursor: default; }
.btn__label { display: inline-block; transition: filter 160ms ease, opacity 160ms ease; }
.btn__label.is-swap { filter: blur(3px); opacity: .4; }

/* ── top bar ──────────────────────────────────────────────── */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar); color: var(--white); transition: background-color 240ms ease, box-shadow 240ms ease, color 240ms ease; }
.topbar::before { content: ""; position: absolute; inset: 0 0 -50px; background: linear-gradient(rgba(6, 47, 59, .5), rgba(6, 47, 59, 0)); pointer-events: none; transition: opacity 240ms ease; }
.topbar.is-stuck { background: rgba(251, 249, 245, .96); color: var(--lagoon); box-shadow: 0 1px 0 var(--line); }
.topbar.is-stuck::before { opacity: 0; }
.topbar__in { position: relative; height: 100%; display: flex; align-items: center; gap: 2rem; }
/* Lockup as in the brochure: DAMAC at ~48% of the ISLANDS width, set in from the left by ~26%. */
.brand { display: flex; flex-direction: column; width: 132px; text-decoration: none; color: inherit; }
.brand svg { fill: currentColor; height: auto; }
.brand__damac, .close__logo .brand__damac { width: 48.5%; margin-left: 25.7%; margin-bottom: 9%; }
.brand__islands, .close__logo .brand__islands { width: 100%; }
.topbar__nav { display: flex; gap: 1.8rem; margin-left: auto; }
.topbar__nav a { font: 400 .7rem/1 var(--text); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: .6rem 0; opacity: .9; transition: opacity 160ms ease; }
.topbar.is-stuck .topbar__nav a { color: var(--ink); }
.topbar__cta { flex: none; }

/* ── hero: the woman on the jetty stays clear at left; copy + form sit over the lagoon ── */
.hero { position: relative; isolation: isolate; background: var(--deep); color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6, 47, 59, 0) 18%, rgba(6, 47, 59, .42) 40%, rgba(6, 47, 59, .74) 70%, rgba(6, 47, 59, .8) 100%),
  linear-gradient(0deg, rgba(6, 47, 59, .55) 0%, rgba(6, 47, 59, 0) 30%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px) 390px; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; min-height: min(100svh, 920px); padding-top: calc(var(--bar) + 2.5rem); padding-bottom: 3.8rem; }
.hero__text { grid-column: 2; }
.form { grid-column: 3; }
.hero__title { font: inherit; margin-top: 1.4rem; }
.hero__name { display: block; font: 400 clamp(1.05rem, 1.35vw, 1.25rem)/1 var(--caps); letter-spacing: .34em; text-transform: uppercase; color: var(--white); margin-bottom: 1.3rem; }
.hero__line { display: block; font: 400 clamp(2.2rem, 3.4vw, 3.2rem)/1.06 var(--caps); letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 2px 24px rgba(6, 47, 59, .35); }
.hero__line .caps { display: block; }
.hero__line .script { color: var(--aqua); font-size: 1.7em; margin-top: -.08em; margin-left: .35em; white-space: nowrap; }
.hero__lede { max-width: 30rem; margin-top: 1.4rem; font-size: 1.08rem; line-height: 1.55; color: rgba(255, 255, 255, .94); }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem 1.8rem; margin-top: 1.8rem; padding-top: 1.3rem; border-top: 1px solid var(--line-w); }
.hero__facts b { display: block; font: 400 1.35rem/1.1 var(--caps); letter-spacing: .03em; color: var(--white); white-space: nowrap; }
.hero__facts span { font-size: .66rem; font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.hero__cap { position: absolute; left: 0; right: 0; bottom: .9rem; font-size: .7rem; letter-spacing: .03em; opacity: .75; }

/* ── form ─────────────────────────────────────────────────── */
.form { position: relative; background: var(--paper); color: var(--ink); padding: 1.8rem 1.7rem 1.5rem; border-radius: 18px; box-shadow: 0 30px 70px -30px rgba(3, 30, 38, .7); }
.form__title { font: 400 1.45rem/1.2 var(--caps); color: var(--lagoon-d); text-transform: uppercase; letter-spacing: .05em; margin-top: .55rem; }
.form__title .script { display: inline; font-size: 1.5em; line-height: .6; margin: 0 .08em; }
.form__body { margin-top: 1.1rem; transition: opacity 180ms ease; }
.form.is-leaving .form__body, .form.is-leaving .form__head { opacity: 0; }
.field { margin-bottom: .8rem; }
.field label, .field legend { display: block; font: 400 .64rem/1.3 var(--text); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: .34rem; }
.opt { text-transform: none; letter-spacing: 0; font-stretch: 100%; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] { width: 100%; height: 48px; padding: 0 .95rem; font: 400 1rem var(--text); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input::placeholder { color: #a3adb0; }
.field input:focus { outline: 0; border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(33, 142, 174, .18); }
.field.has-error input { border-color: #b4412f; }
.err { font-size: .8rem; color: #b4412f; }
.err:not(:empty) { margin-top: .28rem; }
.pills__set { display: flex; gap: .45rem; }
.pills label { flex: 1; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label span { display: flex; align-items: center; justify-content: center; height: 42px; font-size: .84rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.pills label:active span { transform: scale(.97); }
.pills label input:checked + span { background: var(--lagoon-d); border-color: var(--lagoon-d); color: var(--white); }
.pills input:focus-visible + span { outline: 2px solid var(--lagoon); outline-offset: 2px; }
.pills__pick { font-size: .84rem; color: var(--lagoon-d); }
.pills__pick:not(:empty) { margin-top: .4rem; }
.pills.is-picked .pills__set { animation: pick 1.2s ease; border-radius: 999px; }
@keyframes pick { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 178, 208, 0); } 25% { box-shadow: 0 0 0 5px rgba(0, 178, 208, .35); } }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; margin-top: .95rem; }
.field--check input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--lagoon-d); }
.field--check label { margin: 0; font: 300 .82rem/1.4 var(--text); letter-spacing: 0; text-transform: none; color: #3e5258; }
.cnt-off #consent-block { display: none; }
.status { font-size: .86rem; }
.status:not(:empty) { margin-top: .7rem; }
.status.is-err { color: #b4412f; }
.form__fine { margin-top: .75rem; font-size: .76rem; line-height: 1.4; color: var(--grey); }
.sent { outline: 0; }
.sent__mark { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--lagoon-d); fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.sent p { margin-top: .8rem; }
.sent__act { display: grid; gap: .6rem; margin-top: 1.4rem; }
.sent:not([hidden]) { animation: sent-in 320ms var(--ease-out) both; }
@keyframes sent-in { from { opacity: 0; transform: translateY(8px); } }

/* ── stats: on the brochure-cover water swirl ─────────────── */
.stats { position: relative; isolation: isolate; color: var(--white); background: var(--lagoon) url("/assets/swirl.webp") center / cover; }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 74, 92, .55); }
.stats__row { display: grid; grid-template-columns: repeat(5, 1fr); }
.stats__row > div { padding: 2.3rem 1rem 2.1rem; text-align: center; border-left: 1px solid var(--line-w); }
.stats__row > div:first-child { border-left: 0; }
.stats dd { font: 400 clamp(1.8rem, 2.8vw, 2.5rem)/1 var(--caps); letter-spacing: .03em; white-space: nowrap; }
.stats dt { margin-top: .7rem; font-size: .64rem; font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; opacity: .92; }

/* ── sections ─────────────────────────────────────────────── */
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head .h2 { margin-top: 1rem; }
.sec-head__lede { margin-top: 1.1rem; color: #33494f; font-size: 1.06rem; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }

/* islands intro */
.isl { padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--white); }
.isl__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.isl__text .h2 { margin-top: 1rem; }
.isl__text p:not(.kicker) { margin-top: 1.1rem; color: #33494f; }
.isl__text .h2 + p { margin-top: 1.6rem !important; }
.six { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1.1rem; border-top: 1px solid var(--line); counter-reset: six; }
.six li { counter-increment: six; display: flex; align-items: baseline; gap: .55rem; padding: .55rem 0 .45rem; border-bottom: 1px solid var(--line); }
.six li::before { content: counter(six, decimal-leading-zero); font-size: .62rem; font-stretch: 125%; letter-spacing: .1em; color: var(--grey); }
.six .script { font: 400 1.95rem/1 var(--script); color: var(--lagoon); }
.isl__text .link { margin-top: 1.8rem; }
.isl__img { overflow: hidden; border-radius: 22px; }
.isl__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.isl__img figcaption { position: absolute; }
.isl__img { position: relative; }
.isl__img figcaption { right: 1rem; bottom: .8rem; font-size: .7rem; color: var(--white); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }

/* ── homes explorer ───────────────────────────────────────── */
.homes { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--sand); }
.seg-wrap { margin-bottom: 1.8rem; }
.seg { position: relative; display: inline-flex; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; }
.seg__btn, .seg__on span { padding: .95rem 1.7rem; font: 400 .74rem/1.2 var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.seg__btn small, .seg__on small { font-size: .9em; letter-spacing: .04em; text-transform: none; font-stretch: 100%; opacity: .75; margin-left: .35em; }
.seg__btn { color: var(--ink); -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--ease-out); }
.seg__btn:active { transform: scale(.97); }
/* A second copy of the labels in the "on" colours, clipped to the active tab: text recolours exactly at the moving edge. */
.seg__on { position: absolute; inset: 0; display: flex; background: var(--lagoon-d); color: var(--white); pointer-events: none; border-radius: 999px; clip-path: inset(0 var(--r, 100%) 0 var(--l, 0) round 999px); }
.seg.is-live .seg__on { transition: clip-path 300ms var(--ease-out); }
.panel:not([hidden]) { animation: panel-in 260ms var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
.cards { display: grid; gap: 1.2rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(13, 42, 51, .45); }
.card__img { position: relative; overflow: hidden; background: var(--deep); }
.card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__badge { position: absolute; left: .9rem; top: .9rem; padding: .4rem .75rem; border-radius: 999px; background: var(--white); color: var(--lagoon-d); font-size: .62rem; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.5rem; }
.card__code { font-size: .64rem; font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.card__title { margin-top: .4rem; font: 400 1.35rem/1.2 var(--caps); letter-spacing: .04em; text-transform: uppercase; color: var(--lagoon-d); }
.card__extra { font: 400 1.6rem/1.1 var(--script); color: var(--aqua-ink); }
.card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.card__facts dt { font-size: .6rem; font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--grey); }
.card__facts dd { margin-top: .2rem; font: 400 1.12rem/1.2 var(--caps); }
.card__facts small { font: 300 .78rem var(--text); color: var(--grey); }
.card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .7rem; margin: 1rem 0 1rem; padding: .8rem 0; border-block: 1px solid var(--line); }
.card__price b { font: 400 1.4rem/1.1 var(--caps); letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.card__price span { font-size: .6rem; font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--grey); }
.card .btn { margin-top: auto; }

/* Floor plan: blurred until the visitor registers. The button jumps to the form with the home pre-picked. */
.plan { position: relative; display: block; width: 100%; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--ease-out); }
.plan:active { transform: scale(.985); }
.plan img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; padding: .6rem; filter: blur(5px) saturate(.7); opacity: .75; transition: filter 400ms var(--ease-out), opacity 400ms var(--ease-out); }
.plan__lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .64rem; font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--lagoon-d); }
.plan__lock svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--lagoon-d); fill: none; stroke: var(--white); stroke-width: 1.7; }
.is-unlocked .plan img { filter: none; opacity: 1; }
.is-unlocked .plan__lock { inset: auto .6rem .6rem auto; gap: 0; }
.is-unlocked .plan__lock svg { display: none; }
.is-unlocked .plan__lock .plan__t { padding: .35rem .6rem; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: .58rem; }
.homes__note { margin-top: 1.4rem; font-size: .82rem; color: var(--grey); max-width: 60rem; }

/* floor-plan viewer */
.lb { width: min(1200px, 94vw); max-height: 92svh; padding: 0; border: 0; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.lb[open] { display: flex; flex-direction: column; animation: lb-in 220ms var(--ease-out); }
.lb::backdrop { background: rgba(6, 47, 59, .72); animation: fade 220ms ease; }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
@keyframes fade { from { opacity: 0; } }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem .8rem .8rem 1.4rem; border-bottom: 1px solid var(--line); }
.lb__bar p { font: 400 1.05rem var(--caps); letter-spacing: .05em; text-transform: uppercase; color: var(--lagoon-d); }
.lb__x { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.lb__x svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; transform: rotate(45deg); }
.lb__x:active { transform: scale(.94); }
.lb img { flex: 1; min-height: 0; width: 100%; object-fit: contain; padding: 1rem; }

/* ── amenities ────────────────────────────────────────────── */
.amen { background: var(--white); padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.amen__top { position: relative; isolation: isolate; color: var(--white); padding: clamp(6rem, 14vw, 11rem) 0 clamp(8rem, 13vw, 11rem); overflow: hidden; }
.amen__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.amen__top::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 47, 59, .2), rgba(6, 47, 59, .55) 60%, rgba(6, 47, 59, .62)); }
.amen__head .h2 { margin-top: 1rem; max-width: 44rem; text-shadow: 0 2px 28px rgba(6, 47, 59, .45); }
.rail-wrap { margin-top: clamp(-6rem, -9vw, -4.5rem); position: relative; }
.rail { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); padding-block: 0 .5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline-offset: -3px; }
.rail::-webkit-scrollbar { display: none; }
.rail li { flex: none; width: min(74vw, 340px); scroll-snap-align: start; }
.rail figure { overflow: hidden; border-radius: 16px; background: var(--deep); box-shadow: 0 20px 40px -28px rgba(6, 47, 59, .6); }
.rail img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.rail h3 { margin-top: 1rem; font: 400 .9rem/1.2 var(--caps); letter-spacing: .12em; text-transform: uppercase; color: var(--lagoon-d); }
.rail h3 .caps { display: block; }
.rail h3 .script { display: block; font: 400 2.5rem/.95 var(--script); letter-spacing: 0; text-transform: none; color: var(--aqua-ink); }
.rail p { margin-top: .35rem; font-size: .92rem; line-height: 1.5; color: #33494f; }
.rail__nav { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; }
.rail__nav p { margin-left: auto; font-size: .74rem; color: var(--grey); }
.rail__btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--lagoon-d); box-shadow: inset 0 0 0 1px rgba(22, 112, 139, .4); transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, opacity 200ms ease; }
.rail__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.rail__btn[data-rail="-1"] svg { transform: scaleX(-1); }
.rail__btn:active { transform: scale(.94); }
.rail__btn[disabled] { opacity: .3; cursor: default; }
.amen__idx { margin-top: clamp(3rem, 6vw, 4.5rem); }
.idx { margin-top: 1.1rem; columns: 4; column-gap: 2rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.idx li { break-inside: avoid; display: flex; gap: .7rem; padding: .45rem 0; font-size: .95rem; line-height: 1.35; }
.idx span { flex: none; width: 1.6rem; padding-top: .18rem; font-size: .64rem; font-stretch: 125%; color: var(--lagoon); }

/* ── interiors ────────────────────────────────────────────── */
.int { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--paper); }
.mosaic { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 1rem; }
.mosaic figure { position: relative; overflow: hidden; border-radius: 16px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__a { grid-row: span 2; }
.mosaic__a img { aspect-ratio: 4 / 3.6; }
.mosaic__b img, .mosaic__c img { aspect-ratio: 16 / 10; }
.mosaic__d { grid-column: 1 / -1; }
.mosaic__d img { aspect-ratio: 21 / 8; }
.mosaic figcaption { position: absolute; left: .9rem; bottom: .8rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .6rem; font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--ink); }
.swatch { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin-top: 1.8rem; }
.swatch li { display: flex; align-items: center; gap: .7rem; font-size: .92rem; }
.swatch i { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--c) 40%, var(--v)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.int__fine { margin-top: 1rem; font-size: .76rem; color: var(--grey); }

/* ── location ─────────────────────────────────────────────── */
.loc { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--lagoon); color: var(--white); }
.loc__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.loc__text .h2 { margin-top: 1rem; }
.loc__text .h2 + p { margin-top: 1.5rem; color: rgba(255, 255, 255, .94); }
.loc__map { overflow: hidden; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.loc__map img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 40% 50%; }
.drive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.2rem; margin-top: 2rem; padding-top: 1.7rem; border-top: 1px solid var(--line-w); }
.drive > div { display: flex; flex-direction: column; }
.drive dd { font: 400 2.3rem/1 var(--caps); }
.drive small { font: 400 .64rem var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; margin-left: .35em; opacity: .9; }
.drive dt { margin-top: .45rem; font-size: .88rem; line-height: 1.35; opacity: .94; }
.loc__fine { margin-top: 1.6rem; font-size: .76rem; opacity: .8; }

/* ── faq ──────────────────────────────────────────────────── */
.faq { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--white); }
.faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--lagoon); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font: 400 1.12rem/1.3 var(--caps); letter-spacing: .03em; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; transition: color 160ms ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 1.5px solid var(--lagoon); border-bottom: 1.5px solid var(--lagoon); transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 2.5rem 1.3rem 0; color: #33494f; }
.faq details[open] p { animation: sent-in 240ms var(--ease-out) both; }

/* ── closing + footer ─────────────────────────────────────── */
.close { position: relative; isolation: isolate; color: var(--white); padding: clamp(6rem, 12vw, 10rem) 0 clamp(5rem, 10vw, 8rem); text-align: center; overflow: hidden; background: var(--lagoon); }
.close__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.close::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(11, 74, 92, .25), rgba(11, 74, 92, .5) 55%, rgba(6, 47, 59, .75)); }
.close__in { display: flex; flex-direction: column; align-items: center; }
.close__logo { display: flex; flex-direction: column; width: min(66vw, 320px); color: var(--white); }
.close__logo svg { fill: currentColor; height: auto; }
.close__title { margin-top: 2.2rem; font: 400 clamp(1.6rem, 3.2vw, 2.4rem)/1.1 var(--caps); letter-spacing: .08em; text-transform: uppercase; }
.close__title .caps { display: block; }
.close__title .script { color: var(--aqua); font-size: 2.3em; }
.close p { max-width: 32rem; margin-top: 1.2rem; color: rgba(255, 255, 255, .94); }
.close__act { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 2rem; }
.close .btn:not(.btn--ghost) { background: var(--white); color: var(--lagoon-d); }
.foot { background: var(--abyss); color: rgba(255, 255, 255, .78); padding: 2.8rem 0 3rem; font-size: .86rem; }
.foot__in { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.foot__brand img { width: 130px; height: auto; margin-bottom: 1rem; }
.foot__fine { font-size: .76rem; line-height: 1.6; opacity: .85; }

/* ── WhatsApp (Nova) ──────────────────────────────────────── */
.wa { position: fixed; right: max(1.1rem, env(safe-area-inset-right)); bottom: calc(1.1rem + env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: .55rem; height: 54px; padding: 0 1.25rem 0 1rem; border-radius: 27px; background: #1faa59; color: var(--white); font: 500 .7rem/1 var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(6, 47, 59, .55); transition: transform 240ms var(--ease-out), background-color 200ms ease; -webkit-tap-highlight-color: transparent; }
.wa svg { width: 26px; height: 26px; flex: none; }
.wa:active { transform: scale(.96); }

.fab { display: none; }

/* ── motion: entrance + scroll reveals ────────────────────── */
.js .hero__in { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + 80ms); }
.js .hero.is-in .hero__in { opacity: 1; transform: none; }
.js .hero__media img { transform: scale(1.05); transition: transform 1800ms var(--ease-out); }
.js .hero.is-in .hero__media img { transform: none; }
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--k, 0) * 60ms); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv--img { transform: none; }
.js .rv--img img { transform: scale(1.06); transition: transform 1400ms var(--ease-out); }
.js .rv--img.is-in img { transform: none; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--lagoon-dd); }
  .btn--line:hover { background: rgba(22, 112, 139, .07); }
  .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
  .close .btn:not(.btn--ghost):hover { background: #e9f7fa; }
  .wa:hover { background: #17924b; }
  .topbar__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .link:hover svg { transform: translateX(4px); }
  .pills label:hover input:not(:checked) + span { border-color: var(--lagoon); }
  .rail__btn:not([disabled]):hover { background: var(--lagoon-d); color: var(--white); }
  .faq summary:hover { color: var(--lagoon-d); }
  .plan:hover img { opacity: .9; }
  .is-unlocked .plan:hover img { opacity: 1; }
  .card__img img { transition: transform 900ms var(--ease-out); }
  .card:hover .card__img img { transform: scale(1.03); }
  .lb__x:hover { background: rgba(13, 42, 51, .06); }
}

/* ── responsive ───────────────────────────────────────────── */
@media (max-width: 1180px) {
  .topbar__nav { display: none; }
  .topbar__cta { margin-left: auto; }
  .hero__grid { grid-template-columns: minmax(0, .45fr) minmax(0, 1fr) 380px; }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .idx { columns: 3; }
}

@media (max-width: 900px) {
  :root { --bar: 62px; }
  body { font-size: 1rem; }
  .brand { width: 112px; }
  .hero__media img { object-position: 30% 50%; height: 64svh; }
  .hero__media::after { background: linear-gradient(180deg, rgba(6, 47, 59, .45) 0%, rgba(6, 47, 59, 0) 10svh, rgba(6, 47, 59, 0) 36svh, rgba(11, 74, 92, .9) 56svh, var(--deep) 64svh); }
  .hero__grid { grid-template-columns: 1fr; gap: 2.2rem; min-height: 0; padding-top: calc(42svh); padding-bottom: 3.4rem; }
  .hero__text, .form { grid-column: 1; }
  .hero__line { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero__lede { font-size: 1.02rem; }
  .hero__facts { gap: .9rem 1.4rem; }
  .hero__facts b { font-size: 1.22rem; }
  .hero__facts span { font-size: .58rem; }
  .form { padding: 1.5rem 1.2rem 1.3rem; }
  .field input[type="text"], .field input[type="tel"], .field input[type="email"] { font-size: 16px; }
  .hero__cap { position: static; padding-bottom: 1rem; margin-top: -2.2rem; text-align: left; }

  .stats__row { grid-template-columns: 1fr 1fr; }
  .stats__row > div { padding: 1.5rem .8rem; border-left: 0; border-top: 1px solid var(--line-w); }
  .stats__row > div:nth-child(-n+2) { border-top: 0; }
  .stats__row > div:nth-child(even) { border-left: 1px solid var(--line-w); }
  .stats__row > div:last-child { grid-column: 1 / -1; border-left: 0; }

  .isl__grid, .loc__grid, .faq__grid, .foot__in, .sec-head--split { grid-template-columns: 1fr; }
  .isl__img { order: -1; }
  .h2 { font-size: clamp(1.35rem, 5.9vw, 2rem); }

  .seg { display: flex; }
  .seg__btn, .seg__on span { flex: 1 1 0; padding: .85rem .3rem; text-align: center; font-size: .66rem; }
  .seg__btn small, .seg__on small { display: block; margin: .2rem 0 0; }
  .cards--2, .cards--3 { grid-template-columns: 1fr; }

  .rail li { width: 76vw; }
  .rail__nav p { font-size: .68rem; }
  .idx { columns: 2; column-gap: 1.2rem; }
  .idx li { font-size: .88rem; }

  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic__a { grid-column: 1 / -1; grid-row: auto; }
  .mosaic__a img { aspect-ratio: 4 / 3; }
  .mosaic__d img { aspect-ratio: 16 / 9; }

  .drive { grid-template-columns: 1fr 1fr; }
  .drive dd { font-size: 2rem; }
  .faq summary { font-size: 1.02rem; }
  .faq details p { padding-right: 0; }

  /* sticky bar: appears once the form has scrolled away */
  .fab { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem var(--gut) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(251, 249, 245, .97); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -18px rgba(6, 47, 59, .4); transform: translateY(105%); transition: transform 320ms var(--ease-out); }
  .fab.is-on { transform: none; }
  .fab p { display: flex; flex-direction: column; line-height: 1.25; }
  .fab b { font: 400 1rem var(--caps); letter-spacing: .02em; color: var(--lagoon-d); }
  .fab span { font-size: .74rem; color: var(--grey); }
  .wa { height: 52px; width: 52px; padding: 0; justify-content: center; border-radius: 50%; opacity: 0; transform: translateY(10px) scale(.9); pointer-events: none; transition: transform 320ms var(--ease-out), opacity 200ms ease, background-color 200ms ease; }
  .wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .wa.is-shown { opacity: 1; transform: none; pointer-events: auto; }
  .wa.is-up { transform: translateY(calc(-1 * var(--fab-h, 66px))); }
}

@media (max-width: 900px) {
  .hero__text > .kicker { display: none; }
  .hero__title { margin-top: 0; }
  .six { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .fab b { font-size: .95rem; white-space: nowrap; }
  .fab span { font-size: .7rem; }
  .fab .btn { flex: none; white-space: nowrap; padding-inline: 1rem; }
}

@media (max-width: 420px) {
  .hero__facts li:last-child { display: none; }
  .six .script { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__in, .js .rv { transform: none; transition: opacity 400ms ease; }
  .js .hero__media img, .js .rv--img img { transform: none; transition: none; }
  .seg.is-live .seg__on, .fab, .wa, .plan img { transition-duration: 0s; }
  .panel:not([hidden]), .lb[open], .sent:not([hidden]), .faq details[open] p { animation: none; }
}
