/* ==========================================================================
   The Yards by BEYOND — landing page styles
   Palette: deep teal / bronze gold / warm cream
   Fonts:   DM Serif Display (headings) · DM Sans (body)
   ========================================================================== */

/* ==========================================================================
   Builder layout primitives (section → column → widget tree)
   ========================================================================== */
.lp-section { position: relative; }
.lp-fullbleed { display: flex; flex-direction: column; justify-content: flex-end; }
.lp-has-bg { overflow: hidden; }
.lp-bg, .lp-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-bg { z-index: 0; }
.lp-has-bg > .container { position: relative; z-index: 2; }
.lp-row { display: flex; flex-wrap: wrap; margin: 0 -16px; row-gap: 30px; align-items: flex-start; }
.lp-col { padding: 0 16px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lp-widget { min-width: 0; }
.lp-h { font-family: var(--font-display); }
.lp-t { font-size: 17px; line-height: 1.65; }
.section-dark .lp-t { color: rgba(255, 255, 255, 0.82); }
.lp-fig { margin: 0; }
.lp-w-image { margin: 0; }
.lp-w-image img { border-radius: var(--radius); width: 100%; display: block; }
.lp-w-image figcaption { font-size: 13px; color: var(--ink-600); margin-top: 12px; letter-spacing: 0.06em; }
.lp-divider { border: 0; border-top: 1px solid rgba(var(--teal-900-rgb), 0.15); margin: 0; width: 100%; }
.lp-w-stats { width: 100%; margin-top: 22px; }
.lp-w-gallery, .lp-w-features, .lp-w-amenities, .lp-w-units, .lp-w-payment,
.lp-w-faq, .lp-w-form, .lp-w-agent, .lp-w-buttons { width: 100%; }
.lp-w-gallery { margin-top: 18px; }
.lp-empty { border: 1.5px dashed rgba(var(--teal-900-rgb), 0.25); border-radius: 10px;
  padding: 28px; text-align: center; color: var(--ink-600); font-size: 14px; }
.section-dark .lp-empty { border-color: rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.55); }

/* Entrance animation keyframes (set per-element by the builder) */
@keyframes lp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lp-fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lp-fade-down { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }
@keyframes lp-fade-left { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes lp-fade-right { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes lp-zoom-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes lp-slide-up { from { transform: translateY(40px); } to { transform: none; } }
.lp-anim { opacity: 0; animation-play-state: paused; }
.lp-anim.lp-in { opacity: 1; animation-play-state: running; }
@media (prefers-reduced-motion: reduce) {
  .lp-anim { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Image slider — used by the Slider widget and section/column backgrounds */
.lp-slider { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 300px; background: #0b0f0e; width: 100%; }
.lp-slider .lp-slides, .lp-bgslider .lp-slides { position: absolute; inset: 0; height: 100%; }
.lp-slider .lp-slide, .lp-bgslider .lp-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.lp-slider .lp-slide.active, .lp-bgslider .lp-slide.active { opacity: 1; }
.lp-slider .lp-slide > img, .lp-bgslider .lp-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px; z-index: 3;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65)); color: #fff; font-family: var(--font-display); font-size: 20px; }
.lp-sl-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.38); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lp-sl-arrow:hover { background: rgba(0, 0, 0, 0.72); }
.lp-sl-prev { left: 16px; } .lp-sl-next { right: 16px; }
.lp-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 4; display: flex; gap: 8px; justify-content: center; }
.lp-dots .lp-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.45); cursor: pointer; padding: 0; transition: width 0.2s, background 0.2s; }
.lp-dots .lp-dot.active { background: #fff; width: 22px; border-radius: 6px; }

/* Column background layer */
.lp-col.lp-has-bg { position: relative; overflow: hidden; }
.lp-col.lp-has-bg > .lp-bg { z-index: 0; }
.lp-col.lp-has-bg > .lp-widget, .lp-col.lp-has-bg > .lp-empty { position: relative; z-index: 2; }

:root {
  --teal-900: #11302e;   /* darkest — section backgrounds */
  --teal-800: #16403d;
  --teal-700: #3d6b66;   /* primary */
  --gold-500: #ab8a60;   /* bronze accent */
  --gold-400: #c2a87e;
  --cream-50: #f8f4ec;   /* warm light background */
  --cream-100: #f1ead9;
  --ink-900: #1c2321;
  --ink-600: #4c5a56;
  --white: #ffffff;
  --teal-900-rgb: 17, 48, 46;
  --gold-500-rgb: 171, 138, 96;
  --footer: var(--footer);
  --footer-rgb: 13, 36, 34;

  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px -18px rgba(var(--teal-900-rgb), 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ---------- accessibility helpers ---------- */

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--teal-900);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--teal-700);
  outline-offset: 2px;
}
.site-header :focus-visible,
.hero :focus-visible,
.section-dark :focus-visible,
.site-footer :focus-visible,
.wa-float:focus-visible {
  outline-color: var(--gold-400);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 860px; }

/* ---------- typography ---------- */

h1, h2, h3, .hero-title, .section-title { font-family: var(--font-display); font-weight: 400; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 14px;
}
.eyebrow-gold { color: var(--gold-400); }

.section-title {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
  margin-bottom: 26px;
  max-width: 21em;
}

.section-intro {
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 44px;
  color: var(--ink-600);
}
.section-dark .section-intro { color: rgba(255, 255, 255, 0.78); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 60px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  /* var(--gold-500)→#c2a87e with teal-900 text keeps ≥4.5:1 (WCAG 1.4.3) */
  background: linear-gradient(120deg, var(--gold-500), var(--gold-400));
  color: var(--teal-900);
  font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(var(--gold-500-rgb), 0.65);
}
.btn-gold:hover { box-shadow: 0 16px 36px -10px rgba(var(--gold-500-rgb), 0.8); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-dark { border-color: var(--teal-800); color: var(--teal-800); }
.btn-outline-dark:hover { background: var(--teal-800); color: var(--white); }

.btn-sm { padding: 10px 22px; font-size: 12px; }
.btn-lg { padding: 19px 40px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.site-header.scrolled {
  background: rgba(var(--teal-900-rgb), 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  padding: 8px 0;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; }
.brand-text {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.08em;
  color: var(--white);
  white-space: nowrap;
}
.brand-text em { font-style: italic; font-size: 14px; color: var(--gold-400); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--gold-400); }
.main-nav a.nav-cta { color: var(--white); }
.main-nav a { white-space: nowrap; }

/* Tone-aware header: on a light/cream hero (no media background) the transparent header
   would show white text on cream — invisible. Switch to dark text until the user scrolls
   (when .scrolled adds the solid teal background and white text returns). */
.lp-hero-light .site-header:not(.scrolled) .brand-text { color: var(--ink-900, #1a1a1a); }
.lp-hero-light .site-header:not(.scrolled) .brand-text em { color: var(--gold-500, #b8985a); }
.lp-hero-light .site-header:not(.scrolled) .main-nav a { color: rgba(var(--ink-900-rgb, 26, 26, 26), 0.82); }
.lp-hero-light .site-header:not(.scrolled) .main-nav a:hover { color: var(--gold-500, #b8985a); }
.lp-hero-light .site-header:not(.scrolled) .main-nav a.nav-cta { color: var(--white, #fff); }
.lp-hero-light .site-header:not(.scrolled) .nav-toggle span { background: var(--ink-900, #1a1a1a); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;        /* 24px icon + 2×10px = 44px touch target */
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: 0.3s; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}

.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  /* strong left scrim keeps the headline area readable over the bright render */
  background:
    linear-gradient(90deg, rgba(var(--footer-rgb), 0.88) 0%, rgba(var(--footer-rgb), 0.62) 42%, rgba(var(--footer-rgb), 0.12) 78%),
    linear-gradient(180deg, rgba(var(--teal-900-rgb), 0.45) 0%, rgba(var(--teal-900-rgb), 0.1) 40%, rgba(var(--teal-900-rgb), 0.85) 100%);
}

.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: 60px; }
.hero-content > * { max-width: 680px; }

.hero .eyebrow, .hero-chips { text-shadow: 0 1px 14px rgba(var(--teal-900-rgb), 0.75); }
.hero .eyebrow { color: var(--gold-400); }

.hero-title {
  font-size: clamp(54px, 9vw, 110px);
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--ink-600);                /* light/cream heroes: readable ink */
  margin-bottom: 14px;
}
.section-dark .hero-sub { color: rgba(255, 255, 255, 0.92); }   /* dark / image heroes: white */

.hero-chips {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(var(--teal-900-rgb), 0.85);
  backdrop-filter: blur(6px);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 10px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); color: var(--gold-400); }
.stat-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }

/* ---------- sections ---------- */

.section { padding: var(--section-pad, 96px) 0; }

.section-light { background: var(--cream-50); }
.section-cream { background: var(--cream-100); }

.section-dark { background: var(--teal-900); color: var(--white); }
.section-dark .section-title { color: var(--white); }

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.col-text p { margin-bottom: 18px; font-size: 17px; }
.section-dark .col-text p { color: rgba(255, 255, 255, 0.82); }

.col-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.col-media figcaption { font-size: 13px; color: var(--ink-600); margin-top: 12px; letter-spacing: 0.06em; }

/* overview: image stretches to match the intro text height */
.overview-top { align-items: stretch; }
.overview-top .col-media { display: flex; flex-direction: column; }
.overview-top .col-media img { flex: 1; min-height: 300px; object-fit: cover; }

/* overview highlights — full-width feature grid below the intro */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid rgba(var(--teal-900-rgb), 0.08);
  border-radius: var(--radius);
  font-size: 15.5px;
  line-height: 1.4;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--white);
  font-size: 13px;
  line-height: 26px;
  text-align: center;
}

/* offset gold frame behind featured photos */
.frame-gold { position: relative; }
.frame-gold::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  pointer-events: none;
}
.frame-gold img { position: relative; }

/* ---------- check lists ---------- */

.check-list { list-style: none; margin-top: 10px; }
.check-list li {
  position: relative;
  padding: 7px 0 7px 34px;
  font-size: 16px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}
.check-list-gold li::before { background: var(--gold-500); }
.check-list.cols-2 { columns: 2; column-gap: 32px; }
.check-list.cols-2 li { break-inside: avoid; }

/* ---------- amenities ---------- */

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.amenity-card {
  background: var(--white);
  border: 1px solid rgba(var(--teal-900-rgb), 0.08);
  border-radius: var(--radius);
  padding: 26px 22px;
  font-size: 15.5px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.amenity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.amenity-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(var(--gold-500-rgb), 0.12);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.amenity-icon svg { width: 24px; height: 24px; }

.amenity-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.amenity-photos img { border-radius: var(--radius); height: 280px; width: 100%; object-fit: cover; }

/* ---------- location ---------- */

.section-location { position: relative; overflow: hidden; }
.location-bg, .location-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(var(--teal-900-rgb), 0.96) 35%, rgba(var(--teal-900-rgb), 0.82) 100%);
}
.location-content { position: relative; z-index: 2; }

/* ---------- CTA banner ---------- */

.cta-banner { position: relative; overflow: hidden; padding: 56px 0; }
.cta-bg, .cta-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(var(--teal-900-rgb), 0.92), rgba(var(--teal-900-rgb), 0.78));
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--white);
  margin-bottom: 8px;
}
.cta-text p { color: rgba(255, 255, 255, 0.82); font-size: 17px; }

/* ---------- payment plan ---------- */

.payment-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 22px;
  margin-bottom: 28px;
}
.payment-card {
  border-radius: var(--radius);
  padding: 42px 36px;
  background: var(--white);
  border: 1px solid rgba(var(--teal-900-rgb), 0.08);
}
.payment-card-accent {
  background: var(--teal-900);
  color: var(--white);
}
.payment-pct {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.payment-card h3 { font-size: 24px; margin-bottom: 10px; }
.payment-card p { font-size: 16px; color: var(--ink-600); }
.payment-card-accent p { color: rgba(255, 255, 255, 0.8); }

.payment-notes { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.payment-notes li {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.payment-notes li::before { content: "—"; margin-right: 8px; color: var(--gold-500); }

/* ---------- units ---------- */

.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.unit-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(var(--teal-900-rgb), 0.08);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.unit-card-featured {
  background: var(--teal-900);
  color: var(--white);
  box-shadow: var(--shadow);
}
.unit-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: linear-gradient(120deg, var(--gold-500), var(--gold-400));
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
}
.unit-img {
  width: calc(100% + 60px);
  max-width: none;
  margin: -36px -30px 24px;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.unit-card h3 { font-size: 28px; margin-bottom: 20px; }
.unit-card dl { flex: 1; margin-bottom: 26px; }
.unit-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(var(--teal-900-rgb), 0.08);
  font-size: 15px;
}
.unit-card-featured dl div { border-color: rgba(255, 255, 255, 0.14); }
.unit-card dt { color: var(--ink-600); }
.unit-card-featured dt { color: rgba(255, 255, 255, 0.65); }
.unit-card dd { text-align: right; font-weight: 400; }

/* ---------- agent ---------- */

.agent-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}
.agent-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.agent-text blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  border-left: 3px solid var(--gold-500);
  padding-left: 22px;
  margin-bottom: 16px;
}
.agent-role {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 34px;
}
.agent-text h3 { font-size: 22px; margin-bottom: 14px; }
.agent-text .check-list { margin-bottom: 34px; }

/* ---------- FAQ ---------- */

.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(var(--teal-900-rgb), 0.08);
  border-radius: var(--radius);
  padding: 0 26px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 19px;
  padding: 22px 36px 22px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  content: "+" / "";  /* hide decorative marker from screen readers */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 300;
  color: var(--gold-500);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 0 24px; color: var(--ink-600); font-size: 16px; }

/* ---------- brochure form ---------- */

.section-form {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(var(--gold-500-rgb), 0.18), transparent 60%),
    var(--teal-900);
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: start;
}
.form-aside .check-list { margin-bottom: 36px; }

.aside-agent {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.aside-agent img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}
.aside-agent div { display: flex; flex-direction: column; gap: 2px; }
.aside-agent strong { font-family: var(--font-display); font-size: 19px; font-weight: 400; }
.aside-agent span { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.aside-agent a { color: var(--gold-400); font-size: 14px; margin-top: 4px; }

.brochure-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) + 6px);
  padding: 44px;
  backdrop-filter: blur(4px);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.form-field input,
.form-field select {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.form-field input::placeholder { color: rgba(255, 255, 255, 0.55); }
.form-field input:focus,
.form-field select:focus {
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.11);
  outline: 3px solid var(--gold-400);
  outline-offset: 1px;
}
.form-field select option { color: var(--ink-900); }
.form-field input.invalid { border-color: #e2756b; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  background: rgba(226, 117, 107, 0.14);
  border: 1px solid rgba(226, 117, 107, 0.5);
  color: #f3b9b3;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14.5px;
  margin-bottom: 20px;
}

.form-privacy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 16px;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(var(--teal-900-rgb), 0.35);
  border-top-color: var(--teal-900);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  text-align: center;
  padding: 60px 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 255, 255, 0.04);
}
.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--gold-500), var(--gold-400));
  color: var(--white);
  font-size: 34px;
  line-height: 72px;
}
.form-success h3 { font-size: 30px; margin-bottom: 14px; }
.form-success p { color: rgba(255, 255, 255, 0.78); margin-bottom: 28px; }

/* ---------- footer ---------- */

.site-footer { background: var(--footer); color: rgba(255, 255, 255, 0.7); padding: 56px 0 30px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.footer-contact { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
}
.footer-nav a:hover { color: var(--gold-400); }
.footer-contact a {
  color: var(--gold-400);
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
  padding: 6px 0;       /* larger touch target */
}
.footer-disclaimer {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  margin-bottom: 22px;
}
.footer-bottom { font-size: 13px; color: rgba(255, 255, 255, 0.65); }

/* ---------- floating WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #128c7e;   /* WhatsApp dark variant — 4.1:1 vs white icon (WCAG 1.4.11) */
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(18, 140, 126, 0.6);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- sticky mobile CTA bar ---------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(var(--footer-rgb), 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.mobile-cta.visible { transform: none; }
.mc-wa, .mc-brochure {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.mc-wa { background: #128c7e; color: var(--white); flex: 0 0 42%; }
.mc-brochure { background: linear-gradient(120deg, var(--gold-500), var(--gold-400)); color: var(--teal-900); }

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .two-col, .agent-grid, .form-layout { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .overview-top .col-media img { min-height: 260px; }
  .frame-gold::before { inset: 12px -12px -12px 12px; }
  .cta-inner { justify-content: center; text-align: center; }
  .agent-photo { max-width: 320px; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .unit-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .unit-card-featured { order: -1; }
  .payment-grid { grid-template-columns: 1fr; }
  .amenity-photos { grid-template-columns: 1fr 1fr; }
  .amenity-photos img:last-child { display: none; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    background: var(--teal-900);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px 36px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
  }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 18px; padding: 10px 0; }  /* ≥44px touch targets */
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .stat:nth-child(-n+2) { border-top: 0; }

  .form-row { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .brochure-form { padding: 28px 22px; }
  .check-list.cols-2 { columns: 1; }
  .amenity-photos { grid-template-columns: 1fr; }
  .amenity-photos img:last-child { display: block; }
  .footer-contact { text-align: left; }

  /* sticky CTA bar replaces the floating WhatsApp button on phones */
  .mobile-cta { display: flex; }
  .wa-float { display: none; }
  .site-footer { padding-bottom: 110px; }
}

/* ============================================================
   Slider elevation — cinematic Ken-Burns zoom, gold time-to-next
   progress bar, bronze-glass controls, and active-slide caption
   reveal. Additive only; the classes are already emitted by
   lp_bg_layer (hero bg slider) and the slider widget.
   ============================================================ */
@keyframes lp-kenburns { from { transform: scale(1.09); } to { transform: scale(1); } }
.lp-slider .lp-slide.active > img,
.lp-bgslider .lp-slide.active > img { animation: lp-kenburns 8s ease-out both; }

/* gold time-to-next bar (injected by main.js on autoplay sliders) */
.lp-slider .lp-progress,
.lp-bgslider .lp-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); z-index: 5; pointer-events: none; }

/* bronze-glass arrows + gold active dots to match the palette */
.lp-sl-arrow { background: rgba(17, 48, 46, 0.42); border: 1px solid rgba(194, 168, 126, 0.55);
  color: var(--gold-400); backdrop-filter: blur(4px);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.lp-sl-arrow:hover { background: var(--gold-500); border-color: var(--gold-500); color: #fff; }
.lp-dots .lp-dot.active { background: var(--gold-400); }
.lp-slider:focus-visible, .lp-bgslider:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }

/* caption reveals as its slide becomes active */
.lp-slide .lp-slide-cap { transform: translateY(14px); opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease; }
.lp-slide.active .lp-slide-cap { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .lp-slider .lp-slide.active > img,
  .lp-bgslider .lp-slide.active > img { animation: none; }
  .lp-progress { display: none; }
  .lp-slide .lp-slide-cap { transition: none; transform: none; opacity: 1; }
}

/* ================================================================
   BINGHATTI THEME  —  monochrome black / white / gold, heavy
   UPPERCASE Archivo display, sharp geometric UI, gold hatch motif.
   Scoped to body.theme-binghatti so the base styles stay intact and
   the whole look is a token + type swap over the same markup.
   ================================================================ */
.theme-binghatti {
  --teal-900: #0b0b0c;              /* dark sections → near-black */
  --teal-900-rgb: 11, 11, 12;
  --teal-800: #17171a;
  --teal-700: #9a9a9e;              /* muted grey */
  --cream-50: #ffffff;             /* light sections → pure white */
  --cream-100: #f4f3ef;            /* subtle off-white */
  --ink-900: #0b0b0c;              /* body text on light */
  --ink-600: #6c6c70;
  /* Accent (gold) is NOT overridden here — it comes from the project palette /
     Page settings "Accent / buttons", so buttons & accents stay fully editable. */
  --footer: #000000;
  --radius: 0px;                   /* sharp, architectural */
  background: #ffffff;
}

/* ---- Display type: heavy, uppercase, tight ---- */
.theme-binghatti h1, .theme-binghatti h2,
.theme-binghatti .hero-title, .theme-binghatti .section-title {
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.03;
}
.theme-binghatti h3 { text-transform: uppercase; font-weight: 700; letter-spacing: 0.01em; }
.theme-binghatti .hero-title { letter-spacing: 0.01em; }
.theme-binghatti .hero-sub { font-family: var(--font-body); font-style: normal; font-weight: 300; letter-spacing: 0.005em; }

/* ---- Eyebrows: gold, wide tracking, leading rule (numbered sections) ---- */
.theme-binghatti .eyebrow { color: var(--gold-500); font-weight: 600; letter-spacing: 0.3em; display: inline-flex; align-items: center; gap: 14px; }
.theme-binghatti .eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-500); display: inline-block; }
.theme-binghatti .section-dark .eyebrow, .theme-binghatti .eyebrow-gold { color: var(--gold-400); }
.theme-binghatti .section-dark .eyebrow::before, .theme-binghatti .eyebrow-gold::before { background: var(--gold-400); }

/* ---- Sharpen the fixed-radius primitives (the rest follow --radius:0) ---- */
.theme-binghatti .btn, .theme-binghatti .amenity-icon, .theme-binghatti .nav-cta,
.theme-binghatti input, .theme-binghatti select, .theme-binghatti textarea,
.theme-binghatti .unit-badge, .theme-binghatti .brochure-form, .theme-binghatti .form-success { border-radius: 0 !important; }
.theme-binghatti .lp-dots .lp-dot { border-radius: 0; }

/* ---- Buttons: sharp, uppercase, confident ---- */
.theme-binghatti .btn { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600;
  font-family: var(--font-body); font-size: 13px; }
.theme-binghatti .btn-gold { background: var(--gold-500); color: #0b0b0c; box-shadow: none; }
.theme-binghatti .btn-gold:hover { background: var(--gold-400); box-shadow: none; transform: translateY(-2px); }
.theme-binghatti .btn-outline-light { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; }
.theme-binghatti .btn-outline-dark { border: 1px solid rgba(11, 11, 12, 0.5); color: #0b0b0c; }

/* ---- Header: uppercase wordmark + nav, solid black on scroll ---- */
.theme-binghatti .brand-text { text-transform: uppercase; font-weight: 800; letter-spacing: 0.04em; }
.theme-binghatti .brand-text em { font-style: normal; color: var(--gold-400); }
.theme-binghatti .main-nav a { text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; }
.theme-binghatti .site-header.scrolled { background: rgba(8, 8, 9, 0.97); }

/* ---- Section rhythm + a gold hairline seam between sections ---- */
.theme-binghatti .section { border-top: 1px solid rgba(var(--gold-500-rgb), 0.16); }
.theme-binghatti .hero + * { border-top: 0; }
.theme-binghatti .stat-value, .theme-binghatti .payment-pct { color: var(--gold-400); font-weight: 800; letter-spacing: -0.01em; }
.theme-binghatti .section-light .stat-value, .theme-binghatti .section-light .payment-pct { color: var(--gold-500); }

/* ---- Signature: faint gold geometric hatch on dark (no-image) sections ---- */
.theme-binghatti .section-dark:not(.lp-has-bg) { position: relative; }
.theme-binghatti .section-dark:not(.lp-has-bg) > .container { position: relative; z-index: 1; }
.theme-binghatti .section-dark:not(.lp-has-bg)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.6;
  background-image:
    repeating-linear-gradient(45deg, rgba(var(--gold-500-rgb), 0.05) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, rgba(var(--gold-500-rgb), 0.05) 0 1px, transparent 1px 24px);
}

/* ---- Cards: sharp, thin borders; featured = solid gold ---- */
.theme-binghatti .feature-item, .theme-binghatti .amenity-card, .theme-binghatti .unit-card {
  border: 1px solid rgba(11, 11, 12, 0.14); border-radius: 0; box-shadow: none;
}
.theme-binghatti .feature-item:hover, .theme-binghatti .amenity-card:hover, .theme-binghatti .unit-card:hover {
  border-color: var(--gold-500); box-shadow: 0 20px 44px -26px rgba(11, 11, 12, 0.5);
}
.theme-binghatti .section-dark .feature-item, .theme-binghatti .section-dark .amenity-card,
.theme-binghatti .section-dark .unit-card { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.02); }
.theme-binghatti .amenity-icon { background: rgba(var(--gold-500-rgb), 0.1); color: var(--gold-500);
  border: 1px solid rgba(var(--gold-500-rgb), 0.32); }
.theme-binghatti .unit-card-featured, .theme-binghatti .payment-card-accent { background: var(--gold-500); color: #0b0b0c; }
.theme-binghatti .unit-card-featured .unit-badge { background: #0b0b0c; color: var(--gold-400); }
.theme-binghatti .unit-card-featured .payment-pct, .theme-binghatti .payment-card-accent .payment-pct { color: #0b0b0c; }

/* ---- Gold offset frame → a bolder architectural line ---- */
.theme-binghatti .frame-gold::before { border: 2px solid var(--gold-500); }

/* ---- Check-list ticks → gold squares (geometric, not round) ---- */
.theme-binghatti .check-list li::before { border-radius: 0 !important; }

/* ---- FAQ + form on the monochrome palette ---- */
.theme-binghatti .faq-item { border-radius: 0; }
.theme-binghatti .faq-item summary { text-transform: none; }
.theme-binghatti .brochure-form { background: rgba(255, 255, 255, 0.03); }

/* ================================================================
   EDITABLE CHROME + PAGE SETTINGS
   Header sticky/solid/colour options, custom footer colours, page
   options (spacing / smooth-scroll / animations) and a tablet-width
   burger menu. All driven by content.json → body/header classes + vars.
   ================================================================ */
/* custom header text + solid/scrolled background colour (opt-in via vars) */
.site-header .brand-text { color: var(--lp-hdr-text, var(--white, #fff)); }
.site-header .main-nav a { color: var(--lp-hdr-text, rgba(255, 255, 255, 0.85)); }
.site-header.scrolled { background: var(--lp-hdr-bg, rgba(var(--teal-900-rgb), 0.96)); }
.site-header.lp-hdr-solid { background: var(--lp-hdr-bg, rgba(var(--teal-900-rgb), 0.96));
  backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
/* non-sticky header scrolls away with the page */
.site-header.lp-hdr-static { position: absolute; }
/* hide the CTA inside the mobile drawer when disabled */
@media (max-width: 1020px) { .nav-cta.lp-cta-deskonly { display: none; } }

/* page-settings: disable smooth scroll / animations */
html.lp-scroll-off { scroll-behavior: auto; }
.lp-no-anim .reveal, .lp-no-anim .lp-anim, .lp-no-anim [class*="lp-fade"] {
  opacity: 1 !important; transform: none !important; animation: none !important; }

/* tablet burger: show the drawer up to 1200px when the menu is set to "tablet" */
@media (max-width: 1200px) {
  .lp-menu-tablet .nav-toggle { display: flex; }
  .lp-menu-tablet .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
    background: var(--teal-900); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 26px; padding: 40px 36px; transform: translateX(100%);
    transition: transform 0.35s ease; box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35); z-index: 120;
  }
  .lp-menu-tablet .main-nav.open { transform: none; }
  .lp-menu-tablet .main-nav a { font-size: 18px; padding: 10px 0; }
  .lp-menu-tablet .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .lp-menu-tablet .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .lp-menu-tablet .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .lp-menu-tablet .mobile-cta { display: flex; }
  .lp-menu-tablet .wa-float { display: none; }
}
