/* ============================================================
   EMBERTON ESTATE — style.css
   ============================================================ */

/* ------------------------------------------------------------
   VARIABLES
   ------------------------------------------------------------ */
:root {
  --teal:       #2D6567;
  --teal-d:     #1E4547;
  --teal-l:     #3D7E82;
  --teal-soft:  #EBF2F1;
  --sage:       #769D8F;
  --sage-l:     #8AADA0;
  --sage-soft:  #EEF4F2;
  --mauve:      #D3C6D2;
  --mauve-soft: #F5F1F5;
  --white:      #ffffff;
  --off-white:  #FAFAF9;
  --sand:       #F2EEF2;
  --black:      #111111;
  --grey-d:     #374151;
  --grey:       #6B7280;
  --grey-l:     #D1D5DB;
  --grey-xl:    #F3F4F6;
  --wa:         #25D366;

  /* Legacy aliases — keep so existing references compile */
  --gold:       var(--sage);
  --gold-l:     var(--sage-l);
  --gold-soft:  var(--sage-soft);

  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:  0 16px 56px rgba(0,0,0,0.13);
  --transition: 0.25s ease;
  --max-w:      1200px;
  --section-py: 110px;
}

/* ------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: rgba(45,101,103,.20); }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img    { max-width: 100%; display: block; }
a      { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul     { list-style: none; padding: 0; margin: 0; }

.font-cormorant {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* ------------------------------------------------------------
   ANIMATIONS — fade-up
   ------------------------------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.44s; }
.delay-5 { transition-delay: 0.56s; }

/* Fade from right — for list items */
.fade-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* Intro entrance (page load) */
.intro-logo {
  opacity: 0;
  transition: opacity 0.55s ease;
}
.intro-logo.intro-go { opacity: 1; }

.intro-nav {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1),
              transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.intro-nav.intro-go { opacity: 1; transform: translateX(0); }

.intro-el {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.intro-el.intro-go { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------
   PAGE LOADER
   ------------------------------------------------------------ */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--teal-d);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-leaf { width: 48px; height: auto; }

/* ------------------------------------------------------------
   ACCESSIBILITY
   ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -40px; left: 8px;
  background: var(--teal-d);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.875rem; font-weight: 600;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 8px;
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  color: var(--white);
}

/* ------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgb(78 85 84 / 31%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--transition), box-shadow var(--transition),
              padding var(--transition);
}
.site-nav.scrolled {
  background: var(--teal);
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
}

.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 15px 24px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  transition: padding var(--transition);
}
.site-nav.scrolled .nav-inner { padding-top: 10px; padding-bottom: 10px; }

.nav-logo img {
  width: 100px; height: auto;
  transition: width var(--transition);
}
.site-nav.scrolled .nav-logo img { width: 80px; }

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after { width: 100%; }

.nav-links a.nav-cta {
  background: var(--gold); color: var(--white);
  padding: 9px 20px; border-radius: 50px;
  font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition);
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--gold-l); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: 6px;
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  background: var(--teal-d);
  border-top: 1px solid rgba(255,255,255,0.08);
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.35s ease;
}
.nav-drawer.open {
  max-height: calc(100dvh - 64px);
  height: calc(100dvh - 64px);
  padding: 24px 0;
}
.nav-drawer ul { padding: 0 24px; text-align: center; }
.nav-drawer ul li + li { border-top: 1px solid rgba(255,255,255,0.06); }
.nav-drawer ul a {
  display: block; padding: 14px 0;
  color: rgba(255,255,255,0.85);
  font-size: 1rem; font-weight: 500;
  transition: color var(--transition);
}
.nav-drawer ul a:hover { color: var(--white); }

.drawer-cta {
  display: block; margin: 20px auto 0;
  max-width: calc(100% - 48px);
  padding: 14px 20px;
  background: var(--gold); color: var(--white) !important;
  text-align: center; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9375rem;
  transition: background var(--transition);
}
.drawer-cta:hover { background: var(--gold-l); }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@keyframes hero-gradient-pan {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 25% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(30 69 71 / 47%) 0%, rgb(30 69 71 / 53%) 15%, rgb(30 69 71 / 22%) 38%, rgb(30 69 71 / 0%) 64%, transparent 80%);
  background-size: 180% 100%;
  animation: hero-gradient-pan 18s ease-in-out infinite;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  padding: 120px 24px 80px; width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--white);
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 28px;
}
.badge-line {
  display: inline-block; width: 28px; height: 1.5px;
  background: var(--gold); flex-shrink: 0;
}

.hero h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.04;
  color: var(--white); margin-bottom: 24px; max-width: 700px;
}
.hero-pre-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
}
.hero-estate-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--white);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.80);
  max-width: 500px; line-height: 1.55; margin-bottom: 40px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Scroll chevrons */
.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 1;
}
.scroll-chevrons {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  animation: chevronBob 2s ease-in-out infinite;
}
.scroll-chevrons span {
  display: block; width: 11px; height: 11px;
  border-right: 2px solid rgba(255,255,255,0.55);
  border-bottom: 2px solid rgba(255,255,255,0.55);
  transform: rotate(45deg);
}
.scroll-chevrons span:nth-child(2) { margin-top: -4px; }

@keyframes chevronBob {
  0%, 100% { transform: translateY(0);   opacity: 0.45; }
  50%       { transform: translateY(7px); opacity: 0.95; }
}

.teal-bar { height: 4px; background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 100%); }

/* ------------------------------------------------------------
   TESTIMONIALS
   ------------------------------------------------------------ */
.testimonials-section {
  background: #f5f2ee;
  padding: 80px 0 88px;
  overflow: hidden;
}
.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto 52px;
  padding: 0 24px;
}
.testimonials-header .section-title {
  text-align: left;
}
.testimonials-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin-bottom: 6px;
}
.testimonials-nav-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sage);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.testimonials-nav-btn:hover {
  background: var(--sage-l);
  transform: translateY(-1px);
}
.testimonials-nav-btn svg {
  display: block;
}
.testimonials-track-outer {
  position: relative;
}
.testimonials-track-outer::before,
.testimonials-track-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.testimonials-track-outer::before {
  left: 0;
  background: linear-gradient(to right, rgba(245,242,238,0.50), transparent);
}
.testimonials-track-outer::after {
  right: 0;
  background: linear-gradient(to left, rgba(245,242,238,0.50), transparent);
}
.testimonials-track-wrap {
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.testimonials-track-wrap::-webkit-scrollbar {
  display: none;
}
.testimonials-track-wrap.is-dragging {
  cursor: grabbing;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 8px 60px 8px;
}
.testimonial-card {
  background: var(--sage);
  border-radius: 12px;
  padding: 32px 28px 28px;
  width: min(420px, 85vw);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
}
.testimonial-text {
  font-size: 1rem;
  color: #fff;
  line-height: 1.45;
  font-style: italic;
  flex: 1;
  position: relative;
  padding: 4px 48px 12px;
}
.testimonial-text::before {
  content: '\201C';
  position: absolute;
  top: -4px; left: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 65px;
  line-height: 0.82;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  user-select: none;
}
.testimonial-text::after {
  content: '\201D';
  position: absolute;
  bottom: -14px; right: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 65px;
  line-height: 0.82;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  user-select: none;
}
.testimonial-author {
  border-top: 1px solid rgba(255,255,255,0.20);
  padding-top: 12px;
  width: 100%;
}
.testimonial-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.9375rem;
}
.testimonial-role {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--white);
  font-weight: 600; font-size: 0.9375rem;
  padding: 14px 28px; border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--sage-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(118,157,143,0.35);
  color: var(--white);
}

.cta-group {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white);
  font-weight: 500; font-size: 0.9375rem;
  padding: 13px 26px; border-radius: 50px;
  transition: background var(--transition), border-color var(--transition);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.85);
  color: var(--white);
}
.btn-outline-white .btn-arrow { transition: transform 0.28s cubic-bezier(0.22,1,0.36,1); flex-shrink: 0; }
.btn-outline-white:hover .btn-arrow { transform: translateX(5px); }

.btn-ghost-white {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.50);
  color: var(--white);
  font-weight: 500; font-size: 0.9375rem;
  padding: 13px 26px; border-radius: 50px;
  transition: background var(--transition), border-color var(--transition);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.80);
  color: var(--white);
}

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--teal-d);
  font-weight: 600; font-size: 0.9375rem;
  padding: 13px 26px; border-radius: 50px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); color: var(--teal-d); }
.btn-white .btn-arrow { transition: transform 0.28s cubic-bezier(0.22,1,0.36,1); flex-shrink: 0; }
.btn-white:hover .btn-arrow { transform: translateX(5px); }

.btn-teal {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white);
  font-weight: 600; font-size: 0.9375rem;
  padding: 13px 26px; border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}
.btn-teal:hover { background: var(--teal-l); transform: translateY(-2px); color: var(--white); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--teal);
  font-weight: 600; font-size: 0.9375rem;
  padding: 13px 26px; border-radius: 50px;
  border: 2px solid var(--teal);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover {
  background: var(--teal); color: var(--white);
  transform: translateY(-2px);
}

/* Arrow slide on hover */
.btn-primary .btn-arrow,
.btn-teal .btn-arrow {
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
  flex-shrink: 0;
}
.btn-primary:hover .btn-arrow,
.btn-teal:hover .btn-arrow { transform: translateX(5px); }

/* ------------------------------------------------------------
   SECTION — shared layout
   ------------------------------------------------------------ */
.section { padding: var(--section-py) 0; }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.section-tag {
  display: inline-block;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); line-height: 1;
  border-left: 3px solid var(--gold); padding-left: 10px; margin-bottom: 0;
}
/* Two-line heading treatment — eyebrow + italic main */
.title-eyebrow {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.04em;
  color: #000000;
  margin-bottom: 0;
  line-height: 1.15;
}
.title-main {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.375rem, 4.375vw, 3.375rem);
  font-weight: 400;
  font-style: italic;
  color: var(--teal);
  line-height: 1.1;
}
/* Dark background variants */
.title-eyebrow--white { color: rgba(255,255,255,0.6); }
.title-main--white { color: var(--white); }

.section-title { margin-bottom: 0; }
.section-lead {
  font-size: 0.9375rem; line-height: 1.75;
  color: var(--grey-d); margin-bottom: 0;
}
.body-text { font-size: 0.9375rem; line-height: 1.75; color: var(--grey); margin-bottom: 18px; }

/* ------------------------------------------------------------
   STATS STRIP
   ------------------------------------------------------------ */
.stats-strip {
  background: var(--teal-d);
  padding: 56px 24px;
}
.stats-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center; padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500; color: var(--white);
  line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ------------------------------------------------------------
   ABOUT — section watermark + image + feature cards
   ------------------------------------------------------------ */
#about { position: relative; overflow: hidden; }
#about .section-inner { position: relative; z-index: 1; }

.about-watermark {
  position: absolute;
  left: -7%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px; height: auto;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* Subtle gradient accents (used in place of watermarks on Emberton sections) */
.section-accent {
  position: absolute;
  top: 0; bottom: 0;
  width: 45%;
  pointer-events: none;
  z-index: 0;
}
.section-accent--left {
  left: 0;
  background: radial-gradient(ellipse at left center, var(--teal-soft) 0%, transparent 60%);
  opacity: 0.55;
}
.section-accent--right {
  right: 0;
  background: radial-gradient(ellipse at right center, var(--sage-soft) 0%, transparent 60%);
  opacity: 0.55;
}

.about-image-outer {
  position: relative;
  margin-bottom: 24px;
  margin-right: 0;
}

.about-image-wrap {
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.about-pattern-strip {
  position: absolute;
  top: 0; bottom: 0;
  right: -56px;
  width: 52px;
  border-left: 3px solid var(--white);
  overflow: hidden;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.about-pattern-strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Estate feature list */
.estate-features-grid {
  display: flex;
  flex-direction: column;
}
.estate-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--teal-soft);
}
.estate-feature:first-child { border-top: none; }
.estate-feature:last-child  { border-bottom: none; }

.estate-feature-icon {
  color: var(--teal);
  display: flex; align-items: center;
  flex-shrink: 0;
  padding-top: 2px;
  width: 28px;
}

.estate-feature-body {}
.estate-feature-title {
  font-weight: 600; font-size: 0.9375rem;
  color: var(--teal-d); margin-bottom: 4px;
}
.estate-feature-desc {
  font-size: 0.8125rem; line-height: 1.62;
  color: var(--grey); margin: 0;
}

/* ------------------------------------------------------------
   LIFESTYLE — bento grid
   ------------------------------------------------------------ */
.lifestyle-header { max-width: 680px; }

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 320px 240px;
  gap: 12px;
}

/* First card spans 2 columns */
.lifestyle-card--featured { grid-column: 1 / 3; }

.lifestyle-card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  background: var(--teal-d);
}
.lifestyle-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.lifestyle-card:hover img { transform: scale(1.05); }

.lifestyle-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,69,71,0.78) 0%, rgba(30,69,71,0.15) 55%, transparent 100%);
  transition: background 0.4s ease;
}
.lifestyle-card:hover .lifestyle-card-overlay {
  background: linear-gradient(to top, rgba(30,69,71,0.88) 0%, rgba(30,69,71,0.32) 65%, transparent 100%);
}

.lifestyle-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 22px;
  transform: translateY(0); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.lifestyle-card-icon {
  width: 32px; height: 32px;
  background: rgba(118,157,143,0.25);
  border: 1px solid rgba(118,157,143,0.5);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-l);
  margin-bottom: 8px;
}
.lifestyle-card-title {
  font-weight: 600; font-size: 0.9375rem;
  color: var(--white); margin-bottom: 0;
  line-height: 1.3;
}
.lifestyle-card-desc {
  font-size: 0.8125rem; line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin-top: 5px;
}

.lifestyle-footer { display: flex; }

/* ------------------------------------------------------------
   GALLERY — bento grid
   ------------------------------------------------------------ */
.gallery-header { max-width: 560px; }

.gallery-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px 170px;
  gap: 10px;
}

/* Row 1: small · small · big */
.gallery-bento .gallery-item:nth-child(1) { grid-column: span 1; }
.gallery-bento .gallery-item:nth-child(2) { grid-column: span 1; }
.gallery-bento .gallery-item:nth-child(3) { grid-column: span 2; }

/* Row 2: big · small · small */
.gallery-bento .gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-bento .gallery-item:nth-child(5) { grid-column: span 1; }
.gallery-bento .gallery-item:nth-child(6) { grid-column: span 1; }

/* Row 3: four equal */
.gallery-bento .gallery-item:nth-child(7),
.gallery-bento .gallery-item:nth-child(8),
.gallery-bento .gallery-item:nth-child(9),
.gallery-bento .gallery-item:nth-child(10) { grid-column: span 1; }

.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--grey-l);
  padding: 0;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(30,69,71,0);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay { background: rgba(30,69,71,0.45); }
.gallery-item-overlay svg { opacity: 0; transform: scale(0.7); transition: opacity 0.3s ease, transform 0.3s ease; }
.gallery-item:hover .gallery-item-overlay svg { opacity: 1; transform: scale(1) rotate(-45deg); }

/* ------------------------------------------------------------
   LIGHTBOX
   ------------------------------------------------------------ */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,35,37,0.96);
}
.lb-img-wrap {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-img-wrap img {
  max-width: 90vw; max-height: 82vh;
  object-fit: contain; border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.lb-caption {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.65);
  font-size: 0.8125rem; letter-spacing: 0.04em;
  text-align: center; pointer-events: none;
}
.lb-close, .lb-prev, .lb-next {
  position: fixed; z-index: 2; cursor: pointer;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
  backdrop-filter: blur(6px);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.18); }

.lb-close {
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  font-size: 1.5rem; line-height: 1;
}
.lb-prev, .lb-next {
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  font-size: 2rem; line-height: 1;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover { transform: translateY(-50%) translateX(-2px); }
.lb-next:hover { transform: translateY(-50%) translateX(2px); }

/* ------------------------------------------------------------
   AERIAL SPLIT — full-bleed image with gradient overlay
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   STATS STRIP
   ------------------------------------------------------------ */
.stats-strip {
  background: #f5f2ee;
  padding: 28px 24px;
}
.stats-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 16px 24px;
}
.stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.stat-sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--teal);
}
.stat-unit {
  font-size: 0.45em;
  color: var(--teal);
  font-style: italic;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.5;
  margin-top: 8px;
}
.stat-divider {
  width: 1px;
  height: 52px;
  background: rgba(0,0,0,0.1);
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .stats-strip-inner { gap: 0; }
  .stat-divider { display: none; }
  .stat-item { min-width: 45%; border-bottom: 1px solid rgba(0,0,0,0.06); padding: 20px 16px; }
}

/* ------------------------------------------------------------
   MOBILE STICKY CTA
   ------------------------------------------------------------ */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  padding: 8px 14px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.1);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.mobile-sticky-btn {
  width: 100%;
  justify-content: center;
}
.mobile-sticky-cta .btn-primary {
  padding: 10px 20px;
  font-size: 0.875rem;
}
@media (max-width: 767px) {
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 58px; }
  .wa-float { right: 16px; width: 46px; height: 46px; }
  body:has(.mobile-sticky-cta) .wa-float { bottom: 72px; }
}
.aerial-split {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.aerial-split-image {
  position: absolute; inset: 0; z-index: 0;
}
.aerial-split-image img {
  width: 100%; height: 120%;
  object-fit: cover; object-position: center;
  display: block;
  position: absolute;
  top: -10%; left: 0;
  will-change: transform;
}
.aerial-split-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(15,37,53,0.82) 0%,
    rgba(15,37,53,0.73) 30%,
    rgba(15,37,53,0.45) 58%,
    rgba(15,37,53,0.12) 82%
  );
}
.aerial-split-text {
  position: relative; z-index: 1;
  width: 55%;
  padding: 80px 72px;
  background: none;
  color: var(--white);
}
.aerial-split-cta { align-self: flex-start; }
.aerial-split-text .title-eyebrow { color: rgba(255,255,255,0.55); }
.aerial-split-text .title-main    { color: var(--white); }
.aerial-split-text .section-lead  { color: rgba(255,255,255,0.75); }

/* ------------------------------------------------------------
   LOCATION
   ------------------------------------------------------------ */
#location { position: relative; overflow: hidden; }
#location .section-inner { position: relative; z-index: 1; }

.location-watermark {
  position: absolute;
  right: -6%;
  top: 32px;
  width: 400px; height: auto;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.sales-watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px; height: auto;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.location-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.location-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.location-map-wrap img {
  width: 100%; height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.location-map-wrap:hover img { transform: scale(1.04); }

.distance-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.distance-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white);
  border: 1px solid var(--grey-l);
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 0.8125rem; font-weight: 500;
  color: var(--grey-d);
}
.distance-chip svg { color: var(--teal); flex-shrink: 0; }

/* ------------------------------------------------------------
   AVIVA TEASER — compact apartments card within estate story
   ------------------------------------------------------------ */
.aviva-teaser {
  padding: 72px 24px;
  background: var(--off-white);
}
.aviva-teaser-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--grey-l);
  border-radius: var(--radius);
}
.aviva-teaser-media {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
}
.aviva-teaser-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.aviva-teaser-eyebrow {
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--sage);
  margin-bottom: 8px;
}
.aviva-teaser-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--teal-d);
  line-height: 1.2;
  margin: 0 0 14px;
}
.aviva-teaser-sub {
  font-size: 0.9375rem;
  color: var(--grey-d);
  line-height: 1.7;
  margin: 0 0 4px;
}
@media (max-width: 767px) {
  .aviva-teaser-inner { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .aviva-teaser-media { aspect-ratio: 16/10; }
}

/* ------------------------------------------------------------
   AVIVA BREAK — full-bleed teaser (legacy, unused on home)
   ------------------------------------------------------------ */
.aviva-break {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
}
.aviva-break-bg {
  position: absolute; inset: 0; z-index: 0;
}
.aviva-break-bg img {
  width: 100%; height: 120%;
  object-fit: cover; object-position: center;
  position: absolute;
  top: -10%; left: 0;
  will-change: transform;
}
.aviva-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgb(30 69 71 / 78%) 0%, rgba(30, 69, 71, 0.55) 45%
40%
, rgba(30, 69, 71, 0.22) 75%);
}

.aviva-break-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
}
.aviva-break-content { max-width: 620px; }

.aviva-eyebrow {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
}
.aviva-break-logo {
  width: 80px; height: auto;
  opacity: 0.9;
}
.aviva-tag {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mauve);
  border-left: 2px solid var(--mauve);
  padding-left: 10px;
}

.aviva-break-heading {
  margin-bottom: 20px;
}
.aviva-break-heading .title-main {
  font-size: clamp(2.25rem, 5vw, 4rem);
}
.aviva-break-sub {
  font-size: 0.9375rem; line-height: 1.75;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
}
.aviva-break-momentum { display: flex; flex-direction: column; gap: 10px; margin-bottom: 0; }
.momentum-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.90);
  font-size: 0.875rem; font-weight: 500;
}
.momentum-leaf {
  flex-shrink: 0;
  color: rgba(255,255,255,0.80);
}

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

.contact-trust {
  display: flex; flex-direction: column; gap: 11px; margin-bottom: 0;
  background: #4A8A8E;
  border-radius: var(--radius-sm);
  padding: 20px;
}
.contact-trust li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.875rem; color: rgba(255,255,255,0.88);
}
.contact-trust li svg { color: rgba(255,255,255,0.80); flex-shrink: 0; }

/* Form heading */
.form-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500; line-height: 1.2;
  color: var(--teal-d); margin-bottom: 28px;
}

/* Form */
.contact-form-wrap {
  background: var(--teal-d);
  border-radius: var(--radius);
  padding: 44px 40px;
}

/* Invert text inside dark card */
.contact-form-wrap .form-heading { color: var(--white); }
.contact-form-wrap .form-note { color: rgba(255,255,255,0.50); }

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap select,
.contact-form-wrap textarea {
  background: var(--white);
  border-color: rgba(255,255,255,0.30);
  color: var(--grey-d);
}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(118,157,143,0.25);
}
.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder { color: var(--grey); }

.contact-form-wrap select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.contact-form-wrap select option { background: var(--white); color: var(--grey-d); }

.contact-form-wrap .form-success { color: var(--white); }
.contact-form-wrap .form-success h3 { color: var(--white); }
.contact-form-wrap .form-success p  { color: rgba(255,255,255,0.65); }

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }

label {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--grey-d); letter-spacing: 0.01em;
}
label .req     { color: var(--teal); }
label .optional{ font-weight: 400; color: var(--grey); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%; padding: 9px 13px;
  background: var(--white);
  border: 1.5px solid var(--grey-l);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.8125rem;
  color: var(--black);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none; appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,101,103,0.12);
}
input::placeholder, textarea::placeholder { color: var(--grey); }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea { resize: vertical; min-height: 100px; }

.form-group { margin-bottom: 16px; }
.form-row + .form-group { }

/* T&C checkbox */
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 16px;
  padding: 9px 0 10px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px;
  margin-top: 4px; padding: 0;
  border-radius: 4px;
  background: var(--white);
  border: 1.5px solid var(--grey-l);
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.form-check input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4l3 3 6-6' stroke='%23ffffff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.form-check-label {
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.70);
  position: relative;
  top: 4px;
}
.form-check-label a {
  color: var(--sage-l);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.form-check-label a:hover { color: var(--white); }

/* Field error messages */
.field-error {
  display: block;
  font-size: 0.75rem;
  color: #e07070;
  margin-top: 4px;
  line-height: 1.4;
}
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #e07070 !important;
  box-shadow: 0 0 0 3px rgba(224,112,112,0.18) !important;
}
input[type="checkbox"].is-invalid {
  border-color: #e07070 !important;
  box-shadow: 0 0 0 3px rgba(224,112,112,0.18) !important;
}

.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

.form-note {
  text-align: center; margin-top: 12px;
  font-size: 0.8rem; color: var(--grey);
}

/* Success state */
.form-success {
  text-align: center; padding: 48px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.form-success svg { color: var(--teal); }
.form-success h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem; color: var(--teal-d);
}
.form-success p { color: var(--grey); font-size: 0.9375rem; }

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--teal-d); color: rgba(255,255,255,0.72);
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer-bg-logo {
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 313px;
  height: auto;
  opacity: 0.10;
  pointer-events: none;
  user-select: none;
}
.footer-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

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

.footer-logo { margin-bottom: 18px; }
.footer-logo img { opacity: 0.85; width: 118px; height: auto; }

.footer-heading {
  font-size: 0.9375rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage-l); margin-bottom: 14px;
}
.footer-info { font-size: 0.8rem; line-height: 1.8; }
.footer-info a { color: inherit; transition: color var(--transition); }
.footer-info a:hover { color: var(--white); }

.footer-links { display: flex; flex-direction: column; gap: 5px; }
.footer-links a {
  font-size: 0.8rem; color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-collins { margin-top: 24px; }
.footer-collins-logo { width: 110px; height: auto; opacity: 0.7; margin-top: 24px; display: block; }
.footer-collins-logo:hover { opacity: 1; }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding-top: 24px;
  font-size: 0.775rem; color: rgba(255,255,255,0.38); flex-wrap: wrap;
}
.footer-bottom-links { display: flex; align-items: center; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.38); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }

.footer-social { display: flex; align-items: center; gap: 12px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,0.12); }
.footer-social a {
  color: rgba(255,255,255,0.38);
  transition: color var(--transition), transform var(--transition);
  display: flex; align-items: center;
}
.footer-social a:hover { color: rgba(255,255,255,0.85); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }

.footer-disclaimer { margin-top: 16px; font-size: 0.75rem; color: rgba(255,255,255,0.26); line-height: 1.6; }

.footer-sales { gap: 16px; }
.footer-sales li { line-height: 1.8; }
.footer-agent-name {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sage-l);
}

/* ---- Thank-you page ---- */
.thankyou-wrap {
  max-width: 600px; margin: 0 auto;
  text-align: center; padding: 20px 0 40px;
}
.thankyou-icon {
  margin: 0 auto 28px;
  width: 72px; height: 72px;
  background: var(--teal-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.thankyou-details {
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; margin-bottom: 36px;
  font-size: 0.9375rem; color: var(--grey-d);
}
.thankyou-detail-item {
  display: flex; align-items: center; gap: 10px;
}
.thankyou-detail-item svg { color: var(--teal); flex-shrink: 0; }
.thankyou-detail-item a { color: var(--teal); font-weight: 500; }
.thankyou-detail-item a:hover { color: var(--teal-d); }
.thankyou-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ---- Contact page details ---- */
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-detail-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: var(--grey-d); line-height: 1.6;
}
.contact-detail-item svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.contact-detail-item a { color: var(--teal-d); font-weight: 500; }
.contact-detail-item a:hover { color: var(--teal); }

.btn-directions {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1.5px solid var(--teal);
  border-radius: 50px;
  color: var(--teal-d);
  font-family: inherit; font-size: 0.9375rem; font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-directions:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

#location .btn-directions {
  background: var(--teal-d);
  border-color: var(--teal-d);
  color: var(--white);
}
#location .btn-directions:hover {
  background: transparent;
  border-color: var(--teal-d);
  color: var(--teal-d);
}

/* Map modal */
.map-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.map-modal[hidden] { display: none; }
.map-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,24,35,0.75);
  backdrop-filter: blur(4px);
}
.map-modal-inner {
  position: relative; z-index: 1;
  width: min(720px, calc(100vw - 32px));
  height: min(520px, calc(100vh - 80px));
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  animation: modalIn 0.28s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.map-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px;
  background: var(--white);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  color: var(--grey-d);
  transition: background var(--transition), color var(--transition);
}
.map-modal-close:hover { background: var(--teal-d); color: var(--white); }
.map-modal-frame {
  width: 100%; height: 100%;
  padding: 5px;
  box-sizing: border-box;
}
.map-modal-frame iframe {
  width: 100%; height: 100%;
  border: none;
  border-radius: calc(var(--radius) - 5px);
  display: block;
}

/* ---- Sales team grid ---- */
.sales-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 86px; /* room for the protruding photo */
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.sales-agent-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 98px 24px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.sales-agent-card:hover {
  box-shadow: 0 12px 40px rgba(45,101,103,0.12);
  transform: translateY(-3px);
}
.sales-agent-img-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.sales-agent-img {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover; object-position: center;
  border: 4px solid var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  display: block;
}
.sales-agent-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.625rem; font-weight: 500;
  color: var(--teal-d); margin-bottom: 4px;
}
.sales-agent-tel {
  font-size: 0.9375rem; font-weight: 600;
  color: var(--teal); text-decoration: none;
}
.sales-agent-tel:hover { color: var(--teal-d); }
.sales-agent-email {
  font-size: 0.8125rem; color: var(--grey);
  text-decoration: none; word-break: break-word;
}
.sales-agent-email:hover { color: var(--teal); }

@media (max-width: 767px) {
  .sales-team-grid { grid-template-columns: 1fr; max-width: 360px; }
}

/* ------------------------------------------------------------
   WHATSAPP FLOAT
   ------------------------------------------------------------ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 890;
  width: 52px; height: 52px;
  background: var(--wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transform: translateX(80px); opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
}
.wa-float.visible { transform: translateX(0); opacity: 1; }
.wa-float.visible:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

/* ── Tablet (≤ 991px) ──────────────────────────────────────── */
@media (max-width: 991px) {
  :root { --section-py: 72px; }

  .hamburger  { display: flex; }
  .nav-links  { display: none; }
  .nav-drawer { display: block; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }

  .lifestyle-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 220px 220px;
  }
  .lifestyle-card--featured { grid-column: 1 / 3; }

  .gallery-bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-bento .gallery-item { grid-column: span 1 !important; aspect-ratio: 4/3; }

  .aerial-split { min-height: 480px; }
  .aerial-split-text { width: 72%; padding: 60px 40px; }
  .aerial-split-image::after {
    background: linear-gradient(
      to right,
      rgba(15,37,53,0.97) 0%,
      rgba(15,37,53,0.90) 40%,
      rgba(15,37,53,0.55) 68%,
      rgba(15,37,53,0.0) 90%
    );
  }

  .location-split { grid-template-columns: 1fr; gap: 40px; }

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

  .about-image-wrap { aspect-ratio: 4/3; }
  .about-pattern-strip { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* ── Mobile (≤ 600px) ──────────────────────────────────────── */
@media (max-width: 600px) {
  :root { --section-py: 56px; }

  .nav-logo img { width: 64px; }
  .site-nav.scrolled .nav-logo img { width: 52px; }

  .hero-content { padding: 100px 20px 80px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(30,69,71,0.45) 0%, rgba(30,69,71,0.72) 40%, rgba(30,69,71,0.88) 100%);
    animation: none;
  }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost-white { width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 20px 16px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(4) { border-right: none; }

  .lifestyle-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .lifestyle-card { height: 220px; }
  .lifestyle-card--featured { grid-column: auto; height: 260px; }
  .lifestyle-card-overlay {
    background: linear-gradient(to top,
      rgba(30,69,71,0.83) 0%,
      rgba(30,69,71,0.25) 70%,
      transparent 100%);
  }

  .gallery-bento { gap: 6px; }
  .gallery-bento .gallery-item { aspect-ratio: 1/1; }

  /* Leaf watermarks: prevent distortion and shrink on mobile */
  .about-watermark,
  .location-watermark,
  .sales-watermark,
  .section-watermark {
    width: 200px;
    height: auto;
    object-fit: contain;
  }

  .aerial-split { min-height: 420px; }
  .aerial-split-text { width: 90%; padding: 48px 24px; }
  .aerial-split-image::after {
    background: linear-gradient(
      to bottom,
      rgba(15,37,53,0.68) 0%,
      rgba(15,37,53,0.62) 55%,
      rgba(15,37,53,0.45) 85%,
      rgba(15,37,53,0.0) 100%
    );
  }
  .aerial-split-cta.btn-ghost-white,
  .aerial-split .btn-outline-white {
    background: var(--sage);
    border-color: var(--sage);
    color: var(--white);
  }
  .aerial-split-cta.btn-ghost-white:hover,
  .aerial-split .btn-outline-white:hover {
    background: var(--sage-l);
    border-color: var(--sage-l);
    color: var(--white);
  }

  .aviva-break { padding: 80px 20px; }
  .aviva-eyebrow { flex-direction: column; align-items: flex-start; gap: 10px; }

  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-logo { display: flex; justify-content: center; }
  .footer-links { align-items: center; }
  .footer-collins-logo { margin-left: auto; margin-right: auto; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 14px; text-align: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; }
  .footer-social { border-left: none; padding-left: 0; justify-content: center; }

  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ── Large screens ─────────────────────────────────────────── */
@media (min-width: 1400px) {
  :root { --max-w: 1320px; }
}
