/*
Theme Name: The Valleys of Thornhill
Description: Landing page for The Valleys of Thornhill by Treasure Hill in Thornhill, Ontario
Version: 1.0
Text Domain: valleys-of-thornhill
*/

/* ═══════════ VARIABLES ═══════════ */
:root {
  --primary: #3A3A32;
  --primary-dark: #2A2A22;
  --primary-light: #5A5A4A;
  --accent: #B89B6A;
  --accent-dark: #9A7F50;
  --accent-light: #D0B88A;
  --cream: #FAF7F2;
  --warm-white: #FEFCF9;
  --sand: #E5DDD0;
  --charcoal: #2C2C2C;
  --text: #3A3A3A;
  --text-light: #6B6B6B;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Nunito Sans', -apple-system, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
}

/* ═══════════ RESET ═══════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); color: var(--text); background: var(--warm-white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══════════ INTRO SPLASH ═══════════ */
.intro-splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--primary-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  transition: opacity .8s ease, visibility .8s;
}
.intro-splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-dev-logo { max-width: 200px; height: auto; opacity: .85; }
.intro-logo { max-width: min(70vw, 440px); height: auto; }
.intro-tagline {
  font-family: var(--sans); font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent-light); margin-top: 8px;
}

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background .35s, box-shadow .35s, transform .35s;
}
.site-header.scrolled {
  background: rgba(42,42,34,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,.18);
}
.site-header.header-hidden { transform: translateY(-100%); }
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo img { height: 36px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: #fff;
  letter-spacing: .6px; transition: color .2s; position: relative;
}
.header-nav a:hover { color: var(--accent-light); }
.header-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width .3s;
}
.header-nav a:hover::after { width: 100%; }
.header-cta {
  background: var(--accent); color: var(--primary-dark) !important;
  padding: 10px 22px; border-radius: 6px; font-weight: 700 !important;
  transition: background .2s, transform .2s !important;
}
.header-cta:hover { background: var(--accent-light) !important; transform: translateY(-1px); }
.header-cta::after { display: none !important; }
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 4px;
}
.mobile-toggle span {
  display: block; width: 26px; height: 2px; background: #fff;
  transition: transform .3s, opacity .3s;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; height: 100svh; min-height: 600px; max-height: 1000px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(42,42,34,.75) 0%, rgba(42,42,34,.45) 60%, rgba(42,42,34,.25) 100%);
}
.hero-content {
  position: relative; z-index: 1; text-align: center; color: #fff;
  max-width: 860px; padding: 0 24px;
}
.hero-label {
  font-family: var(--sans); font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 20px; font-weight: 600;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 7vw, 80px); font-weight: 400;
  line-height: 1.1; margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px); line-height: 1.65; max-width: 660px; margin: 0 auto 36px;
  opacity: .92;
}
.hero-sub a { color: var(--accent-light); text-decoration: underline; }
.hero-btn {
  display: inline-block; background: var(--accent); color: var(--primary-dark);
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 1px;
  padding: 16px 40px; border-radius: 8px;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(184,155,106,.35);
}
.hero-btn:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(184,155,106,.45); }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ═══════════ SECTION LABELS ═══════════ */
.section-label {
  font-family: var(--sans); font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 12px;
}
h2 {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 46px); font-weight: 400;
  color: var(--primary); line-height: 1.2; margin-bottom: 20px;
}

/* ═══════════ STATS BANNER ═══════════ */
.stats-banner {
  background: var(--primary-dark); padding: 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1400px; margin: 0 auto;
}
.stat-item {
  padding: 28px 20px; text-align: center; color: #fff;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(184,155,106,.08); }
.stat-value {
  display: block; font-family: var(--serif); font-size: clamp(20px, 3vw, 30px);
  color: var(--accent-light); font-weight: 400; margin-bottom: 4px;
}
.stat-item p { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .7; }

/* ═══════════ REGISTER FORM (inline) ═══════════ */
.register-section {
  background: var(--cream); padding: 80px 0; scroll-margin-top: 80px;
}
.register-inner {
  max-width: 680px; margin: 0 auto; padding: 0 24px; text-align: center;
}
.register-inner h2 { color: var(--primary); margin-bottom: 12px; }
.register-intro { color: var(--text-light); font-size: 16px; margin-bottom: 40px; }
.reg-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); }
.form-group input, .form-group select {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid var(--sand); border-radius: 8px;
  font-family: var(--sans); font-size: 15px; color: var(--text);
  background: #fff; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,155,106,.12);
}
.phone-input-wrap { display: flex; align-items: center; border: 1.5px solid var(--sand); border-radius: 8px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.phone-input-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184,155,106,.12); }
.phone-prefix { padding: 14px 12px 14px 16px; font-size: 15px; color: var(--text-light); border-right: 1px solid var(--sand); background: var(--cream); }
.phone-input-wrap input { border: none !important; box-shadow: none !important; border-radius: 0; }
.casl-consent {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  font-size: 12.5px; color: var(--text-light); line-height: 1.5;
}
.casl-consent input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.casl-consent a { color: var(--accent); text-decoration: underline; }
.reg-submit {
  width: 100%; background: var(--accent); color: var(--primary-dark);
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 1px;
  padding: 16px; border: none; border-radius: 8px; cursor: pointer;
  transition: background .2s, transform .2s; text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(184,155,106,.3);
}
.reg-submit:hover { background: var(--accent-light); transform: translateY(-1px); }
.reg-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-note { font-size: 11.5px; color: var(--text-light); text-align: center; }
.form-note a { color: var(--accent); text-decoration: underline; }
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success h3 { font-family: var(--serif); font-size: 28px; color: var(--primary); margin-bottom: 12px; }
.form-success p { color: var(--text-light); font-size: 16px; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* ═══════════ ABOUT ═══════════ */
.about { padding: 100px 0; background: var(--warm-white); }
.about-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.about-copy { padding-right: 16px; }
.about-text { color: var(--text-light); font-size: 16px; margin-bottom: 18px; line-height: 1.8; }
.about-text a { color: var(--accent); text-decoration: underline; }
.about-quote {
  border-left: 3px solid var(--accent); padding-left: 20px;
  font-family: var(--serif); font-size: 20px; color: var(--primary);
  font-style: italic; margin-top: 28px; line-height: 1.4;
}
.about-images { display: flex; flex-direction: column; gap: 16px; }
.about-images img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.about-images img:first-child { height: 320px; }
.about-images img:last-child { height: 220px; }

/* ═══════════ COMMUNITY FEATURES ═══════════ */
.community { padding: 100px 0; background: var(--cream); }
.community-intro { text-align: center; color: var(--text-light); font-size: 17px; max-width: 600px; margin: 0 auto 56px; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.feature-card {
  background: var(--warm-white); border-radius: var(--radius);
  padding: 36px 28px; box-shadow: var(--shadow);
  border-bottom: 3px solid transparent;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px; background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--accent-light); }
.feature-card h3 { font-family: var(--serif); font-size: 20px; color: var(--primary); margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 14.5px; line-height: 1.7; }

/* ═══════════ GALLERY ═══════════ */
.interiors { padding: 100px 0; background: var(--warm-white); }
.interiors .container { text-align: center; }
.interiors h2 { margin-bottom: 48px; }
.interiors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.interior-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.interior-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.interior-card img { width: 100%; height: 260px; object-fit: cover; }
.interior-caption { padding: 22px; background: var(--warm-white); }
.interior-caption h3 { font-family: var(--serif); font-size: 18px; color: var(--primary); margin-bottom: 6px; }
.interior-caption p { font-size: 13.5px; color: var(--text-light); line-height: 1.6; }

/* ═══════════ LOCATION ═══════════ */
.location { padding: 100px 0; background: var(--cream); }
.location-intro { text-align: center; color: var(--text-light); font-size: 16px; max-width: 700px; margin: 0 auto 56px; line-height: 1.8; }
.location-intro a { color: var(--accent); text-decoration: underline; }
.map-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.map-card { background: var(--warm-white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.map-card h3 { font-family: var(--serif); font-size: 19px; color: var(--primary); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--sand); }
.map-card ul { display: flex; flex-direction: column; gap: 8px; }
.map-card li { font-size: 14px; color: var(--text-light); padding-left: 14px; position: relative; }
.map-card li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.map-card a { color: var(--accent); text-decoration: underline; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-embed iframe { display: block; width: 100%; border-radius: var(--radius); }

/* ═══════════ NEIGHBOURHOOD ═══════════ */
.neighbourhood { padding: 100px 0; background: var(--warm-white); }
.neighbourhood-intro { text-align: center; color: var(--text-light); font-size: 16px; max-width: 620px; margin: 0 auto 48px; }
.hood-scroll { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hood-card { background: var(--cream); border-radius: var(--radius); padding: 28px 22px; }
.hood-icon { width: 44px; height: 44px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.hood-icon svg { width: 22px; height: 22px; stroke: var(--accent-light); }
.hood-card h3 { font-family: var(--serif); font-size: 17px; color: var(--primary); margin-bottom: 10px; }
.hood-card ul { display: flex; flex-direction: column; gap: 6px; }
.hood-card li { font-size: 13.5px; color: var(--text-light); padding-left: 12px; position: relative; }
.hood-card li::before { content: '·'; position: absolute; left: 0; color: var(--accent); font-size: 18px; line-height: 1; top: 2px; }
.hood-card a { color: var(--accent-dark); text-decoration: underline; }

/* ═══════════ FLOOR PLANS ═══════════ */
.floorplans { padding: 100px 0; background: var(--primary-dark); }
.floorplans .container { text-align: center; }
.floorplans h2 { color: var(--warm-white); }
.floorplans-intro { color: rgba(255,255,255,.7); font-size: 16px; max-width: 620px; margin: 0 auto 48px; line-height: 1.8; }
.floorplans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 880px; margin: 0 auto; }
.fp-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 40px 32px; text-align: left;
  transition: border-color .25s, background .25s;
}
.fp-card:hover { border-color: rgba(184,155,106,.4); background: rgba(184,155,106,.06); }
.fp-card--accent {
  background: rgba(184,155,106,.12); border-color: rgba(184,155,106,.4);
}
.fp-icon { width: 52px; height: 52px; background: var(--accent); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.fp-icon svg { width: 26px; height: 26px; stroke: var(--primary-dark); }
.fp-card h3 { font-family: var(--serif); font-size: 24px; color: #fff; margin-bottom: 10px; }
.fp-card p { color: rgba(255,255,255,.7); font-size: 14.5px; line-height: 1.7; margin-bottom: 20px; }
.fp-card p strong { color: var(--accent-light); }
.fp-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.fp-features li { font-size: 13.5px; color: rgba(255,255,255,.65); padding-left: 20px; position: relative; }
.fp-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-size: 13px; }
.fp-cta {
  display: inline-block; background: var(--accent); color: var(--primary-dark);
  font-weight: 700; font-size: 13px; letter-spacing: 1px; padding: 12px 26px;
  border-radius: 6px; text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.fp-cta:hover { background: var(--accent-light); transform: translateY(-1px); }

/* ═══════════ BUILDER SECTION ═══════════ */
.builder { padding: 80px 0; background: var(--sand); }
.builder-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.builder-logo-wrap { text-align: center; }
.builder-logo-wrap img { max-width: 200px; margin: 0 auto; }
.builder-copy h2 { margin-bottom: 16px; }
.builder-copy p { color: var(--text-light); font-size: 15.5px; line-height: 1.8; margin-bottom: 14px; }
.builder-copy a { color: var(--accent); text-decoration: underline; }
.builder-award {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary-dark); color: var(--accent-light);
  padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: .5px; margin-top: 8px;
}
.builder-award svg { width: 20px; height: 20px; stroke: var(--accent); }

/* ═══════════ FAQ ═══════════ */
.faq { padding: 100px 0; background: var(--cream); }
.faq .container { max-width: 800px; }
.faq h2 { text-align: center; margin-bottom: 48px; }
.faq-item {
  border-bottom: 1px solid var(--sand); margin-bottom: 4px;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 8px; cursor: pointer; gap: 20px;
  transition: color .2s;
}
.faq-question:hover { color: var(--primary); }
.faq-question h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--primary); }
.faq-toggle { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--accent); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.faq-toggle svg { width: 14px; height: 14px; stroke: var(--accent); transition: transform .3s; }
.faq-question[aria-expanded="true"] .faq-toggle { background: var(--accent); }
.faq-question[aria-expanded="true"] .faq-toggle svg { stroke: var(--primary-dark); transform: rotate(180deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height .4s ease; }
.faq-answer.open { max-height: 600px; }
.faq-answer-inner { padding: 4px 8px 24px; color: var(--text-light); font-size: 15px; line-height: 1.8; }
.faq-answer-inner a { color: var(--accent); text-decoration: underline; }

/* ═══════════ BOOKING / CALENDLY ═══════════ */
.booking { padding: 100px 0; background: var(--warm-white); }
.booking .container { text-align: center; }
.booking-intro { color: var(--text-light); font-size: 16px; max-width: 560px; margin: 0 auto 40px; }
.calendly-wrapper { max-width: 860px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.calendly-placeholder {
  background: var(--cream); border: 2px dashed var(--sand); border-radius: var(--radius);
  padding: 60px 24px; text-align: center;
}
.calendly-placeholder p { color: var(--text-light); font-size: 15px; }
.calendly-placeholder a { color: var(--accent); font-weight: 700; }

/* ═══════════ WHATSAPP CTA ═══════════ */
.wa-cta { padding: 72px 0; background: var(--primary); text-align: center; }
.wa-cta h2 { color: #fff; margin-bottom: 16px; }
.wa-cta p { color: rgba(255,255,255,.75); font-size: 16px; margin-bottom: 32px; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #25D366; color: #fff;
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  padding: 16px 36px; border-radius: 50px;
  transition: background .2s, transform .2s; box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.wa-btn:hover { background: #1EBE57; transform: translateY(-2px); }
.wa-btn svg { width: 24px; height: 24px; fill: #fff; }

/* ═══════════ SITE FOOTER ═══════════ */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.75); padding: 60px 0 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px 40px;
  display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; max-width: 300px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; transition: color .2s; }
.footer-nav a:hover { color: var(--accent-light); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact a { transition: color .2s; }
.footer-contact a:hover { color: var(--accent-light); }
.footer-contact strong { color: #fff; }
.footer-dev { text-align: center; padding: 24px; }
.footer-dev img { height: 28px; width: auto; margin: 0 auto; opacity: .7; }
.footer-bottom { background: rgba(0,0,0,.2); padding: 20px 24px; text-align: center; }
.footer-disclaimer { font-size: 11.5px; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 900px; margin: 0 auto; }

/* ═══════════ FLOATING BUTTONS ═══════════ */
.float-whatsapp, .float-book {
  position: fixed; bottom: 88px; z-index: 900;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: transform .2s, box-shadow .2s;
}
.float-whatsapp { right: 20px; background: #25D366; bottom: 156px; }
.float-whatsapp svg { width: 28px; height: 28px; fill: #fff; }
.float-book { right: 20px; background: var(--accent); }
.float-book svg { width: 22px; height: 22px; }
.float-whatsapp:hover, .float-book:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* ═══════════ LEAD POPUP ═══════════ */
.lead-popup-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lead-popup-overlay.open { opacity: 1; visibility: visible; }
.lead-popup {
  background: var(--warm-white); border-radius: 16px;
  padding: 48px 44px; max-width: 480px; width: 100%; position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
  max-height: 90vh; overflow-y: auto;
}
.lead-popup-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer; padding: 4px;
  color: var(--text-light); transition: color .2s;
}
.lead-popup-close:hover { color: var(--primary); }
.lead-popup-close svg { width: 22px; height: 22px; }
.lead-popup h3 { font-family: var(--serif); font-size: 26px; color: var(--primary); margin-bottom: 8px; }
.lead-popup > div > p:not(.popup-privacy) { color: var(--text-light); font-size: 14px; margin-bottom: 24px; }
.popup-submit {
  width: 100%; background: var(--accent); color: var(--primary-dark);
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: .5px;
  padding: 15px; border: none; border-radius: 8px; cursor: pointer;
  transition: background .2s; text-transform: uppercase; margin-top: 8px;
}
.popup-submit:hover { background: var(--accent-light); }
.popup-privacy { font-size: 11px; color: var(--text-light); margin-top: 12px; text-align: center; }
.popup-privacy a { color: var(--accent); text-decoration: underline; }
.popup-success { display: none; text-align: center; padding: 20px 0; }
.popup-success h3 { font-family: var(--serif); font-size: 24px; color: var(--primary); margin-bottom: 10px; }
.popup-success p { color: var(--text-light); font-size: 15px; }

/* ═══════════ SCROLL REVEAL ═══════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════ FUB TRACKER ═══════════ */
.fub-tracker { display: none !important; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hood-scroll { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-copy { padding-right: 0; }
  .builder-inner { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .header-nav { display: none; position: fixed; inset: 0; background: var(--primary-dark); flex-direction: column; justify-content: center; align-items: center; gap: 32px; z-index: 999; }
  .header-nav.nav-open { display: flex; }
  .header-nav a { font-size: 22px; }
  .mobile-toggle { display: flex; z-index: 1000; }
  .features-grid { grid-template-columns: 1fr; }
  .interiors-grid { grid-template-columns: 1fr; }
  .map-cards { grid-template-columns: 1fr; }
  .floorplans-grid { grid-template-columns: 1fr; }
  .hood-scroll { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .lead-popup { padding: 32px 24px; }
  .header-inner { padding: 14px 20px; }
  .hero h1 { font-size: 36px; }
  h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  .hood-scroll { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
