/* MAE Nexus design tokens — mirror of the Figma "Color" collection (Dark / Light modes) */
:root {
  --bg-base: #101C1A; --bg-surface: #14302C; --bg-card: #223835; --bg-raised: #205049;
  --action-primary: #2F7A70; --action-primary-hover: #286A61; --action-secondary: #223835; --action-secondary-hover: #205049;
  --text-primary: #FFFFFF; --text-secondary: #B8CFCB; --text-muted: #93A8A4; --text-accent: #87C4BC; --text-inverse: #223835; --text-on-action: #FFFFFF;
  --border-subtle: rgba(255,255,255,.08); --border-default: rgba(255,255,255,.16); --border-accent: #87C4BC; --border-focus: #87C4BC;
  --success: #5BC98F; --warning: #E8B04B; --error: #E5624F;
  --badge-bg: #FFFFFF; --badge-fg: #223835; --icon: #FFFFFF; --icon-accent: #87C4BC;

  --sp-2xs: 4px; --sp-xs: 8px; --sp-sm: 12px; --sp-md: 16px; --sp-lg: 24px; --sp-xl: 32px; --sp-2xl: 48px; --sp-3xl: 64px; --sp-4xl: 96px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-full: 999px;
  --shadow-card: 0 4px 16px rgba(0,0,0,.25); --shadow-float: 0 12px 32px rgba(0,0,0,.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 864px;
}
.theme-light {
  --bg-base: #FAF8F4; --bg-surface: #F1EEE7; --bg-card: #FFFFFF; --bg-raised: #D6ECE8;
  --action-primary: #2F7A70; --action-primary-hover: #205049; --action-secondary: #FFFFFF; --action-secondary-hover: #D6ECE8;
  --text-primary: #101C1A; --text-secondary: #3E4F4C; --text-muted: #5E716D; --text-accent: #286A61; --text-inverse: #FFFFFF;
  --border-subtle: rgba(0,0,0,.08); --border-default: rgba(0,0,0,.16); --border-accent: #2F7A70; --border-focus: #2F7A70;
  --success: #1E7A4C; --warning: #8A5A00; --error: #9E3426;
  --badge-bg: #101C1A; --badge-fg: #FFFFFF; --icon: #101C1A; --icon-accent: #286A61;
  --shadow-card: 0 4px 16px rgba(16,28,26,.08);
  background: var(--bg-base); color: var(--text-primary);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg-base); color: var(--text-primary); font-family: var(--font); font-size: 18px; line-height: 26px; letter-spacing: -0.03em; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 3px; }

/* type scale */
.t-display { display: block; font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -0.06em; }
.t-h1 { font-size: 42px; line-height: 48px; font-weight: 500; letter-spacing: -0.06em; }
.t-h2 { font-size: 36px; line-height: 40px; font-weight: 400; letter-spacing: -0.06em; }
.t-h3 { font-size: 28px; line-height: 32px; font-weight: 400; letter-spacing: -0.06em; }
.t-h4 { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -0.04em; }
.t-quote { font-size: 26px; line-height: 32px; font-weight: 500; font-style: italic; letter-spacing: -0.06em; }
.t-body-l { font-size: 22px; line-height: 28px; letter-spacing: -0.04em; }
.label { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: -0.01em; }
.caption { font-size: 13px; line-height: 18px; letter-spacing: 0; }
.secondary { color: var(--text-secondary); } .muted { color: var(--text-muted); } .accent { color: var(--text-accent); }
.center { text-align: center; margin-inline: auto; } .center.stack, .center.stack-sm, .center.stack-lg { align-items: center; }

/* layout */
.container { width: min(var(--container), 100% - 2 * var(--sp-lg)); margin-inline: auto; }
.container.wide { --container: 960px; } .narrow { max-width: 760px; }
.section { padding-block: var(--sp-4xl); background: var(--bg-base); }
.section--tight { padding-block: var(--sp-3xl); }
.surface { background: var(--bg-surface); }
.theme-light.section { background: var(--bg-base); }
.stack { display: flex; flex-direction: column; gap: var(--sp-lg); align-items: flex-start; }
.stack-sm { display: flex; flex-direction: column; gap: var(--sp-md); }
.stack-lg { display: flex; flex-direction: column; gap: var(--sp-2xl); }
.split { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-2xl); align-items: center; }
.split__img { width: 440px; height: 560px; object-fit: cover; border-radius: var(--r-lg); }
.split--form { grid-template-columns: 1fr 440px; }

/* icons */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.i--lg { width: 36px; height: 36px; color: var(--icon-accent); } .i--xl { width: 48px; height: 48px; }

/* badge */
.badge { display: inline-flex; align-items: center; gap: var(--sp-2xs); padding: var(--sp-2xs) var(--sp-sm); border-radius: var(--r-full); font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.badge .i { width: 14px; height: 14px; }
.badge--section { background: var(--badge-bg); color: var(--badge-fg); }
.badge--info { background: var(--bg-raised); color: var(--text-accent); }
.badge--ok { border: 1px solid var(--success); color: var(--success); }

/* CTA conversation (signature button) */
.cta { display: inline-flex; text-decoration: none; min-height: 48px; transition: transform .15s ease; }
.cta__label { display: flex; align-items: center; padding: var(--sp-sm) var(--sp-md); background: var(--action-secondary); border: 1px solid var(--border-accent); color: var(--text-primary); font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -0.02em; transition: background .15s; }
.cta__icon { display: flex; align-items: center; padding: var(--sp-sm); background: var(--action-primary); color: var(--text-on-action); transition: background .15s; }
.cta:hover .cta__label { background: var(--action-secondary-hover); } .cta:hover .cta__icon { background: var(--action-primary-hover); }
.cta, .btn { transition: transform 140ms var(--ease-out), background-color .2s ease; }
.cta:active, .btn:active { transform: scale(0.97); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-xs); min-height: 48px; padding: var(--sp-sm) var(--sp-lg); border: 0; font: 500 16px/24px var(--font); letter-spacing: -0.02em; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn--primary { background: var(--action-primary); color: var(--text-on-action); } .btn--primary:hover { background: var(--action-primary-hover); }
.btn--secondary { background: var(--action-secondary); color: var(--text-primary); border: 1px solid var(--border-accent); } .btn--secondary:hover { background: var(--action-secondary-hover); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* hero */
.hero { position: relative; min-height: 820px; display: flex; align-items: flex-end; padding-block: var(--sp-4xl); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media picture { display: contents; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,28,26,0) 30%, rgba(16,28,26,.85) 75%, #101C1A 100%); }
.hero__content { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-2xl); }
.hero__copy { max-width: 520px; display: flex; flex-direction: column; gap: var(--sp-lg); align-items: flex-start; }
.hero .t-h1 { font-weight: 400; }
.hero .t-display { margin-top: var(--sp-xs); }

/* checklist */
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: inline-flex; align-items: center; gap: var(--sp-sm); width: fit-content; padding: var(--sp-xs) var(--sp-md); background: var(--bg-raised); font-size: 22px; line-height: 28px; letter-spacing: -0.04em; }
.checklist .i { color: var(--icon-accent); }
.checklist--sm li { font-size: 16px; line-height: 22px; padding: var(--sp-2xs) var(--sp-sm); }
.checklist--sm .i { width: 16px; height: 16px; }

/* quote */
.quote { display: flex; flex-direction: column; align-items: center; gap: var(--sp-sm); }
.quote__rule { width: 48px; height: 2px; background: var(--border-accent); }

/* cards */
.card { background: var(--bg-card); border-radius: var(--r-md); }
.theme-light .card { box-shadow: var(--shadow-card); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
.benefit { min-height: 361px; padding: var(--sp-lg); display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-lg); }
.benefit h3 { margin-bottom: var(--sp-sm); }
.benefit--wide { grid-column: span 2; flex-direction: row; align-items: stretch; }
.benefit__text { display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.benefit--wide img { width: 220px; object-fit: cover; border-radius: var(--r-sm); }

/* gallery / carousel */
.gallery__title { padding: var(--sp-xl) var(--sp-lg); }
.carousel { position: relative; height: clamp(560px, 86vh, 860px); overflow: hidden; }
.carousel__track img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: blur(24px); transform: scale(1.06); transition: opacity 1.1s ease-in-out, filter 1.1s ease-in-out, transform 1.1s ease-in-out; }
.carousel__track img.is-active { opacity: 1; filter: blur(0); transform: scale(1); }
.carousel__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: var(--r-full); border: 0; display: grid; place-items: center; background: rgba(16,28,26,.6); color: #fff; cursor: pointer; transition: background .15s; }
.carousel__arrow:hover { background: rgba(16,28,26,.85); }
.carousel__arrow .i { width: 24px; height: 24px; }
.carousel__arrow--prev { left: var(--sp-xl); } .carousel__arrow--next { right: var(--sp-xl); }
.carousel__dots { position: absolute; left: 50%; bottom: var(--sp-xl); transform: translateX(-50%); display: flex; gap: var(--sp-xs); align-items: center; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-full); background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s, background .3s; }
.carousel__dots button[aria-selected="true"] { width: 24px; background: #2F7A70; }

/* faq */
.faq { display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-3xl); align-items: start; }
.faq__intro { position: sticky; top: var(--sp-xl); }
.accordion details { border-top: 1px solid var(--border-default); }
.accordion details:last-child { border-bottom: 1px solid var(--border-default); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-md); padding: var(--sp-lg) var(--sp-sm); cursor: pointer; list-style: none; font-size: 22px; line-height: 28px; letter-spacing: -0.04em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 28px; font-weight: 300; color: var(--icon); transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { padding: 0 56px var(--sp-lg) var(--sp-sm); color: var(--text-secondary); }

/* places */
.places { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-lg); width: 100%; text-align: left; }
.places li { display: flex; align-items: center; gap: var(--sp-sm); padding: var(--sp-sm) var(--sp-md); border: 1px solid var(--border-subtle); border-radius: var(--r-md); }
.places__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--bg-raised); color: var(--icon-accent); }
.places strong { display: block; font-size: 14px; line-height: 20px; font-weight: 500; }
.places small { font-size: 13px; line-height: 18px; color: var(--text-accent); }

/* scarcity + prices */
.seal { display: inline-flex; align-items: center; gap: var(--sp-md); padding: var(--sp-md) var(--sp-lg); border: 1px solid var(--border-accent); text-align: left; }
.seal__count { font-size: 48px; line-height: 52px; font-weight: 600; color: var(--text-accent); letter-spacing: -0.06em; }
.seal small { display: block; font-size: 13px; color: var(--text-secondary); }
.seal__bar { display: flex; gap: 4px; margin-top: 6px; }
.seal__bar i { width: 14px; height: 4px; border-radius: 2px; background: var(--action-primary); }
.seal__bar i.off { background: var(--bg-raised); }
.swipe-hint { display: none; font-size: 13px; color: var(--text-muted); }
.table-scroll { width: 100%; overflow-x: auto; border-radius: var(--r-md); background: var(--bg-card); box-shadow: var(--shadow-card); }
.prices { width: 100%; min-width: 860px; border-collapse: collapse; text-align: left; font-size: 16px; line-height: 22px; }
.prices th { padding: var(--sp-sm) var(--sp-lg); background: var(--bg-raised); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.prices td { padding: var(--sp-md) var(--sp-lg); border-bottom: 1px solid var(--border-subtle); white-space: nowrap; }
.prices td:first-child { font-weight: 500; font-size: 14px; }
.prices .price { font-weight: 500; color: var(--text-accent); }
.prices tfoot td { font-size: 13px; color: var(--text-muted); white-space: normal; border: 0; }

/* who */
.avatars { display: flex; }
.avatars span, .avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-full); background: var(--bg-raised); color: var(--text-accent); font-size: 14px; font-weight: 500; border: 2px solid var(--bg-surface); }
.avatars span + span { margin-left: -10px; }
.avatars .more { background: var(--action-primary); color: #fff; }
.advisor { width: 320px; padding: var(--sp-lg); display: flex; flex-direction: column; gap: var(--sp-md); }
.advisor__head { display: flex; align-items: center; gap: var(--sp-md); }
.advisor .avatar { width: 72px; height: 72px; font-size: 22px; }
.advisor small { display: block; font-size: 13px; color: var(--text-secondary); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-xs); }
.chips li { padding: var(--sp-2xs) var(--sp-xs); border: 1px solid var(--border-default); border-radius: var(--r-full); font-size: 13px; color: var(--text-secondary); }

/* form */
.lead { padding: var(--sp-xl); background: var(--bg-surface); border: 1px solid var(--border-default); border-radius: var(--r-lg); }
.lead__fields { display: flex; flex-direction: column; gap: var(--sp-md); }
.field { display: flex; flex-direction: column; gap: var(--sp-xs); }
.field > span { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-secondary); }
.field input, .phone { width: 100%; min-height: 48px; padding: var(--sp-sm) var(--sp-md); background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--r-md); color: var(--text-primary); font: 400 18px/26px var(--font); letter-spacing: -0.03em; }
.field input::placeholder { color: var(--text-muted); }
.field input:focus, .phone:focus-within { outline: none; border: 2px solid var(--border-focus); box-shadow: 0 0 0 3px rgba(135,196,188,.35); }
.phone { display: flex; align-items: center; gap: var(--sp-xs); padding-block: 0; }
.phone select { background: transparent; color: var(--text-primary); border: 0; border-right: 1px solid var(--border-default); padding: var(--sp-sm) var(--sp-xs) var(--sp-sm) 0; font: 400 18px/26px var(--font); cursor: pointer; }
.phone select option { background: #223835; }
.phone input { border: 0; padding: var(--sp-sm) 0; min-height: 46px; background: transparent; }
.phone input:focus { border: 0; box-shadow: none; }
.hint { font-size: 13px; line-height: 18px; color: var(--text-muted); }
.field__error { display: none; font-style: normal; font-size: 13px; color: var(--error); }
.field.is-invalid .field__error { display: block; }
.field.is-invalid input, .field.is-invalid .phone { border-color: var(--error); }
.check { display: flex; align-items: flex-start; gap: var(--sp-sm); font-size: 16px; line-height: 22px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--action-primary); flex: none; }
.check.is-invalid span { color: var(--error); }
.alert { display: flex; flex-direction: column; gap: 4px; padding: var(--sp-md); border-left: 3px solid var(--error); background: var(--bg-card); border-radius: var(--r-md); font-size: 14px; }
.alert span { color: var(--text-secondary); }
.lead__success { display: flex; flex-direction: column; align-items: center; gap: var(--sp-md); padding-block: var(--sp-lg); }
.lead__success .ok { color: var(--success); }

/* footer */
.footer { padding-block: var(--sp-xl); border-top: 1px solid var(--border-subtle); }
.legal { font-size: 12px; line-height: 16px; font-weight: 300; color: var(--text-muted); max-width: 720px; }
.legal + .legal { margin-top: var(--sp-xs); }

/* ===== mobile (< 768px) ===== */
@media (max-width: 767px) {
  body { font-size: 16px; line-height: 24px; }
  .t-h1 { font-size: 28px; line-height: 32px; }
  .t-h2 { font-size: 28px; line-height: 32px; }
  .t-h3 { font-size: 24px; line-height: 28px; }
  .t-body-l { font-size: 18px; line-height: 26px; }
  .t-quote { font-size: 22px; line-height: 28px; }
  .section { padding-block: var(--sp-3xl); }
  .section--tight { padding-block: var(--sp-2xl); }
  .stack-lg { gap: var(--sp-xl); }

  .hero { min-height: 720px; padding-block: var(--sp-2xl); }
  .hero__content { flex-direction: column; align-items: stretch; gap: var(--sp-lg); }
  .hero .t-h1 { font-size: 36px; line-height: 40px; }
  .cta { width: 100%; } .cta__label { flex: 1; justify-content: center; }

  .split, .split--form { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .split__img { width: 100%; height: 380px; }
  .checklist li { font-size: 16px; line-height: 22px; padding: var(--sp-2xs) var(--sp-sm); width: auto; }
  .checklist .i { width: 16px; height: 16px; }

  .benefits { grid-template-columns: 1fr; gap: var(--sp-md); }
  .benefit { min-height: 200px; }
  .benefit--wide { grid-column: auto; }
  .benefit--wide img { display: none; }

  .gallery__title { padding: var(--sp-lg); }
  .carousel { height: auto; aspect-ratio: 4 / 5; max-height: 78vh; }
  .carousel__arrow { display: none; }
  .carousel__dots { bottom: var(--sp-md); }

  .faq { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .faq__intro { position: static; }
  .faq__intro .cta { order: 3; }
  .accordion summary { font-size: 18px; line-height: 24px; padding: var(--sp-md) var(--sp-2xs); }
  .accordion details p { padding: 0 var(--sp-2xs) var(--sp-md); }

  .places { grid-template-columns: 1fr; gap: var(--sp-sm); }

  /* price table → stacked cards */
  .table-scroll { overflow: visible; background: none; box-shadow: none; }
  .prices { min-width: 0; }
  .prices thead { display: none; }
  .prices, .prices tbody, .prices tfoot, .prices tr, .prices td { display: block; width: 100%; }
  .prices tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xs) var(--sp-md); margin-bottom: var(--sp-sm); padding: var(--sp-md); background: var(--bg-card); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
  .prices td { padding: 0; border: 0; white-space: normal; font-size: 15px; }
  .prices td::before { display: block; font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
  .prices td:nth-child(1) { grid-column: 1 / -1; font-size: 16px; padding-bottom: var(--sp-xs); border-bottom: 1px solid var(--border-subtle); }
  .prices td:nth-child(2)::before { content: "Bedrooms"; }
  .prices td:nth-child(3)::before { content: "Built area"; }
  .prices td:nth-child(4)::before { content: "Private pool"; }
  .prices td:nth-child(5)::before { content: "Price"; }
  .prices td:nth-child(5) { font-size: 18px; }
  .prices td:nth-child(6) { align-self: end; }
  .prices tfoot td { padding: var(--sp-xs) 0 0; text-align: left; }
  .seal { width: 100%; }
  .advisor { width: 100%; }
  .lead { padding: var(--sp-lg) 20px; }
}

/* ===== motion ===== */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); }

/* scroll reveal: hidden only when JS + Motion will reveal them (fallback in <head>) */
.js-motion main .container > *, .js-motion .gallery__title,
.js-motion .checklist li, .js-motion .benefit, .js-motion .places li, .js-motion .prices tbody tr { opacity: 0; }

/* hero entrance — CSS so it stays smooth while the page loads; image never fades (LCP) */
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero__media img { animation: hero-settle 2.4s var(--ease-out) both; }
.hero__copy > *, .hero .cta { animation: rise .7s var(--ease-out) both; }
.hero__copy > :nth-child(1) { animation-delay: .15s; }
.hero__copy > :nth-child(2) { animation-delay: .25s; }
.hero__copy > :nth-child(3) { animation-delay: .35s; }
.hero .cta { animation-delay: .45s; }

.seal__bar i { transform-origin: left center; }

/* FAQ: animate open/close height where supported (progressive enhancement) */
.accordion details { interpolate-size: allow-keywords; }
.accordion details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease-out), content-visibility .35s allow-discrete; }
.accordion details[open]::details-content { height: auto; }
.accordion summary::after { transition: transform .3s var(--ease-out); }

/* hover only on real pointers (touch fires false hovers) */
@media (hover: hover) and (pointer: fine) {
  .cta .cta__icon .i { transition: transform .25s var(--ease-out); }
  .cta:hover .cta__icon .i { transform: translate(2px, -2px); }
  .benefit { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
  .benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
  .places li { transition: border-color .2s ease; }
  .places li:hover { border-color: var(--border-accent); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img { animation: none; }
  .hero__copy > *, .hero .cta { animation-name: fade; animation-duration: .4s; }
  .carousel__track img { filter: none; transform: none; }
  .cta:active, .btn:active { transform: none; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* sticky mobile CTA — slides up after the hero, leaves once the form is on screen */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: var(--sp-sm) var(--sp-md) calc(var(--sp-sm) + env(safe-area-inset-bottom)); background: rgba(16,28,26,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.08); transform: translateY(110%); transition: transform 300ms var(--ease-out); }
  .sticky-cta.is-visible { transform: translateY(0); }
  /* the sticky bar replaces the in-section CTAs; hero keeps its own */
  .has-sticky-cta main .cta, .has-sticky-cta main .center:has(> .cta:only-child) { display: none; }
  .sticky-cta .cta__label { color: #fff; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .sticky-cta { transform: none; opacity: 0; transition: opacity 200ms ease; }
  .sticky-cta.is-visible { opacity: 1; }
}

/* cookie consent — equal-weight choices, no dark patterns */
.consent { position: fixed; z-index: 60; left: var(--sp-lg); bottom: var(--sp-lg); max-width: 420px; padding: var(--sp-lg); display: flex; flex-direction: column; gap: var(--sp-md); background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-subtle); border-radius: var(--r-md); box-shadow: 0 16px 40px rgba(0,0,0,.35); opacity: 0; transform: translateY(12px); transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
.consent.is-open { opacity: 1; transform: none; }
.consent__text { margin: 0; font-size: 15px; line-height: 22px; color: var(--text-secondary); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xs); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.consent-open .sticky-cta { visibility: hidden; }
@media (max-width: 767px) {
  .consent { left: var(--sp-md); right: var(--sp-md); bottom: calc(var(--sp-md) + env(safe-area-inset-bottom)); max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .consent { transform: none; } }

/* spam guard: honeypot off-screen; Turnstile only takes space if it needs interaction */
.lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__turnstile:empty { display: none; }
