/* ============================================
   DAVIS REALTY — Premium Stylesheet
   Primary: #6dbdb4 (teal), Accent: #452820 (brown)
   ============================================ */

:root {
  --teal: #6dbdb4;
  --teal-dark: #52a49c;
  --teal-deeper: #1f5f5a;
  --teal-hero: #0e3533;
  --brown: #452820;
  --brown-light: #5c3828;
  --tan: #ab978a;
  --tan-light: #c9b9af;
  --off-white: #f5fafa;
  --white: #ffffff;
  --text-dark: #0d2220;
  --text-mid: #2a4a47;
  --text-light: #6a8c89;
  --border: rgba(109, 189, 180, 0.18);
  --shadow-sm: 0 2px 12px rgba(15, 80, 75, 0.08);
  --shadow-md: 0 8px 32px rgba(15, 80, 75, 0.12);
  --shadow-lg: 0 20px 60px rgba(15, 80, 75, 0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

.accent-text { color: var(--teal); }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-sub { color: var(--text-light); font-size: 1.05rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(109, 189, 180, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── NAV ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(69, 40, 32, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
  transition: padding 0.3s ease;
}

#header.scrolled .nav-container { padding: 14px 40px; }

.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 96px;
  width: auto;
  transition: var(--transition);
}
#header.scrolled .nav-logo img { height: 72px; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}
.nav-logo-text small {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--teal);
  opacity: 0.85;
  margin-top: 4px;
}
#header.scrolled .nav-logo-text { font-size: 1.6rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  padding: 8px 14px;
  border-radius: 50px;
  transition: var(--transition);
}
#header.scrolled .nav-links a { color: var(--text-dark); }
.nav-links a:hover { background: rgba(255,255,255,0.15); }
#header.scrolled .nav-links a:hover { background: var(--off-white); }

.nav-cta {
  background: var(--brown) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
}
.nav-cta:hover {
  background: var(--brown-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(69, 40, 32, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#header.scrolled .nav-toggle span { background: var(--brown); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-hero);
  overflow: hidden;
}

/* Static wrapper — blur + scale live here so they never transition */
.hero-slides-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(8px) saturate(1.1);
  transform: scale(1.08);
  transform-origin: center;
}

/* Hero image carousel slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Darker vignette at edges */
    radial-gradient(ellipse 80% 75% at 55% 50%, transparent 0%, rgba(8, 28, 27, 0.35) 60%, rgba(5, 20, 19, 0.8) 100%),
    /* Soft teal glow center */
    radial-gradient(ellipse 55% 55% at 55% 45%, rgba(180, 220, 215, 0.22) 0%, rgba(109, 189, 180, 0.08) 35%, transparent 70%),
    /* Left side darkening for text legibility */
    linear-gradient(100deg, rgba(14, 53, 51, 0.75) 0%, rgba(14, 53, 51, 0.45) 35%, rgba(14, 53, 51, 0.25) 70%, rgba(14, 53, 51, 0.4) 100%);
  z-index: 1;
  backdrop-filter: saturate(1.1);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--white);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 80px;
  align-self: center;
}

.hero-texts {
  position: relative;
  min-height: 280px;
}

.hero-text {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}
.hero-text.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  display: block;
}

.hero-content h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 32px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
  max-width: 520px;
}

.hero-phone {
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
  display: inline-block;
  margin-top: 2px;
}
.hero-phone:hover { color: var(--teal); }

/* Slide indicators (right side) */
.hero-indicators {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.hero-indicator {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  cursor: pointer;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: color 0.3s ease;
}
.hero-indicator::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.35s ease;
}
.hero-indicator.active {
  color: var(--white);
}
.hero-indicator.active::before { width: 28px; }
.hero-indicator:hover { color: var(--white); }

/* Socials bottom-left */
.hero-socials {
  position: absolute;
  bottom: 42px;
  left: 80px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.hero-socials a {
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 2px;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}
.hero-socials a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.hero-socials a:hover {
  color: var(--teal);
  transform: translateY(-1px);
}
.hero-socials a:hover::after { transform: scaleX(1); }
.hero-social-sep {
  width: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--teal-dark);
  padding: 40px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 48px;
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d2220;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

/* ── SERVICES INTRO ── */
.services-intro {
  padding: 100px 0;
  background: var(--off-white);
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(109, 189, 180, 0.12), rgba(109, 189, 180, 0.06));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--teal); }

.service-card h3 { font-size: 1.1rem; color: var(--text-dark); }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; flex: 1; }

.card-arrow {
  font-size: 1.2rem;
  color: var(--teal);
  transition: var(--transition);
  align-self: flex-start;
}
.service-card:hover .card-arrow { transform: translateX(4px); }

/* ── CONTENT SECTIONS ── */
.content-section { padding: 100px 0; }
.alt-bg { background: var(--off-white); }

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.img-stack {
  position: relative;
}

.img-main {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.img-secondary { display: none; }

.content-text h2 { margin-bottom: 20px; }
.content-intro { color: var(--text-mid); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.8; }
.content-tagline { color: var(--text-light); font-style: italic; margin: 24px 0; font-size: 0.95rem; }

.feature-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 8px; }

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--teal);
  border-radius: 50%;
  margin-top: 6px;
}

.feature-item strong { display: block; font-size: 0.95rem; color: var(--text-dark); margin-bottom: 2px; }
.feature-item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

/* Buyer's Agent visual */
.buyers-agent-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
}

.ba-card {
  background: var(--brown);
  border-radius: var(--radius);
  padding: 48px 40px;
  color: var(--white);
  text-align: center;
  max-width: 360px;
  position: relative;
  overflow: hidden;
}
.ba-card::before {
  content: '"';
  position: absolute;
  top: -20px; left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
}
.ba-icon { width: 40px; height: 40px; stroke: var(--teal); margin: 0 auto 24px; }
.ba-card p { font-size: 1.05rem; line-height: 1.8; font-style: italic; color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.ba-card-author { font-size: 0.8rem; color: var(--tan); letter-spacing: 0.05em; }

/* ── WHY SECTION ── */
.why-section {
  padding: 100px 0;
  background: var(--teal-deeper);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.why-section .section-header h2 { color: var(--white); }
.why-section .section-sub { color: rgba(255,255,255,0.65); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(109, 189, 180, 0.3);
}

.why-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(109, 189, 180, 0.3);
  line-height: 1;
  margin-bottom: 16px;
}
.why-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.why-card p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.7; }

.why-cta { text-align: center; }

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 100px 0;
  background: var(--off-white);
}

.rate-link {
  display: inline-block;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 8px;
  transition: var(--transition);
}
.rate-link:hover { color: var(--teal-dark); text-decoration: underline; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-card.featured {
  background: var(--brown);
  border-color: transparent;
  grid-row: span 1;
}
.testimonial-card.featured .stars { color: var(--teal); }
.testimonial-card.featured p { color: rgba(255,255,255,0.9); }

.stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
}
.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
}

/* ── ABOUT ── */
.about-section {
  padding: 100px 0;
  background: var(--white);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--brown);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.badge-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.badge-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
  display: block;
  max-width: 120px;
  line-height: 1.4;
  margin-top: 6px;
}

.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.8; }

.about-signature { height: 60px; width: auto; margin: 20px 0; }

.about-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-mid);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── CONTACT ── */
.contact-section {
  padding: 100px 0;
  background: var(--off-white);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--text-mid); line-height: 1.8; margin-bottom: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.contact-detail-item:hover {
  border-color: var(--teal);
  transform: translateX(4px);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; fill: var(--white); stroke: none; }
.contact-detail-icon svg[stroke] { fill: none; stroke: var(--white); }

.detail-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}
.detail-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(109, 189, 180, 0.1);
}

.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='%238a7a70' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  cursor: pointer;
  accent-color: var(--teal);
  margin-top: 2px;
}
.form-check label { font-size: 0.85rem; color: var(--text-light); cursor: pointer; line-height: 1.5; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 48px 32px;
  background: linear-gradient(180deg, rgba(109, 189, 180, 0.08) 0%, rgba(109, 189, 180, 0.02) 100%);
  border: 1px solid rgba(109, 189, 180, 0.3);
  border-radius: var(--radius);
  animation: successFadeIn 0.5s ease;
}
.form-success.show { display: flex; }
.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(109, 189, 180, 0.35);
  margin-bottom: 4px;
}
.form-success-icon svg { width: 30px; height: 30px; }
.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}
.form-success p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 360px;
  margin: 0;
}
.form-success-phone {
  margin-top: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-dark);
  border: 1px solid var(--teal);
  border-radius: 999px;
  transition: var(--transition);
}
.form-success-phone:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}
@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── FOOTER ── */
.footer {
  background: #071a19;
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo { height: 48px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 600; color: #fff; margin-bottom: 16px; letter-spacing: 0.5px; }

.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { border-color: var(--teal); color: var(--teal); }

.footer-links h4, .footer-contact h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--teal); transform: translateX(2px); display: inline-block; }

.footer-contact { display: flex; flex-direction: column; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  transition: var(--transition);
}
.footer-contact-item:hover { color: var(--teal); }
.footer-contact-item svg { flex-shrink: 0; opacity: 0.5; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }
.built-by { color: rgba(255,255,255,0.25); font-size: 0.8rem; }
.built-by a { color: var(--teal); opacity: 0.7; transition: var(--transition); }
.built-by a:hover { opacity: 1; }

/* ── ANIMATIONS ── */
.fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide in from left (for content-split text side) */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right (for content-split image side) */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale-fade for images */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger — children start hidden, fade in sequentially when parent gets .visible */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .content-split { gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--brown);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 32px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--white) !important; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: flex; }

  .nav-container { padding: 16px 20px; }

  .hero-actions { flex-direction: column; align-items: center; }

  .stats-grid { gap: 0; }
  .stat-item { padding: 12px 24px; }
  .stat-divider { display: none; }

  .services-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card { padding: 24px 20px; }

  .content-split,
  .content-split.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .content-split.reverse .content-images { order: -1; }

  .img-secondary { display: none; }
  .img-stack { padding: 0; }

  .buyers-agent-visual { min-height: 250px; }

  .why-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .about-split { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { bottom: 16px; right: 16px; }

  .contact-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .section-header { margin-bottom: 40px; }
  .content-section, .services-intro, .why-section,
  .testimonials-section, .about-section, .contact-section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .services-cards { grid-template-columns: 1fr; }
  .stat-number { font-size: 1.6rem; }
}
