/*
 * Rodriguez Realty Group — styles.css
 *
 * Aesthetic Direction: Texas Modern Editorial
 * ─────────────────────────────────────────────────────────────────
 * Elena Rodriguez is a community-first Central Texas agent whose brand
 * is rooted in 20+ years of local life. This site channels the Hill
 * Country landscape — deep forest greens evoking Texas cedar and live
 * oak, sandy gold warmth drawn from limestone architecture, and
 * generous cream backgrounds that let the land breathe.
 *
 * The layout is editorial and asymmetric: heroes with offset agent
 * portrait panels, section-level contrast shifts between warm cream
 * and deep forest green, and curated card grids that feel personal,
 * not templated. Nothing is centered on a flat background.
 *
 * Palette:
 *   Deep Forest Green  #2C4A3E  — primary brand, nav, CTAs, headings
 *   Dark Forest        #1E3329  — deeper green for hover states
 *   Medium Forest      #3D6355  — lighter green variant
 *   Sandy Gold         #D4A373  — accent, highlights, decorative lines
 *   Gold Dark          #B8854F  — gold hover state
 *   Gold Light         #EDD9BE  — warm tint for backgrounds
 *   Warm Cream         #FAF8F4  — primary page background
 *   Alt Cream          #F2EDE6  — alternating section tones
 *   Text Dark          #1A2B26  — body text (deep forest-black)
 *   Text Muted         #5E7068  — secondary/supporting text
 *   Text Light         #F7F5F1  — text on dark backgrounds
 *
 * Typography:
 *   Headings: Playfair Display (elegant serif, tight tracking on display)
 *   Body: Montserrat (clean, modern, readable at all weights)
 *
 * Nav Theme: Client-Centric
 *   Home · For Buyers · For Sellers · Local Properties ·
 *   Our Story · Word of Mouth · Let's Chat
 *
 * Agent: Elena Rodriguez | Rodriguez Realty Group
 * Market: Round Rock, Austin, Central Texas
 * Built: April 2026
 * ─────────────────────────────────────────────────────────────────
 */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Brand Colors */
  --primary: #2C4A3E;
  --primary-dark: #1E3329;
  --primary-light: #3D6355;
  --accent: #D4A373;
  --accent-dark: #B8854F;
  --accent-light: #EDD9BE;

  /* Backgrounds */
  --bg: #FAF8F4;
  --bg-alt: #F2EDE6;
  --bg-dark: #1E3329;
  --bg-green: #2C4A3E;

  /* Text */
  --text: #1A2B26;
  --text-muted: #5E7068;
  --text-light: #F7F5F1;

  /* UI */
  --border: #E0D8CC;
  --white: #FFFFFF;

  /* Typography */
  --font-head: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing */
  --pad-section: 100px;
  --pad-x: 80px;
  --pad-section-mobile: 60px;
  --pad-x-mobile: 24px;

  /* Border Radius */
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows — layered, color-tinted, never flat */
  --shadow-sm: 0 2px 8px rgba(44, 74, 62, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(44, 74, 62, 0.08), 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(44, 74, 62, 0.12), 0 24px 64px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 12px 48px rgba(44, 74, 62, 0.16), 0 32px 80px rgba(0, 0, 0, 0.10);

  /* Transitions — only transform and opacity, never 'all' */
  --t-fast: 0.2s ease;
  --t-med: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Nav height */
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

main {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
}

/* === BASE TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--pad-section) var(--pad-x);
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--bg-green);
}

/* Section label + heading pattern */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.section-eyebrow--light {
  color: var(--accent-light);
}

.section-heading {
  color: var(--text);
  margin-bottom: 1rem;
}

.section-heading--light {
  color: var(--text-light);
}

.section-subheading {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
}

.section-subheading--light {
  color: rgba(247, 245, 241, 0.75);
}

/* Gold rule decorative line */
.gold-rule {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  transition: background-color var(--t-med), box-shadow var(--t-med);
  background-color: transparent;
}

.site-nav.scrolled {
  background-color: var(--primary-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.site-nav.nav-solid {
  background-color: var(--primary-dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-brand-name {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.nav-brand-tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.85);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  transition: color var(--t-fast), opacity var(--t-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  background-color: var(--accent) !important;
  color: var(--primary-dark) !important;
  padding: 0.625rem 1.25rem !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  transition: opacity var(--t-fast) !important;
  white-space: nowrap;
}

.nav-cta:hover {
  opacity: 0.88 !important;
}

.nav-cta.active::after {
  display: none !important;
}

/* Hamburger menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border: none;
  background: none;
  border-radius: var(--radius);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background-color: var(--primary-dark);
  padding: 1.5rem var(--pad-x-mobile) 2rem;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform var(--t-med), opacity var(--t-med);
  pointer-events: none;
}

.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav-drawer a {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.85);
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--t-fast);
}

.nav-drawer a:hover,
.nav-drawer a.active {
  color: var(--accent);
}

.nav-drawer .drawer-cta {
  color: var(--accent) !important;
  border-bottom: none !important;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 72px var(--pad-x) 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 56px;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.375rem;
}

.footer-brand-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  color: rgba(247, 245, 241, 0.72);
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.footer-contact-item a {
  color: rgba(247, 245, 241, 0.72);
  transition: color var(--t-fast);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(247, 245, 241, 0.7);
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-service-areas p {
  font-size: 0.875rem;
  color: rgba(247, 245, 241, 0.7);
  line-height: 1.7;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(247, 245, 241, 0.45);
}

.footer-license {
  font-size: 0.75rem;
  color: rgba(247, 245, 241, 0.35);
  text-align: right;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--t-fast), opacity var(--t-fast);
  line-height: 1;
  white-space: nowrap;
  border: none;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(1px);
}

/* Primary — gold */
.btn-primary {
  background-color: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  opacity: 0.88;
}

/* Secondary — forest green */
.btn-secondary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--primary-dark);
}

/* Ghost — white outline on dark backgrounds */
.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Ghost dark — dark outline on light backgrounds */
.btn-ghost-dark {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-ghost-dark:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Large variant */
.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 0.9375rem;
}

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Deep gradient overlay — left-heavy, lets right side breathe */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(30, 51, 41, 0.90) 0%, rgba(30, 51, 41, 0.72) 50%, rgba(30, 51, 41, 0.35) 100%),
    linear-gradient(to top, rgba(30, 51, 41, 0.60) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  letter-spacing: -0.03em;
}

.hero-tagline {
  font-size: 1.0625rem;
  color: rgba(247, 245, 241, 0.80);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Agent portrait panel — offset card on the right */
.hero-portrait {
  position: relative;
}

.hero-portrait-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  position: relative;
}

.hero-portrait-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
}

.hero-portrait-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(30, 51, 41, 0.95) 0%, rgba(30, 51, 41, 0.6) 70%, transparent 100%);
  padding: 48px 24px 24px;
}

.hero-portrait-name {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.hero-portrait-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Gold accent corner decoration */
.hero-portrait::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius) 0 0 0;
  z-index: 3;
}

/* Inner page hero — shorter, no portrait */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) var(--pad-x) 72px;
  background-color: var(--bg-green);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(212, 163, 115, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(30, 51, 41, 0.8) 0%, transparent 70%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.875rem;
}

.page-hero .lead {
  font-size: 1.0625rem;
  color: rgba(247, 245, 241, 0.75);
  max-width: 560px;
  line-height: 1.75;
}

/* ═══════════════════════════════════════
   STATS BAR
═══════════════════════════════════════ */
.stats-bar {
  background-color: var(--primary);
  padding: 48px var(--pad-x);
}

.stats-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 8px 16px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(212, 163, 115, 0.3);
}

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.375rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.7);
}

/* ═══════════════════════════════════════
   LISTING CARDS
═══════════════════════════════════════ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.listing-card-photo {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.listing-card-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform var(--t-slow);
}

.listing-card:hover .listing-card-photo img {
  transform: scale(1.04);
}

.status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 2;
}

.status-badge--for-sale {
  background-color: var(--accent);
  color: var(--primary-dark);
}

.status-badge--sold {
  background-color: var(--primary);
  color: var(--white);
}

.status-badge--under-contract {
  background-color: #5C6BC0;
  color: var(--white);
}

.listing-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.listing-card-price {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.listing-card-address {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.listing-card-stats {
  display: flex;
  gap: 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.listing-card-stat {
  display: flex;
  align-items: center;
  gap: 5px;
}

.listing-card-stat svg {
  color: var(--accent);
  flex-shrink: 0;
}

.listing-card .btn {
  margin-top: auto;
  text-align: center;
  justify-content: center;
  width: 100%;
  font-size: 0.8125rem;
  padding: 0.75rem 1rem;
}

/* ═══════════════════════════════════════
   REVIEW CARDS
═══════════════════════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  display: flex;
  gap: 3px;
}

.review-stars svg {
  color: var(--accent);
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.review-author-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.review-author-context {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.review-source {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-alt);
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   CTA BANDS
═══════════════════════════════════════ */
.cta-band {
  background-color: var(--primary);
  padding: 80px var(--pad-x);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(212, 163, 115, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(30, 51, 41, 0.5) 0%, transparent 55%);
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  color: var(--white);
  margin-bottom: 0.625rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.cta-band-text p {
  color: rgba(247, 245, 241, 0.72);
  max-width: 480px;
  font-size: 1rem;
}

.cta-band-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Valuation CTA — gold background band */
.valuation-band {
  background-color: var(--accent);
  padding: 72px var(--pad-x);
  position: relative;
  overflow: hidden;
}

.valuation-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(44, 74, 62, 0.15) 0%, transparent 60%);
}

.valuation-band-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.valuation-band-text h2 {
  color: var(--primary-dark);
  margin-bottom: 0.625rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.valuation-band-text p {
  color: rgba(30, 51, 41, 0.72);
  max-width: 480px;
}

/* ═══════════════════════════════════════
   FORMS
═══════════════════════════════════════ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-group label .required-mark {
  color: var(--accent-dark);
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--t-fast);
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 74, 62, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C4A3E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
  cursor: pointer;
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  color: var(--primary);
  margin: 0 auto 16px;
}

.form-success h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.9375rem;
}

/* Form container card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

/* Tabs */
.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  margin-bottom: -2px;
  transition: color var(--t-fast);
  text-align: center;
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.tab-btn:hover { color: var(--primary); }
.tab-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ═══════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
  border-bottom: 3px solid transparent;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.step-card:hover {
  border-bottom-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.step-card::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.step-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.step-card p {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast);
}

.faq-question:hover { color: var(--primary); }

.faq-question:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: transform var(--t-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* ═══════════════════════════════════════
   SPLIT SECTION (2-col with image)
═══════════════════════════════════════ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image {
  position: relative;
}

.split-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Gold corner accent */
.split-image::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  border-bottom: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) 0;
}

.split-image.reverse-accent::after {
  bottom: -16px;
  right: auto;
  left: -16px;
  border-right: none;
  border-left: 3px solid var(--accent);
  border-radius: 0 0 0 var(--radius);
}

.split-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-text .gold-rule {
  margin-bottom: 0;
}

.credential-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}

.credential-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   ABOUT PAGE LARGE PORTRAIT
═══════════════════════════════════════ */
.about-portrait-wrap {
  position: relative;
}

.about-portrait-wrap img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
  display: block;
}

.about-award-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.about-award-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-dark);
}

.about-award-text strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.about-award-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   CONTACT INFO BLOCK
═══════════════════════════════════════ */
.contact-info-block {
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: 36px;
  color: var(--text-light);
}

.contact-info-block h3 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 163, 115, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-info-item strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.contact-info-item a {
  color: rgba(247, 245, 241, 0.85);
  transition: color var(--t-fast);
}

.contact-info-item a:hover { color: var(--accent); }

.contact-info-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 24px 0;
}

/* ═══════════════════════════════════════
   GOOGLE MAPS EMBED
═══════════════════════════════════════ */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* ═══════════════════════════════════════
   LDP — SLIDESHOW
═══════════════════════════════════════ */
.slideshow {
  position: relative;
  background: var(--primary-dark);
  overflow: hidden;
  /* Taller than 16:9 so object-fit:cover crops less top/bottom on typical listing photos */
  aspect-ratio: 4 / 3;
  max-height: min(85vh, 880px);
  width: 100%;
  max-width: 100%;
  /* Contain flex + transformed track so wide slides never expand scroll width */
  isolation: isolate;
}

.slideshow-track {
  display: flex;
  height: 100%;
  width: 100%;
  min-width: 0;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow-slide {
  flex: 0 0 100%;
  width: 100%;
  /* Override flex default min-width:auto so image intrinsic width cannot widen the row */
  min-width: 0;
  height: 100%;
  position: relative;
}

.slideshow-slide img,
.slideshow-slide video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.slideshow-slide-label {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.slideshow-arrow:hover {
  opacity: 0.88;
  transform: translateY(-50%) scale(1.05);
}

.slideshow-arrow:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.slideshow-prev { left: 20px; }
.slideshow-next { right: 20px; }

.slideshow-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  border: none;
  padding: 0;
}

.slideshow-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.slideshow-count {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  z-index: 10;
  font-family: var(--font-body);
}

/* ═══════════════════════════════════════
   LDP — PROPERTY DETAILS
═══════════════════════════════════════ */
.property-headline {
  padding: 40px var(--pad-x) 0;
  max-width: 1280px;
  margin: 0 auto;
}

.property-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.property-headline h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--text);
  margin-bottom: 6px;
}

.property-price {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.property-quick-stats {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-wrap: wrap;
  margin-top: 10px;
}

.property-quick-stat {
  display: flex;
  align-items: center;
  gap: 5px;
}

.property-quick-stat svg { color: var(--accent); }

/* Key stats tiles */
.key-stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 32px;
}

.key-stat-tile {
  background: var(--white);
  padding: 20px 16px;
  text-align: center;
}

.key-stat-tile-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.key-stat-tile-value {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* Property details grid */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.details-section h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.details-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.details-row:last-child { border-bottom: none; }

.details-label {
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.details-value {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

/* Mortgage calculator */
.mortgage-calc {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.mortgage-calc h2 {
  font-size: 1.375rem;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

/* LDP mortgage + CTA: minmax(0,…) prevents grid min-content from forcing horizontal overflow */
.mortgage-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-input-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.calc-input-group input,
.calc-input-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text);
  font-family: var(--font-body);
  background: var(--bg);
  transition: border-color var(--t-fast);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.calc-input-group input:focus,
.calc-input-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 74, 62, 0.1);
}

.calc-input-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C4A3E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  cursor: pointer;
}

.calc-down-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.calc-results {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-result-primary {
  grid-column: 1 / -1;
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.calc-result-primary .result-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.calc-result-primary .result-value {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.calc-result-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.calc-result-item .result-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.calc-result-item .result-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-head);
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* LDP Inquiry form */
.ldp-inquiry-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.ldp-inquiry-form h2 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.ldp-inquiry-form > p {
  font-size: 0.9375rem;
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════
   REVIEWS PAGE
═══════════════════════════════════════ */
.reviews-aggregate {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.reviews-aggregate-score {
  text-align: center;
}

.aggregate-number {
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
}

.aggregate-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 6px 0 4px;
}

.aggregate-stars svg { color: var(--accent); }

.aggregate-count {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-platform-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color var(--t-fast);
}

.platform-badge:hover { border-color: var(--accent); }
.platform-badge svg { color: var(--accent); }

/* ═══════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }

/* ═══════════════════════════════════════
   BUYER/SELLER SPLIT CTA
═══════════════════════════════════════ */
.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-cta-panel {
  position: relative;
  padding: 80px var(--pad-x);
  overflow: hidden;
}

.split-cta-panel--buy {
  background-color: var(--primary);
}

.split-cta-panel--sell {
  background-color: var(--primary-dark);
}

.split-cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom right, rgba(212, 163, 115, 0.18) 0%, transparent 65%);
}

.split-cta-panel-inner {
  position: relative;
  z-index: 1;
}

.split-cta-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.split-cta-panel h2 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.split-cta-panel p {
  color: rgba(247, 245, 241, 0.72);
  max-width: 380px;
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════
   MARKETING LIST (Sellers page)
═══════════════════════════════════════ */
.marketing-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.marketing-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid transparent;
  transition: border-color var(--t-fast);
}

.marketing-item:hover {
  border-left-color: var(--accent);
}

.marketing-item-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.marketing-item-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 3px;
}

.marketing-item-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   UTILITY
═══════════════════════════════════════ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-up.delay-1 { animation-delay: 0.1s; }
.fade-up.delay-2 { animation-delay: 0.2s; }
.fade-up.delay-3 { animation-delay: 0.3s; }
.fade-up.delay-4 { animation-delay: 0.4s; }
.fade-up.delay-5 { animation-delay: 0.5s; }

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --pad-x: 48px;
    --pad-section: 80px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 60px;
  }

  .hero-portrait { display: none; }

  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item:nth-child(2)::after { display: none; }

  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid  { grid-template-columns: repeat(2, 1fr); }

  .split-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split-section.reverse { direction: ltr; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .key-stats-bar { grid-template-columns: repeat(3, 1fr); }
  .details-grid  { grid-template-columns: 1fr; }
  .calc-inputs   { grid-template-columns: 1fr; }

  .about-award-badge {
    left: 12px;
    bottom: 12px;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
═══════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --pad-x: var(--pad-x-mobile);
    --pad-section: var(--pad-section-mobile);
  }

  /* Nav */
  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer   { display: block; }
  .site-nav { padding: 0 var(--pad-x-mobile); }

  /* Hero */
  .hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Stats */
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }

  /* Grids */
  .listings-grid { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }

  /* CTA bands */
  .cta-band-inner, .valuation-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; }

  /* Split CTA */
  .split-cta { grid-template-columns: 1fr; }
  .split-cta-panel { padding: 56px var(--pad-x-mobile); }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer { padding: 56px var(--pad-x-mobile) 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-license { text-align: left; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }

  /* Slideshow — slightly shorter cap on small screens so the hero doesn’t dominate the viewport */
  .slideshow {
    aspect-ratio: 4 / 3;
    max-height: min(72vh, 640px);
  }
  .slideshow-arrow { width: 44px; height: 44px; }
  .slideshow-prev { left: 12px; }
  .slideshow-next { right: 12px; }

  /* LDP */
  .key-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .calc-results  { grid-template-columns: 1fr; }
  .calc-result-primary .result-value { font-size: 2rem; }
  .mortgage-section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mortgage-calc { padding: 24px 20px; }
  .ldp-inquiry-form { padding: 24px 20px; }
  .property-headline { padding: 28px var(--pad-x-mobile) 0; }

  /* Reviews */
  .reviews-aggregate { flex-direction: column; align-items: flex-start; gap: 24px; }

  /* About */
  .about-portrait-wrap img { height: 400px; }
  .about-award-badge { left: 12px; bottom: 12px; min-width: auto; }

  /* Contact */
  .contact-info-block { padding: 28px 20px; }

  /* Section */
  .section { padding: var(--pad-section-mobile) var(--pad-x-mobile); }
  .page-hero { padding: calc(var(--nav-h) + 48px) var(--pad-x-mobile) 48px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max 480px)
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .stat-item::after { display: none; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .hero-eyebrow { font-size: 0.6875rem; }
  .nav-brand-name { font-size: 1rem; }

  .cta-band-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-band-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .tab-btn {
    font-size: 0.75rem;
    padding: 0.875rem 0.5rem;
  }
}
