/* ==========================================================================
   THE NEW BUILD LIFESTYLE — Design System
   Brand: #C1975A (gold) / #0F122D (navy)
   ========================================================================== */

:root {
  /* Brand */
  --gold: #C1975A;
  --gold-light: #D4B07B;
  --gold-dark: #A07E48;
  --navy: #0F122D;
  --navy-light: #1A1F3E;
  --navy-soft: #2A2F4E;

  /* Neutrals */
  --white: #FFFFFF;
  --cream: #F8F5EF;
  --cream-dark: #EFEADD;
  --border: #E7E2D5;
  --gray-900: #1F1F24;
  --gray-700: #4A4A52;
  --gray-500: #7A7A82;
  --gray-300: #BFBFC4;
  --gray-100: #F2F1EE;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-italic: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --max-width: 1440px;
  --gutter: clamp(1.25rem, 3.5vw, 3rem);
  --radius: 4px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 18, 45, 0.06), 0 1px 2px rgba(15, 18, 45, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 18, 45, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 18, 45, 0.12);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
h4 { font-size: 1.125rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

/* Italic gold accents inside h1/h2 — keep Cormorant italic */
h1 .accent, h2 .accent, h3 .accent,
h1 em, h2 em, h3 em,
.hero-tag-accent {
  font-family: var(--font-italic) !important;
  font-style: italic;
  font-weight: 500;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}

.lead {
  font-size: 1.125rem;
  color: var(--gray-700);
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section--compact { padding: clamp(3.4rem, 6.8vw, 5.95rem) 0; }
.section--compact .section-header { margin-bottom: 2.5rem; }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--cream { background: var(--cream); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-header .lead { margin: 1rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-ghost { color: var(--navy); padding: 0.5rem 0; }
.btn-ghost:hover { color: var(--gold); }
.btn-lg { padding: 1.15rem 2.25rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.35s ease;
  will-change: transform;
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  /* Symmetric padding gives the logo breathing room top + bottom */
  padding: 0.45rem 0 0.45rem;
}
.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-decoration: none;
}
.site-logo img { height: 100px; width: auto; }
.nav-primary { display: flex; align-items: center; gap: 2rem; }
.nav-primary a, .nav-dropdown__trigger {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
  position: relative;
}
.nav-primary a:hover { color: var(--gold); }
.nav-primary a.active { color: var(--gold); }
.nav-primary a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.menu-toggle { display: none; }

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    justify-content: center;
    align-items: center;
  }
  .menu-toggle span {
    width: 22px; height: 1.5px; background: var(--navy);
    transition: all 0.3s var(--ease);
  }
  .nav-primary {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 4rem var(--gutter);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    gap: 1.5rem;
    z-index: 50;
  }
  .nav-primary.is-open { transform: translateX(0); }
  .nav-primary a { font-size: 1.25rem; }
  .nav-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 10vh, 8rem) 0 clamp(3rem, 6vh, 5rem);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1613977257365-aaae5a9817ff?auto=format&fit=crop&w=2400&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15,18,45,0.78) 0%, rgba(15,18,45,0.45) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero h1.hero-tagline {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.35rem, 6vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero-tag-accent { color: var(--gold); font-style: italic; }
.hero-rule {
  width: clamp(56px, 7vw, 88px);
  height: 3px;
  background: var(--gold);
  margin: 1.4rem 0 0;
  border-radius: 2px;
}
.hero .lead {
  color: rgba(255,255,255,0.9);
  margin-top: 1.25rem;
  max-width: 56ch;
  font-size: 1.15rem;
}
.hero .eyebrow { color: var(--gold); }

/* Hero search bar */
.hero-search {
  margin-top: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 0;
  max-width: 900px;
  overflow: hidden;
}
.hero-search .field {
  padding: 0.9rem 1.1rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-search .field:last-of-type { border-right: none; }
.hero-search label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.hero-search input, .hero-search select {
  border: none;
  background: transparent;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 0;
  outline: none;
  width: 100%;
}
.hero-search .btn { border-radius: var(--radius); margin: 0.25rem; }
@media (max-width: 768px) {
  .hero-search {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .hero-search .field { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-search .btn { width: 100%; margin: 0.5rem 0 0; }
}

/* Compact hero (interior pages) */
.hero-compact {
  min-height: 320px;
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 3rem;
}
.hero-compact::before, .hero-compact::after { display: none; }
.hero-compact h1 {
  color: var(--white);
  max-width: none;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin-top: 0.35rem;
}
.hero-compact h1::after {
  content: '';
  display: block;
  width: clamp(64px, 7vw, 92px);
  height: 3px;
  background: var(--gold);
  margin-top: 1.25rem;
  border-radius: 2px;
}
.hero-compact .lead {
  color: rgba(255,255,255,0.92);
  margin-top: 1.2rem;
  font-size: 1.18rem;
  max-width: 60ch;
  line-height: 1.7;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

/* Property card */
.property-card { display: block; }
.property-card .image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}
.property-card .image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.property-card:hover .image img { transform: scale(1.06); }
.property-card .badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 500;
}
.property-card .badge--gold { background: var(--gold); }
.property-card .fav {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s var(--ease);
}
.property-card .fav:hover { background: var(--gold); color: var(--white); }
.property-card .fav.is-active { background: var(--gold); color: var(--white); }
.property-card .body { padding: 1.25rem 1.5rem 1.5rem; }
.property-card .price {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy);
  font-weight: 500;
}
.property-card .price-from {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-sans);
  font-weight: 500;
  display: block;
  margin-bottom: 0.15rem;
}
.property-card h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0 0.3rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--navy);
}
.property-card .location {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}
.property-card .meta {
  display: flex;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--gray-700);
}
.property-card .meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.property-card .developer {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

/* Service card */
.service-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card .icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.75rem;
}
.service-card h3 { font-family: var(--font-sans); font-size: 1.3rem; font-weight: 600; }
.service-card p { color: var(--gray-700); flex-grow: 1; }
.service-card .link {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Guide card */
.guide-card .image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}
.guide-card .image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.guide-card:hover .image img { transform: scale(1.05); }
.guide-card .body { padding: 1.5rem; }
.guide-card .category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.guide-card h3 { font-family: var(--font-sans); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.75rem; line-height: 1.3; }
.guide-card p { font-size: 0.925rem; color: var(--gray-700); }
.guide-card .read-time { font-size: 0.8rem; color: var(--gray-500); margin-top: 1rem; }

/* ---------- New Builds Listing Page ---------- */
.listings-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}
@media (max-width: 1024px) {
  .listings-layout { grid-template-columns: 1fr; }
}

/* Filters */
.filters {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.filters h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.filter-group {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.filter-group:last-child { border-bottom: none; }
.filter-group:first-of-type { padding-top: 0; }
.filter-group .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-700);
  display: block;
  margin-bottom: 0.75rem;
}
.input,
.select,
.textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.925rem;
  background: var(--white);
  transition: border-color 0.2s var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193, 151, 90, 0.15);
}
.range-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.checkbox-group { display: flex; flex-direction: column; gap: 0.5rem; }
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-900);
  cursor: pointer;
  padding: 0.25rem 0;
}
.checkbox-group input[type="checkbox"] {
  appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.checkbox-group input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-group input[type="checkbox"]:checked::after {
  content: '✓';
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}
.bedroom-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.bedroom-pills label {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s var(--ease);
}
.bedroom-pills input { display: none; }
.bedroom-pills input:checked + span { background: var(--navy); color: var(--white); }
.bedroom-pills label:hover { border-color: var(--gold); }
.bedroom-pills span {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 3px;
  transition: all 0.2s var(--ease);
}

/* Results bar */
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.results-count { color: var(--gray-700); font-size: 0.95rem; }
.results-count strong { color: var(--navy); font-weight: 600; }

/* Listing grid */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

/* No results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  color: var(--gray-700);
}

/* Mobile filter toggle */
.filter-toggle-mobile {
  display: none;
  margin-bottom: 1rem;
}
@media (max-width: 1024px) {
  .filter-toggle-mobile { display: inline-flex; }
  .filters { display: none; position: static; max-height: none; }
  .filters.is-open { display: block; margin-bottom: 2rem; }
}

/* ---------- Property Detail ---------- */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.5rem;
  aspect-ratio: 16 / 8;
  margin-top: -4rem;
  margin-bottom: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.property-gallery > div {
  overflow: hidden;
  background: var(--cream);
}
.property-gallery img { width: 100%; height: 100%; object-fit: cover; }
.property-gallery .gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 0.5rem; }
@media (max-width: 768px) {
  .property-gallery { grid-template-columns: 1fr; aspect-ratio: 16/10; margin-top: 0; }
  .property-gallery .gallery-side { display: none; }
}

.property-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
}
@media (max-width: 1024px) { .property-layout { grid-template-columns: 1fr; } }

.property-title h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.property-title .location { color: var(--gray-700); font-size: 1.1rem; margin-bottom: 1.5rem; }
.property-title .price {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 2rem;
}
.property-meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.property-meta-row > div { text-align: center; }
.property-meta-row .label { font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; }
.property-meta-row .value { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); margin-top: 0.3rem; }

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  margin-top: 1.5rem;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  color: var(--gray-700);
}
.features-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* Contact sidebar card */
.contact-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 100px;
  border: 1px solid var(--border);
}
.contact-card h3 { font-family: var(--font-sans); font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.contact-card .form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

/* ---------- Calculators ---------- */
.calc-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  overflow-x: auto;
}
.calc-tab {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.calc-tab:hover { color: var(--navy); }
.calc-tab.is-active { color: var(--navy); border-bottom-color: var(--gold); }

.calc-panel { display: none; }
.calc-panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .calc-panel.is-active { grid-template-columns: 1fr; } }

.calc-form { display: flex; flex-direction: column; gap: 1.25rem; }
.calc-form .form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.input-group .prefix {
  position: absolute;
  left: 0.9rem;
  color: var(--gray-500);
  font-size: 0.95rem;
  pointer-events: none;
}
.input-group .suffix {
  position: absolute;
  right: 0.9rem;
  color: var(--gray-500);
  font-size: 0.95rem;
  pointer-events: none;
}
.input-group input { padding-left: 2.25rem; padding-right: 3rem; }
.input-group input.no-prefix { padding-left: 0.9rem; }
.input-group input.no-suffix { padding-right: 0.9rem; }

.calc-result {
  background: var(--navy);
  color: var(--cream);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}
.calc-result .result-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.calc-result .result-value {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1;
}
.calc-result .result-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.result-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.result-breakdown > div .label { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; }
.result-breakdown > div .value { font-size: 1.15rem; color: var(--white); margin-top: 0.25rem; font-weight: 500; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field.full { grid-column: 1 / -1; }
.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: #E8F5EC;
  color: #1B5E2B;
  border: 1px solid #C3E6CB;
  display: none;
  margin-top: 1rem;
}
.form-message.is-visible { display: block; }
.section--navy .form-message {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

/* ---------- Why Choose Us / Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3.5rem 0;
  text-align: center;
}
@media (max-width: 768px) { .stats-row { grid-template-columns: 1fr 1fr; } }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
}
.stat-label {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { text-align: center; }
.footer-brand img { height: 100px; width: auto; margin: 0 auto 0.9rem; display: block; }
@media (max-width: 640px) {
  .footer-brand img { height: 68px; }
}
.footer-brand p { max-width: 36ch; font-size: 0.925rem; line-height: 1.7; margin-left: auto; margin-right: auto; }
.footer-brand .social-row { justify-content: center; }
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.site-footer ul li { margin-bottom: 0.7rem; }
.site-footer a { color: rgba(255,255,255,0.75); font-size: 0.925rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.5);
}
.social-row { display: flex; gap: 0.7rem; margin-top: 1.25rem; flex-wrap: wrap; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.social-row a svg { width: 17px; height: 17px; display: block; fill: currentColor; }
.social-row a:hover { transform: translateY(-2px); }
.social-row a.social--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
}
.social-row a.social--linkedin { background: #0A66C2; border-color: #0A66C2; }
.social-row a.social--facebook { background: #1877F2; border-color: #1877F2; }
.social-row a.social--tiktok { background: #010101; border-color: rgba(255,255,255,0.25); }
.social-row a.social--youtube { background: #FF0000; border-color: #FF0000; }
.social-row a.social--instagram:hover { box-shadow: 0 6px 18px rgba(220,39,67,0.35); }
.social-row a.social--linkedin:hover { box-shadow: 0 6px 18px rgba(10,102,194,0.4); }
.social-row a.social--facebook:hover { box-shadow: 0 6px 18px rgba(24,119,242,0.4); }
.social-row a.social--tiktok:hover { box-shadow: 0 0 0 1px #25F4EE inset, 0 6px 18px rgba(0,0,0,0.4); }
.social-row a.social--youtube:hover { box-shadow: 0 6px 18px rgba(255,0,0,0.4); }

/* ---------- Misc ---------- */
.divider-gold { width: 48px; height: 2px; background: var(--gold); margin: 1.25rem 0; }
.accent-line { color: var(--gold); }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: var(--cream);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.pill--gold { background: rgba(193, 151, 90, 0.12); color: var(--gold-dark); }

/* Icon container */
.feature-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}


/* === Logo (vertically centered in the white header) === */
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  /* Logo balanced vertically — pulls slightly more from top, less from bottom — sits naturally in the centre */
  margin-top: -0.55cm;
  margin-bottom: -0.45cm;
  /* Nudge the logo slightly to the right for visual balance */
  margin-left: 1.2cm;
}
.site-logo img { height: 100px; width: auto; display: block; }
@media (max-width: 640px) {
  .site-logo img { height: 68px; }
  .site-logo { margin-left: 0.4cm; }
}

/* ============================================================
   Listing card extras — EPC chip + incentive pills
   ============================================================ */
.property-card .epc-chip {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(255,255,255,0.92);
  color: var(--navy, #0F122D);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.incentive-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold, #C1975A);
  background: rgba(193,151,90,0.10);
  border: 1px solid rgba(193,151,90,0.32);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  letter-spacing: 0.01em;
}

/* "Sample" listing tag — sits top-right of the card image */
.property-card .sample-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(15,18,45,0.86);
  color: rgba(255,255,255,0.92);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.30rem 0.55rem;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

/* Feed banner — strip atop listings page explaining showcase status */
.feed-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(193,151,90,0.06) 0%, rgba(15,18,45,0.04) 100%);
  border: 1px solid rgba(193,151,90,0.30);
  border-radius: var(--radius-lg, 12px);
  font-family: var(--font-sans);
}
.feed-banner__icon {
  color: var(--gold, #C1975A);
  font-size: 0.8rem;
  line-height: 1.6;
  animation: feed-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.feed-banner__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.88rem;
  color: var(--gray-700, #444);
  line-height: 1.55;
}
.feed-banner__body strong {
  color: var(--navy, #0F122D);
  font-weight: 600;
}
@keyframes feed-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.4); }
}
@media (max-width: 640px) {
  .feed-banner { flex-direction: column; gap: 0.5rem; padding: 0.9rem 1rem; }
  .property-card .sample-tag { font-size: 0.6rem; padding: 0.24rem 0.45rem; }
}

/* ============================================================
   Header — small "Sign In" link stacked above gold "Get in Touch"
   ============================================================ */
.btn.btn-sm {
  font-size: 0.83rem;
  padding: 0.55rem 1rem;
  letter-spacing: 0.02em;
}

/* Stack the two right-side CTAs: small Sign In text link on top,
   gold "Get in Touch" button below — both flush right. */
.nav-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

/* Small uppercase Sign In link — utility-nav style, like a typical
   account link in the top right. Stays on the brand palette. */
/* Account links row: "Create Account | Sign In" */
.nav-account-links {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.nav-link-sep {
  color: rgba(15, 18, 45, 0.28);
  font-size: 0.78rem;
  font-weight: 300;
  user-select: none;
  line-height: 1;
}
.nav-signin-top {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding: 0.1rem 0.15rem;
  line-height: 1;
  transition: color 0.18s ease;
}
.nav-signin-top:hover,
.nav-signin-top:focus-visible {
  color: var(--gold);
}

@media (max-width: 980px) {
  /* Hide both header CTAs on smaller screens — they remain reachable
     from the mobile menu and the footer. */
  .nav-cta-stack { display: none; }
}

/* ============================================================
   Auth pages — sign-in & register layout
   ============================================================ */
.auth-shell {
  min-height: calc(100vh - 220px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream, #F8F4ED);
}
.auth-shell__hero {
  /* Solid brand navy from the logo — matches every other dark section
     across the site so the sign-in/register page reads as one family.
     Left padding is computed so text inside this panel begins at the
     same x-coord as ".container" content on every other page (i.e.
     respects --max-width and --gutter). */
  background: var(--navy);
  color: rgba(255,255,255,0.92);
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-right: 3rem;
  padding-left: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-shell__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(193,151,90,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.auth-shell__hero h2 {
  font-family: var(--font-serif, 'Cormorant Garamond');
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  position: relative;
  /* Force white — heading would otherwise inherit the global navy
     color and disappear into the navy hero background. */
  color: var(--white, #ffffff);
}
.auth-shell__hero p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 36ch;
  color: rgba(255,255,255,0.78);
  position: relative;
}
.auth-shell__hero ul {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  position: relative;
}
.auth-shell__hero ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.85rem;
}
.auth-shell__hero ul li::before {
  content: '✦';
  color: var(--gold, #C1975A);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.auth-shell__form {
  /* Mirror of the hero: right padding lines up with the right edge of
     ".container" on every other page so the form is aligned with the
     rest of the site. */
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 3rem;
  padding-right: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-shell__form h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--navy);
}
.auth-shell__form .lead {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gray-700, #555);
  margin: 0 0 2rem;
}
.auth-form { max-width: 420px; }
.auth-form .form-field { margin-bottom: 1.1rem; }
.auth-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.auth-form .checkbox-line {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--gray-700);
  margin: 0.5rem 0 1.25rem;
  line-height: 1.5;
}
.auth-form .checkbox-line input {
  appearance: auto;
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.auth-form .auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  margin-top: 0.75rem;
  color: var(--gray-700);
}
.auth-form .auth-actions a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}
.auth-form .auth-actions a:hover { text-decoration: underline; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.75rem 0;
  color: var(--gray-500);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.10);
}
.auth-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.auth-social .btn {
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.auth-foot {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-top: 1.75rem;
  text-align: center;
}
.auth-foot a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
}
.auth-foot a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-shell__hero { padding: 2.5rem 1.5rem; min-height: auto; }
  .auth-shell__form { padding: 2.5rem 1.5rem; }
  .auth-shell__hero ul { display: none; }
}

/* ============================================================
   Customer portal — account dashboard, save hearts, match pills,
   inquiries feed, and toast notifications.
   ============================================================ */

/* Match-your-profile pill — small gold tag on listing cards */
.match-pill {
  display: inline-block;
  background: rgba(193,151,90,0.14);
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin: 0.4rem 0 0.25rem;
}

/* Listing card heart — make sure it sits visibly on the image
   and reflects saved state with a filled gold heart. */
.property-card .fav {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15,18,45,0.12);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
  z-index: 2;
}
.property-card .fav:hover { transform: scale(1.08); }
.property-card .fav.is-active {
  color: var(--gold);
  background: #ffffff;
}

/* Property detail save button — wider button next to the title */
.property-title { position: relative; }
.pd-save {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  background: #ffffff;
  border: 1px solid var(--navy);
  color: var(--navy);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.pd-save:hover { background: var(--navy); color: #ffffff; }
.pd-save.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}
.pd-save.is-active:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.pd-save__icon { font-size: 1.1rem; line-height: 1; }

/* Toast — bottom-centre notification used for save/sign-in feedback */
.tpl-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15,18,45,0.25);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 1100;
  pointer-events: none;
}
.tpl-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.tpl-toast--success { background: #1e6b3d; }
.tpl-toast--info    { background: var(--navy); }

/* Form message states — used by the dispatch form handler */
.form-message {
  margin-top: 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.5;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.22s ease;
  color: var(--gray-700, #555);
}
.form-message.is-visible { opacity: 1; }
.form-message.is-success { color: #1e6b3d; }
.form-message.is-error   { color: #b3261e; }

/* ----- Account dashboard ----- */
.account-shell {
  background: var(--cream, #F8F4ED);
  min-height: calc(100vh - 220px);
  padding-bottom: 5rem;
}
.account-hero {
  background: var(--navy);
  color: #ffffff;
  padding: 3rem 0 2.5rem;
  margin-bottom: 2.5rem;
}
.account-hero .eyebrow {
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 600;
}
.account-hero h1 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  margin: 0.5rem 0 0.4rem;
}
.account-hero .lead {
  color: rgba(255,255,255,0.78);
  font-size: 0.98rem;
  margin: 0 0 1.25rem;
}
#acct-signout { color: #ffffff; border-color: rgba(255,255,255,0.45); }
#acct-signout:hover { background: #ffffff; color: var(--navy); }

.account-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.75rem;
}
.account-card {
  background: #ffffff;
  border-radius: var(--radius-lg, 14px);
  padding: 1.75rem;
  box-shadow: 0 2px 18px rgba(15,18,45,0.04);
}
.account-card--wide { grid-column: 1 / -1; }
.account-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.account-card-head h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
  color: var(--navy);
}
.account-count {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--gray-500, #888);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.account-card-sub {
  font-size: 0.92rem;
  color: var(--gray-700, #555);
  margin: 0 0 1.25rem;
}
.account-empty {
  padding: 2rem;
  text-align: center;
  background: var(--cream, #F8F4ED);
  border-radius: var(--radius, 10px);
  color: var(--gray-700, #555);
}
.account-empty p { margin: 0 0 1rem; }

/* Inquiries feed */
.inq-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.inq-item {
  padding: 1rem 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.inq-item:first-child { border-top: none; padding-top: 0.5rem; }
.inq-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.inq-type {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.inq-status {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(193,151,90,0.16);
  color: var(--gold-dark);
}
.inq-status--new { background: rgba(31,78,216,0.1); color: #1F4ED8; }
.inq-status--in-progress { background: rgba(193,151,90,0.18); color: var(--gold-dark); }
.inq-status--complete { background: rgba(30,107,61,0.14); color: #1e6b3d; }
.inq-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.inq-title a { color: var(--navy); }
.inq-title a:hover { color: var(--gold); }
.inq-meta {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--gray-500, #888);
}

@media (max-width: 880px) {
  .account-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   Stage 3 — Service Inquiry Flows
   ========================================================== */
.svc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.svc-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 18px rgba(15,18,45,0.04);
}
.svc-form-card h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.svc-form-card .field-group-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 1.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.svc-form-card .field-group-title:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.svc-form-card .checkbox-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}
.svc-form-card .checkbox-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--navy);
  transition: all 0.18s ease;
}
.svc-form-card .checkbox-tile:hover { border-color: var(--gold); }
.svc-form-card .checkbox-tile input { position: absolute; opacity: 0; pointer-events: none; }
.svc-form-card .checkbox-tile small {
  font-size: 0.72rem;
  color: var(--gray-500, #888);
  font-weight: 400;
}
.svc-form-card .checkbox-tile.is-checked,
.svc-form-card .checkbox-tile:has(input:checked) {
  border-color: var(--gold);
  background: rgba(193,151,90,0.07);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.quote-preview {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: sticky;
  top: 110px;
  box-shadow: 0 14px 38px rgba(15,18,45,0.18);
}
.quote-preview__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.6rem;
}
.quote-preview h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}
.quote-preview__rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
}
.quote-preview__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
}
.quote-preview__row strong {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.quote-preview__row--total {
  margin-top: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.quote-preview__row--total span { color: rgba(255,255,255,0.95); }
.quote-preview__row--total strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
}
.quote-preview__hint {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin: 1.4rem 0 0;
  line-height: 1.55;
}
.quote-preview__placeholder {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  padding: 1.4rem 0;
}
.quote-preview__lines {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.quote-preview__lines li {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.quote-preview__lines li span:last-child { color: rgba(255,255,255,0.95); font-weight: 500; }

.svc-form-card .form-grid > .form-field.full,
.svc-form-card .form-field.full { grid-column: 1 / -1; }

@media (max-width: 980px) {
  .svc-shell { grid-template-columns: 1fr; }
  .quote-preview { position: static; }
}

/* ==========================================================
   Stage 4 — Admin console
   ========================================================== */
.admin-shell {
  background: #f7f7f3;
  min-height: 60vh;
  padding-bottom: 4rem;
}
.admin-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0 2.4rem;
  margin-bottom: 2rem;
}
.admin-hero .eyebrow { color: var(--gold); }
.admin-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--white);
  margin: 0.4rem 0 0.6rem;
}
.admin-hero .lead { color: rgba(255,255,255,0.8); margin: 0; }
.admin-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.admin-hero__user {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.admin-hero__user strong { color: var(--white); margin-right: 0.4rem; }

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin-kpi {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 2px 10px rgba(15,18,45,0.04);
}
.admin-kpi__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}
.admin-kpi__value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.05;
}
.admin-kpi__sub {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--gray-700);
  margin-top: 0.35rem;
}

.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 10px rgba(15,18,45,0.04);
}
.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.admin-card-head h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 0;
}
.admin-card-head .filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.32rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-pill:hover { border-color: var(--gold); color: var(--navy); }
.filter-pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}
.admin-table thead th {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray-500, #888);
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table tbody td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--gray-700);
  vertical-align: top;
}
.admin-table tbody tr:hover td { background: rgba(193,151,90,0.05); }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table .name-cell { font-weight: 600; color: var(--navy); }
.admin-table .meta-cell { font-size: 0.78rem; color: var(--gray-500, #888); }
.admin-table .nowrap { white-space: nowrap; }

.admin-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: 100px;
  background: rgba(15,18,45,0.06);
  color: var(--navy);
}
.admin-tag--viewing { background: rgba(15,18,45,0.08); color: var(--navy); }
.admin-tag--mortgage { background: rgba(40,90,180,0.12); color: #1c4a96; }
.admin-tag--legal { background: rgba(120,40,140,0.12); color: #6f2080; }
.admin-tag--insurance { background: rgba(30,107,61,0.14); color: #1e6b3d; }

.admin-status-select {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.28rem 0.7rem;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.admin-status-select.is-new { background: rgba(15,18,45,0.06); }
.admin-status-select.is-progress { background: rgba(193,151,90,0.15); color: var(--gold-dark); border-color: rgba(193,151,90,0.45); }
.admin-status-select.is-complete { background: rgba(30,107,61,0.14); color: #1e6b3d; border-color: rgba(30,107,61,0.32); }

.admin-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  font-family: var(--font-sans);
  color: var(--gray-500, #888);
  font-size: 0.95rem;
}
.admin-msg-cell {
  max-width: 420px;
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.admin-msg-cell summary {
  cursor: pointer;
  list-style: none;
  color: var(--navy);
  font-weight: 500;
}
.admin-msg-cell summary::-webkit-details-marker { display: none; }
.admin-msg-cell[open] summary { color: var(--gold-dark); }
.admin-msg-cell .body {
  margin-top: 0.5rem;
  white-space: pre-wrap;
  font-size: 0.8rem;
  color: var(--gray-700);
  background: var(--cream, #f7f4ec);
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
}

.admin-bar {
  height: 6px;
  border-radius: 100px;
  background: rgba(15,18,45,0.06);
  overflow: hidden;
  margin-top: 0.4rem;
}
.admin-bar__fill { height: 100%; background: var(--gold); transition: width 0.3s ease; }

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.admin-mix-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--gray-700);
}
.admin-mix-row:last-child { border-bottom: 0; }
.admin-mix-row strong { color: var(--navy); font-weight: 600; }

.admin-login-box {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 18px rgba(15,18,45,0.05);
}
.admin-login-box h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.admin-login-box .demo-creds {
  background: var(--cream, #f7f4ec);
  border: 1px dashed rgba(193,151,90,0.45);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin: 1rem 0 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--gray-700);
}
.admin-login-box .demo-creds code {
  background: rgba(15,18,45,0.06);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 0.78rem;
  color: var(--navy);
}

@media (max-width: 720px) {
  .admin-table thead { display: none; }
  .admin-table tbody td { display: block; padding: 0.4rem 0; border-bottom: 0; }
  .admin-table tbody tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--border); }
}

/* ==========================================================
   Stage 5 — Trust layer (testimonials, press strip, FAQ)
   ========================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: all 0.2s ease;
}
.testimonial-card:hover {
  border-color: rgba(193,151,90,0.4);
  box-shadow: 0 12px 36px rgba(15,18,45,0.08);
  transform: translateY(-2px);
}
.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.08em;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.45;
  margin: 0;
}
.testimonial-quote::before {
  content: '“';
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 0.4;
  display: inline-block;
  margin-right: 0.15rem;
  vertical-align: -0.1em;
}
.testimonial-attrib {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.testimonial-role {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--gray-500, #888);
  margin-top: 0.1rem;
}

.press-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.4rem;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}
.press-strip__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray-500, #888);
}
.press-strip__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  opacity: 0.55;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}
.press-strip__name:hover { opacity: 1; }

/* FAQ accordion */
.faq-shell {
  max-width: 820px;
  margin: 2.5rem auto 0;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.18s ease;
}
.faq-item[open] { border-color: rgba(193,151,90,0.55); box-shadow: 0 6px 18px rgba(15,18,45,0.04); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body {
  padding: 0 1.4rem 1.3rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gray-700);
}
.faq-item .faq-body p:first-child { margin-top: 0; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* Listing card monthly cost pill */
.listing-monthly {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-top: 0.4rem;
  padding: 0.3rem 0.6rem;
  background: rgba(193,151,90,0.08);
  border-radius: 100px;
  border: 1px solid rgba(193,151,90,0.22);
}
.listing-monthly strong { color: var(--navy); font-weight: 600; }

/* Similar homes rail */
.similar-homes {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.similar-homes h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 1.5rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 18px 50px rgba(15,18,45,0.35);
  z-index: 1000;
  transform: translateY(140%);
  transition: transform 0.4s ease;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  flex-wrap: wrap;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { margin: 0; flex: 1 1 280px; line-height: 1.5; color: rgba(255,255,255,0.85); }
.cookie-banner p a { color: var(--gold); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner .btn { font-size: 0.82rem; padding: 0.5rem 1rem; }
.cookie-banner .btn-link {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  padding: 0.5rem 0.7rem;
}
.cookie-banner .btn-link:hover { color: var(--white); }

/* 404 page */
.error-shell {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  text-align: center;
}
.error-shell h1 {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  margin: 0;
}
.error-shell h1 span { color: var(--gold); }
.error-shell p { max-width: 480px; margin: 1rem auto 2rem; font-size: 1.05rem; color: var(--gray-700); }

/* ==========================================================
   Stage 6 — AI Concierge widget
   ========================================================== */
.con-launcher {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--navy);
  color: var(--white);
  border: 0;
  border-radius: 100px;
  padding: 0.7rem 1.2rem 0.7rem 0.7rem;
  box-shadow: 0 14px 40px rgba(15,18,45,0.32);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.con-launcher:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(15,18,45,0.42); }
.con-launcher__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}
.con-launcher__label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.con-launcher__label small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.con-launcher__pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(193,151,90,0.6);
  animation: conPulse 2s infinite;
}
@keyframes conPulse {
  0% { box-shadow: 0 0 0 0 rgba(193,151,90,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(193,151,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(193,151,90,0); }
}

.con-panel {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 951;
  width: min(390px, calc(100vw - 2rem));
  max-height: min(640px, calc(100vh - 3rem));
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(15,18,45,0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-sans);
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.22s ease;
}
.con-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.con-panel__header {
  background: var(--navy);
  color: var(--white);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}
.con-panel__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  flex-shrink: 0;
  position: relative;
}
.con-panel__avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2dd06e;
  border: 2px solid var(--navy);
}
.con-panel__title { flex: 1; line-height: 1.2; }
.con-panel__title strong {
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
  color: var(--white);
}
.con-panel__title small {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.1rem;
  display: block;
}
.con-panel__close {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.15s ease;
  flex-shrink: 0;
}
.con-panel__close:hover { background: rgba(255,255,255,0.18); }

.con-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.1rem 0.5rem;
  background: linear-gradient(to bottom, #fafaf6 0%, #ffffff 60%);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  scroll-behavior: smooth;
}
.con-panel__body::-webkit-scrollbar { width: 6px; }
.con-panel__body::-webkit-scrollbar-thumb { background: rgba(15,18,45,0.18); border-radius: 100px; }

.con-msg {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
  animation: conIn 0.22s ease both;
}
@keyframes conIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.con-msg--bot {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.con-msg--user {
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.con-msg a { color: var(--gold-dark); text-decoration: underline; }
.con-msg--user a { color: rgba(255,255,255,0.95); }

/* Property card mini (concierge) */
.con-listing {
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  margin-top: 0.4rem;
  text-decoration: none;
  color: var(--navy);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.con-listing:hover { border-color: var(--gold); transform: translateY(-1px); }
.con-listing__title { font-weight: 600; font-size: 0.88rem; padding: 0.6rem 0.75rem 0.2rem; }
.con-listing__meta {
  font-size: 0.78rem;
  color: var(--gray-700);
  padding: 0 0.75rem 0.6rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.con-listing__price { color: var(--gold-dark); font-weight: 600; }

.con-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem 0.85rem;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background: #fafaf6;
}
.con-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.42rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-sans);
}
.con-chip:hover { border-color: var(--gold); color: var(--gold-dark); }

/* Inline chip row inside fallback messages */
.con-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0 0.4rem;
}
.con-chip--inline {
  background: rgba(193,151,90,0.08);
  border: 1px solid rgba(193,151,90,0.35);
  border-radius: 100px;
  padding: 0.32rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-sans);
}
.con-chip--inline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.con-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem 0.85rem;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.con-input input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.6rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.15s ease;
}
.con-input input:focus { border-color: var(--gold); }
.con-input button {
  background: var(--navy);
  color: var(--white);
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.1s ease;
}
.con-input button:hover { background: var(--navy-light, #1a1f4a); }
.con-input button:active { transform: scale(0.95); }

.con-typing {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.con-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-500, #888);
  animation: conTyping 1.2s infinite;
}
.con-typing span:nth-child(2) { animation-delay: 0.15s; }
.con-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes conTyping {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

@media (max-width: 480px) {
  .con-launcher { bottom: 1rem; right: 1rem; padding: 0.6rem 1rem 0.6rem 0.6rem; }
  .con-launcher__label small { font-size: 0.6rem; }
  .con-panel { bottom: 0; right: 0; left: 0; width: 100%; border-radius: 16px 16px 0 0; max-height: 85vh; }
}

/* ==========================================================
   Stage 7 — Property comparison
   ========================================================== */
.property-card .cmp {
  position: absolute;
  top: 1rem;
  right: 3.6rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(15,18,45,0.08);
  color: var(--navy);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  z-index: 2;
}
.property-card .cmp:hover { background: var(--white); transform: scale(1.05); }
.property-card .cmp.is-active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* Floating compare bar */
.compare-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  z-index: 940;
  background: var(--navy);
  color: var(--white);
  border-radius: 100px;
  padding: 0.6rem 0.6rem 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 18px 48px rgba(15,18,45,0.32);
  font-family: var(--font-sans);
  transition: transform 0.32s ease;
  max-width: calc(100vw - 3rem);
  flex-wrap: nowrap;
}
.compare-bar.is-visible { transform: translateX(-50%) translateY(0); }
.compare-bar__label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.compare-bar__count {
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  margin-left: 0.4rem;
}
.compare-bar__thumbs {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}
.compare-bar__thumb {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.compare-bar__thumb:hover { transform: scale(1.08); border-color: var(--gold); }
.compare-bar__thumb-x {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1.5px solid var(--navy);
}
.compare-bar__cta {
  background: var(--gold);
  color: var(--white);
  border: 0;
  border-radius: 100px;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.compare-bar__cta:hover { background: var(--gold-dark); }
.compare-bar__cta:disabled { background: rgba(255,255,255,0.25); color: rgba(255,255,255,0.5); cursor: not-allowed; }
.compare-bar__clear {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  padding: 0.4rem 0.6rem;
  white-space: nowrap;
}
.compare-bar__clear:hover { color: var(--white); }

/* Compare page */
.compare-shell { padding: 2.5rem 0 4rem; min-height: 60vh; }
.compare-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
}
.compare-table-wrap { overflow-x: auto; padding-bottom: 1rem; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 720px;
}
.compare-table th,
.compare-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--gray-700);
}
.compare-table th {
  width: 170px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray-500, #888);
  background: var(--cream, #f7f4ec);
  border-right: 1px solid var(--border);
  position: sticky;
  left: 0;
  z-index: 1;
}
.compare-table td { background: var(--white); }
.compare-card-cell {
  position: relative;
}
.compare-card-cell img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 0.85rem;
}
.compare-card-cell .compare-remove {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(15,18,45,0.85);
  color: var(--white);
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
}
.compare-card-cell .compare-remove:hover { background: var(--navy); }
.compare-card-cell h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.3rem;
  line-height: 1.25;
}
.compare-card-cell .compare-loc {
  font-size: 0.82rem;
  color: var(--gray-500, #888);
  margin-bottom: 0.5rem;
}
.compare-card-cell .compare-price {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}
.compare-card-cell .compare-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.compare-table .row-best {
  color: var(--gold-dark);
  font-weight: 600;
}
.compare-table .row-best::after {
  content: ' ★';
  color: var(--gold);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .compare-bar { left: 1rem; right: 1rem; transform: translateY(140%); padding: 0.55rem 0.6rem 0.55rem 1rem; }
  .compare-bar.is-visible { transform: translateY(0); }
  .compare-bar__label { font-size: 0.78rem; }
  .compare-bar__cta { padding: 0.5rem 0.9rem; font-size: 0.78rem; }
}

/* ==========================================================
   Stage 8 — Property brochure (PDF / print)
   ========================================================== */
/* "Download brochure" button on the property detail title block */
.pd-brochure {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-left: 0.5rem;
}
.pd-brochure:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-1px);
}
.pd-brochure__icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* Brochure page layout (screen view) */
.brochure-screen-toolbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  flex-wrap: wrap;
}
.brochure-screen-toolbar__hint { color: rgba(255,255,255,0.78); }
.brochure-screen-toolbar .btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
}

.brochure {
  max-width: 800px;
  margin: 2rem auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15,18,45,0.08);
  font-family: var(--font-sans);
  color: var(--navy);
}
.brochure__cover {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: var(--cream);
}
.brochure__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brochure__cover-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(15,18,45,0.92) 0%, rgba(15,18,45,0.0) 100%);
  padding: 3rem 2rem 1.5rem;
  color: var(--white);
}
.brochure__developer {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.brochure__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.15;
  color: var(--white);
}
.brochure__location {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 0.4rem;
}

/* Two-up thumbnail strip directly beneath the hero */
.brochure__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--white);
}
.brochure__thumbs a {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.brochure__thumbs img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.brochure__thumbs a:hover img { transform: scale(1.04); }

.brochure__body { padding: 2rem; }

.brochure__price-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--cream, #f7f4ec);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.75rem;
}
.brochure__price-strip > div { text-align: center; }
.brochure__price-strip strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}
.brochure__price-strip span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: 0.35rem;
}

.brochure h2 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 1.6rem 0 0.7rem;
}
.brochure p { font-size: 0.95rem; line-height: 1.65; color: var(--gray-700); margin: 0 0 0.8rem; }

.brochure__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1.5rem;
}
.brochure__features li {
  font-size: 0.92rem;
  color: var(--navy);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.brochure__features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.brochure__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  margin: 0.5rem 0 0;
}
.brochure__spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding: 0.45rem 0;
  font-size: 0.88rem;
}
.brochure__spec-row span:first-child { color: var(--gray-500, #888); }
.brochure__spec-row span:last-child { color: var(--navy); font-weight: 500; text-align: right; }

.brochure__contact {
  background: var(--navy);
  color: var(--white);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.brochure__contact h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 0.25rem;
}
.brochure__contact p { color: rgba(255,255,255,0.78); font-size: 0.85rem; margin: 0; }
.brochure__contact-cta {
  background: var(--gold);
  color: var(--white);
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.brochure__footer {
  border-top: 1px solid var(--border);
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--gray-500, #888);
  flex-wrap: wrap;
  gap: 0.6rem;
}
.brochure__footer img { height: 26px; opacity: 0.85; }

/* Print rules — A4 portrait */
@media print {
  @page { size: A4; margin: 12mm; }
  body { background: var(--white); }
  .site-header, .site-footer, .brochure-screen-toolbar,
  .con-launcher, .con-panel, .compare-bar, .cookie-banner { display: none !important; }
  .brochure {
    margin: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
  }
  .brochure__cover { height: 240px; }
  .brochure__thumbs img { height: 130px; }
  .brochure__title { font-size: 1.7rem; }
  .brochure__price-strip strong { font-size: 1.2rem; }
  a { color: inherit; text-decoration: none; }
  .brochure__contact-cta { color: var(--white) !important; }
}

@media (max-width: 640px) {
  .brochure__price-strip { grid-template-columns: repeat(2, 1fr); }
  .brochure__features, .brochure__specs { grid-template-columns: 1fr; }
  .brochure__cover { height: 240px; }
  .brochure__thumbs img { height: 150px; }
  .pd-brochure span:not(.pd-brochure__icon) { display: none; }
}

/* ==========================================================
   Stage 9 — Quarterly UK Market Insights
   ========================================================== */
.insights-hero {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.insights-hero::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: -10%;
  width: 50%;
  background: radial-gradient(circle, rgba(193,151,90,0.18) 0%, rgba(193,151,90,0) 60%);
  pointer-events: none;
}
.insights-hero .eyebrow { color: var(--gold); }
.insights-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 500;
  color: var(--white);
  margin: 0.6rem 0 0.5rem;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}
.insights-hero .lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0;
  position: relative;
  z-index: 1;
}
.insights-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  position: relative;
  z-index: 1;
}
.insights-meta strong { color: var(--gold); font-weight: 600; }
.insights-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.insights-actions .btn { font-size: 0.85rem; padding: 0.6rem 1.3rem; }

/* Executive summary */
.insights-summary {
  border-left: 3px solid var(--gold);
  padding-left: 1.4rem;
  margin: 3rem 0 2rem;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
}

/* KPI strip */
.insights-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 3rem;
}
.insights-kpi {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 4px 12px rgba(15,18,45,0.04);
}
.insights-kpi__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}
.insights-kpi__value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.05;
}
.insights-kpi__delta {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.insights-kpi__delta--up { color: #1e6b3d; }
.insights-kpi__delta--down { color: #993556; }
.insights-kpi__delta--flat { color: var(--gray-500, #888); }

/* Chart sections */
.insights-section {
  margin: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.insights-section--reverse { grid-template-columns: 1.4fr 1fr; }
.insights-section--reverse .insights-section__chart { order: -1; }
.insights-section--full { grid-template-columns: 1fr; }
.insights-section__copy h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}
.insights-section__copy .eyebrow { color: var(--gold-dark); }
.insights-section__copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin: 1rem 0;
}
.insights-section__chart {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 4px 14px rgba(15,18,45,0.04);
}
.insights-section__chart h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.3rem;
}
.insights-section__chart .chart-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--gray-500, #888);
  margin: 0 0 1.5rem;
}
.insights-section__chart svg { width: 100%; height: auto; display: block; }

/* Chart base styles */
.chart-bar { fill: var(--navy); transition: fill 0.18s ease; }
.chart-bar:hover { fill: var(--gold); }
.chart-bar--accent { fill: var(--gold); }
.chart-bar-label {
  font-family: var(--font-sans);
  font-size: 11px;
  fill: var(--navy);
  font-weight: 600;
}
.chart-axis-label {
  font-family: var(--font-sans);
  font-size: 11px;
  fill: var(--gray-500, #888);
}
.chart-axis-line { stroke: var(--border); stroke-width: 1; }
.chart-grid-line { stroke: rgba(15,18,45,0.06); stroke-width: 1; stroke-dasharray: 2 4; }
.chart-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-area {
  fill: var(--gold);
  opacity: 0.12;
}
.chart-dot {
  fill: var(--white);
  stroke: var(--gold);
  stroke-width: 2;
}
.chart-annotation {
  font-family: var(--font-sans);
  font-size: 10px;
  fill: var(--gray-500, #888);
  font-style: italic;
}

/* Stamp duty bar */
.sdlt-stack {
  display: flex;
  width: 100%;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-sans);
  border: 1px solid var(--border);
}
.sdlt-stack__seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem;
  text-align: center;
  min-width: 0;
}
.sdlt-stack__seg small { display: block; font-size: 0.65rem; opacity: 0.85; font-weight: 500; }
.sdlt-bands {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}
.sdlt-bands__row { display: contents; }
.sdlt-bands__row span:first-child { color: var(--gray-700); }
.sdlt-bands__row span:last-child { color: var(--navy); font-weight: 600; text-align: right; }

/* Newsletter / subscribe block */
.insights-subscribe {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.insights-subscribe::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle, rgba(193,151,90,0.15) 0%, rgba(193,151,90,0) 60%);
  pointer-events: none;
}
.insights-subscribe h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 0.6rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.insights-subscribe .eyebrow { color: var(--gold); position: relative; z-index: 1; }
.insights-subscribe p {
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}
.insights-subscribe form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}
.insights-subscribe .input-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.insights-subscribe input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.insights-subscribe input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }
.insights-subscribe input[type="email"]:focus { border-color: var(--gold); background: rgba(255,255,255,0.14); }
.insights-subscribe button {
  background: var(--gold);
  color: var(--white);
  border: 0;
  border-radius: 100px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.insights-subscribe button:hover { background: var(--gold-dark); }
.insights-subscribe small {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1;
}
.insights-subscribe .form-message { color: var(--gold); font-size: 0.85rem; }
.insights-subscribe .form-message.is-success { color: #6ee0a6; }

/* Methodology footer */
.insights-methodology {
  background: var(--cream, #f7f4ec);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 3rem;
}
.insights-methodology strong { color: var(--navy); }

/* Print rules */
@media print {
  .insights-hero { background: none; color: var(--navy); padding: 0 0 1.5rem; }
  .insights-hero h1, .insights-hero .lead, .insights-hero .insights-meta { color: var(--navy) !important; }
  .insights-actions, .insights-subscribe, .con-launcher, .con-panel,
  .compare-bar, .cookie-banner, .site-header, .site-footer { display: none !important; }
  .insights-section, .insights-section--reverse { grid-template-columns: 1fr; gap: 1rem; page-break-inside: avoid; }
  .insights-section__chart { box-shadow: none; border: 1px solid var(--border); page-break-inside: avoid; }
}

@media (max-width: 880px) {
  .insights-section, .insights-section--reverse { grid-template-columns: 1fr; gap: 1.5rem; }
  .insights-section--reverse .insights-section__chart { order: 0; }
  .insights-subscribe { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
}

/* ==========================================================
   Stage 10 — Buy Assist Wizard
   ========================================================== */
.ba-wizard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 6px 22px rgba(15,18,45,0.05);
  max-width: 760px;
  margin: 0 auto;
}
.ba-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.ba-progress__step {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  transition: background 0.3s ease;
}
.ba-progress__step.is-done { background: var(--gold); }
.ba-progress__step.is-current { background: var(--navy); }

.ba-step-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ba-step-header h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}
.ba-step-counter {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
}
.ba-step-sub {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.ba-step { display: none; }
.ba-step.is-active { display: block; animation: baFade 0.32s ease; }
@keyframes baFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.ba-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ba-row--3 { grid-template-columns: repeat(3, 1fr); }
.ba-row--full { grid-template-columns: 1fr; }
@media (max-width: 600px) {
  .ba-row, .ba-row--3 { grid-template-columns: 1fr; }
}

/* Choice tiles */
.ba-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.ba-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.18s ease;
  text-align: left;
}
.ba-tile small {
  font-size: 0.78rem;
  color: var(--gray-500, #888);
  font-weight: 400;
}
.ba-tile:hover { border-color: var(--gold); }
.ba-tile input { position: absolute; opacity: 0; pointer-events: none; }
.ba-tile.is-checked,
.ba-tile:has(input:checked) {
  border-color: var(--gold);
  background: rgba(193,151,90,0.07);
}

/* Range slider styled inline */
.ba-slider {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.4rem 0.4rem 0.6rem;
}
.ba-slider__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-sans);
}
.ba-slider__top label { font-size: 0.85rem; color: var(--gray-700); font-weight: 500; }
.ba-slider__top output {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
}
.ba-slider input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  outline: none;
  margin: 0.2rem 0;
}
.ba-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(15,18,45,0.18);
}
.ba-slider input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(15,18,45,0.18);
}

.ba-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 0.75rem;
}
.ba-nav .btn { min-width: 110px; }

/* Plan output */
.ba-plan-shell {
  display: none;
}
.ba-plan-shell.is-active { display: block; animation: baFade 0.4s ease; }

.ba-plan-hero {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}
.ba-plan-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle, rgba(193,151,90,0.18) 0%, rgba(193,151,90,0) 60%);
  pointer-events: none;
}
.ba-plan-hero .eyebrow { color: var(--gold); position: relative; z-index: 1; }
.ba-plan-hero h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--white);
  margin: 0.4rem 0 0.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.15;
}
.ba-plan-hero p {
  color: rgba(255,255,255,0.82);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.ba-plan-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: -1.5rem 0 2.5rem;
  position: relative;
  z-index: 2;
}
.ba-plan-summary > div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 14px rgba(15,18,45,0.06);
}
.ba-plan-summary span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}
.ba-plan-summary strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.05;
}

.ba-plan-section { margin-bottom: 2.5rem; }
.ba-plan-section h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  margin: 0 0 1rem;
}
.ba-plan-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.ba-plan-service {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.ba-plan-service strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.ba-plan-service p {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.55;
  margin: 0;
}
.ba-plan-service .label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
  display: block;
}

.ba-plan-cta {
  background: var(--cream, #f7f4ec);
  border: 1px solid rgba(193,151,90,0.28);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.ba-plan-cta h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.3rem;
}
.ba-plan-cta p { font-size: 0.92rem; color: var(--gray-700); margin: 0; }
.ba-plan-cta .btn { white-space: nowrap; }

@media print {
  .ba-wizard, .ba-progress, .ba-nav { display: none !important; }
  .ba-plan-cta { display: none !important; }
}

/* ==========================================================
   Stage 17 — Pay-first checkout flow
   "Choose how to start" decision card + Stripe-style payment modal
   ========================================================== */

/* Decision shell (sits between wizard and plan reveal) */
.ba-decision {
  display: none;
  max-width: 980px;
  margin: 0 auto;
  animation: baFade 0.36s ease;
}
.ba-decision.is-active { display: block; }
.ba-decision__header { text-align: center; margin-bottom: 2.5rem; }
.ba-decision__eyebrow {
  display: inline-block;
  background: rgba(193,151,90,0.16);
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.ba-decision__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.95rem, 3.6vw, 2.8rem);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.6rem;
  line-height: 1.15;
}
.ba-decision__header p {
  font-size: 1.08rem;
  color: var(--gray-700);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.ba-decision__cards {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}
@media (max-width: 800px) { .ba-decision__cards { grid-template-columns: 1fr; } }

.ba-decision__card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.2rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}
.ba-decision__card--primary {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--white) 0%, rgba(193,151,90,0.04) 100%);
  box-shadow: 0 14px 40px rgba(193,151,90,0.14);
}
.ba-decision__card--primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.ba-decision__card:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(15,18,45,0.12); }

.ba-decision__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(193,151,90,0.16);
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.ba-decision__card--secondary .ba-decision__tag {
  background: rgba(15,18,45,0.06);
  color: var(--gray-700);
}
.ba-decision__card h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.ba-decision__card .price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1;
  margin: 0.6rem 0 1rem;
}
.ba-decision__card--secondary .price {
  font-size: 1.3rem;
  color: var(--gray-500, #888);
  font-weight: 500;
}
.ba-decision__card p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0 0 1.2rem;
}
.ba-decision__timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ba-decision__timeline li {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--navy);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.55;
}
.ba-decision__timeline li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.ba-decision__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 100px;
  padding: 1rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: all 0.18s ease;
}
.ba-decision__cta--primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(193,151,90,0.28);
}
.ba-decision__cta--primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(193,151,90,0.4);
}
.ba-decision__cta--secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}
.ba-decision__cta--secondary:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}
.ba-decision__sub {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--gray-500, #888);
  margin-top: 0.85rem;
  text-align: center;
}

.ba-decision__safety {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  background: var(--cream, #f7f4ec);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.6;
  text-align: center;
  border: 1px dashed rgba(193,151,90,0.35);
}
.ba-decision__safety strong { color: var(--navy); }

/* Saved-confirmation toast (when wizard step 5 submits) */
.ba-saved-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(30,107,61,0.1);
  color: #1e6b3d;
  border: 1px solid rgba(30,107,61,0.32);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  animation: baFade 0.4s ease;
}
.ba-saved-banner::before { content: '✓'; font-weight: 700; }

/* Stripe-style payment modal */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,18,45,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.checkout-overlay.is-open { opacity: 1; pointer-events: auto; }

.checkout-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(15,18,45,0.4);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.32s ease;
  font-family: var(--font-sans);
}
.checkout-overlay.is-open .checkout-modal { transform: translateY(0) scale(1); }

.checkout-header {
  background: var(--navy);
  color: var(--white);
  padding: 1.4rem 1.6rem 1.2rem;
  position: relative;
}
.checkout-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
}
.checkout-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.checkout-header__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.checkout-header__brand img { height: 22px; opacity: 0.9; }
.checkout-header__lock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.checkout-header__close {
  background: rgba(255,255,255,0.1);
  border: 0;
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.checkout-header__close:hover { background: rgba(255,255,255,0.18); }

.checkout-summary {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}
.checkout-summary strong { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--gold); line-height: 1; }
.checkout-summary span { color: rgba(255,255,255,0.75); }

.checkout-body { padding: 1.4rem 1.6rem 1.6rem; }
.checkout-body label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0.85rem 0 0.4rem;
  letter-spacing: 0.02em;
}
.checkout-body input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-text-security: none;
  letter-spacing: 0.02em;
}
.checkout-body input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193,151,90,0.15);
}
.checkout-body input.is-invalid { border-color: #c4322b; box-shadow: 0 0 0 3px rgba(196,50,43,0.12); }

.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.checkout-card-icons {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.checkout-card-icons span {
  display: inline-block;
  width: 32px;
  height: 20px;
  background: var(--cream, #f7f4ec);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--gray-500, #888);
  line-height: 18px;
  text-align: center;
  letter-spacing: 0.04em;
}

.checkout-button {
  display: block;
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: 0;
  border-radius: 100px;
  padding: 1rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.2rem;
  transition: all 0.18s ease;
  position: relative;
}
.checkout-button:hover { background: var(--gold-dark); }
.checkout-button:disabled {
  background: rgba(15,18,45,0.4);
  cursor: not-allowed;
}
.checkout-button.is-processing {
  background: var(--navy);
  cursor: wait;
}
.checkout-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: checkoutSpin 0.7s linear infinite;
  margin-right: 0.5rem;
  vertical-align: -2px;
}
@keyframes checkoutSpin { to { transform: rotate(360deg); } }

.checkout-footnote {
  margin-top: 1rem;
  font-size: 0.74rem;
  color: var(--gray-500, #888);
  line-height: 1.55;
  text-align: center;
}
.checkout-footnote a { color: var(--gold-dark); }
.checkout-error {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: #c4322b;
  font-weight: 500;
}

/* Success state */
.checkout-success {
  padding: 2.6rem 2rem 2rem;
  text-align: center;
}
.checkout-success__check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.2rem;
  box-shadow: 0 10px 30px rgba(193,151,90,0.3);
  animation: checkoutPop 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes checkoutPop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.checkout-success h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.checkout-success p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0 0 1.4rem;
}
.checkout-success ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.checkout-success ul li {
  font-size: 0.9rem;
  color: var(--navy);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.55;
}
.checkout-success ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Talk-first confirmation */
.ba-callbooked {
  display: none;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 14px 40px rgba(15,18,45,0.08);
  animation: baFade 0.4s ease;
}
.ba-callbooked.is-active { display: block; }
.ba-callbooked__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(193,151,90,0.14);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem;
}
.ba-callbooked h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.ba-callbooked p { color: var(--gray-700); font-size: 1rem; line-height: 1.65; margin: 0 0 1.4rem; }

/* Admin: stage pills for Buy Assist inquiries */
.stage-pill {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.stage-pill--lead { background: rgba(15,18,45,0.08); color: var(--navy); }
.stage-pill--pending { background: rgba(193,151,90,0.16); color: var(--gold-dark); }
.stage-pill--call { background: rgba(40,90,180,0.14); color: #1c4a96; }
.stage-pill--paid { background: rgba(30,107,61,0.14); color: #1e6b3d; }
.stage-pill--refunded { background: rgba(120,40,140,0.14); color: #6f2080; }
.stage-pill--abandoned { background: rgba(196,50,43,0.12); color: #993556; }

/* ==========================================================
   Stage 12 — After Keys (post-completion lifelong support)
   ========================================================== */
.ak-hero {
  background: var(--navy);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.ak-hero::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: -8%;
  width: 50%;
  background: radial-gradient(circle, rgba(193,151,90,0.18) 0%, rgba(193,151,90,0) 60%);
  pointer-events: none;
}
.ak-hero .eyebrow { color: var(--gold); }
.ak-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.4vw, 3.6rem);
  font-weight: 500;
  color: var(--white);
  margin: 0.5rem 0 0.6rem;
  line-height: 1.08;
  position: relative;
  z-index: 1;
}
.ak-hero .lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.18rem;
  max-width: 720px;
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.6;
}
.ak-hero__included {
  display: inline-block;
  background: rgba(193,151,90,0.18);
  border: 1px solid rgba(193,151,90,0.45);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}

/* Stage strip */
.ak-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 3rem 0 0;
  position: relative;
  z-index: 1;
}
.ak-stage-tab {
  text-align: left;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.78);
  font-family: var(--font-sans);
  text-decoration: none;
  transition: all 0.15s ease;
}
.ak-stage-tab:hover {
  background: rgba(193,151,90,0.12);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}
.ak-stage-tab small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.ak-stage-tab strong { font-size: 0.95rem; color: var(--white); font-weight: 500; line-height: 1.3; display: block; }
@media (max-width: 880px) { .ak-stages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ak-stages { grid-template-columns: 1fr; } }

/* "Why this exists" 3-stat strip */
.ak-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
}
.ak-stat {
  background: var(--cream, #f7f4ec);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
}
.ak-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.05;
}
.ak-stat span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* Stage block */
.ak-stage {
  position: relative;
  margin: 4rem 0 0;
  padding-left: 0;
}
.ak-stage__head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.4rem;
  align-items: start;
  margin-bottom: 2rem;
}
.ak-stage__num {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1rem 0.8rem;
  text-align: center;
  font-family: var(--font-serif);
}
.ak-stage__num strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  color: var(--gold);
}
.ak-stage__num span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 0.4rem;
  font-weight: 600;
}
.ak-stage__title h2 {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.4rem;
  line-height: 1.15;
}
.ak-stage__title p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.ak-stage__title .eyebrow { color: var(--gold-dark); }

.ak-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.ak-service {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.7rem;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ak-service:hover {
  border-color: rgba(193,151,90,0.45);
  box-shadow: 0 8px 22px rgba(15,18,45,0.06);
  transform: translateY(-2px);
}
.ak-service__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(193,151,90,0.14);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.ak-service h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}
.ak-service p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.55;
  margin: 0;
}
.ak-service__tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 0.3rem;
}

/* "When something goes wrong" section */
.ak-escalation {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin: 5rem 0 0;
  position: relative;
  overflow: hidden;
}
.ak-escalation::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle, rgba(193,151,90,0.14) 0%, rgba(193,151,90,0) 60%);
  pointer-events: none;
}
.ak-escalation h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
  margin: 0.4rem 0 0.6rem;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.ak-escalation .eyebrow { color: var(--gold); position: relative; z-index: 1; }
.ak-escalation .lead {
  color: rgba(255,255,255,0.85);
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.ak-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.ak-path {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.ak-path strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.7rem;
}
.ak-path ol {
  margin: 0;
  padding-left: 1.1rem;
  list-style: decimal;
  color: rgba(255,255,255,0.78);
  font-size: 0.86rem;
  line-height: 1.6;
}
.ak-path ol li { margin-bottom: 0.25rem; }
.ak-path ol li strong { display: inline; font-weight: 600; color: var(--gold); }

/* "It's all in your plan" reassurance panel */
.ak-included {
  background: var(--cream, #f7f4ec);
  border: 1px solid rgba(193,151,90,0.32);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem;
  margin: 5rem 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.ak-included h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0.3rem 0 0.5rem;
  line-height: 1.2;
}
.ak-included p {
  font-size: 0.98rem;
  color: var(--gray-700);
  margin: 0 0 0.6rem;
  line-height: 1.6;
}
.ak-included .eyebrow { color: var(--gold-dark); }
.ak-included ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ak-included ul li {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--navy);
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.5;
}
.ak-included ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.ak-included .btn { white-space: nowrap; }
@media (max-width: 880px) {
  .ak-included { grid-template-columns: 1fr; padding: 2rem 1.7rem; }
  .ak-stage__head { grid-template-columns: 64px 1fr; gap: 1rem; }
  .ak-stage__num strong { font-size: 1.5rem; }
}

/* ==========================================================
   Stage 14b — My Account After Keys timeline
   ========================================================== */
.acct-ak-empty {
  background: var(--cream, #f7f4ec);
  border: 1px dashed rgba(193,151,90,0.4);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.acct-ak-empty__copy { flex: 1 1 280px; min-width: 0; }
.acct-ak-empty h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.3rem;
}
.acct-ak-empty p {
  font-size: 0.92rem;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.5;
}
.acct-ak-empty form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.acct-ak-empty input[type="date"] {
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--navy);
}
.acct-ak-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}
.acct-ak-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  overflow: hidden;
}
.acct-ak-card--soon { border-color: rgba(193,151,90,0.55); box-shadow: 0 6px 18px rgba(193,151,90,0.12); }
.acct-ak-card--past { border-color: rgba(153,53,86,0.5); background: rgba(252,235,235,0.4); }
.acct-ak-card--done { background: rgba(30,107,61,0.06); border-color: rgba(30,107,61,0.32); }
.acct-ak-card__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.2rem;
}
.acct-ak-card--past .acct-ak-card__eyebrow { color: #993556; }
.acct-ak-card--done .acct-ak-card__eyebrow { color: #1e6b3d; }
.acct-ak-card h3 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}
.acct-ak-card__date {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--gray-500, #888);
  margin-top: 0.25rem;
}
.acct-ak-card__count {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.65rem;
  line-height: 1;
}
.acct-ak-card--past .acct-ak-card__count { color: #993556; }
.acct-ak-card--done .acct-ak-card__count { color: #1e6b3d; font-size: 1.4rem; }
.acct-ak-card__count small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: var(--gray-500, #888);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}
.acct-ak-card__action {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  align-self: flex-start;
}
.acct-ak-meta {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--gray-500, #888);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
.acct-ak-meta button {
  background: transparent;
  border: 0;
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.acct-ak-meta button:hover { color: var(--navy); }

/* ==========================================================
   Stage 14e — Homepage Buy Assist funnel
   ========================================================== */
.ba-feature {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 1rem;
}
.ba-feature::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -8%;
  width: 60%;
  height: 160%;
  background: radial-gradient(circle, rgba(193,151,90,0.22) 0%, rgba(193,151,90,0) 60%);
  pointer-events: none;
}
.ba-feature::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
}
.ba-feature__copy { position: relative; z-index: 1; }
.ba-feature__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(193,151,90,0.18);
  border: 1px solid rgba(193,151,90,0.45);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
}
.ba-feature__eyebrow::before {
  content: '★';
  color: var(--gold);
  font-size: 0.9rem;
}
.ba-feature__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.ba-feature__copy h2 .accent { color: var(--gold); }
.ba-feature__copy .lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0 0 1.6rem;
  max-width: 560px;
}
.ba-feature__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
}
.ba-feature__bullets li {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.92);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.ba-feature__bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
}
.ba-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.05rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(193,151,90,0.3);
}
.ba-feature__cta:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(193,151,90,0.4);
}
.ba-feature__cta::after {
  content: '→';
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.ba-feature__cta:hover::after { transform: translateX(3px); }
.ba-feature__secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.ba-feature__secondary:hover { color: var(--white); border-color: var(--gold); }
.ba-feature__proof {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.ba-feature__proof strong { color: var(--gold); font-weight: 600; }

/* The right-side stage tiles */
.ba-feature__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}
.ba-feature__tile {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  transition: all 0.2s ease;
}
.ba-feature__tile:hover {
  background: rgba(193,151,90,0.12);
  border-color: rgba(193,151,90,0.45);
}
.ba-feature__tile-num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.ba-feature__tile-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.ba-feature__tile-sub {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* "Or pick à la carte" framing */
.alc-divider {
  text-align: center;
  margin: 3rem 0 1.5rem;
  position: relative;
}
.alc-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.alc-divider span {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 0 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray-500, #888);
}
.section--cream .alc-divider span { background: var(--cream, #f7f4ec); }
.alc-intro {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--gray-700);
  max-width: 660px;
  margin: 0 auto 2.2rem;
  line-height: 1.6;
}

@media (max-width: 880px) {
  .ba-feature { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.5rem 1.8rem; }
  .ba-feature__bullets { grid-template-columns: 1fr; }
  .ba-feature__cta { display: flex; justify-content: center; padding: 1rem 1.5rem; }
  .ba-feature__secondary { margin-left: 0; margin-top: 0.85rem; display: block; }
}

/* =============================================================
   STAGE 19 — Mobile polish (iOS zoom, tap-targets, admin)
   ============================================================= */

/* 1. Prevent iOS Safari from auto-zooming on focus
      (any input < 16px triggers zoom — lock to 16px on small viewports) */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* 2. Touch-target minimums on phones — 44×44 is the iOS HIG / WCAG 2.5.5 floor.
      Buttons already meet this with their padding; this catches small links and icon buttons. */
@media (max-width: 768px) {
  .btn,
  .btn-primary,
  .btn-outline,
  .btn-outline-light,
  .btn-lg {
    min-height: 44px;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }
  .menu-toggle {
    width: 44px !important;
    height: 44px !important;
  }
  .nav-primary a {
    padding: 0.55rem 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  /* Footer columns and inline links — give them breathing room */
  .footer-grid a,
  .footer-bottom a {
    display: inline-block;
    padding: 0.35rem 0;
  }
  /* Stage pills and small badges stay compact, but tappable links get padded */
  .property-card a.btn,
  .stage-link {
    min-height: 44px;
  }
}

/* 3. Admin dashboard — make tables and KPI grids usable on phones.
      Horizontal scroll for wide tables, stacked KPIs, smaller padding. */
@media (max-width: 768px) {
  .admin-shell { padding: 1.25rem 1rem !important; }
  .admin-kpis,
  .admin-grid,
  .admin-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }
  .admin-kpi,
  .kpi-card {
    padding: 1rem !important;
  }
  .admin-kpi h3,
  .kpi-card h3 {
    font-size: 1.5rem !important;
  }
  /* Tables: wrap in horizontal scroll instead of breaking layout */
  .admin-table-wrap,
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1rem;
    padding: 0 1rem;
  }
  .admin-table,
  .data-table {
    min-width: 640px;
    font-size: 0.85rem;
  }
  .admin-table th,
  .admin-table td,
  .data-table th,
  .data-table td {
    padding: 0.6rem 0.5rem !important;
    white-space: nowrap;
  }
  .admin-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    padding-bottom: 0.5rem;
  }
  .admin-tab {
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .admin-kpis,
  .admin-grid,
  .admin-stats {
    grid-template-columns: 1fr !important;
  }
}

/* 4. Body padding & misc on the smallest phones (≤375px = iPhone SE) */
@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  h1 { font-size: clamp(2rem, 9vw, 2.5rem) !important; }
  .hero { min-height: 520px; }
  .hero-compact { padding: 3rem 0 2.25rem; }
  .btn-lg { padding: 0.95rem 1.5rem; font-size: 0.9rem; }
  .ba-decision__card,
  .checkout-modal {
    padding: 1.5rem 1.25rem !important;
  }
  /* Stop horizontal scroll on overflowing pricing card */
  .pricing-anchor,
  .price-card {
    padding: 1.5rem 1.25rem !important;
  }
}

/* 5. Tap-feedback for mobile (no hover on touch) */
@media (hover: none) {
  .btn-primary:active { transform: translateY(1px); opacity: 0.92; }
  .btn-outline:active { background: var(--navy); color: var(--white); }
  .property-card:active { transform: scale(0.99); }
}

/* 6. Olivia AI concierge — keep the launcher reachable on phones */
@media (max-width: 480px) {
  .concierge-launcher {
    bottom: 14px !important;
    right: 14px !important;
    width: 56px !important;
    height: 56px !important;
  }
  .concierge-panel {
    width: calc(100vw - 24px) !important;
    right: 12px !important;
    bottom: 80px !important;
    max-height: 70vh;
  }
}

/* 7. Wizard polish on phones */
@media (max-width: 600px) {
  .wizard-stepper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .wizard-step-num { flex-shrink: 0; }
  .wizard-actions {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
  .wizard-actions .btn { width: 100%; }
}

/* 8. Cookie banner — don't cover the whole screen on phones */
@media (max-width: 600px) {
  .cookie-banner {
    left: 0.75rem !important;
    right: 0.75rem !important;
    bottom: 0.75rem !important;
    padding: 1rem !important;
    font-size: 0.85rem !important;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .cookie-banner__actions .btn { width: 100%; }
}

/* =============================================================
   STAGE 34 — Customer Dashboard (Rightmove-style sidebar + panels)
   ============================================================= */

.dash-shell { background: #FAFAF7; min-height: calc(100vh - 220px); padding-bottom: 4rem; }

/* Top welcome banner */
.dash-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: clamp(2rem, 4vh, 3rem) 0 clamp(1.6rem, 3vh, 2.4rem);
}
.dash-banner h1 {
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1; letter-spacing: -0.01em;
  margin: 0.4rem 0 0.4rem;
}
.dash-banner__email {
  color: rgba(255,255,255,0.78);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  margin: 0;
}
.dash-banner__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.dash-banner__actions { display: flex; gap: 0.6rem; }

/* Profile completeness bar */
.dash-progress {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 0.85rem 1.4rem;
  margin-top: 1.6rem;
  backdrop-filter: blur(6px);
}
.dash-progress__head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-sans); font-size: 0.85rem;
  color: rgba(255,255,255,0.92); margin-bottom: 0.55rem; gap: 1rem; flex-wrap: wrap;
}
.dash-progress__head strong { color: var(--gold); }
.dash-progress__cta { color: var(--gold); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.dash-progress__bar { height: 6px; background: rgba(255,255,255,0.18); border-radius: 100px; overflow: hidden; }
.dash-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 100px;
  transition: width 0.6s var(--ease);
}

/* 2-column layout: sidebar + panels */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  margin-top: -1.5rem;
  align-items: flex-start;
}
@media (max-width: 880px) {
  .dash-layout { grid-template-columns: 1fr; gap: 1rem; }
}

/* Sidebar */
.dash-sidebar {
  position: sticky;
  top: calc(var(--header-h, 80px) + 1.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 0.85rem 1.2rem;
  box-shadow: 0 8px 24px rgba(15,18,45,0.08);
}
@media (max-width: 880px) {
  .dash-sidebar {
    position: static;
    padding: 0.6rem;
    overflow-x: auto;
  }
}
.dash-nav { display: flex; flex-direction: column; gap: 0.2rem; }
@media (max-width: 880px) {
  .dash-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 0.4rem; }
}
.dash-nav__item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 0.95rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.18s var(--ease);
  position: relative;
  white-space: nowrap;
}
.dash-nav__item:hover {
  background: var(--cream);
  color: var(--navy);
}
.dash-nav__item.is-active {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
.dash-nav__icon {
  font-size: 1.1rem;
  width: 22px; text-align: center;
  filter: grayscale(0.2);
}
.dash-nav__item.is-active .dash-nav__icon { filter: none; }
.dash-nav__label { flex: 1; }
.dash-nav__badge {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 100px;
  min-width: 22px; text-align: center;
}
.dash-nav__badge--gold {
  background: var(--gold);
  color: var(--white);
}
.dash-nav__item.is-active .dash-nav__badge {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

/* Sidebar bottom CTA */
.dash-side-cta {
  margin-top: 1.4rem;
  padding: 1.2rem 1rem 1rem;
  background: linear-gradient(180deg, rgba(193,151,90,0.08), rgba(193,151,90,0.16));
  border: 1px solid rgba(193,151,90,0.32);
  border-radius: 10px;
  text-align: center;
}
.dash-side-cta strong { display: block; font-family: var(--font-sans); color: var(--navy); font-size: 0.95rem; margin-bottom: 0.4rem; }
.dash-side-cta p { font-family: var(--font-sans); font-size: 0.82rem; color: var(--gray-700); margin: 0 0 0.85rem; line-height: 1.45; }
@media (max-width: 880px) { .dash-side-cta { display: none; } }

/* Main panel area */
.dash-main { min-width: 0; }
.dash-panel {
  display: none;
  animation: dashFadeIn 0.25s var(--ease);
}
.dash-panel.is-active { display: block; }
@keyframes dashFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.dash-panel__head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 1.2rem; gap: 1rem; flex-wrap: wrap;
}
.dash-panel__head h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--navy);
  margin: 0; line-height: 1.1;
}
.dash-panel__meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
}

/* Cards inside panels */
.dash-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem 1.7rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(15,18,45,0.04);
}
.dash-card__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.dash-card__head h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy); margin: 0; letter-spacing: 0;
}
.dash-card__sub {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--gray-700);
  margin: 0.3rem 0 0;
  line-height: 1.5;
}

/* Account details grid */
.dash-account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}
.dash-account-grid > div { display: flex; flex-direction: column; gap: 0.2rem; }
.dash-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray-500);
}
.dash-account-grid strong { font-family: var(--font-sans); font-size: 0.95rem; color: var(--navy); font-weight: 500; }
@media (max-width: 540px) { .dash-account-grid { grid-template-columns: 1fr; } }

/* Empty states */
.dash-empty {
  text-align: center;
  padding: 2.4rem 1.5rem;
}
.dash-empty__icon {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  opacity: 0.7;
}
.dash-empty h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
  letter-spacing: 0;
}
.dash-empty p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gray-700);
  max-width: 50ch;
  margin: 0 auto 1.4rem;
  line-height: 1.6;
}

/* Saved Searches list */
.ss-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.ss-list:empty { display: none; }
.ss-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  transition: all 0.2s var(--ease);
  gap: 1rem; flex-wrap: wrap;
}
.ss-item:hover { border-color: var(--gold); box-shadow: 0 4px 12px rgba(193,151,90,0.12); }
.ss-item__main { flex: 1; min-width: 0; }
.ss-item__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.3rem;
}
.ss-item__criteria {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--gray-700);
  display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.ss-item__criteria span {
  background: var(--cream);
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  font-size: 0.78rem;
}
.ss-item__match-badge {
  background: var(--gold);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ss-item__actions { display: flex; gap: 0.4rem; align-items: center; }
.ss-item__btn {
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none; cursor: pointer;
}
.ss-item__btn:hover { background: var(--navy-light); color: var(--white); }
.ss-item__btn--ghost {
  background: transparent;
  color: var(--gray-700);
  padding: 0.4rem 0.7rem;
}
.ss-item__btn--ghost:hover { color: #c0392b; background: transparent; }

/* Saved Search alert log */
.ss-alert-log { list-style: none; padding: 0; margin: 0; }
.ss-alert-log li {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--gray-700);
  display: flex; justify-content: space-between; gap: 1rem;
}
.ss-alert-log li:last-child { border-bottom: none; }
.ss-alert-log li strong { color: var(--navy); font-weight: 500; }

/* Alerts list */
.alerts-list { list-style: none; padding: 0; margin: 0; }
.alerts-list li {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex; gap: 0.9rem; align-items: flex-start;
}
.alerts-list li:last-child { border-bottom: none; }
.alerts-list .alert-icon { font-size: 1.2rem; color: var(--gold); flex-shrink: 0; }
.alerts-list .alert-msg { flex: 1; font-family: var(--font-sans); color: var(--navy); font-size: 0.95rem; line-height: 1.5; }
.alerts-list .alert-time { color: var(--gray-500); font-size: 0.8rem; white-space: nowrap; }

/* Toast notification */
.dash-toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.4rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  border-left: 3px solid var(--gold);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s var(--ease);
  z-index: 10000;
  max-width: 360px;
}
.dash-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   "Save this search" button on listings page
   ============================================================ */
.save-search-bar {
  background: linear-gradient(135deg, rgba(193,151,90,0.08), rgba(193,151,90,0.14));
  border: 1px solid rgba(193,151,90,0.35);
  border-radius: 10px;
  padding: 1rem 1.4rem;
  margin: 1rem 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.save-search-bar__copy {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--navy);
  flex: 1; min-width: 240px;
}
.save-search-bar__copy strong { font-weight: 600; }
.save-search-bar__btn {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.save-search-bar__btn:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ============================================================
   Inquiry → account conversion CTA (post-form-submit panel)
   ============================================================ */
.acct-convert {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 1.8rem 1.8rem 1.7rem;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}
.acct-convert::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}
.acct-convert h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--white);
  margin: 0 0 0.5rem;
  letter-spacing: 0;
}
.acct-convert p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 1.2rem;
  line-height: 1.55;
}
.acct-convert ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1.5rem; }
.acct-convert ul li {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  padding-left: 1.2rem;
  position: relative;
}
.acct-convert ul li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.acct-convert form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: stretch;
}
.acct-convert input[type="password"] {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--navy);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
}
.acct-convert input[type="password"]:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,151,90,0.3); }
.acct-convert button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.acct-convert button:hover { background: var(--gold-dark); }
.acct-convert .acct-convert__skip {
  display: inline-block;
  margin-top: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-decoration: none;
}
.acct-convert .acct-convert__skip:hover { color: rgba(255,255,255,0.9); }
@media (max-width: 540px) {
  .acct-convert form { grid-template-columns: 1fr; }
  .acct-convert ul { grid-template-columns: 1fr; }
}

/* Mobile dashboard tweaks */
@media (max-width: 480px) {
  .dash-card { padding: 1.2rem 1.1rem; }
  .dash-empty { padding: 1.8rem 1rem; }
}

/* Lead-magnet section — stacks at small screens */
@media (max-width: 760px) {
  #lm-grid { grid-template-columns: 1fr !important; gap: 1.6rem !important; }
}

/* =============================================================
   STAGE 42 — Sticky top "Free guide" announcement banner
   ============================================================= */
.lm-banner {
  position: relative;
  background: linear-gradient(135deg, #0F122D 0%, #1A1F3E 100%);
  color: #fff;
  border-bottom: 1px solid rgba(193, 151, 90, 0.4);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  padding: 0.72rem 0;
  z-index: 90;
}
.lm-banner::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}
.lm-banner__inner {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  flex-wrap: wrap; padding: 0 var(--gutter);
  max-width: var(--max-width); margin: 0 auto;
}
.lm-banner__icon { color: var(--gold); font-size: 1rem; }
.lm-banner__text { color: rgba(255, 255, 255, 0.92); }
.lm-banner__text strong { color: #fff; font-weight: 600; }
.lm-banner__cta {
  background: var(--gold); color: #fff;
  padding: 0.45rem 1rem; border-radius: 100px;
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.lm-banner__cta:hover { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }
.lm-banner__close {
  background: transparent; border: none; color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem; line-height: 1; padding: 0.2rem 0.5rem; cursor: pointer;
  transition: color 0.18s;
}
.lm-banner__close:hover { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 600px) {
  .lm-banner { font-size: 0.78rem; padding: 0.6rem 0; }
  .lm-banner__inner { gap: 0.5rem; }
  .lm-banner__cta { padding: 0.4rem 0.85rem; font-size: 0.72rem; }
}



/* Services dropdown — round 3 nav restructure */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown__trigger {
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.nav-dropdown__trigger:hover { color: var(--gold-dark); }
.nav-dropdown__trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.nav-caret { font-size: 0.7em; transition: transform 0.15s ease; }
.nav-dropdown[data-open="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 0.6rem); left: 50%; transform: translateX(-50%);
  min-width: 230px; background: var(--white);
  border-radius: 10px; padding: 0.55rem 0;
  box-shadow: 0 12px 36px rgba(15,18,45,0.18);
  border: 1px solid rgba(193,151,90,0.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 100;
}
.nav-dropdown__menu::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--white);
  border-top: 1px solid rgba(193,151,90,0.18);
  border-left: 1px solid rgba(193,151,90,0.18);
}
/* Invisible hover bridge — fills the gap between trigger button and dropdown
   so the menu doesn't close as your mouse travels down to the items. */
.nav-dropdown__menu::after {
  content: "";
  position: absolute;
  top: -0.6rem; left: 0; right: 0;
  height: 0.6rem;
  background: transparent;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown[data-open="true"] .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.nav-dropdown__menu a {
  display: block; padding: 0.65rem 1.15rem;
  font-size: 0.92rem; color: var(--navy);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown__menu a:hover { background: rgba(193,151,90,0.08); color: var(--gold-dark); }
.nav-dropdown__menu .nav-dd-title {
  display: block; font-family: var(--font-sans);
  font-size: 0.92rem; font-weight: 500; color: var(--navy);
  letter-spacing: 0; line-height: 1.2;
}
.nav-dropdown__menu .nav-dd-sub {
  display: block; font-family: var(--font-sans);
  font-size: 0.74rem; color: rgba(15,18,45,0.55);
  font-weight: 400; letter-spacing: 0; margin-top: 0.18rem;
  font-style: italic;
}
.nav-dropdown__menu a:hover .nav-dd-title { color: var(--gold-dark); }
.nav-dropdown__menu a:hover .nav-dd-sub { color: rgba(15,18,45,0.7); }
@media (max-width: 960px) {
  .nav-dropdown__trigger { display: none; }
  .nav-dropdown { display: contents; }
  .nav-dropdown__menu { position: static; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; border: none; min-width: 0; padding: 0; transform: none; background: transparent; }
  .nav-dropdown__menu::before { display: none; }
  .nav-dropdown__menu a { padding: inherit; }
}


/* Mobile audit: Meet Kosi section stacks on phones */
@media (max-width: 720px) {
  .founder-grid { grid-template-columns: 1fr !important; gap: 1.4rem !important; text-align: center; }
  .founder-grid > div:first-child { max-width: 200px; margin: 0 auto; }
}


/* Mobile audit: Services dropdown polish in hamburger menu */
@media (max-width: 960px) {
  .nav-dropdown::before {
    content: 'SERVICES';
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: var(--gold-dark);
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    padding-left: 1.5rem;
    border-top: 1px solid rgba(193,151,90,0.2);
  }
  .nav-dropdown__menu a {
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--navy);
  }
  .nav-dropdown__menu a + a { border-top: none; }
}


/* Mobile audit: sticky bottom Strategy Call CTA (mobile-only) */
.sticky-call-cta {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 998;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15,18,45,0.35);
  border-top: 2px solid #fff;
  transition: transform 0.2s ease;
}
.sticky-call-cta:active { transform: scale(0.97); }
.sticky-call-cta .arrow { margin-left: 0.4rem; }
@media (max-width: 720px) {
  body.has-sticky-call .sticky-call-cta { display: block; }
  /* Push Olivia chat launcher up so it doesn't overlap */
  body.has-sticky-call .con-launcher { bottom: 4.6rem !important; }
  /* Pad page bottom so the sticky CTA doesn't cover the last bit of content */
  body.has-sticky-call { padding-bottom: 4.2rem; }
}
