/* ========== RESET & TOKENS ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0f2137;
  --navy-light: #1a3150;
  --blue:       #2563eb;
  --blue-hover: #1d4ed8;
  --accent:     #f59e0b;
  --accent-hover:#d97706;
  --green:      #059669;
  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-300:   #cbd5e1;
  --gray-400:   #94a3b8;
  --gray-500:   #64748b;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-800:   #1e293b;
  --gray-900:   #0f172a;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --container: 1120px;
  --radius:    8px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-align: center;
  gap: 0.5rem;
}
.btn-primary {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--gray-50);
}
.btn-lg {
  font-size: 1.1rem;
  padding: 1rem 2.2rem;
}
.btn-submit {
  width: 100%;
  font-size: 1.05rem;
  padding: 1rem;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}
.logo strong {
  font-size: 1.1rem;
  color: var(--navy);
}
.logo span {
  font-size: 0.72rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.top-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s;
}
.top-nav a:hover { color: var(--navy); }
.nav-cta {
  background: var(--accent);
  color: var(--navy) !important;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: all 0.2s var(--ease) !important;
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: var(--space-4xl) 0 var(--space-3xl);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-3xl);
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}
.hero h1 { margin-bottom: var(--space-lg); }
.hero-lead {
  font-size: 1.08rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}
.hero-checks {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.hero-checks li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.92rem;
  color: var(--gray-600);
}
.hero-checks li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.hero-photo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(15, 33, 55, 0.1), 0 2px 8px rgba(15, 33, 55, 0.06);
  overflow: hidden;
  text-align: center;
}
.hero-photo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.hero-photo-caption {
  padding: var(--space-md) var(--space-lg);
  background: var(--navy);
  color: var(--white);
}
.hero-photo-caption strong {
  display: block;
  font-size: 1.1rem;
}
.hero-photo-caption span {
  font-size: 0.82rem;
  opacity: 0.8;
}
.hero-credentials {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.credential {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  font-size: 0.82rem;
}
.credential-label { color: var(--gray-500); font-weight: 500; }
.credential-value { color: var(--navy); font-weight: 600; font-family: monospace; font-size: 0.8rem; }

/* ========== TRUST STRIP ========== */
.trust-strip {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-xl) 0;
}
.trust-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}
.trust-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
}
.trust-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
}

/* ========== SECTIONS ========== */
.section { padding: var(--space-4xl) 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .kicker { color: var(--accent); }
.section-light { background: var(--gray-50); }
.section-accent { background: linear-gradient(135deg, var(--gray-50) 0%, #e8f0fe 100%); }
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-3xl);
}
.kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}
.section-header h2 { margin-bottom: var(--space-md); }
.section-sub {
  color: var(--gray-400);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ========== STEPS ========== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
.step {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 0 var(--space-lg);
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  margin-bottom: var(--space-lg);
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
}
.step h3 { margin-bottom: var(--space-sm); }
.step p { color: var(--gray-500); font-size: 0.95rem; }
.step-connector {
  width: 60px;
  height: 2px;
  background: var(--gray-200);
  margin-top: 28px;
  flex-shrink: 0;
}
.steps-cta { text-align: center; margin-top: var(--space-2xl); }

/* ========== PROJECT CAROUSEL ========== */
.carousel-wrapper {
  position: relative;
  margin-bottom: var(--space-xl);
}
.project-carousel {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
}
.project-carousel::-webkit-scrollbar { display: none; }
.project-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.project-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.project-card-info {
  padding: var(--space-md) var(--space-lg);
}
.project-card-info strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 2px;
}
.project-card-info span {
  font-size: 0.82rem;
  opacity: 0.6;
}
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--navy-light);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.project-neighborhoods {
  font-size: 0.88rem;
  opacity: 0.7;
  text-align: center;
  line-height: 1.8;
}
.project-neighborhoods strong { opacity: 1; color: var(--accent); }

/* ========== SITUATIONS ========== */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.situation-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}
.situation-icon { font-size: 1.8rem; margin-bottom: var(--space-md); }
.situation-card h3 { margin-bottom: var(--space-sm); }
.situation-card p { color: var(--gray-500); font-size: 0.92rem; }

/* ========== CONTACT FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}
.lead-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: 0 4px 20px rgba(15, 33, 55, 0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--gray-800);
  transition: all 0.15s;
  outline: none;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-field textarea { resize: vertical; }
.form-fine-print {
  margin-top: var(--space-md);
  font-size: 0.82rem;
  color: var(--gray-400);
  text-align: center;
}
.form-fine-print a { color: var(--blue); text-decoration: underline; }

.contact-sidebar { position: sticky; top: 90px; }
.contact-sidebar h3 { margin-bottom: var(--space-lg); }
.next-steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.next-steps-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: var(--space-lg);
  border-left: 3px solid var(--blue);
}
.next-steps-list strong { font-size: 0.95rem; color: var(--navy); }
.next-steps-list span { font-size: 0.85rem; color: var(--gray-500); }

/* ========== FAQ ========== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item summary {
  padding: var(--space-lg) 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; color: var(--blue); }
.faq-item p {
  padding: 0 0 var(--space-lg);
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ========== FINAL CTA ========== */
.section-cta {
  background: var(--navy);
  padding: var(--space-3xl) 0;
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--space-sm);
}
.cta-inner p {
  color: var(--gray-400);
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-2xl) 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer-brand strong {
  color: var(--white);
  font-size: 1rem;
  display: block;
  margin-bottom: var(--space-xs);
}
.footer-brand p { font-size: 0.82rem; line-height: 1.6; }
.footer-legal p { font-size: 0.78rem; }

/* ========== FORM SUCCESS ========== */
.form-success {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}
.form-success h3 { color: var(--green); margin-bottom: var(--space-md); }
.form-success p { color: var(--gray-600); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .hero { padding: var(--space-2xl) 0; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-checks { align-items: center; }
  .steps { flex-direction: column; align-items: center; gap: var(--space-lg); }
  .step-connector { width: 2px; height: 30px; margin: 0; }
  .project-card { flex: 0 0 280px; }
  .situations-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .top-nav { display: none; }
  .top-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    gap: var(--space-md);
  }
  .mobile-menu-toggle { display: flex; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .trust-strip-inner { gap: var(--space-lg); }
  .trust-divider { display: none; }
  .trust-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; }
}
