/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Work Sans', sans-serif;
  color: #1c0a04;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Domine', serif; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
.nav-inner > a:first-child { flex-shrink: 0; }
.nav-inner img { height: 28px; width: auto; object-fit: contain; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.label-text {
  font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 0.75rem;
  line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase;
}
.text-center { text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 16px; } .gap-4 { gap: 24px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; } .mb-6 { margin-bottom: 48px; } .mb-8 { margin-bottom: 64px; }
.mt-4 { margin-top: 24px; } .mt-6 { margin-top: 48px; } .mt-8 { margin-top: 64px; }
.max-w-2 { max-width: 640px; margin-left: auto; margin-right: auto; }
.max-w-3 { max-width: 768px; margin-left: auto; margin-right: auto; }
.max-w-4 { max-width: 1024px; margin-left: auto; margin-right: auto; }
.line-clamp-2 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== COLORS ===== */
.bg-teal { background-color: #296662; }
.bg-teal-dark { background-color: #1e4d49; }
.bg-gold { background-color: #efd48f; }
.bg-parchment { background-color: #f4ecdc; }
.bg-dove { background-color: #e4e7e6; }
.bg-coral { background-color: #c64f2f; }
.bg-coral-dark { background-color: #a33d22; }
.bg-white { background-color: #ffffff; }
.bg-green-600 { background-color: #16a34a; }
.bg-green-700 { background-color: #15803d; }
.text-teal { color: #296662; }
.text-gold { color: #efd48f; }
.text-coral { color: #c64f2f; }
.text-coral-dark { color: #a33d22; }
.text-white { color: #ffffff; }
.text-brand { color: #1c0a04; }
.text-brand-70 { color: rgba(28,10,4,0.7); }
.text-brand-60 { color: rgba(28,10,4,0.6); }
.text-brand-50 { color: rgba(28,10,4,0.5); }
.text-white-90 { color: rgba(255,255,255,0.9); }
.text-white-80 { color: rgba(255,255,255,0.8); }
.text-white-70 { color: rgba(255,255,255,0.7); }
.text-white-60 { color: rgba(255,255,255,0.6); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.2s ease;
  border: none; cursor: pointer;
}
.btn-primary {
  background: #296662; color: #ffffff;
  box-shadow: 0 2px 8px rgba(41,102,98,0.25);
}
.btn-primary:hover { background: #1e4d49; }
.btn-secondary {
  background: transparent; color: #efd48f; border: 1px solid #efd48f;
}
.btn-secondary:hover { background: #efd48f; color: #296662; }
.btn-coral {
  background: #c64f2f; color: #ffffff;
}
.btn-coral:hover { background: #a33d22; }
.btn-white {
  background: #ffffff; color: #c64f2f;
}
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn-outline-white {
  background: transparent; color: #ffffff; border: 1px solid #ffffff;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ===== CARDS ===== */
.card {
  background: #ffffff; border-radius: 8px;
  box-shadow: 0 4px 24px rgba(28,10,4,0.08);
  overflow: hidden; transition: box-shadow 0.2s ease;
}
.card:hover { box-shadow: 0 8px 32px rgba(28,10,4,0.12); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img { transform: scale(1.03); }
.card-body { padding: 20px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 52px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav-scrolled {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(28,10,4,0.06);
}
.nav-transparent { background: transparent; }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a {
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: #efd48f; transition: width 0.2s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-scrolled .nav-links a { color: #1c0a04; }
.nav-transparent .nav-links a { color: #ffffff; }

.nav-toggle { display: none; background: none; border: none; padding: 6px; }
.nav .btn { padding: 8px 16px; font-size: 0.7rem; white-space: nowrap; }

/* Mobile nav */
.mobile-drawer {
  position: fixed; top: 0; right: 0; width: 320px; height: 100%;
  background: #296662; padding: 96px 32px 32px; z-index: 45;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 44;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-drawer a {
  display: block; color: #ffffff; font-weight: 600; font-size: 1.125rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-drawer a:hover { color: #efd48f; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(41,102,98,0.8), rgba(41,102,98,0.5), transparent); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding-top: 96px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; color: #ffffff; max-width: 600px; margin-bottom: 24px; }
.hero p { font-size: 1.125rem; color: rgba(255,255,255,0.9); max-width: 480px; margin-bottom: 32px; }
.hero-tagline { position: absolute; bottom: 48px; right: 48px; color: rgba(239,212,143,0.7); }

/* ===== TRUST BAR ===== */
.trust-bar { background: #f4ecdc; padding: 40px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: flex-start; gap: 16px; }
.trust-item h4 { font-size: 1rem; margin-bottom: 4px; }
.trust-item p { font-size: 0.8125rem; color: rgba(28,10,4,0.7); }

/* ===== TESTIMONIALS ===== */
.testimonial-card { border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 32px; }

/* ===== NEIGHBORHOOD CARDS ===== */
.loc-card .loc-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.loc-card .loc-img-wrap::after {
  content: ''; position: absolute; inset: 0; background: rgba(41,102,98,0);
  transition: background 0.3s ease;
}
.loc-card:hover .loc-img-wrap::after { background: rgba(41,102,98,0.2); }
.loc-card:hover .loc-img { transform: scale(1.05); }

/* ===== TIMELINE ===== */
.timeline-line { position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: rgba(41,102,98,0.3); }
.timeline-num {
  position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%;
  background: #efd48f; display: flex; align-items: center; justify-content: center;
  font-family: 'Domine', serif; font-size: 0.875rem; font-weight: 700; color: #1c0a04;
  z-index: 2;
}
.timeline-step { position: relative; margin-bottom: 36px; padding-left: 60px; }
.timeline-step:last-child { margin-bottom: 0; }
.timeline-step h3 { padding-top: 6px; margin-bottom: 6px; }

/* ===== ACCORDION ===== */
.accordion-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #ffffff; border: none; text-align: left; cursor: pointer; transition: background 0.2s; }
.accordion-btn:hover { background: rgba(244,236,220,0.5); }
.accordion-content { display: none; padding: 0 20px 16px; }
.accordion-content.active { display: block; }

/* ===== CALCULATOR ===== */
.calc-input {
  width: 100%; padding: 10px 12px; border: 1px solid #e4e7e6; border-radius: 6px;
  font-size: 1rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.calc-input:focus { outline: none; border-color: #296662; box-shadow: 0 0 0 3px rgba(41,102,98,0.15); }
.calc-select {
  width: 100%; padding: 10px 12px; border: 1px solid #e4e7e6; border-radius: 6px;
  font-size: 1rem; font-family: inherit; background: #ffffff; cursor: pointer;
}
.calc-select:focus { outline: none; border-color: #296662; }
.calc-group label { display: block; font-weight: 600; font-size: 0.875rem; color: rgba(28,10,4,0.7); margin-bottom: 4px; }

/* ===== FORMS ===== */
.form-input {
  width: 100%; padding: 10px 14px; border: 1px solid #e4e7e6; border-radius: 6px;
  font-size: 0.875rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus { outline: none; border-color: #296662; box-shadow: 0 0 0 3px rgba(41,102,98,0.15); }

/* ===== PLACEHOLDER ZONE ===== */
.calculator-zone {
  border: 3px dashed #296662; border-radius: 12px; padding: 48px;
  background: rgba(41,102,98,0.05); text-align: center; margin: 32px 0;
}
.calculator-zone .placeholder-label {
  font-family: 'Domine', serif; font-size: 1.25rem; color: #296662; margin-bottom: 8px;
}
.calculator-zone .placeholder-hint {
  font-size: 0.875rem; color: rgba(28,10,4,0.6);
}

/* ===== TABLE ===== */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th { background: #296662; color: #ffffff; text-align: left; padding: 12px 16px; }
.data-table th:first-child { border-radius: 8px 0 0 0; }
.data-table th:last-child { border-radius: 0 8px 0 0; }
.data-table td { padding: 12px 16px; }
.data-table tbody tr:nth-child(even) { background: #e4e7e6; }

/* ===== FOOTER ===== */
.footer { background: #296662; color: #ffffff; }
.footer a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.footer a:hover { color: #efd48f; }
.footer-links a { font-size: 0.875rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; margin-top: 48px; }

/* ===== PAGE HERO ===== */
.page-hero { padding-top: 64px; padding-bottom: 16px; min-height: auto; }
.page-hero h1 { font-size: 1.5rem; margin-bottom: 4px; }
.page-hero p { font-size: 0.8125rem; margin-bottom: 0; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); color: #ffffff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.125rem; }

/* ===== DOWNLOAD SECTION ===== */
.download-card {
  background: #f4ecdc; border-radius: 8px; padding: 32px; text-align: center;
  transition: box-shadow 0.2s ease;
}
.download-card:hover { box-shadow: 0 8px 32px rgba(28,10,4,0.12); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .section-pad { padding: 56px 0; }
  .hero-tagline { right: 24px; bottom: 24px; }
}
@media (max-width: 767px) {
  .nav-inner img { height: 22px; }
  .grid-2, .grid-3, .grid-4, .trust-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-tagline { display: none; }
  .calc-row { flex-direction: column; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #296662 0%, #1e4d49 100%);
}
.success-card {
  background: #ffffff; border-radius: 16px; padding: 64px;
  text-align: center; max-width: 520px; width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.success-card h1 { font-size: 2rem; color: #296662; margin-bottom: 16px; }
.success-card p { color: rgba(28,10,4,0.7); margin-bottom: 32px; font-size: 1.125rem; }
.success-check {
  width: 80px; height: 80px; border-radius: 50%; background: #296662;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}

/* ===== STICKY HEADER SHADOW ===== */
.sticky-bar {
  position: sticky; top: 52px; z-index: 30;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(28,10,4,0.05);
}
