/* =========================================================================
   ATABERK — WEB LAYER tokens & components  (extends tokens.css)
   Adds: motion · elevation · glass · component states · a11y · mobile-first
   Surfaces: nav/search · listings · property card · districts · agent/form ·
   reviews · trust · lightbox · floating contact bar · custom cursor
   Load AFTER tokens.css.
   ========================================================================= */

:root {
  /* ---------- MOTION (disciplined: short, purposeful) ---------- */
  --dur-1: 160ms;   /* taps, micro state */
  --dur-2: 240ms;   /* hovers, lifts */
  --dur-3: 420ms;   /* reveals, panels */
  --dur-4: 640ms;   /* hero / parallax settle */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);     /* decelerate */
  --ease-inout:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* gentle overshoot */

  /* ---------- ELEVATION tiers (navy-leaning, never muddy) ---------- */
  --e1: 0 1px 2px rgba(17,20,31,.06), 0 2px 6px -2px rgba(17,20,31,.10);
  --e2: 0 4px 10px -4px rgba(17,20,31,.14), 0 10px 24px -12px rgba(17,20,31,.18);
  --e3: 0 10px 24px -10px rgba(17,20,31,.20), 0 24px 48px -20px rgba(17,20,31,.26);
  --e4: 0 24px 60px -24px rgba(17,20,31,.36), 0 40px 90px -40px rgba(17,20,31,.40);

  /* ---------- GLASS (refined, blur 10–20%) ---------- */
  --glass-blur: 16px;
  --glass-light-bg:  rgba(255,255,255,.66);
  --glass-light-bd:  rgba(255,255,255,.55);
  --glass-navy-bg:   rgba(26,33,72,.52);
  --glass-navy-bd:   rgba(255,255,255,.16);
  --glass-azure-bg:  rgba(46,126,196,.22);

  /* ---------- A11Y-SAFE TEXT PAIRS ----------
     Gold #FFCF3D fails contrast as text on white — NEVER body text on light.
     Safe: navy/ink on white; white on navy; navy on gold; gold-deep on navy. */
  --ink:        #1A1F2E;          /* default body ink on light, AAA on white */
  --ink-soft:   #545E75;          /* secondary text, AA on white */
  --on-navy:    rgba(255,255,255,.92);
  --on-navy-2:  rgba(255,255,255,.66);
  --focus-ring: 0 0 0 3px rgba(46,126,196,.55), 0 0 0 5px rgba(255,255,255,.85);

  /* ---------- LAYOUT ---------- */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;
  --radius-card: 16px;
}

/* =========================================================================
   BASE — mobile-first, fluid type, a11y defaults
   ========================================================================= */
html { scroll-behavior: smooth; background: var(--navy); }
body { background: var(--paper-warm); color: var(--ink); }
main { overflow-x: clip; }
img, picture, svg, video { max-width: 100%; }

/* Fluid type ramp (mobile → desktop). Body never below 16px. */
.web h1, .web .h1 { font-size: clamp(40px, 8vw, 96px); }
.web h2, .web .h2 { font-size: clamp(30px, 5.2vw, 60px); }
.web h3, .web .h3 { font-size: clamp(22px, 3vw, 34px); }
.web p, .web .body { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.eyebrow {
  font-family: var(--font-mono); font-size: clamp(11px,1.1vw,13px); font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--azure-deep);
}
.eyebrow--gold { color: var(--gold-deep); }
.on-navy .eyebrow { color: var(--gold); }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section.web-sec { padding-block: clamp(56px, 9vw, 120px); }

.display-head {
  font-family: var(--font-display); font-weight: 800; line-height: .9;
  letter-spacing: -.02em; text-transform: uppercase; margin: 0;
}
.display-head .gold { color: var(--gold-deep); }
.on-navy .display-head .gold { color: var(--gold); }
.display-head .out { color: transparent; -webkit-text-stroke: 2px currentColor; }

/* Universal keyboard focus — azure ring, never removed */
:where(a, button, input, select, textarea, [tabindex], .pcard, .dtile) :focus-visible,
:where(a, button, input, select, textarea, [tabindex], .pcard, .dtile):focus-visible {
  outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-2);
}

/* =========================================================================
   SCROLL-REVEAL  (JS adds .in when in view; no-JS shows everything)
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-rd="1"] { transition-delay: 80ms; }
.reveal[data-rd="2"] { transition-delay: 160ms; }
.reveal[data-rd="3"] { transition-delay: 240ms; }
.reveal[data-rd="4"] { transition-delay: 320ms; }
.reveal[data-rd="5"] { transition-delay: 400ms; }

/* =========================================================================
   GLASS surfaces
   ========================================================================= */
.glass { backdrop-filter: blur(var(--glass-blur)) saturate(150%); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%); background: var(--glass-light-bg); border: 1px solid var(--glass-light-bd); }
.glass--navy { background: var(--glass-navy-bg); border-color: var(--glass-navy-bd); color: var(--paper); }
.glass--azure { background: var(--glass-azure-bg); border-color: rgba(255,255,255,.22); color: var(--paper); }

/* =========================================================================
   CUSTOM CURSOR (desktop, pointer:fine). Hidden when reduced-motion / touch.
   ========================================================================= */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9000; pointer-events: none; border-radius: 999px; mix-blend-mode: normal; }
.cursor-dot  { width: 7px; height: 7px; background: var(--gold); transform: translate(-50%,-50%); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(46,126,196,.8); transform: translate(-50%,-50%); transition: width var(--dur-2) var(--ease-out), height var(--dur-2) var(--ease-out), border-color var(--dur-2), background var(--dur-2); }
.cursor-ring.hot { width: 56px; height: 56px; border-color: var(--gold); background: rgba(255,207,61,.12); }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor .pcard, body.has-cursor .dtile { cursor: none; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* =========================================================================
   HEADER + NAV  (sticky, morphs a compact search in on scroll)
   ========================================================================= */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--navy); color: var(--paper); transition: box-shadow var(--dur-2), background var(--dur-2); }
.site-header.scrolled { box-shadow: var(--e2); }
.nav-row { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.nav-logo { height: 30px; flex: 0 0 auto; }
.nav-logo img { height: 100%; display: block; }
.nav-links { display: none; gap: 2px; margin-inline: auto; }
.nav-links a { padding: 9px 13px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.78); text-decoration: none; border-radius: var(--r-1); transition: background var(--dur-1), color var(--dur-1); }
.nav-links a:hover, .nav-links a.active { background: var(--gold); color: var(--navy); }
.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-1); overflow: hidden; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; }
.lang-toggle button { background: transparent; color: rgba(255,255,255,.7); border: 0; padding: 7px 10px; cursor: pointer; text-transform: uppercase; transition: background var(--dur-1), color var(--dur-1); }
.lang-toggle button.on { background: var(--gold); color: var(--navy); font-weight: 700; }
.nav-phone { display: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--paper); text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--gold); }
.burger { display: inline-flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--paper); transition: transform var(--dur-2), opacity var(--dur-1); }
.burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* morphing compact search inside header (revealed on scroll, desktop) */
.header-search { display: none; align-items: center; gap: 8px; margin-inline: auto; max-width: 0; opacity: 0; overflow: hidden; transition: max-width var(--dur-3) var(--ease-out), opacity var(--dur-2); }
.site-header.scrolled .header-search { max-width: 560px; opacity: 1; }
.header-search .hs-field { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); color: var(--paper); border-radius: var(--r-1); padding: 9px 13px; font-size: 13px; font-family: var(--font-sans); white-space: nowrap; }
.header-search .hs-go { background: var(--gold); color: var(--navy); border: 0; border-radius: var(--r-1); padding: 9px 16px; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }

/* mobile drawer */
.mobile-drawer { position: fixed; inset: var(--header-h) 0 0 0; z-index: 190; background: var(--paper); transform: translateX(100%); transition: transform var(--dur-3) var(--ease-out); display: flex; flex-direction: column; padding: 24px var(--gutter); gap: 4px; }
.mobile-drawer.open { transform: none; }
.mobile-drawer a { color: var(--navy); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: -.01em; padding: 12px 0; border-bottom: 1px solid rgba(33,42,91,.1); }
.mobile-drawer a:hover { color: var(--gold-deep); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; min-height: clamp(560px, 88vh, 920px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); color: var(--paper); }
.hero-media { position: absolute; inset: -8% 0 -8% 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-media::after { content:""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(26,33,72,.62) 0%, rgba(26,33,72,.30) 30%, rgba(26,33,72,.55) 70%, rgba(17,20,31,.92) 100%),
  linear-gradient(90deg, rgba(26,33,72,.55), transparent 60%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(120% 90% at 80% 0%, #000 20%, transparent 75%); pointer-events: none; }
.hero-inner { position: relative; width: 100%; padding-block: 40px clamp(28px, 5vw, 56px); }
.hero-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: clamp(10px,1.2vw,13px); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 22px; }
.hero h1 { margin: 0; }
.hero-lede { margin-top: 18px; max-width: 54ch; font-size: clamp(16px,1.6vw,21px); line-height: 1.55; color: rgba(255,255,255,.82); }
.hero-lede .hl { background: var(--gold); color: var(--navy); padding: 0 7px 3px; }

/* glass search bar */
.search-card { margin-top: clamp(24px, 4vw, 40px); border-radius: var(--radius-card); padding: 16px; box-shadow: var(--e3); display: grid; gap: 10px; grid-template-columns: 1fr; }
.search-card .sc-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.sfield { display: flex; flex-direction: column; gap: 6px; }
.sfield label { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.85); text-transform: uppercase; }
.sfield .sctrl { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--paper); color: var(--ink); border: 0; border-radius: var(--r-1); padding: 13px 14px; font-family: var(--font-sans); font-size: 15px; min-height: 48px; cursor: pointer; }
.sfield .sctrl .ar { color: var(--n300); }
.search-card .sc-go { width: 100%; justify-content: center; min-height: 52px; font-size: 15px; }

/* =========================================================================
   TRUST STRIP / STATS (count-up)
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius-card); overflow: hidden; }
.stat { background: var(--navy); padding: 22px 18px; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,4.6vw,56px); line-height: .9; letter-spacing: -.02em; color: var(--gold); }
.stat .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-top: 8px; }

/* =========================================================================
   SECTION HEAD (web)
   ========================================================================= */
.sec-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec-top .lead { max-width: 60ch; }
.sec-top h2 { margin: 10px 0 0; }

/* =========================================================================
   DISTRICT TILES
   ========================================================================= */
.dgrid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.dtile { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-card); overflow: hidden; background: var(--navy); color: var(--paper); text-decoration: none; box-shadow: var(--e2); display: block; }
.dtile .dmedia { position: absolute; inset: 0; }
.dtile .dmedia img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
.dtile:hover .dmedia img { transform: scale(1.07); }
.dtile::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,33,72,.15) 0%, rgba(17,20,31,.85) 92%); }
.dtile .dbody { position: absolute; inset: auto 0 0 0; padding: 18px; z-index: 2; }
.dtile .dname { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px,2.4vw,30px); text-transform: uppercase; letter-spacing: -.01em; line-height: .95; }
.dtile .dcount { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.7); margin-top: 5px; display: flex; align-items: center; gap: 7px; }
.dtile .dgo { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 17px; transition: background var(--dur-2), transform var(--dur-2); z-index: 2; }
.dtile:hover .dgo { background: var(--gold); color: var(--navy); transform: translate(2px,-2px); }

/* =========================================================================
   FILTER CHIPS (tabs over listings) + states
   ========================================================================= */
.fchips { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 10px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--n200); background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: .02em; cursor: pointer; transition: border-color var(--dur-1), background var(--dur-1), color var(--dur-1), transform var(--dur-1); }
.fchip:hover { border-color: var(--navy); transform: translateY(-1px); }
.fchip.on { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.fchip.on .fdot { background: var(--gold); }

/* =========================================================================
   PROPERTY CARD  (.pcard) + states: hover, fav, discount, skeleton/loading
   ========================================================================= */
.lgrid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.pcard { position: relative; background: var(--paper); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--e1); border: 1px solid var(--n100); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--e3); }
.pcard .pmedia { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--navy); }
.pcard .pmedia image-slot, .pcard .pmedia .photo-slot { width: 100%; height: 100%; }
.pcard .pmedia img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
.pcard:hover .pmedia img { transform: scale(1.05); }
.pcard .pmedia::after { content:""; position:absolute; inset:auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(17,20,31,.35)); pointer-events:none; }
.pcard .ptags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; max-width: calc(100% - 132px); }
.ptag { font-family: var(--font-sans); font-weight: 800; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--r-1); line-height: 1; }
.ptag--disc { background: var(--gold); color: var(--navy); }
.ptag--proj { background: var(--azure); color: #fff; }
.ptag--owner { background: rgba(26,33,72,.82); color: #fff; backdrop-filter: blur(4px); }
.ptag--video { background: rgba(255,255,255,.9); color: var(--navy); }
.pcard .pid { position: absolute; top: 12px; right: 56px; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: #fff; background: rgba(17,20,31,.5); padding: 6px 9px; border-radius: var(--r-1); backdrop-filter: blur(4px); }
.fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 999px; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--navy); cursor: pointer; box-shadow: var(--e1); transition: transform var(--dur-1) var(--ease-spring), background var(--dur-1), color var(--dur-1); }
.fav:hover { transform: scale(1.1); }
.fav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.fav.on { background: var(--gold); color: var(--navy); }
.fav.on svg { fill: var(--navy); stroke: var(--navy); }
.pcard .pbody { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard .pprice { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pcard .pprice .now { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px,3vw,30px); letter-spacing: -.02em; color: var(--navy); line-height: 1; }
.pcard .pprice .was { font-family: var(--font-sans); font-size: 15px; color: var(--n400); text-decoration: line-through; }
.pcard .ptitle { font-family: var(--font-sans); font-weight: 600; font-size: 15.5px; line-height: 1.4; color: var(--ink); text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; text-decoration: none; }
.pcard a.ptitle:hover { color: var(--azure-deep); }
.pcard .pspecs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-sans); font-size: 13.5px; color: var(--ink-soft); padding-top: 12px; border-top: 1px solid var(--n100); margin-top: auto; }
.pcard .pspecs .ps { display: inline-flex; align-items: center; gap: 6px; }
.pcard .pspecs .ps b { color: var(--navy); font-weight: 700; }
.pcard .pspecs .ps svg { width: 16px; height: 16px; color: var(--azure); flex: 0 0 auto; }
.pcard .pfoot { display: flex; align-items: center; gap: 8px; }
.pcard .pfoot .loc { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.pcard .pmsg { margin-left: auto; display: inline-flex; gap: 6px; }
.pcard .pmsg a { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: var(--navy); color: #fff; transition: transform var(--dur-1), background var(--dur-1); }
.pcard .pmsg a svg { width: 19px; height: 19px; }
.pcard .pmsg a.wa:hover { background: #25D366; transform: translateY(-2px); }
.pcard .pmsg a.tg:hover { background: #2AABEE; transform: translateY(-2px); }

/* loading skeleton */
.pcard.is-loading .pmedia, .skl { position: relative; background: var(--n100); overflow: hidden; }
.pcard.is-loading .pbody { gap: 14px; }
.skl-line { height: 14px; border-radius: 6px; background: var(--n100); overflow: hidden; }
.pcard.is-loading .pmedia::before, .skl::after, .skl-line::after { content:""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* =========================================================================
   TRUST LAYER
   ========================================================================= */
.tgrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.tcard { background: var(--paper); border: 1px solid var(--n100); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--e1); }
.tcard .tic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(46,126,196,.10); color: var(--azure-deep); margin-bottom: 16px; }
.tcard .tic svg { width: 24px; height: 24px; }
.tcard h3 { font-family: var(--font-sans); font-weight: 800; font-size: 18px; margin: 0 0 8px; color: var(--navy); }
.tcard p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.verified { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--azure-deep); background: rgba(46,126,196,.10); padding: 7px 12px; border-radius: var(--r-pill); }
.verified svg { width: 15px; height: 15px; }
.stamp { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.stamp .dot { width: 7px; height: 7px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 0 3px rgba(255,207,61,.16); }

/* =========================================================================
   AGENT + LEAD FORM
   ========================================================================= */
.agent-wrap { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: stretch; }
.agent-card { background: var(--navy); color: var(--paper); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--e3); }
.agent-photo { position: relative; aspect-ratio: 4/3; background: var(--navy-3); }
.agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-photo .badge { position: absolute; left: 16px; bottom: 16px; }
.agent-body { padding: 22px; }
.agent-body .aname { font-family: var(--font-display); font-weight: 800; font-size: 28px; text-transform: uppercase; letter-spacing: -.01em; }
.agent-body .arole { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.agent-body p { color: rgba(255,255,255,.75); font-size: 15px; margin-top: 14px; line-height: 1.55; }
.agent-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

.lead-form { background: var(--paper); border: 1px solid var(--n100); border-radius: var(--radius-card); padding: clamp(22px, 3vw, 34px); box-shadow: var(--e2); }
.lead-form h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px,3vw,34px); text-transform: uppercase; letter-spacing: -.01em; color: var(--navy); margin: 0 0 6px; }
.lead-form .sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font-family: var(--font-sans); font-weight: 700; font-size: 13px; color: var(--navy); }
.input { width: 100%; min-height: 50px; border: 1.5px solid var(--n200); border-radius: var(--r-2); padding: 13px 15px; font-family: var(--font-sans); font-size: 16px; color: var(--ink); background: var(--paper); transition: border-color var(--dur-1), box-shadow var(--dur-1); }
.input::placeholder { color: var(--n300); }
.input:hover { border-color: var(--n300); }
.input:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(46,126,196,.18); }
textarea.input { min-height: 96px; resize: vertical; }
.input.err { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217,83,79,.15); }
.field .hint { font-size: 12px; color: var(--ink-soft); }
.field .errmsg { font-size: 12px; color: #d9534f; display: none; }
.field.invalid .errmsg { display: block; }
.consent { display: block; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.form-ok { display: none; align-items: center; gap: 10px; background: rgba(43,191,110,.12); color: #1c7a47; padding: 14px 16px; border-radius: var(--r-2); font-weight: 600; }
.lead-form.sent .form-ok { display: flex; }
.lead-form.sent .form-fields { display: none; }

/* =========================================================================
   REVIEWS
   ========================================================================= */
.rgrid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.review { background: var(--paper); border: 1px solid var(--n100); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--e1); display: flex; flex-direction: column; gap: 14px; }
.review .stars { color: var(--gold-deep); letter-spacing: 3px; font-size: 16px; }
.review .rtext { font-size: 15.5px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.review .rwho { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .ravatar { width: 46px; height: 46px; border-radius: 999px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 18px; flex: 0 0 auto; }
.review .rname { font-weight: 800; color: var(--navy); font-size: 15px; }
.review .rmeta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-soft); margin-top: 2px; }
.review .rthanks { font-size: 12px; color: var(--azure-deep); font-weight: 700; }
.review-video { position: relative; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--e2); aspect-ratio: 16/10; background: var(--navy); }
.review-video img { width: 100%; height: 100%; object-fit: cover; }
.review-video .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 999px; background: rgba(255,207,61,.95); color: var(--navy); display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: var(--e3); transition: transform var(--dur-2) var(--ease-spring); }
.review-video:hover .play { transform: scale(1.1); }
.review-video .play svg { width: 28px; height: 28px; margin-left: 3px; }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band { background: var(--gold); color: var(--navy); border-radius: var(--radius-card); padding: clamp(32px, 5vw, 64px); display: grid; gap: 20px; }
.cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,5vw,60px); text-transform: uppercase; letter-spacing: -.02em; line-height: .92; }
.cta-band .out { color: transparent; -webkit-text-stroke: 2px var(--navy); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--navy); color: var(--paper); padding-top: 56px; }
.foot-row { display: grid; gap: 28px; grid-template-columns: 1fr; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 14px; }
.foot-col a { display: block; color: rgba(255,255,255,.82); text-decoration: none; font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--gold); }
.foot-mark { font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 16vw, 200px); line-height: .82; text-transform: uppercase; letter-spacing: -.02em; padding: 28px 0 0; }
.foot-mark .hollow { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); }
.foot-mark .gold { color: var(--gold); }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }

/* =========================================================================
   FLOATING MOBILE CONTACT BAR
   ========================================================================= */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 180; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.1); box-shadow: 0 -8px 24px -12px rgba(17,20,31,.4); transform: translateY(110%); transition: transform var(--dur-3) var(--ease-out); }
.mobile-bar.show { transform: none; }
.mobile-bar a { background: var(--navy); color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 11px 6px calc(11px + env(safe-area-inset-bottom, 0px)); font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: .04em; min-height: 56px; }
.mobile-bar a svg { width: 22px; height: 22px; }
.mobile-bar a.wa svg { color: #25D366; }
.mobile-bar a.tg svg { color: #2AABEE; }
.mobile-bar a.call svg { color: var(--gold); }
.mobile-bar a:active { background: var(--navy-3); }

/* =========================================================================
   LIGHTBOX
   ========================================================================= */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(17,20,31,.94); display: none; align-items: center; justify-content: center; padding: 4vw; opacity: 0; transition: opacity var(--dur-2); }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: var(--e4); }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 999px; width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer; font-size: 22px; transition: background var(--dur-1); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--navy); }
.lb-close { top: 4vw; right: 4vw; }
.lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 4vw; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; color: rgba(255,255,255,.7); }

/* =========================================================================
   RESPONSIVE  (mobile-first → up)
   ========================================================================= */
@media (min-width: 600px) {
  .search-card .sc-grid { grid-template-columns: repeat(4, 1fr); }
  .lgrid { grid-template-columns: repeat(2, 1fr); }
  .dgrid { grid-template-columns: repeat(3, 1fr); }
  .rgrid { grid-template-columns: repeat(2, 1fr); }
  .tgrid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-phone { display: inline-block; }
  .burger { display: none; }
  .header-search { display: flex; }
  .site-header.scrolled .nav-links { display: none; }
  .lgrid { grid-template-columns: repeat(3, 1fr); }
  .tgrid { grid-template-columns: repeat(4, 1fr); }
  .agent-wrap { grid-template-columns: 0.9fr 1.1fr; }
  .foot-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .search-card { grid-template-columns: 1fr auto; align-items: end; }
  .search-card .sc-go { width: auto; padding-inline: 34px; }
  .mobile-bar { display: none; }
  .cta-band { grid-template-columns: 1.4fr auto; align-items: center; }
}
@media (min-width: 1200px) {
  .dgrid { grid-template-columns: repeat(6, 1fr); }
}

/* =========================================================================
   REDUCED MOTION — honour user preference (kill all motion)
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  .hero-media { inset: 0 !important; }
}
