/* ============================================================
   Gadura Real Estate — v2 Redesign
   Direction: Dark luxury, disciplined single accent.
   Datamined from visionrealestateny.com (navy + accent + serif),
   re-skinned to Gadura's brand. Accent is a single CSS variable
   (--accent) so the whole site can flip orange<->gold instantly.
   ============================================================ */

:root {
  /* Navy scale */
  --navy-900: #081627;   /* deepest — header/footer */
  --navy-800: #0b2240;   /* primary navy */
  --navy-700: #12304f;   /* gradient stop */
  --navy-600: #1c4067;

  /* Accent — Gadura signature gold (flip to #F36A23 to mirror Vision) */
  --accent:        #c8a24b;
  --accent-bright: #e0c071;
  --accent-deep:   #a8842f;

  /* Neutrals */
  --ink:    #1b2433;     /* body text on light */
  --muted:  #5b6675;
  --paper:  #ffffff;
  --mist:   #f4f6f9;     /* light section bg */
  --mist-2: #eef1f6;
  --line:   rgba(11,34,64,.12);
  --line-light: rgba(255,255,255,.16);

  /* Type */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Montserrat', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Rhythm */
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 7rem);
  --container: 1240px;

  /* Motion */
  --ease: cubic-bezier(.16,1,.3,1);
  --dur: .5s;

  --shadow-card: 0 18px 50px -22px rgba(8,22,39,.45);
  --shadow-soft: 0 10px 30px -16px rgba(8,22,39,.35);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; color: var(--navy-900); }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: .78rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1rem;
}
.eyebrow::before { content:""; width: 34px; height: 1px; background: var(--accent); display:inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--accent-bright); }

.section-title { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem); letter-spacing: -.01em; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { color: var(--muted); font-size: 1.075rem; }

/* Accent helpers */
.accent { color: var(--accent-deep); }
.on-dark .accent, .accent.on-dark { color: var(--accent-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-weight: 600; font-size: .92rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 1rem 1.7rem; border: 1px solid transparent; border-radius: 2px;
  transition: all .25s var(--ease); cursor: pointer; line-height: 1;
}
.btn .plus { color: var(--accent); font-size: 1.2em; font-weight: 400; line-height: 0; transition: transform .25s var(--ease); }
.btn:hover .plus { transform: rotate(90deg); }
.btn-primary { background: var(--accent); color: var(--navy-900); border-color: var(--accent); }
.btn-primary .plus { color: var(--navy-900); }
.btn-primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: rgba(11,34,64,.35); }
.btn-outline:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn-ghost-dark { background: var(--navy-800); color: #fff; border-color: rgba(255,255,255,.18); }
.btn-ghost-dark:hover { background: var(--navy-700); border-color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 1.15rem 2.1rem; font-size: 1rem; }

/* ============================================================
   TOP CONTACT BAR
   ============================================================ */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,.72);
  font-size: .8rem; letter-spacing: .02em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 1rem; }
.topbar a { color: rgba(255,255,255,.72); transition: color .2s; }
.topbar a:hover { color: var(--accent-bright); }
.topbar .tb-left { display: flex; gap: 1.6rem; align-items: center; }
.topbar .tb-left .dot { color: var(--accent); }
.topbar .tb-right { display: flex; gap: 1.2rem; align-items: center; }
.topbar .tb-phone { color: #fff; font-weight: 600; }
/* Language switcher (kept from original community-focused site) */
.langs { display: flex; align-items: center; gap: .15rem; }
.langs a { padding: 2px 8px; border-radius: 2px; font-size: .76rem; color: rgba(255,255,255,.6); border: 1px solid transparent; transition: all .2s; }
.langs a:hover, .langs a.active { color: #fff; border-color: var(--line-light); }
.langs a.active { color: var(--accent-bright); }
@media (max-width: 880px){ .topbar .tb-left .tb-hours { display: none; } }
@media (max-width: 760px){ .topbar .tb-right .tb-email { display: none; } }
@media (max-width: 620px){ .topbar .tb-left .tb-addr { display: none; } .langs a:not(.active){ display:none; } }

/* ---- Search intent tabs (Buy / Sell / Rent — kept from original) ---- */
.searchbar-main { width: 100%; }
.search-tabs { display: flex; gap: 0; padding: 0 1.4rem; }
.stab {
  background: transparent; border: 0; color: rgba(255,255,255,.6);
  font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 1rem 1.4rem .85rem; position: relative; cursor: pointer;
}
.stab::after { content:""; position: absolute; left: 1.4rem; right: 1.4rem; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); }
.stab:hover { color: #fff; }
.stab.active { color: #fff; }
.stab.active::after { transform: scaleX(1); }
.search-panel:not(.active) { display: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8,22,39,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-light);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1.5rem; }
.brand img { height: 46px; width: auto; }
.brand .brand-fallback { color: #fff; font-family: var(--serif); font-size: 1.4rem; letter-spacing: .04em; }
.brand .brand-fallback b { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: clamp(.6rem, 1.4vw, 1.7rem); }
.main-nav > a {
  color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; padding: .4rem 0; position: relative;
  white-space: nowrap;
}
.main-nav > a::after {
  content:""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.main-nav > a:hover { color: #fff; }
.main-nav > a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .9rem; }
.nav-icons { display: flex; gap: .7rem; }
.nav-icons a {
  width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%;
  display: grid; place-items: center; color: #fff; transition: all .25s var(--ease);
}
.nav-icons a:hover { border-color: var(--accent); color: var(--accent-bright); transform: translateY(-2px); }
.nav-icons svg { width: 17px; height: 17px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.hamburger span { width: 26px; height: 2px; background: #fff; transition: .3s; }

@media (max-width: 1080px){
  .main-nav, .nav-icons { display: none; }
  .hamburger { display: flex; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw);
  background: var(--navy-900); z-index: 80; transform: translateX(100%);
  transition: transform .35s var(--ease); padding: 5rem 2rem 2rem; overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,.5);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a { display: block; color: rgba(255,255,255,.85); padding: .85rem 0; font-size: 1rem; letter-spacing: .04em; border-bottom: 1px solid var(--line-light); text-transform: uppercase; }
.mobile-drawer a:hover { color: var(--accent-bright); padding-left: 6px; }
.mobile-close { position: absolute; top: 1.4rem; right: 1.4rem; background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 70; opacity: 0; visibility: hidden; transition: .3s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; background: var(--navy-900); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s var(--ease); transform: scale(1.05);
}
.hero-media .slide.active { opacity: 1; animation: heroZoom 9s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-media::after {
  content:""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,22,39,.62) 0%, rgba(8,22,39,.35) 35%, rgba(8,22,39,.78) 100%),
    linear-gradient(90deg, rgba(8,22,39,.7) 0%, rgba(8,22,39,.15) 60%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: 6rem 3rem; }
.hero h1 {
  color: #fff; font-size: clamp(2.8rem, 1.5rem + 6vw, 6.2rem); line-height: 1.02;
  letter-spacing: -.015em; margin: 0 0 1rem; max-width: 16ch;
}
.hero h1 .gold { color: var(--accent-bright); font-style: italic; }
.hero .hero-eyebrow { color: rgba(255,255,255,.9); }
.hero .hero-tag { color: rgba(255,255,255,.9); font-size: clamp(1.05rem,.9rem+.6vw,1.45rem); max-width: 44ch; margin: 0 0 2rem; font-weight: 300; }
.hero .hero-tag strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Floating social rail */
.social-rail { position: fixed; right: clamp(.6rem,2vw,1.4rem); top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; gap: .8rem; }
.social-rail a { width: 42px; height: 42px; border: 1px solid rgba(200,162,75,.5); border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: rgba(8,22,39,.35); backdrop-filter: blur(4px); transition: all .25s var(--ease); }
.social-rail a:hover { background: var(--accent); color: var(--navy-900); transform: translateY(-3px); }
.social-rail svg { width: 17px; height: 17px; }
@media (max-width: 1080px){ .social-rail { display: none; } }

/* ============================================================
   IDX SEARCH BAR
   ============================================================ */
.searchbar { background: var(--navy-800); position: relative; z-index: 5; }
.searchbar-grid { display: grid; grid-template-columns: auto 1fr; align-items: stretch; }
.searchbar-label {
  background: var(--navy-700); color: #fff; display: flex; align-items: center;
  padding: 1.5rem clamp(1.5rem,3vw,2.8rem); font-family: var(--serif);
  font-size: clamp(1.6rem,1rem+2vw,2.6rem); white-space: nowrap;
}
.searchbar form { display: flex; flex-wrap: wrap; align-items: center; gap: 0; padding: 1rem clamp(1rem,2vw,1.5rem); }
.search-field { position: relative; flex: 1 1 150px; border-bottom: 1px solid var(--line-light); margin: .4rem .9rem; }
.search-field label { position: absolute; top: -.55rem; left: 0; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-bright); }
.search-field select, .search-field input {
  width: 100%; background: transparent; border: 0; color: #fff; font-family: var(--sans);
  font-size: .98rem; padding: .85rem 1.6rem .6rem 0; appearance: none; cursor: pointer;
}
.search-field input::placeholder { color: rgba(255,255,255,.6); }
.search-field select option { color: #1b2433; }
.search-field::after { content:"▾"; position: absolute; right: .2rem; bottom: .7rem; color: var(--accent); pointer-events: none; }
.search-field.is-input::after { content: none; }
.search-actions { display: flex; gap: .7rem; padding: .4rem .9rem; }
.search-actions .btn { white-space: nowrap; }
.searchbar-credit { color: rgba(255,255,255,.45); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; text-align: right; padding: 0 1.5rem .7rem; }
@media (max-width: 860px){
  .searchbar-grid { grid-template-columns: 1fr; }
  .searchbar-label { justify-content: center; padding: 1.1rem; }
  .search-actions { width: 100%; }
  .search-actions .btn { flex: 1; }
}

/* ============================================================
   STAT STRIP
   ============================================================ */
.statstrip { background: var(--navy-900); color: #fff; border-top: 1px solid var(--line-light); }
.statstrip .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding-block: 2.2rem; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content:""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: var(--line-light); }
.stat .num { font-family: var(--serif); font-size: clamp(1.8rem,1.2rem+2vw,2.8rem); color: var(--accent-bright); line-height: 1; }
.stat .lbl { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: .5rem; }
@media (max-width: 640px){ .statstrip .container { grid-template-columns: repeat(2,1fr); gap: 1.6rem; } .stat:nth-child(2)::before{display:none;} }

/* ============================================================
   BROKER / LEAD AGENT BIO
   ============================================================ */
.bio { padding-block: var(--section-y); background: var(--paper); }
.bio-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.bio-photo { position: relative; }
.bio-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; border-radius: 3px; box-shadow: var(--shadow-card); }
.bio-photo::before { content:""; position: absolute; left: -18px; top: -18px; width: 55%; height: 55%; border: 1px solid var(--accent); border-radius: 3px; z-index: -1; }
.bio-photo .badge { position: absolute; right: -16px; bottom: 28px; background: var(--navy-900); color: #fff; padding: 1rem 1.3rem; border-left: 3px solid var(--accent); box-shadow: var(--shadow-soft); }
.bio-photo .badge b { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--accent-bright); line-height: 1; }
.bio-photo .badge span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.bio h2 { font-size: clamp(2rem,1.3rem+3vw,3.4rem); }
.bio h2 .accent { font-style: italic; }
.bio .role { font-family: var(--sans); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--muted); margin: .4rem 0 1.4rem; }
.bio .bio-quote { font-family: var(--serif); font-size: clamp(1.2rem,1rem+1vw,1.7rem); color: var(--navy-800); line-height: 1.4; margin-bottom: 1.2rem; }
.bio-creds { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin: 1.6rem 0; }
.bio-creds .c { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--ink); }
.bio-creds .c svg { width: 20px; height: 20px; color: var(--accent-deep); flex: none; }
@media (max-width: 820px){ .bio-grid { grid-template-columns: 1fr; } .bio-photo { max-width: 380px; margin-inline: auto; } }

/* ============================================================
   TEAM
   ============================================================ */
.team { padding-block: var(--section-y); background: var(--mist); }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.6rem; margin-top: 2.8rem; }
.member { background: var(--paper); border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.member .ph { aspect-ratio: 1/1.05; overflow: hidden; background: var(--navy-800); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); filter: grayscale(.15); }
.member:hover .ph img { transform: scale(1.05); filter: grayscale(0); }
.member .info { padding: 1.1rem 1.2rem 1.4rem; text-align: center; border-top: 3px solid var(--accent); }
.member .info h3 { font-size: 1.15rem; }
.member .info span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-top: .35rem; }
@media (max-width: 980px){ .team-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 680px){ .team-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; } }

/* ============================================================
   FEATURED LISTINGS
   ============================================================ */
.listings { padding-block: var(--section-y); background: var(--paper); }
.listings-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.6rem; margin-top: 2.8rem; }
.lcard { position: relative; aspect-ratio: 16/10; border-radius: 3px; overflow: hidden; display: block; box-shadow: var(--shadow-soft); }
.lcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lcard:hover img { transform: scale(1.06); }
.lcard::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,22,39,0) 35%, rgba(8,22,39,.85) 100%); }
.lcard .tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--accent); color: var(--navy-900); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 2px; }
.lcard .meta { position: absolute; left: 1.3rem; bottom: 1.2rem; right: 1.3rem; z-index: 2; color: #fff; }
.lcard .meta .addr { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; display: flex; align-items: center; gap: .5rem; }
.lcard .meta .city { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: .2rem; }
.lcard .meta .price { color: var(--accent-bright); font-weight: 700; font-size: 1.2rem; margin-top: .5rem; }
.lcard .meta .pin { color: var(--accent-bright); width: 18px; height: 18px; flex: none; }
.listings .cta-row { text-align: center; margin-top: 2.6rem; }
@media (max-width: 720px){ .listings-grid { grid-template-columns: 1fr; } }

/* ============================================================
   NEIGHBORHOOD GUIDE
   ============================================================ */
.hoods { padding-block: var(--section-y); background: var(--mist); }
.hood-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; margin-top: 2.8rem; }
.hood { position: relative; aspect-ratio: 3/4; border-radius: 3px; overflow: hidden; display: flex; align-items: flex-end; box-shadow: var(--shadow-soft); }
.hood img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hood:hover img { transform: scale(1.08); }
.hood::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,22,39,.1) 30%, rgba(8,22,39,.9) 100%); }
.hood .h-body { position: relative; z-index: 2; padding: 1.3rem; color: #fff; width: 100%; }
.hood .h-body h3 { color: #fff; font-size: 1.4rem; }
.hood .h-body .count { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-bright); margin-top: .3rem; display: inline-flex; align-items: center; gap: .4rem; }
.hood .h-body .count .arrow { transition: transform .3s var(--ease); }
.hood:hover .h-body .count .arrow { transform: translateX(5px); }
@media (max-width: 980px){ .hood-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .hood-grid { grid-template-columns: 1fr; } .hood { aspect-ratio: 16/9; } }

/* ============================================================
   INTEGRITY BAND
   ============================================================ */
.integrity { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; background: var(--navy-900); }
.integrity .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; }
.integrity::after { content:""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 10%, rgba(8,22,39,.55) 55%, rgba(8,22,39,.2) 100%); }
.integrity-inner { position: relative; z-index: 2; padding-block: 4rem; max-width: 760px; }
.integrity h2 { color: #fff; font-size: clamp(2.2rem,1.4rem+3.4vw,4.4rem); line-height: 1.06; }
.integrity h2 .accent { color: var(--accent-bright); font-style: italic; }
.integrity p { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 52ch; margin: 1.4rem 0 2rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { padding-block: var(--section-y); background: var(--paper); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; margin-top: 2.8rem; }
.quote { background: var(--mist); border-radius: 3px; padding: 2rem 1.8rem; border-top: 3px solid var(--accent); position: relative; }
.quote .stars { color: var(--accent); letter-spacing: .15em; margin-bottom: .8rem; }
.quote p { font-size: 1rem; color: var(--ink); line-height: 1.6; }
.quote .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: var(--accent-bright); display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; flex: none; }
.quote .who b { display: block; font-size: .95rem; color: var(--navy-900); }
.quote .who span { font-size: .8rem; color: var(--muted); }
@media (max-width: 880px){ .testi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LEAD CTA
   ============================================================ */
.leadcta { padding-block: var(--section-y); background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.leadcta-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.leadcta h2 { color: #fff; font-size: clamp(2rem,1.3rem+3vw,3.4rem); }
.leadcta p { color: rgba(255,255,255,.8); font-size: 1.08rem; }
.leadcta .phone-big { font-family: var(--serif); font-size: clamp(1.8rem,1.2rem+2vw,2.8rem); color: var(--accent-bright); display: inline-flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.lead-form { background: rgba(255,255,255,.05); border: 1px solid var(--line-light); border-radius: 4px; padding: clamp(1.6rem,3vw,2.4rem); }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lead-form .field { margin-bottom: 1rem; }
.lead-form label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bright); display: block; margin-bottom: .4rem; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid var(--line-light); border-radius: 2px;
  color: #fff; padding: .85rem .9rem; font-family: var(--sans); font-size: .95rem;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(255,255,255,.5); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.lead-form select option { color: #1b2433; }
.lead-form .btn { width: 100%; margin-top: .4rem; }
.lead-form .fineprint { font-size: .72rem; color: rgba(255,255,255,.55); margin: .9rem 0 0; line-height: 1.5; }
@media (max-width: 860px){ .leadcta-grid { grid-template-columns: 1fr; } .lead-form .row { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding-top: var(--section-y); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer-grid h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-grid a { display: block; color: rgba(255,255,255,.7); padding: .35rem 0; font-size: .92rem; transition: color .2s, padding .2s; }
.footer-grid a:hover { color: var(--accent-bright); padding-left: 5px; }
.footer-brand img { height: 50px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .92rem; line-height: 1.7; max-width: 34ch; }
.footer-contact .ln { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; font-size: .92rem; }
.footer-contact .ln svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.fairhousing { display: flex; align-items: center; gap: 1.2rem; padding: 1.8rem 0; flex-wrap: wrap; }
.fairhousing .eho { display: flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.6); font-size: .78rem; }
.fairhousing .eho svg { width: 34px; height: 34px; color: rgba(255,255,255,.55); flex: none; }
.footer-legal { font-size: .76rem; color: rgba(255,255,255,.45); line-height: 1.7; padding-bottom: 2.5rem; }
.footer-legal a { color: rgba(255,255,255,.6); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 1.4rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: rgba(255,255,255,.5); }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   EXIT-INTENT LEAD MODAL
   ============================================================ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(8,22,39,.7); backdrop-filter: blur(4px); z-index: 100; display: grid; place-items: center; padding: 1.2rem; opacity: 0; visibility: hidden; transition: .3s; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal { background: var(--paper); border-radius: 4px; max-width: 460px; width: 100%; padding: clamp(1.8rem,4vw,2.8rem); position: relative; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); transform: translateY(16px); transition: transform .35s var(--ease); }
.modal-backdrop.open .modal { transform: translateY(0); }
.modal .mclose { position: absolute; top: 1rem; right: 1.1rem; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); }
.modal .eyebrow { justify-content: center; }
.modal h3 { text-align: center; font-size: 1.9rem; margin-bottom: .5rem; }
.modal p.sub { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.modal .field { margin-bottom: .9rem; }
.modal input { width: 100%; border: 1px solid var(--line); border-radius: 2px; padding: .85rem .9rem; font-family: var(--sans); font-size: .95rem; }
.modal input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.modal .btn { width: 100%; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media .slide.active { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   COMMUNITY — "Real Estate in Your Language" (original differentiator)
   Compass-style clean editorial card grid.
   ============================================================ */
.community { padding-block: var(--section-y); background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.community::before { content:""; position: absolute; inset: 0; background: radial-gradient(circle at 80% -10%, rgba(200,162,75,.14), transparent 45%); }
.community .container { position: relative; }
.community .section-head.center h2, .community .lead { color: #fff; }
.community .section-title { color: #fff; }
.community .lead { color: rgba(255,255,255,.72); }
.comm-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.8rem; }
.comm-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-light); border-radius: 4px;
  transition: all .3s var(--ease);
}
.comm-card:hover { background: rgba(255,255,255,.07); border-color: var(--accent); transform: translateY(-4px); }
.comm-card .flagword { font-family: var(--serif); font-size: 1.7rem; color: var(--accent-bright); line-height: 1; min-width: 2.4ch; }
.comm-card .ct h3 { color: #fff; font-size: 1.12rem; font-family: var(--sans); font-weight: 600; letter-spacing: .01em; }
.comm-card .ct span { font-size: .82rem; color: rgba(255,255,255,.6); display: block; margin-top: .15rem; }
.comm-card .ct .go { color: var(--accent-bright); font-size: .8rem; margin-top: .4rem; display: inline-block; opacity: 0; transform: translateX(-4px); transition: all .25s var(--ease); }
.comm-card:hover .ct .go { opacity: 1; transform: none; }
@media (max-width: 900px){ .comm-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .comm-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONCIERGE / SELL — Compass Concierge-style "sell for more"
   ============================================================ */
.concierge { padding-block: var(--section-y); background: var(--mist); }
.conc-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.conc-visual { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow-card); }
.conc-visual img { width: 100%; height: 100%; object-fit: cover; }
.conc-visual .stat-float { position: absolute; left: 1.4rem; bottom: 1.4rem; background: var(--navy-900); color: #fff; padding: 1.1rem 1.4rem; border-left: 3px solid var(--accent); }
.conc-visual .stat-float b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--accent-bright); line-height: 1; }
.conc-visual .stat-float span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.conc-steps { margin: 1.8rem 0; display: grid; gap: 1.3rem; }
.conc-step { display: flex; gap: 1.1rem; }
.conc-step .n { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-deep); font-family: var(--serif); font-size: 1.25rem; display: grid; place-items: center; }
.conc-step h3 { font-size: 1.18rem; margin-bottom: .25rem; }
.conc-step p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 820px){ .conc-grid { grid-template-columns: 1fr; } .conc-visual { order: 2; max-width: 480px; } }

/* ============================================================
   FAQ (kept from original — SEO + AI answer surface)
   ============================================================ */
.faq { padding-block: var(--section-y); background: var(--paper); }
.faq-list { max-width: 820px; margin: 2.6rem auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.3rem .4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--sans); font-weight: 600; font-size: 1.08rem; color: var(--navy-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { flex: none; width: 26px; height: 26px; border: 1px solid var(--accent); border-radius: 50%; display: grid; place-items: center; color: var(--accent-deep); transition: transform .3s var(--ease); font-size: 1.1rem; line-height: 0; }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item .ans { padding: 0 .4rem 1.4rem; color: var(--muted); font-size: .98rem; line-height: 1.7; max-width: 70ch; }
.faq-item .ans a { color: var(--accent-deep); text-decoration: underline; }

/* ============================================================
   WHATSAPP / FLOATING CONTACT (kept from original)
   ============================================================ */
.float-contact { position: fixed; right: clamp(1rem,3vw,1.8rem); bottom: clamp(1rem,3vw,1.8rem); z-index: 55; display: flex; flex-direction: column; gap: .7rem; }
.float-contact a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0,0,0,.45); transition: transform .25s var(--ease); }
.float-contact a:hover { transform: translateY(-3px) scale(1.05); }
.float-contact .wa { background: #25D366; }
.float-contact .ph { background: var(--accent); }
.float-contact svg { width: 28px; height: 28px; color: #fff; }
.float-contact .ph svg { color: var(--navy-900); }
@media (max-width: 1080px){ .float-contact a { width: 50px; height: 50px; } }
