/* =========================================================
   Estatein — Compact Modern Design System
   (legacy token names kept for compatibility; "coral" is now a
   rose/raspberry accent — no orange anywhere on purpose)
   ========================================================= */

:root {
  /* deep, warm "ink" scale — replaces literal black/charcoal */
  --charcoal-950: #1c3438;
  --charcoal-900: #22454a;
  --charcoal-800: #2c565c;
  --charcoal-700: #4a4238;
  --charcoal-600: #6b6154;
  --stone-300: #d8c9b0;
  --stone-200: #f0e4d3;
  --cream-100: #fff9f1;
  --cream-50: #ffffff;
  --gold-500: #d6ab2e;
  --gold-400: #e6c158;
  --gold-100: #fbf0d4;
  --success: #4a9c6d;

  /* lively accent scale — rose/raspberry, deliberately not orange */
  --coral-600: #a61e4d;
  --coral-500: #d6336c;
  --coral-400: #e8628f;
  --coral-rgb: 214, 51, 108;
  --teal-600: #0f7d80;
  --teal-500: #17a0a3;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 6px 20px rgba(28, 52, 56, 0.08);
  --shadow-strong: 0 14px 40px rgba(28, 52, 56, 0.16);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container-w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal-900);
  background: var(--cream-100);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--charcoal-950);
}
h1 { font-size: clamp(2.1rem, 3.6vw + 1rem, 3.3rem); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 0.8em; color: var(--charcoal-700); }

.gradient-text {
  background: linear-gradient(100deg, var(--coral-500) 15%, var(--teal-500) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral-500); margin-right: 7px; position: relative; top: -1px;
  box-shadow: 0 0 0 3px rgba(var(--coral-rgb), 0.16);
}

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--charcoal-950); color: #fff;
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.88rem; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--coral-500), var(--coral-600)); color: #fff; box-shadow: 0 4px 14px rgba(var(--coral-rgb), 0.35); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 20px rgba(var(--coral-rgb), 0.45); }
.btn-outline { border-color: var(--teal-600); color: var(--teal-600); background: transparent; }
.btn-outline:hover { background: var(--teal-600); color: #fff; transform: translateY(-2px) scale(1.02); }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--charcoal-950); box-shadow: 0 4px 14px rgba(214,171,46,0.35); }
.btn-gold:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 20px rgba(214,171,46,0.45); }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-pulse { animation: btnPulse 2.4s ease-in-out infinite; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(var(--coral-rgb), 0.35); }
  50% { box-shadow: 0 4px 20px rgba(var(--coral-rgb), 0.6); }
}

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--stone-200);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; max-width: var(--container-w); margin: 0 auto;
}
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--charcoal-950); }
.brand-tag { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-500); font-weight: 700; }
.site-nav ul#nav-menu { display: flex; align-items: center; gap: 3px; }
.site-nav ul#nav-menu > li > a:not(.btn) {
  font-size: 0.84rem; font-weight: 600; color: var(--charcoal-800);
  padding: 7px 11px; border-radius: 8px; transition: background 0.25s ease, color 0.25s ease;
}
.site-nav ul#nav-menu > li > a:not(.btn):hover { color: var(--coral-600); background: var(--gold-100); }
.nav-cta { padding: 8px 18px !important; margin-left: 4px; font-size: 0.84rem; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; background: var(--cream-50);
  box-shadow: var(--shadow-strong); border-radius: var(--radius-md); padding: 6px;
  min-width: 180px; display: none; flex-direction: column; gap: 1px;
  border: 1px solid var(--stone-200);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: flex; }
.dropdown-wide { min-width: 210px; max-height: 70vh; overflow-y: auto; }
.dropdown-label {
  padding: 8px 12px 3px; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--charcoal-600); font-weight: 700;
}
.dropdown-label:first-child { padding-top: 4px; }
.dropdown li a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-weight: 500; font-size: 0.86rem; }
.dropdown li a:hover { background: var(--gold-100); color: var(--coral-600); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--charcoal-950); border-radius: 2px; }

/* ---- Hero ---- */
.hero {
  position: relative; padding: 40px 0 48px; overflow: hidden;
  background: var(--cream-100);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0;
  opacity: 0.4; animation: blobFloat 14s ease-in-out infinite;
}
.hero::before {
  width: 380px; height: 380px; background: radial-gradient(circle, var(--coral-400), transparent 70%);
  top: -140px; left: -100px;
}
.hero::after {
  width: 340px; height: 340px; background: radial-gradient(circle, var(--teal-500), transparent 70%);
  bottom: -160px; right: -80px; animation-delay: -7s; opacity: 0.3;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -16px) scale(1.06); }
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--coral-600); font-weight: 700; margin-bottom: 14px;
  background: var(--gold-100); padding: 6px 14px 6px 10px; border-radius: 7px;
}
.hero-lede { font-size: 1.02rem; max-width: 46ch; }

/* Rotating word inside the hero headline */
#heroRotator {
  display: inline-block; transition: opacity 0.26s ease, transform 0.26s ease;
}

/* Pure-CSS entrance animation — plays natively, never depends on JS */
.hero-eyebrow, .hero h1, .hero-lede, .hero-ctas, .hero-stats {
  animation: heroEnter 0.7s ease both;
}
.hero-eyebrow { animation-delay: 0s; }
.hero h1 { animation-delay: 0.08s; }
.hero-lede { animation-delay: 0.18s; }
.hero-ctas { animation-delay: 0.28s; }
.hero-stats { animation-delay: 0.38s; }
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-ctas { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.7rem; }
.hero-stat span { font-size: 0.76rem; color: var(--charcoal-600); font-weight: 500; }
.hero-visual {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-strong);
  aspect-ratio: 4/5; background: linear-gradient(150deg, var(--teal-500) 0%, var(--teal-600) 50%, var(--coral-600) 100%);
  background-size: 220% 220%; animation: heroGradient 9s ease infinite;
  display: flex; align-items: flex-end; padding: 0; position: relative;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 85%, rgba(255,255,255,0.18), transparent 55%);
}
@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-visual-caption {
  position: relative; z-index: 1; color: var(--cream-100); padding: 18px;
  background: linear-gradient(0deg, rgba(20,50,52,0.55), transparent);
  width: 100%;
}
.hero-visual-caption strong { font-family: var(--font-display); font-size: 1.15rem; display: block; }
.hero-visual-caption span { font-size: 0.74rem; color: var(--stone-300); }

/* Floating glass stat card, overlapping the hero visual */
.floating-stat {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.7); border-radius: var(--radius-md);
  padding: 9px 13px; box-shadow: var(--shadow-strong);
  animation: floatY 5s ease-in-out infinite;
}
.floating-stat.fs-1 { top: 7%; left: -6%; animation-delay: 0s; }
.floating-stat.fs-2 { bottom: 8%; right: -8%; animation-delay: -2.5s; }
.floating-stat .fs-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--coral-500);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.floating-stat strong { display: block; font-family: var(--font-display); font-size: 0.98rem; color: var(--charcoal-950); line-height: 1.1; }
.floating-stat span { font-size: 0.66rem; color: var(--charcoal-600); font-weight: 600; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 900px) {
  .floating-stat.fs-1, .floating-stat.fs-2 { left: auto; right: 12px; }
  .floating-stat.fs-1 { top: 12px; }
  .floating-stat.fs-2 { bottom: 12px; }
  .hero-visual { aspect-ratio: 4/3; margin-top: 28px; }
}
@media (max-width: 480px) {
  .hero-visual { aspect-ratio: 1/1; }
}

/* ---- Sections ---- */
section { padding: 44px 0; }
.section-header { max-width: 620px; margin: 0 auto 26px; text-align: center; }
.section-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--coral-600); font-weight: 700; display: inline-flex; align-items: center; margin-bottom: 8px;
}
.section-alt { background: var(--cream-50); }
.section-dark { background: linear-gradient(135deg, var(--teal-600), var(--charcoal-900)); color: var(--cream-100); }
.section-dark h2, .section-dark h3 { color: var(--cream-100); }
.section-dark p { color: var(--stone-300); }

/* ---- Scroll-reveal animation ----
   IMPORTANT: content must never depend on JS to become visible.
   The "js-ready" class is added by main.js the instant it runs; only
   then does [data-reveal] start hidden. If JS is slow, blocked, or
   errors, nothing here ever hides content — it just skips the animation. */
.js-ready [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s var(--ease-bounce); }
.js-ready [data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---- Cards / Grids ---- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--cream-50); border-radius: var(--radius-md); padding: 20px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--stone-200); overflow: hidden;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--coral-500), var(--teal-500));
  transition: transform 0.4s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-strong); border-color: var(--gold-400); }
.card .icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-100), #ffffff);
  border: 1px solid var(--stone-200);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  color: var(--coral-500); transition: transform 0.3s var(--ease-bounce), background 0.3s ease;
}
.card .icon svg { width: 20px; height: 20px; }
.card:hover .icon { transform: scale(1.1) rotate(-6deg); background: var(--coral-500); color: #fff; }
.card p:last-child { margin-bottom: 0; }
.card h3 { font-size: 1.02rem; }

/* ---- Bento feature grid (mixed sizes, less boxy than a plain 3-col grid) ---- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(120px, auto); gap: 14px; }
.bento .card { display: flex; flex-direction: column; justify-content: flex-end; }
.bento .card.b-wide { grid-column: span 2; }
.bento .card.b-tall { grid-row: span 2; }
.bento .card.b-accent { background: linear-gradient(150deg, var(--teal-500), var(--teal-600)); border-color: transparent; }
.bento .card.b-accent, .bento .card.b-accent h3, .bento .card.b-accent p { color: #fff; }
.bento .card.b-accent .icon { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.3); color: #fff; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .card.b-wide { grid-column: span 2; }
  .bento .card.b-tall { grid-row: span 1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento .card.b-wide, .bento .card.b-tall { grid-column: span 1; }
}
.area-card {
  border-radius: var(--radius-md); overflow: hidden; background: var(--cream-50);
  box-shadow: var(--shadow-soft); border: 1px solid var(--stone-200);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
}
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-strong); }
.area-card-media {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: linear-gradient(135deg, var(--teal-500), var(--coral-500));
  background-size: 200% 200%; animation: heroGradient 10s ease infinite;
  display: flex; align-items: flex-end; justify-content: flex-start; color: #fff;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; padding: 12px 14px;
  transition: filter 0.3s ease;
}
.area-card-media::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.3) 1.5px, transparent 1.5px);
  background-size: 16px 16px; opacity: 0.4;
}
.area-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,40,42,0.55), transparent 65%); }
.area-card-media .media-icon {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.85);
}
.area-card-media .media-icon svg { width: 26px; height: 26px; }
.area-card-media span { position: relative; z-index: 1; }
.area-card:hover .area-card-media { filter: brightness(1.06) saturate(1.1); }
.area-card-body { padding: 16px; }
.area-card-stats { display: flex; gap: 12px; margin-top: 8px; font-size: 0.78rem; color: var(--charcoal-600); }
.tag {
  display: inline-block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--gold-100); color: var(--coral-600);
  border: 1px solid var(--gold-400);
  padding: 4px 10px; border-radius: 6px; font-weight: 700;
}

/* ---- Process steps ---- */
.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 34px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--coral-500); color: #fff; font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(var(--coral-rgb), 0.4); transition: transform 0.3s var(--ease-bounce);
}
.step:hover::before { transform: scale(1.12) rotate(-8deg); }
.step h3 { font-size: 1rem; }
.step p { font-size: 0.88rem; }

/* ---- Testimonials / quote ---- */
.quote-card { border-left: 3px solid var(--gold-500); padding-left: 18px; }
.quote-card cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; color: var(--charcoal-950); }

/* ---- Forms ---- */
.form-card {
  background: var(--cream-50); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-strong); border: 1px solid var(--stone-200);
}
.form-card h3 { font-size: 1.05rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 5px; color: var(--charcoal-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--stone-200);
  background: var(--cream-100); font-family: var(--font-body); font-size: 0.9rem; color: var(--charcoal-900);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-400); border-color: var(--gold-400); }
.form-note { font-size: 0.76rem; color: var(--charcoal-600); margin-top: 8px; }
.alert-success { background: var(--gold-100); border: 1px solid var(--gold-400); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 0.9rem; }
.alert-error { background: #fbe6e2; border: 1px solid #d9704f; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 0.9rem; }

/* ---- Blog ---- */
.blog-card { display: flex; flex-direction: column; }
.blog-card time { font-size: 0.74rem; color: var(--gold-500); text-transform: uppercase; letter-spacing: 0.05em; }
.article-body { max-width: 70ch; margin: 0 auto; }
.article-body h2 { margin-top: 1.4em; font-size: 1.4rem; }
.article-body ul { list-style: disc; padding-left: 1.3em; margin-bottom: 0.8em; }
.article-body ul li { margin-bottom: 0.3em; color: var(--charcoal-700); }

/* ---- Table (price data) ---- */
/* Wrap every <table class="data-table"> in <div class="table-scroll"> so
   wide tables scroll within themselves on phones instead of forcing the
   whole page to scroll horizontally. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0; }
.table-scroll .data-table { margin: 0; min-width: 480px; }
.data-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.86rem; }
.data-table th, .data-table td { padding: 9px 12px; border-bottom: 1px solid var(--stone-200); text-align: left; white-space: nowrap; }
.data-table th { background: var(--teal-600); color: var(--cream-100); font-weight: 600; }
.data-table tr:nth-child(even) { background: var(--cream-50); }
@media (max-width: 600px) {
  .data-table th, .data-table td { white-space: normal; }
  .table-scroll .data-table { min-width: 420px; }
}

/* ---- Breadcrumbs ---- */
.breadcrumbs { font-size: 0.78rem; color: var(--charcoal-600); padding: 12px 0 0; }
.breadcrumbs a { color: var(--charcoal-600); }
.breadcrumbs a:hover { color: var(--coral-600); }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--coral-600), var(--teal-600));
  background-size: 200% 200%; animation: heroGradient 9s ease infinite;
  color: var(--cream-100); border-radius: var(--radius-lg); padding: 34px; text-align: center;
}
.cta-banner h2 { color: var(--cream-100); }
.cta-banner p { color: var(--stone-300); margin-bottom: 0; }
.cta-banner .btn { margin-top: 14px; }

/* ---- Footer ---- */
.site-footer { background: linear-gradient(160deg, var(--charcoal-900), var(--teal-600)); color: var(--stone-300); padding: 40px 0 18px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer-brand p { color: var(--stone-300); margin-top: 8px; font-size: 0.88rem; }
.rera { font-size: 0.74rem; color: var(--charcoal-600); }
.footer-col h4 { color: var(--cream-100); font-size: 0.88rem; margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 7px; font-size: 0.84rem; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid var(--charcoal-700); margin-top: 28px; padding-top: 14px; font-size: 0.76rem; color: var(--charcoal-600); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid, .form-row, .grid-3, .grid-2, .steps, .footer-grid { grid-template-columns: 1fr; }

  /* Compact popover menu, anchored bottom-right — not a full-page panel.
     Sits ABOVE the floating callback button (which lives in the same
     corner) rather than overlapping it. */
  .site-nav ul#nav-menu {
    position: fixed; right: 16px; bottom: 84px; left: auto; top: auto;
    width: min(260px, calc(100vw - 32px)); max-height: min(60vh, 420px); overflow-y: auto;
    background: var(--cream-50); border: 1px solid var(--stone-200); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong); z-index: 250;
    flex-direction: column; align-items: stretch; gap: 3px; padding: 12px;
    transform: translateY(12px) scale(0.95); transform-origin: bottom right;
    opacity: 0; pointer-events: none;
    transition: transform 0.25s var(--ease-bounce), opacity 0.2s ease;
  }
  .site-nav.open ul#nav-menu { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
  .site-nav ul#nav-menu > li > a:not(.btn) { padding: 10px 12px; }
  .nav-cta { display: block; text-align: center; margin: 6px 0 0; }
  .nav-toggle { display: flex; }
  .dropdown { position: static; box-shadow: none; display: flex; padding-left: 8px; }

  /* Hide the other floating widgets while the mobile menu is open, so
     nothing clutters or overlaps in the corner. */
  body.nav-open .fab, body.nav-open .reminder-toast { opacity: 0; pointer-events: none; transition: opacity 0.15s ease; }
}

/* =========================================================
   Floating callback button, help popup & reminder toast
   ========================================================= */

.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 300;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--coral-500), var(--coral-600));
  color: #fff; border: none; border-radius: 14px; padding: 12px 18px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.86rem; cursor: pointer;
  box-shadow: 0 8px 22px rgba(var(--coral-rgb), 0.45);
  animation: fabPulse 2.6s ease-in-out infinite;
  transition: transform 0.3s var(--ease-bounce);
}
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab .fab-icon { font-size: 1.05rem; animation: fabRing 2.6s ease-in-out infinite; }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(var(--coral-rgb), 0.45); }
  50% { box-shadow: 0 8px 22px rgba(var(--coral-rgb), 0.45), 0 0 0 8px rgba(var(--coral-rgb), 0.12); }
}
@keyframes fabRing {
  0%, 90%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(-15deg); }
  94% { transform: rotate(12deg); }
  96% { transform: rotate(-8deg); }
  98% { transform: rotate(4deg); }
}
@media (max-width: 600px) {
  .fab span.fab-label { display: none; }
  .fab { padding: 14px; }
}

/* Reminder toast (periodic, lightweight — not the modal) */
.reminder-toast {
  position: fixed; right: 18px; bottom: 78px; z-index: 299;
  background: var(--cream-50); border: 1px solid var(--stone-200); border-radius: var(--radius-md);
  padding: 12px 15px; max-width: 230px; box-shadow: var(--shadow-strong);
  font-size: 0.8rem; color: var(--charcoal-800);
  opacity: 0; transform: translateY(10px) scale(0.96); pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-bounce);
}
.reminder-toast.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.reminder-toast strong { color: var(--coral-600); }

/* Help popup modal */
.help-overlay {
  position: fixed; inset: 0; background: rgba(28, 52, 56, 0.55); backdrop-filter: blur(3px);
  z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.help-overlay.show { opacity: 1; pointer-events: auto; }
.help-modal {
  background: var(--cream-50); border-radius: var(--radius-lg); max-width: 400px; width: 100%;
  padding: 26px; box-shadow: var(--shadow-strong); position: relative;
  transform: translateY(20px) scale(0.94); transition: transform 0.35s var(--ease-bounce);
}
.help-overlay.show .help-modal { transform: translateY(0) scale(1); }
.help-modal-close {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%;
  border: none; background: var(--stone-200); color: var(--charcoal-800); font-size: 1.05rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease-bounce), background 0.25s ease;
}
.help-modal-close:hover { background: var(--gold-100); transform: rotate(90deg); }
.help-modal-badge {
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 12px;
  background: var(--coral-500); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  animation: fabRing 3s ease-in-out infinite;
}
.help-modal h3 { margin-bottom: 4px; font-size: 1.1rem; }
.help-modal p { font-size: 0.88rem; }
.help-modal .field { margin-bottom: 11px; }
.help-modal-success { display: none; text-align: center; padding: 8px 0; }
.help-modal-success.show { display: block; }
.help-modal-success .help-modal-badge { margin: 0 auto 12px; }
.help-modal-form.hide { display: none; }

/* =========================================================
   Property galleries, video-tour blocks, FAQ accordion, legal pages
   ========================================================= */

/* Sample-content notice — always shown above illustrative galleries */
.sample-notice {
  display: flex; align-items: center; gap: 9px; font-size: 0.8rem; color: var(--charcoal-700);
  background: var(--gold-100); border: 1px solid var(--gold-400); border-radius: var(--radius-sm);
  padding: 9px 14px; margin-bottom: 16px;
}
.sample-notice svg { flex-shrink: 0; color: var(--coral-600); width: 17px; height: 17px; }

/* Photo gallery grid (illustrative gradient tiles standing in for real photography) */
.gallery-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 300px; }
.gallery-tile {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background: linear-gradient(135deg, var(--teal-500), var(--coral-500));
  background-size: 220% 220%; animation: heroGradient 12s ease infinite;
  display: flex; align-items: flex-end; color: #fff;
}
.gallery-tile:nth-child(1) { grid-row: span 2; background: linear-gradient(150deg, var(--teal-600), var(--coral-600)); }
.gallery-tile:nth-child(2) { animation-delay: -3s; }
.gallery-tile:nth-child(3) { background: linear-gradient(135deg, var(--teal-600), var(--coral-500)); animation-delay: -6s; }
.gallery-tile::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.3) 1.5px, transparent 1.5px);
  background-size: 16px 16px; opacity: 0.4;
}
.gallery-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,40,42,0.5), transparent 60%); }
.gallery-tile .tile-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  opacity: 0.5; color: #fff;
}
.gallery-tile .tile-icon svg { width: 34px; height: 34px; }
.gallery-tile span { position: relative; z-index: 1; padding: 12px 14px; font-size: 0.78rem; font-weight: 600; }
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .gallery-tile:nth-child(1) { grid-column: span 2; height: 180px; grid-row: auto; }
  .gallery-tile { height: 110px; }
}

/* Video-tour placeholder block */
.video-block {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9;
  background: linear-gradient(150deg, var(--charcoal-900), var(--teal-600));
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-strong);
}
.video-block::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 55%);
}
.video-play {
  position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center;
  color: var(--coral-600); box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  animation: fabPulse 2.6s ease-in-out infinite; cursor: pointer; border: none;
}
.video-caption {
  position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fff;
  background: rgba(15,40,42,0.5); backdrop-filter: blur(6px);
  padding: 8px 13px; border-radius: var(--radius-sm); font-size: 0.8rem;
}

/* Spec grid for property-type pages */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 16px 0; }
.spec-item {
  background: var(--cream-50); border: 1px solid var(--stone-200); border-radius: var(--radius-sm);
  padding: 12px; text-align: center;
}
.spec-item strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--charcoal-950); }
.spec-item span { font-size: 0.7rem; color: var(--charcoal-600); text-transform: uppercase; letter-spacing: 0.03em; }

/* Feature checklist */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 20px; margin: 12px 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.86rem; color: var(--charcoal-700); }
.feature-list li svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--success); margin-top: 2px; }
@media (max-width: 600px) { .feature-list { grid-template-columns: 1fr; } }

/* Property type hub cards */
.property-card-price { display: inline-block; margin-top: 3px; font-weight: 700; color: var(--coral-600); }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--stone-200); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 16px 4px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-family: var(--font-display); font-size: 1rem; color: var(--charcoal-950);
}
.faq-question .faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-100);
  display: flex; align-items: center; justify-content: center; color: var(--coral-600); font-size: 0.9rem;
  transition: transform 0.3s var(--ease-bounce), background 0.3s ease;
}
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); background: var(--coral-500); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 4px 16px; font-size: 0.9rem; }

/* Legal / policy page typography */
.legal-body { max-width: 74ch; margin: 0 auto; }
.legal-body h2 { margin-top: 1.5em; font-size: 1.3rem; }
.legal-body ul { list-style: disc; padding-left: 1.3em; margin-bottom: 0.8em; }
.legal-body li { margin-bottom: 0.3em; color: var(--charcoal-700); }
.legal-updated { font-size: 0.8rem; color: var(--charcoal-600); margin-bottom: 22px; }

/* Trust badges row */
.trust-strip { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--charcoal-800); }
.trust-badge svg { color: var(--coral-500); width: 19px; height: 19px; }

/* =========================================================
   Location map + nearby-info (compact) + property spotlight cards
   ========================================================= */

/* Google Maps embed wrapper */
.map-embed {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-strong); border: 1px solid var(--stone-200);
  aspect-ratio: 16/11; background: var(--stone-200);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Compact "nearby" category grid — dense, point-based */
.nearby-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px;
}
.nearby-card {
  background: var(--cream-50); border: 1px solid var(--stone-200); border-radius: var(--radius-sm);
  padding: 11px 12px; transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s ease, border-color 0.25s ease;
}
.nearby-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--gold-400); }
.nearby-card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.nearby-card-head .nc-icon {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  background: var(--gold-100); border: 1px solid var(--stone-200);
  display: flex; align-items: center; justify-content: center; color: var(--coral-500);
}
.nearby-card-head .nc-icon svg { width: 13px; height: 13px; }
.nearby-card-head strong { font-size: 0.8rem; font-weight: 700; color: var(--charcoal-950); }
.nearby-card ul { margin: 0; }
.nearby-card li {
  position: relative; padding-left: 12px; font-size: 0.75rem; color: var(--charcoal-700);
  line-height: 1.4; margin-bottom: 4px;
}
.nearby-card li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 4px; height: 4px; border-radius: 50%;
  background: var(--coral-500);
}
.nearby-card li:last-child { margin-bottom: 0; }
.map-note { font-size: 0.74rem; color: var(--charcoal-600); margin-top: 8px; }
@media (max-width: 900px) {
  .nearby-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nearby-grid { grid-template-columns: 1fr; }
}

/* Compact property "spotlight" card — used on homepage & area pages */
.spotlight-card {
  display: block; background: var(--cream-50); border: 1px solid var(--stone-200); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s ease;
}
.spotlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.spotlight-media {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: linear-gradient(135deg, var(--teal-500), var(--coral-500));
  background-size: 200% 200%; animation: heroGradient 11s ease infinite;
  display: flex; align-items: flex-end; padding: 10px;
}
.spotlight-media::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.3) 1.5px, transparent 1.5px);
  background-size: 16px 16px; opacity: 0.4;
}
.spotlight-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,40,42,0.55), transparent 60%); }
.spotlight-media .media-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  opacity: 0.55; color: #fff;
}
.spotlight-media .media-icon svg { width: 30px; height: 30px; }
.spotlight-badge {
  position: absolute; top: 9px; left: 9px; z-index: 1;
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700;
  background: rgba(255,255,255,0.92); color: var(--coral-600); padding: 3px 8px; border-radius: 6px;
}
.spotlight-state {
  position: absolute; top: 9px; right: 9px; z-index: 1;
  font-size: 0.62rem; font-weight: 700; color: #fff;
  background: rgba(15,40,42,0.45); backdrop-filter: blur(4px); padding: 3px 8px; border-radius: 6px;
}
.spotlight-price { position: relative; z-index: 1; color: #fff; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.spotlight-body { padding: 12px 14px 14px; }
.spotlight-body h3 { font-size: 0.94rem; margin-bottom: 3px; }
.spotlight-loc { display: flex; align-items: center; gap: 4px; font-size: 0.74rem; color: var(--charcoal-600); margin-bottom: 7px; }
.spotlight-loc svg { width: 12px; height: 12px; color: var(--coral-500); flex-shrink: 0; }
.spotlight-specs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.72rem; color: var(--charcoal-700); font-weight: 600; }

/* "More states coming soon" placeholder tile */
.spotlight-card.coming-soon {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 24px 16px; border: 1.5px dashed var(--stone-300); background: var(--cream-100);
  min-height: 100%;
}
.spotlight-card.coming-soon .cs-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold-100); color: var(--coral-500);
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.spotlight-card.coming-soon .cs-icon svg { width: 20px; height: 20px; }
.spotlight-card.coming-soon strong { font-family: var(--font-display); font-size: 0.95rem; color: var(--charcoal-950); display: block; margin-bottom: 4px; }
.spotlight-card.coming-soon span { font-size: 0.78rem; color: var(--charcoal-600); }

/* =========================================================
   Dummy photo fill — .has-photo layers a real (placeholder) photo
   under the existing dark-gradient overlays so text stays legible.
   Swap the inline background-image URLs for real listing photos later.
   ========================================================= */
.area-card-media.has-photo,
.spotlight-media.has-photo,
.gallery-tile.has-photo {
  animation: none; background-color: var(--charcoal-800);
  background-size: cover; background-position: center;
}
.area-card-media.has-photo .media-icon,
.spotlight-media.has-photo .media-icon,
.gallery-tile.has-photo .tile-icon { opacity: 0.35; }

.hero-visual.has-photo {
  animation: none; background-color: var(--charcoal-800);
  background-size: cover; background-position: center;
}
.hero-visual.has-photo::before {
  background: linear-gradient(0deg, rgba(15,40,42,0.55) 0%, rgba(15,40,42,0.05) 55%, rgba(15,40,42,0.15) 100%);
}

.video-block.has-photo {
  background-color: var(--charcoal-900); background-size: cover; background-position: center;
}
.video-block.has-photo::before { background: rgba(15,40,42,0.4); }

/* =========================================================
   Property page content layout — main column + sticky sidebar,
   so wide screens don't leave the page looking empty at the sides.
   ========================================================= */

.property-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; align-items: start; }
.property-main { max-width: 68ch; }
.property-main h2 { font-size: 1.4rem; }
.property-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) {
  .property-layout { grid-template-columns: 1fr; }
  .property-sidebar { position: static; }
}

.sidebar-card {
  background: var(--cream-50); border: 1px solid var(--stone-200); border-radius: var(--radius-md);
  padding: 18px; box-shadow: var(--shadow-soft);
}
.sidebar-card h4 {
  font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--coral-600); font-weight: 700; margin-bottom: 12px;
}
.sidebar-facts { display: flex; flex-direction: column; gap: 9px; }
.sidebar-facts li {
  display: flex; justify-content: space-between; gap: 10px; font-size: 0.86rem;
  padding-bottom: 9px; border-bottom: 1px dashed var(--stone-200);
}
.sidebar-facts li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-facts li span:first-child { color: var(--charcoal-600); }
.sidebar-facts li span:last-child { font-weight: 700; color: var(--charcoal-950); text-align: right; }

.sidebar-card.accent { background: linear-gradient(150deg, var(--teal-500), var(--teal-600)); border-color: transparent; }
.sidebar-card.accent h4, .sidebar-card.accent p { color: rgba(255,255,255,0.85); }
.sidebar-card.accent h3 { color: #fff; font-size: 1.05rem; }

.sidebar-links { display: flex; flex-direction: column; gap: 2px; }
.sidebar-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 10px; border-radius: var(--radius-sm); font-size: 0.86rem; font-weight: 600;
  color: var(--charcoal-800); transition: background 0.2s ease, color 0.2s ease;
}
.sidebar-links a:hover { background: var(--gold-100); color: var(--coral-600); }
.sidebar-links a svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.6; }

/* Related property types strip */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .related-grid { grid-template-columns: 1fr; } }

/* Generic alias — same main+sidebar layout used on area guide pages */
.content-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; align-items: start; }
.content-main { max-width: 68ch; }
.content-main h2 { font-size: 1.4rem; }
.content-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
}
