/* ============================================================
   playrippl.homes — Design System
   Palette: Warm stone, sage green, deep slate, warm cream, soft terracotta
   Mood: Warm, modern, breathable, premium, real-world
   ============================================================ */

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

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ---- CSS VARIABLES ---- */
:root {
  /* Core Palette */
  --bg-primary:       #FAF8F5;
  --bg-secondary:     #F2EDE6;
  --bg-card:          #FFFFFF;
  --bg-dark:          #1C2333;
  --bg-darker:        #141824;

  /* Accent */
  --accent-primary:   #3D6B4F;   /* deep sage green */
  --accent-light:     #5A8C6A;   /* lighter sage */
  --accent-warm:      #C1714F;   /* terracotta */
  --accent-warm-light:#D98F6F;
  --accent-gold:      #B89A6E;   /* warm stone gold */

  /* Typography */
  --text-primary:     #1C2333;
  --text-secondary:   #4A5568;
  --text-muted:       #8A95A3;
  --text-light:       #FAF8F5;
  --text-on-dark:     #E8E4DC;

  /* Borders */
  --border-light:     #E8E2D9;
  --border-medium:    #D4CBBC;

  /* Gradients */
  --gradient-hero:    linear-gradient(135deg, #FAF8F5 0%, #F0E9DE 100%);
  --gradient-accent:  linear-gradient(135deg, #3D6B4F 0%, #5A8C6A 100%);
  --gradient-warm:    linear-gradient(135deg, #C1714F 0%, #D98F6F 100%);
  --gradient-dark:    linear-gradient(135deg, #1C2333 0%, #243042 100%);
  --gradient-text:    linear-gradient(135deg, #3D6B4F, #C1714F);

  /* Shadows */
  --shadow-sm:        0 2px 8px rgba(28, 35, 51, 0.06);
  --shadow-md:        0 8px 32px rgba(28, 35, 51, 0.10);
  --shadow-lg:        0 20px 60px rgba(28, 35, 51, 0.14);
  --shadow-card:      0 4px 24px rgba(28, 35, 51, 0.08);
  --shadow-hover:     0 12px 40px rgba(61, 107, 79, 0.18);

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-pill: 999px;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;

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

/* ---- LAYOUT ---- */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad {
  padding: 110px 0;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.85rem;
}

.eyebrow-light {
  color: rgba(255,255,255,0.65);
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  margin-bottom: 1.15rem;
  line-height: 1.18;
}

.section-body {
  font-size: 1.05rem;
  max-width: 560px;
  color: var(--text-secondary);
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 64px;
}

.section-header .section-body {
  margin: 0 auto;
}

.headline-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(61, 107, 79, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-medium);
}
.btn-ghost:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(61, 107, 79, 0.05);
}

.btn-outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1.5px solid var(--accent-primary);
}
.btn-outline:hover {
  background: var(--accent-primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--accent-primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255,255,255,0.2);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.3);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.btn-large {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
}

/* ---- NAVIGATION ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(250, 248, 245, 0.97);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 2rem;
}

.logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo-mark {
  color: var(--accent-primary);
}
.logo-dot {
  color: var(--accent-warm);
}
.logo-homes {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.22s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1.25rem;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-overlay.open {
  transform: translateX(0);
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.mobile-close:hover {
  color: var(--accent-warm);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.mobile-link {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s;
}
.mobile-link:hover {
  color: var(--accent-primary);
}

.mobile-cta {
  margin-top: 1rem;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blobDrift 12s ease-in-out infinite alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #d4ead9 0%, transparent 70%);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #f0dcd0 0%, transparent 70%);
  bottom: -100px;
  left: 5%;
  animation-delay: -5s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #dce8e0 0%, transparent 70%);
  top: 30%;
  left: 40%;
  animation-delay: -3s;
}

@keyframes blobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.06); }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 107, 79, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 107, 79, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
}

.hero-img-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-card:hover img {
  transform: scale(1.03);
}

.card-back {
  width: 75%;
  aspect-ratio: 3/4;
  top: 5%;
  left: 5%;
  transform: rotate(-4deg);
  opacity: 0.75;
  z-index: 1;
}

.card-front {
  width: 80%;
  aspect-ratio: 4/5;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.hero-card-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  box-shadow: var(--shadow-md);
  min-width: 150px;
}

.badge-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge-price {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-float-stat {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  animation: floatStat 4s ease-in-out infinite alternate;
}

.stat-1 {
  top: 15%;
  right: -5%;
  animation-delay: 0s;
}

.stat-2 {
  bottom: 18%;
  left: -5%;
  animation-delay: -2s;
}

.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

@keyframes floatStat {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 0;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 2.5rem;
  flex: 1;
  min-width: 200px;
}

.trust-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.trust-item strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 48px;
  background: var(--border-light);
  flex-shrink: 0;
}

/* ---- SERVICES ---- */
.services {
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
  color: #fff;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  background: rgba(255,255,255,0.18);
}

.service-icon {
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  transition: color 0.3s;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-primary);
  transition: color 0.3s;
}

/* ---- WHY US ---- */
.why-us {
  background: var(--bg-secondary);
}

.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.why-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.why-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.why-img-frame:hover img {
  transform: scale(1.03);
}

.why-stat-bubble {
  position: absolute;
  bottom: 1.75rem;
  right: -1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  z-index: 2;
}

.bubble-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
}

.bubble-txt {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.why-visual {
  position: relative;
}

.why-img-secondary {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 45%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-secondary);
  z-index: 3;
}

.why-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

.why-body {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
  color: var(--text-secondary);
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-check {
  width: 28px;
  height: 28px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.why-item span {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---- SHOWCASE / LISTINGS ---- */
.showcase {
  background: var(--bg-primary);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.listing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(61, 107, 79, 0.2);
}

.listing-card--featured {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 40px rgba(61, 107, 79, 0.15);
}

.listing-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.listing-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.listing-card:hover .listing-img-wrap img {
  transform: scale(1.05);
}

.listing-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--bg-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}

.listing-tag--featured {
  background: var(--gradient-accent);
}

.listing-tag--rent {
  background: var(--gradient-warm);
}

.listing-body {
  padding: 1.5rem;
}

.listing-price {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.listing-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.listing-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.listing-loc {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.listing-specs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.listing-specs span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

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

/* ---- TESTIMONIALS ---- */
.testimonials {
  background: var(--bg-secondary);
}

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

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

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

.testi-card--highlight {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff;
}

.testi-stars {
  font-size: 0.9rem;
  color: #F5A623;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.testi-card--highlight .testi-stars {
  color: #FFD87A;
}

.testi-quote {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-card--highlight .testi-quote {
  color: rgba(255,255,255,0.88);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.testi-card--highlight .testi-avatar {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.testi-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testi-card--highlight .testi-author strong {
  color: #fff;
}

.testi-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testi-card--highlight .testi-author span {
  color: rgba(255,255,255,0.65);
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}

.cta-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #3D6B4F 0%, transparent 70%);
  top: -150px;
  left: -150px;
}

.cta-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #C1714F 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
}

.cta-container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.cta-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- CONTACT PREVIEW ---- */
.contact-preview {
  background: var(--bg-primary);
}

.contact-preview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.75rem 0 2.25rem;
}

.contact-details li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-details strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-details span,
.contact-details a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.contact-details a:hover {
  color: var(--accent-primary);
}

.contact-map-placeholder {
  position: relative;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 4/3;
}

.map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 35, 51, 0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.map-pin-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-md);
  font-size: 1.25rem;
}

.map-pin-badge > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.map-pin-badge strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.map-pin-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.page-hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-hero-container {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.page-hero-body {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.75;
}

/* ---- ABOUT PAGE ---- */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.about-img-frame:hover img {
  transform: scale(1.03);
}

.about-story-text .section-title {
  margin-top: 0.5rem;
}

.about-story-text p {
  margin-bottom: 1.25rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(61, 107, 79, 0.2);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.04);
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-info span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.team-info p {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ---- CONTACT FORM ---- */
.contact-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(61, 107, 79, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.form-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: rgba(61, 107, 79, 0.08);
  border: 1px solid rgba(61, 107, 79, 0.25);
  border-radius: var(--radius-md);
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.contact-details-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.contact-info-card address {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.contact-detail-link {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.contact-detail-link:hover {
  color: var(--accent-primary);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.contact-map-embed img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.map-label {
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  border-top: 1px solid var(--border-light);
}

/* ---- LEGAL PAGES ---- */
.legal-hero {
  padding: calc(var(--nav-height) + 60px) 0 50px;
  background: var(--gradient-hero);
}

.legal-hero .section-eyebrow {
  display: block;
  margin-bottom: 0.5rem;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.legal-hero p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-container {
  max-width: 820px;
}

.legal-body h2 {
  font-size: 1.25rem;
  margin: 2.25rem 0 0.75rem;
  color: var(--text-primary);
}

.legal-body p,
.legal-body li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-body ul {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.legal-body li {
  margin-bottom: 0.4rem;
}

.legal-body a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body address {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-top: 64px;
}

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

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand .logo-mark { color: #7CB88A; }
.footer-brand .logo-dot  { color: #D98F6F; }
.footer-brand .logo-homes{ color: var(--text-on-dark); }

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
}

.footer-address a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-address a:hover {
  color: #7CB88A;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #7CB88A;
}

.footer-col p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
}

.footer-hours {
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.5) !important;
  line-height: 1.9 !important;
}

.footer-bottom {
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom-inner span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
}

.footer-legal-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #7CB88A;
}

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s);
}

.fade-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-container            { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual               { display: none; }
  .why-container             { grid-template-columns: 1fr; gap: 3rem; }
  .why-visual                { max-width: 480px; }
  .listing-grid              { grid-template-columns: 1fr 1fr; }
  .testimonials-grid         { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .contact-preview-container { grid-template-columns: 1fr; gap: 3rem; }
  .about-story-grid          { grid-template-columns: 1fr; gap: 3rem; }
  .team-grid                 { grid-template-columns: 1fr 1fr; }
  .contact-full-grid         { grid-template-columns: 1fr; gap: 3rem; }

  .nav-links, .nav-cta { display: none; }
  .hamburger            { display: flex; }
}

@media (max-width: 640px) {
  .section-pad     { padding: 72px 0; }
  .services-grid   { grid-template-columns: 1fr; }
  .listing-grid    { grid-template-columns: 1fr; }
  .values-grid     { grid-template-columns: 1fr 1fr; }
  .team-grid       { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .trust-strip-inner { flex-direction: column; }
  .trust-divider   { width: 80%; height: 1px; }
  .form-row        { grid-template-columns: 1fr; }
  .cta-actions     { flex-direction: column; align-items: center; }
  .hero-trust      { flex-direction: column; }
  .footer-grid     { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .why-img-secondary   { display: none; }
  .why-stat-bubble     { right: 1rem; }
}

@media (max-width: 400px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.2rem; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

/* ---- SELECTION ---- */
::selection {
  background: rgba(61, 107, 79, 0.18);
  color: var(--accent-primary);
}