/* ============================================
   LIVING OLD TOWN SCOTTSDALE
   Redesign: Aperol-inspired minimalism
   + Lifestyled Co editorial elegance
   + Desert warmth
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Palette — light, airy, desert-warm */
  --cream: #FFFDF8;
  --cream-warm: #FBF7F0;
  --sand: #F3EDE4;
  --sand-medium: #E8DFD2;
  --taupe: #C4B5A2;
  --taupe-dark: #A89882;
  --clay: #957B66;
  --terracotta: #B07B5F;
  --desert-rose: #C4967A;
  --charcoal: #2B2B2B;
  --ink: #1A1A1A;
  --white: #FFFFFF;

  /* Semantic */
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --bg-warm: var(--sand);
  --bg-dark: var(--ink);
  --text: var(--charcoal);
  --text-soft: #6B6358;
  --text-faint: #A49B8F;
  --border: #E8E0D4;
  --border-soft: #F0EBE3;
  --accent: var(--clay);
  --accent-hover: var(--terracotta);

  /* Typography — Aperol exact match */
  --font-display: 'Cormorant', 'Garamond', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1140px;
  --container-wide: 1320px;
  --container-narrow: 760px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition: 0.35s var(--ease);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.7; }
ul, ol { list-style: none; }

/* --- Utility --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-md); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-md); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-md); }
.section { padding: var(--section-pad) 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Typography (Aperol-light, editorial) --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.section-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
  margin-bottom: var(--space-md);
}

.section-title em {
  font-style: italic;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-soft);
  max-width: 520px;
  line-height: 1.8;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--taupe);
  margin: var(--space-md) 0;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* --- Navigation (Minimal, Aperol-inspired) --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0 40px;
  transition: all 0.5s var(--ease);
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--border-soft);
}

.nav.has-lead-bar { top: 40px; }

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  cursor: pointer;
}

.nav-logo-living {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1;
}

.nav-logo-main {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1;
  margin-top: 3px;
}

.nav:not(.scrolled) .nav-logo-living { color: #fff; }
.nav:not(.scrolled) .nav-logo-main { color: rgba(255,255,255,0.7); }

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

.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 1;
  transition: color var(--transition);
}

.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.8); }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav:not(.scrolled) .nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--accent); }
.nav:not(.scrolled) .nav-links a.active { color: #fff; }

.nav-links a::after { display: none; } /* Remove old underline */

.nav-cta {
  padding: 10px 28px !important;
  border: 1px solid var(--taupe) !important;
  border-radius: 0 !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: var(--cream) !important;
  opacity: 1 !important;
}
.nav:not(.scrolled) .nav-cta {
  border-color: rgba(255,255,255,0.4) !important;
  color: #fff !important;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: all var(--transition);
}
.nav:not(.scrolled) .nav-mobile-toggle span { background: #fff; }

/* --- Buttons (Aperol-clean) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--charcoal);
  opacity: 1;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  opacity: 1;
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline-dark:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
  opacity: 1;
}

.btn-sm { padding: 12px 28px; font-size: 9px; }
.btn-lg { padding: 18px 52px; font-size: 11px; }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-hover);
  opacity: 1;
}

/* --- Hero (Full-bleed, editorial) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 720px;
  padding: 0 var(--space-md);
}

.hero-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 400;
  color: #fff;
  line-height: 1.05;
  margin-bottom: var(--space-md);
}
.hero-title em {
  font-style: italic;
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 460px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
.scroll-indicator-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Sticky Lead Bar --- */
.lead-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: 10px var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}
.lead-bar.visible { transform: translateY(0); }
.lead-bar a {
  color: var(--desert-rose);
  font-weight: 500;
  border-bottom: 1px solid var(--desert-rose);
  padding-bottom: 1px;
  opacity: 1;
}
.lead-bar a:hover { color: #fff; border-color: #fff; }
.lead-bar-close {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}

/* --- Brand Statement (Light, editorial) --- */
.brand-statement {
  background: var(--bg);
  text-align: center;
}
.brand-statement-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto;
}
.brand-statement-text em {
  font-style: italic;
  color: var(--accent);
}

/* --- Feature Grid (Magazine 3-up) --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--bg);
}

.feature-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.feature-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease);
}
.feature-card:hover .feature-card-bg { transform: scale(1.04); }
.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg) var(--space-lg);
  transition: background var(--transition);
}

.feature-card-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--desert-rose);
  margin-bottom: var(--space-xs);
}
.feature-card-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.feature-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 280px;
}
.feature-card-arrow {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateX(-8px);
}
.feature-card:hover .feature-card-arrow { opacity: 1; transform: translateX(0); }

/* --- Stats Bar (Refined) --- */
.stats-bar {
  background: var(--ink);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item { color: rgba(255,255,255,0.8); }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--desert-rose);
}
.stat-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 400;
}

/* --- Neighborhood Cards --- */
.neighborhoods { background: var(--white); }
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: var(--space-lg);
}
.neighborhood-card {
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  background: var(--white);
}
.neighborhood-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.neighborhood-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.neighborhood-card-image img,
.neighborhood-card-image div {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.neighborhood-card:hover .neighborhood-card-image img,
.neighborhood-card:hover .neighborhood-card-image div { transform: scale(1.04); }
.neighborhood-card-body { padding: var(--space-md) var(--space-md) var(--space-md); }
.neighborhood-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}
.neighborhood-card-meta {
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.neighborhood-card-text {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* --- Editorial / Blog Cards (Magazine layout) --- */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: var(--space-lg);
}
.editorial-card {
  display: flex;
  gap: 24px;
  padding: var(--space-md);
  border: 1px solid var(--border-soft);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}
.editorial-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
  opacity: 1;
}
.editorial-card-image {
  width: 160px;
  min-height: 130px;
  flex-shrink: 0;
  overflow: hidden;
}
.editorial-card-image img,
.editorial-card-image div {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.editorial-card-tag {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}
.editorial-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.editorial-card-excerpt {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  font-weight: 300;
}

/* --- Lead Capture (Airy, minimal) --- */
.lead-capture {
  background: var(--sand);
  padding: var(--section-pad) 0;
  text-align: center;
}
.lead-capture .section-title { color: var(--ink); }
.lead-capture-subtitle {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
}
.lead-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.lead-form input {
  flex: 1;
  min-width: 180px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition);
  border-right: none;
}
.lead-form input::placeholder { color: var(--taupe); }
.lead-form input:focus { border-color: var(--accent); }
.lead-form button {
  padding: 16px 32px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.lead-form button:hover { background: var(--charcoal); }
.lead-form-note {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 14px;
  font-weight: 300;
}

/* --- Condo Grid --- */
.condo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  margin-top: var(--space-lg);
}
.condo-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--sand);
}
.condo-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  transition: background var(--transition);
}
.condo-card:hover .condo-card-inner {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 100%);
}
.condo-card-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
}
.condo-card-price {
  font-size: 12px;
  color: var(--desert-rose);
  letter-spacing: 0.1em;
}
.condo-card-details {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease);
}
.condo-card:hover .condo-card-details { opacity: 1; transform: translateY(0); }

/* --- STR Features --- */
.str-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--space-lg);
}
.str-feature-card {
  padding: 40px 32px;
  border: 1px solid var(--border-soft);
  background: var(--white);
  text-align: center;
  transition: all var(--transition);
}
.str-feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(149,123,102,0.08);
}
.str-feature-icon { font-size: 28px; margin-bottom: 20px; }
.str-feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}
.str-feature-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials { background: var(--bg-alt); }
.testimonial-card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}
.testimonial-author {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.testimonial-detail {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 4px;
  font-weight: 300;
}

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: var(--space-lg);
}
.team-card { text-align: center; }
.team-card-photo {
  width: 200px;
  height: 240px;
  margin: 0 auto var(--space-md);
  overflow: hidden;
  background: var(--sand);
}
.team-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
.team-card-role {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.team-card-bio {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
  font-weight: 300;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: var(--space-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-info { padding-top: 20px; }
.contact-info-item { margin-bottom: 32px; }
.contact-info-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}
.contact-info-value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}

/* --- Listing Cards --- */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: var(--space-lg);
}
.listing-card {
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: all var(--transition);
  background: var(--white);
  cursor: pointer;
}
.listing-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.listing-card-image {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.listing-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--ink);
  color: var(--cream);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.listing-card-body { padding: var(--space-md); }
.listing-card-price {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 4px;
}
.listing-card-address {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 16px;
  font-weight: 300;
}
.listing-card-specs {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.listing-card-spec {
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 300;
}
.listing-card-spec strong { color: var(--text); font-weight: 500; }

/* --- Split Section --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
}
.split-section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) 60px;
}
.split-section-image {
  min-height: 400px;
  overflow: hidden;
}
.split-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Page Header (Inner pages) --- */
.page-header {
  padding: 160px 0 80px;
  background: var(--ink);
  text-align: center;
}
.page-header .section-label { color: var(--desert-rose); }
.page-header .section-title { color: var(--cream); }
.page-header-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--taupe);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- Video Section --- */
.video-section { background: var(--ink); }
.video-container {
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: var(--space-lg) auto 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(196,150,122,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.video-play-btn::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.video-container:hover .video-play-btn {
  transform: scale(1.08);
  background: var(--terracotta);
}

/* --- Calculator --- */
.calculator {
  background: var(--white);
  border: 1px solid var(--border-soft);
  padding: var(--space-lg);
  max-width: 560px;
  margin: var(--space-lg) auto 0;
}
.calculator-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: center;
}
.calculator-desc {
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 32px;
  font-weight: 300;
}
.calculator-field { margin-bottom: 24px; }
.calculator-field label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 10px;
  font-weight: 500;
}
.calculator-field label span { color: var(--accent); font-weight: 600; }
.calculator-field input[type="range"] {
  width: 100%;
  height: 2px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  outline: none;
}
.calculator-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 3px solid var(--cream);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.calculator-result {
  background: var(--sand);
  padding: var(--space-md);
  text-align: center;
  margin-top: 32px;
}
.calculator-result-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.calculator-result-value {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--accent);
  font-weight: 400;
}

/* --- Slide-up Form --- */
.slide-up-form {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.06);
  padding: 18px 32px;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.slide-up-form.visible { transform: translateY(0); }
.slide-up-form-text {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  white-space: nowrap;
}
.slide-up-form input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  outline: none;
  width: 220px;
}
.slide-up-form input:focus { border-color: var(--accent); }
.slide-up-form button {
  padding: 12px 24px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
}
.slide-up-form-close {
  background: none;
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
}

/* --- Footer (Clean, editorial) --- */
.footer {
  background: var(--ink);
  color: var(--taupe);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand { max-width: 300px; }
.footer-logo-living {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1;
}
.footer-logo-main {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 4px;
  margin-bottom: 20px;
}
.footer-brand-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--taupe);
  font-weight: 300;
}
.footer-heading {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--desert-rose);
  font-weight: 500;
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 13px;
  color: var(--taupe);
  font-weight: 300;
  opacity: 0.7;
}
.footer-links a:hover { opacity: 1; color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright {
  font-size: 11px;
  color: var(--taupe);
  opacity: 0.4;
  font-weight: 300;
}
.footer-social { display: flex; gap: 24px; }
.footer-social a {
  font-size: 11px;
  color: var(--taupe);
  opacity: 0.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}
.footer-social a:hover { opacity: 1; color: var(--desert-rose); }
.footer-social a.footer-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
  color: rgba(255,255,255,0.7); opacity: 1;
  letter-spacing: 0; text-transform: none;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.footer-social a.footer-social-icon:hover {
  color: #fff; border-color: var(--desert-rose); background: rgba(174,109,71,0.15);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { aspect-ratio: 16/9; }
  .editorial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .str-features { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-section-content { padding: var(--space-lg) var(--space-md); }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-inner { height: 72px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,253,248,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-md);
    gap: 16px;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-links.open { display: flex; }
  .nav:not(.scrolled) .nav-links { background: rgba(26,26,26,0.95); }
  .nav-mobile-toggle { display: flex; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .lead-form { flex-direction: column; }
  .lead-form input { min-width: 100%; border-right: 1px solid var(--border); border-bottom: none; }
  .lead-form button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .slide-up-form { flex-direction: column; padding: 16px; gap: 10px; }
  .slide-up-form input { width: 100%; }
  .condo-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
}

/* --- Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s var(--ease);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
