/* ═══════════════════════════════════════════════════════════
   GROUNDED REALTY — SHARED STYLESHEET
   Albert Aguirre Dominguez · DRE #02004562
═══════════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --gold:        #B8966A;
  --gold-light:  #D4B896;
  --gold-dark:   #8A6E48;
  --gold-glow:   rgba(184, 150, 106, 0.12);
  --dark:        #08090C;
  --dark2:       #0D0F14;
  --dark3:       #141720;
  --dark4:       #1A1D28;
  --white:       #FFFFFF;
  --offwhite:    #F5F2EC;
  --gray:        #6E7480;
  --gray-light:  #A8B0C0;
  --border:      rgba(184, 150, 106, 0.2);
  --border-soft: rgba(184, 150, 106, 0.09);
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Outfit', system-ui, sans-serif;
}

/* ── BASE ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

::selection { background: var(--gold); color: var(--dark); }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── UTILITIES ──────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
}

.section-label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-sans);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.3px;
}

.section-title em { font-style: italic; color: var(--gold-light); }

.section-desc {
  font-size: 15px;
  color: var(--gray-light);
  line-height: 1.8;
  font-weight: 300;
  max-width: 540px;
}

.text-gold  { color: var(--gold); }
.text-gray  { color: var(--gray-light); }
.serif      { font-family: var(--font-serif); }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-40  { margin-top: 40px; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.28s ease;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.btn-dark {
  background: #101318;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-dark:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 8px 28px rgba(184,150,106,0.3);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ── DIVIDER ────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ── REVEAL ANIMATIONS ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 32px 64px;
  transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

#nav.nav-transparent { background: transparent; }

#nav.nav-solid,
#nav.scrolled {
  background: rgba(8, 9, 12, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 40px rgba(0,0,0,0.35);
  padding: 20px 64px;
}

.nav-logo img { height: 70px; width: auto; }

.nav-links-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  list-style: none;
  padding: 0 32px;
}

.nav-links-center a {
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.24s;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}

.nav-links-center a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links-center a:hover,
.nav-links-center a.active {
  color: var(--white);
}

.nav-links-center a:hover::after,
.nav-links-center a.active::after { width: 100%; }

.nav-links-center .nav-gold { color: var(--gold); }
.nav-links-center .nav-gold:hover { color: var(--gold-light); }

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Menu toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer;
  padding: 8px 14px;
  transition: border-color 0.25s;
}
.menu-toggle:hover { border-color: rgba(255,255,255,0.38); }

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

.menu-toggle.open .menu-icon span:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle.open .menu-icon span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

.menu-toggle-label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
  font-family: var(--font-sans);
}

/* Contact nav button */
.btn-nav-contact {
  background: #111318;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 22px;
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  font-family: var(--font-sans);
  white-space: nowrap;
  display: inline-block;
}
.btn-nav-contact:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════
   MENU OVERLAY
═══════════════════════════════════════════════════════════ */
#menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: var(--dark);
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
  overflow: hidden;
}

#menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.menu-overlay-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 64px 64px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: center;
}

.menu-overlay-links { list-style: none; }

.menu-overlay-links li {
  border-bottom: 1px solid var(--border-soft);
}

.menu-overlay-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: color 0.28s, padding-left 0.28s;
}

.menu-overlay-links a:hover {
  color: var(--white);
  padding-left: 10px;
}

.link-num {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.25s;
}
.menu-overlay-links a:hover .link-num { opacity: 1; }

.menu-overlay-aside {
  border-left: 1px solid var(--border-soft);
  padding-left: 60px;
}

.overlay-agent {
  margin-bottom: 36px;
}

.overlay-agent-photo {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.overlay-agent-name {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--white);
  display: block;
  margin-bottom: 3px;
}

.overlay-agent-role {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.overlay-phone {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.25s;
}
.overlay-phone:hover { color: var(--gold); }

.overlay-email {
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.25s;
}
.overlay-email:hover { color: var(--gold); }

.overlay-social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.overlay-social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s;
}
.overlay-social-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
}
.overlay-social-btn svg {
  width: 14px; height: 14px;
  fill: var(--gray-light);
  transition: fill 0.25s;
}
.overlay-social-btn:hover svg { fill: var(--dark); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border-soft);
}

.footer-inner {
  padding: 64px 0 0;
}

/* Section 1: Top branding row */
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-bottom: 56px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.footer-brand-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}

.footer-broker-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-broker-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.footer-broker-text {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

/* Section 2: Main 3-column content row */
.footer-main-row {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  gap: 60px;
  padding-bottom: 52px;
  align-items: start;
}

.footer-tagline {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.72;
  font-weight: 300;
  margin-bottom: 18px;
}

.footer-phone {
  display: block;
  font-size: 14px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.25s;
  margin-bottom: 18px;
}
.footer-phone:hover { color: var(--gold-light); }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s;
}
.footer-social-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
}
.footer-social-btn svg {
  width: 14px; height: 14px;
  stroke: var(--gray-light);
  transition: stroke 0.25s;
}
.footer-social-btn:hover svg { stroke: var(--dark); }

/* Nav columns (middle column) */
.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.footer-col-title {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--gold); }

/* Subscribe column (right column) */
.footer-email-row {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
}

.footer-email-input {
  flex: 1;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-right: none;
  padding: 13px 18px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s;
}
.footer-email-input:focus { border-color: var(--gold); }
.footer-email-input::placeholder { color: rgba(255,255,255,0.25); }

.footer-subscribe-btn {
  background: var(--gold);
  color: var(--dark);
  border: 1px solid var(--gold);
  padding: 13px 22px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.footer-subscribe-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.footer-tcpa {
  font-size: 10.5px;
  color: rgba(255,255,255,0.28);
  line-height: 1.72;
  font-weight: 300;
}
.footer-tcpa a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.footer-tcpa a:hover { color: var(--gold-light); }

/* ── Footer subscribe consent checkbox ───────────────────── */
.footer-tcpa-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 6px;
}
.footer-tcpa-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(184,150,106,0.4);
  border-radius: 3px;
  background: transparent;
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.footer-tcpa-check input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.footer-tcpa-check input[type="checkbox"]:focus {
  outline: 1px solid var(--gold);
  outline-offset: 1px;
}
.footer-tcpa-check span {
  font-size: 10.5px;
  color: rgba(255,255,255,0.28);
  line-height: 1.72;
  font-weight: 300;
}

/* Sections 3 & 5: Thin divider rules */
.footer-rule {
  height: 1px;
  background: var(--border-soft);
}

/* Section 4: Address bar */
.footer-address-bar {
  padding: 18px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Sections 6 & 7: MLS disclaimer blocks */
.footer-mls-section {
  padding: 28px 0 4px;
}

.footer-mls-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
}

.footer-mls-disclaimer {
  font-size: 10px;
  color: rgba(255,255,255,0.22);
  line-height: 1.72;
  font-weight: 300;
  padding-bottom: 20px;
}

/* Section 8: Bottom copyright bar */
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.footer-copy,
.footer-legal {
  font-size: 11px;
  color: rgba(255,255,255,0.27);
  font-weight: 300;
  letter-spacing: 0.3px;
}

.footer-legal-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-privacy-link {
  font-size: 11px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.25s;
}
.footer-privacy-link:hover { color: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════
   HERO — FULLSCREEN (Homepage)
═══════════════════════════════════════════════════════════ */
.hero-full {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,9,12,0.38) 0%,
    rgba(8,9,12,0.28) 45%,
    rgba(8,9,12,0.72) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding: 0 40px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(46px, 6.8vw, 92px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -1.5px;
  margin-bottom: 44px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.25);
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   HERO — PAGE (Interior pages)
═══════════════════════════════════════════════════════════ */
.page-hero {
  padding: 188px 0 96px;
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(184,150,106,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.2vw, 70px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.5px;
  max-width: 680px;
  margin-bottom: 22px;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }

.page-hero-desc {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.78;
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 36px;
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--dark3);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 38px 44px;
  text-align: center;
  border-right: 1px solid var(--border-soft);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 7px;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   SECTION SPACING
═══════════════════════════════════════════════════════════ */
.section-lg  { padding: 116px 0; }
.section-md  { padding: 88px 0; }
.section-sm  { padding: 66px 0; }

/* ═══════════════════════════════════════════════════════════
   GRID LAYOUTS
═══════════════════════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col-40-60 {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: center;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════ */
.card {
  background: var(--dark3);
  border: 1px solid var(--border-soft);
  padding: 42px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.32s, transform 0.32s, box-shadow 0.32s;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  border-color: var(--border);
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.3);
}
.card:hover::before { opacity: 1; }

.card-num {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 300;
  color: rgba(184,150,106,0.12);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.card-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  margin-bottom: 22px;
}
.card-icon svg {
  width: 20px; height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.card-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 26px;
}

.card-link {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.24s;
}
.card-link:hover { gap: 14px; }

/* ═══════════════════════════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════════════════════════ */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-soft);
}

.process-step {
  padding: 44px 32px;
  border-right: 1px solid var(--border-soft);
  transition: background 0.28s;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--dark3); }

.step-num-lg {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 300;
  color: rgba(184,150,106,0.14);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.72;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIAL CARDS
═══════════════════════════════════════════════════════════ */
.testimonial {
  background: var(--dark3);
  border: 1px solid var(--border-soft);
  padding: 40px;
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}
.testimonial.featured {
  background: linear-gradient(145deg, var(--dark3) 0%, rgba(184,150,106,0.05) 100%);
  border-color: var(--border);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 22px;
}
.stars svg { width: 13px; height: 13px; fill: var(--gold); }

.t-quote {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  color: var(--offwhite);
  line-height: 1.65;
  margin-bottom: 26px;
}

.t-divider {
  height: 1px;
  background: var(--border-soft);
  margin-bottom: 20px;
}

.t-name { font-size: 13px; font-weight: 600; color: var(--white); display: block; }
.t-location { font-size: 11px; color: var(--gold); letter-spacing: 1px; display: block; margin-top: 3px; }
.t-result { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); display: block; margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════
   FEATURE LIST
═══════════════════════════════════════════════════════════ */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 26px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.5;
}

.f-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT / AGENT PHOTO
═══════════════════════════════════════════════════════════ */
.photo-frame {
  position: relative;
  display: inline-block;
}

.photo-frame::before {
  content: '';
  position: absolute;
  top: -18px; left: -18px;
  right: 18px; bottom: 18px;
  border: 1px solid var(--border);
  z-index: 0;
}

.photo-frame img {
  width: 100%;
  max-width: 460px;
  height: 580px;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 1;
  box-shadow: 0 28px 70px rgba(0,0,0,0.5);
}

.photo-badge {
  position: absolute;
  bottom: 30px;
  right: -24px;
  z-index: 5;
  background: var(--dark3);
  border: 1px solid var(--border);
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.photo-badge-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.photo-badge-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-top: 5px;
}

/* ═══════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════ */
.form-wrap {
  background: var(--dark3);
  border: 1px solid var(--border-soft);
  padding: 50px 46px;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
}

.form-sub {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 34px;
  font-weight: 300;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 7px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark2);
  border: 1px solid var(--border-soft);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,106,0.08);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark2); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 11px;
  color: var(--gray);
  margin-top: 12px;
  font-weight: 300;
  text-align: center;
}

/* ── SMS opt-in checkbox (shared across all forms) ───────── */
.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.form-checkbox-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid rgba(184,150,106,0.35);
  background: var(--dark2);
  cursor: pointer;
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.form-checkbox-group input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.form-checkbox-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid var(--dark);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.form-checkbox-group input[type="checkbox"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.form-checkbox-label {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300;
  cursor: pointer;
}

/* ── Policy links below consent checkbox ─────────────────── */
.form-legal-links {
  margin: -4px 0 18px;
  font-size: 11px;
  color: var(--gray);
  font-weight: 300;
  text-align: center;
}
.form-legal-links a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.form-legal-links a:hover { color: var(--white); }
.form-legal-links span { margin: 0 6px; color: var(--gray); }

/* ═══════════════════════════════════════════════════════════
   LISTING CARD
═══════════════════════════════════════════════════════════ */
.listing-card {
  background: var(--dark3);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.listing-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.listing-photo {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--dark4);
}

.listing-photo-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.listing-card:hover .listing-photo-inner { transform: scale(1.04); }

.listing-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--dark);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}

.listing-price-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.listing-info { padding: 28px 32px; }

.listing-address {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 3px;
  display: block;
}

.listing-city {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}

.listing-specs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.listing-spec-item {
  text-align: center;
}

.listing-spec-val {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--white);
  display: block;
  line-height: 1;
}

.listing-spec-lbl {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-top: 3px;
}

.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.listing-tag {
  background: var(--dark4);
  border: 1px solid var(--border-soft);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  color: var(--gray-light);
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════ */
.cta-section {
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(184,150,106,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.cta-title em { font-style: italic; color: var(--gold-light); }

.cta-desc {
  font-size: 15px;
  color: var(--gray-light);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 38px;
  line-height: 1.75;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════════════ */
.faq-list { border-top: 1px solid var(--border-soft); }

.faq-item { border-bottom: 1px solid var(--border-soft); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-size: 15px;
  color: var(--white);
  font-weight: 400;
  transition: color 0.25s;
  list-style: none;
  user-select: none;
  gap: 20px;
}
.faq-q:hover { color: var(--gold); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
}
.faq-icon {
  position: relative;
}

.faq-plus {
  font-size: 20px;
  color: var(--gold);
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s;
  display: block;
  width: 20px;
  text-align: center;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

.faq-a p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.78;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT DETAILS
═══════════════════════════════════════════════════════════ */
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--gold-glow);
}
.contact-icon svg {
  width: 16px; height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-lbl {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 3px;
}
.contact-val {
  font-size: 15px;
  color: var(--white);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.25s;
}
a.contact-val:hover { color: var(--gold); }

/* Social row */
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--gold-glow);
  transition: all 0.25s;
}
.social-link:hover {
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-2px);
}
.social-link svg {
  width: 14px; height: 14px;
  fill: var(--gold-light);
  transition: fill 0.25s;
}
.social-link:hover svg { fill: var(--dark); }

/* ═══════════════════════════════════════════════════════════
   CHATBOT
═══════════════════════════════════════════════════════════ */
/* CHATBOT DISABLED START
#chatbot-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 800;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(184,150,106,0.4);
  transition: all 0.28s;
}
#chatbot-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 40px rgba(184,150,106,0.55);
}
#chatbot-btn svg { width: 22px; height: 22px; fill: var(--dark); }

.chat-dot {
  position: absolute;
  top: 2px; right: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #4CAF50;
  border: 2px solid var(--dark);
}

#chatbot-popup {
  position: fixed;
  bottom: 96px; right: 28px;
  z-index: 799;
  width: 320px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: 460px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
#chatbot-popup.open {
  display: flex;
  animation: chatIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes chatIn {
  from { opacity: 0; transform: scale(0.84) translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.chat-header {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--dark);
  font-weight: 600;
}
.chat-hdr-info { flex: 1; }
.chat-hdr-name { font-size: 13px; font-weight: 600; color: var(--dark); display: block; }
.chat-hdr-status { font-size: 11px; color: rgba(0,0,0,0.5); display: flex; align-items: center; gap: 5px; }
.chat-online { width: 6px; height: 6px; border-radius: 50%; background: #2E7D32; }

.chat-x {
  background: none; border: none; cursor: pointer;
  color: rgba(0,0,0,0.5); font-size: 16px; padding: 2px;
  transition: color 0.2s; line-height: 1;
}
.chat-x:hover { color: var(--dark); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.msg { }
.msg.bot { align-self: flex-start; max-width: 86%; }
.msg.user { align-self: flex-end; max-width: 86%; }

.msg-bubble {
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 300;
}
.msg.bot .msg-bubble {
  background: var(--dark4);
  color: var(--offwhite);
  border-bottom-left-radius: 3px;
}
.msg.user .msg-bubble {
  background: var(--gold);
  color: var(--dark);
  font-weight: 500;
  border-bottom-right-radius: 3px;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
}
.q-btn {
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  padding: 5px 11px;
  font-size: 11px;
  color: var(--gold);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
}
.q-btn:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border-soft);
}
.chat-input {
  flex: 1;
  background: var(--dark2);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  padding: 8px 14px;
  color: var(--white);
  font-size: 12px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.25s;
}
.chat-input:focus { border-color: var(--gold); }
.chat-input::placeholder { color: var(--gray); }

.chat-send {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.chat-send:hover { background: var(--gold-light); }
.chat-send svg { width: 14px; height: 14px; fill: var(--dark); }
CHATBOT DISABLED END */

/* ═══════════════════════════════════════════════════════════
   HIGHLIGHT / ACCENT BAND
═══════════════════════════════════════════════════════════ */
.accent-band {
  background: var(--dark3);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .container { padding: 0 44px; }
  #nav, #nav.scrolled { padding: 28px 44px; }
  #nav.nav-solid { padding: 28px 44px; }
  #nav.scrolled { padding: 18px 44px; }
  .menu-overlay-inner { padding: 120px 44px 60px; gap: 60px; }
  .footer-main-row { grid-template-columns: 200px 1fr 260px; gap: 44px; }
}

@media (max-width: 1024px) {
  .container { padding: 0 36px; }
  #nav, #nav.scrolled, #nav.nav-solid { padding: 24px 36px; }
  .nav-links-center { gap: 24px; }
  .two-col { gap: 56px; }
  .two-col-40-60 { grid-template-columns: 1fr; gap: 50px; }
  .photo-frame img { max-width: 100%; height: 460px; }
  .photo-badge { right: 0; }
  .footer-main-row { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-col-subscribe { grid-column: 1 / -1; max-width: 520px; }
  .menu-overlay-aside { display: none; }
  .menu-overlay-inner { grid-template-columns: 1fr; padding: 120px 36px 60px; }
}

@media (max-width: 900px) {
  .nav-links-center { display: none; }
  .nav-logo img { height: 54px; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .four-col { grid-template-columns: 1fr 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3),
  .process-step:nth-child(4) { border-top: 1px solid var(--border-soft); }
  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .stats-bar-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border-soft); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border-soft); border-right: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }

  /* Flex layout: logo far left, hamburger far right */
  #nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
  }

  /* Transparent pages stay fully transparent at top of page */
  #nav.nav-transparent {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
  }

  /* Solid background for interior pages and scrolled state */
  #nav.nav-solid,
  #nav.scrolled {
    background: rgba(8, 9, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 2px 30px rgba(0,0,0,0.35);
    padding: 20px 24px;
  }

  /* Right group spacing */
  .nav-right-group { gap: 10px; }

  /* Prevent iOS Safari auto-zoom on input focus */
  input, textarea, select { font-size: 16px !important; }

  /* Icon-only menu toggle on mobile */
  .menu-toggle-label { display: none; }
  .menu-toggle { padding: 9px 11px; }
  .section-lg { padding: 80px 0; }
  .section-md { padding: 66px 0; }
  .section-sm { padding: 50px 0; }
  .three-col, .four-col { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; border: none; gap: 0; }
  .process-step { border-right: none !important; border-top: none !important; border-bottom: 1px solid var(--border-soft); }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 32px 24px; }
  .footer-brand-row { gap: 20px; }
  .footer-main-row { grid-template-columns: 1fr; gap: 36px; }
  .footer-col-subscribe { max-width: 100%; }
  .footer-nav-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-email-row { flex-direction: column; }
  .footer-email-input { border-right: 1px solid var(--border); border-bottom: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal-group { flex-direction: column; align-items: center; gap: 8px; }
  .btn-nav-contact { display: none; }
  .page-hero { padding: 148px 0 72px; }
  .photo-frame img { height: 400px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 300px; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 300px; justify-content: center; }
  .menu-overlay-inner { padding: 100px 24px 50px; }
  .menu-overlay-links a { font-size: clamp(24px, 6.5vw, 42px); }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .stat-num { font-size: 38px; }
  .stat-item { padding: 26px 20px; }
  .hero-headline { letter-spacing: -0.5px; }
  /* CHATBOT DISABLED: #chatbot-popup { right: 16px; left: 16px; width: auto; } */
}

/* ═══════════════════════════════════════════════════════════
   PASSWORD GATE
═══════════════════════════════════════════════════════════ */
.site-unlocked #password-gate { display: none; }

#password-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gate-inner {
  text-align: center;
  max-width: 440px;
  width: 100%;
}

.gate-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 44px;
}

.gate-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.gate-heading {
  font-family: var(--font-serif);
  font-size: clamp(38px, 7vw, 58px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.gate-desc {
  font-size: 15px;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 40px;
}

.gate-field {
  display: flex;
  border: 1px solid var(--border);
  transition: border-color 0.25s;
}

.gate-field:focus-within { border-color: var(--gold); }

#gate-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  outline: none;
  min-width: 0;
}

#gate-input::placeholder { color: rgba(255,255,255,0.28); }

#gate-submit {
  background: var(--gold);
  border: none;
  padding: 14px 26px;
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}

#gate-submit:hover { background: var(--gold-light); }

.gate-error {
  margin-top: 12px;
  font-size: 13px;
  color: #e07070;
  font-weight: 300;
  min-height: 18px;
  text-align: left;
}
