@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=IBM+Plex+Mono:wght@400;600&family=Public+Sans:wght@400;500;600;700&display=swap');
:root {
  --bg-sand: #F6F5F0;
  --bg-card: #FFFFFF;
  --emerald: #064E3B;
  --emerald-mid: #047857;
  --leaf: #10B981;
  --solar: #D97706;
  --ink: #111827;
  --muted: #4B5563;
  --border: #D5D9D2;
  --font-display: 'Fraunces', serif;
  --font-sans: 'Public Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-sans); background: var(--bg-sand); color: var(--ink); line-height: 1.6; }
body { overflow-x: hidden; }
h1, h2, h3, .hero-title, .section-title { font-family: var(--font-display); text-wrap: balance; line-height: 1.12; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }

/* UNIQUE HEADER #8: TWO-ROW CIVIC PORTAL MASTHEAD WITH URBAN ZONE RIBBON */
.civic-masthead {
  background: var(--emerald); color: #F9FAFB; border-bottom: 4px solid var(--solar);
  position: sticky; top: 0; z-index: 1000;
}
.civic-row-top {
  max-width: 1360px; margin: 0 auto; padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.civic-crest { display: flex; align-items: center; gap: 12px; }
.crest-badge {
  width: 44px; height: 44px; border-radius: 10px; background: var(--solar); color: #FFF;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.civic-nav { display: flex; align-items: center; gap: 8px; }
.civic-link, .civic-drop-btn {
  min-height: 44px; padding: 8px 14px; border-radius: 8px; color: #E5E7EB;
  font-size: 0.86rem; font-weight: 600; background: transparent; border: none;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.civic-link:hover, .civic-drop-btn:hover { background: rgba(255,255,255,0.12); color: #FFF; }
.civic-drop { position: relative; }
.civic-drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: #04392B;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 8px;
  display: none; flex-direction: column; gap: 4px; box-shadow: 0 16px 36px rgba(0,0,0,0.3);
}
.civic-drop:hover .civic-drop-menu, .civic-drop:focus-within .civic-drop-menu { display: flex; }
.civic-drop-menu a { padding: 8px 12px; font-size: 0.82rem; color: #E5E7EB; border-radius: 6px; }
.civic-drop-menu a:hover { background: var(--solar); color: #FFF; }
.civic-cta {
  background: var(--solar); color: #FFF; font-weight: 700; font-size: 0.84rem;
  min-height: 44px; padding: 9px 18px; border-radius: 8px; display: inline-flex; align-items: center;
}
.civic-row-zones {
  background: #04392B; border-top: 1px solid rgba(255,255,255,0.12);
  padding: 6px 24px; font-family: var(--font-mono); font-size: 0.72rem; color: #A7F3D0;
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
}
#mobileMenuToggle {
  display: none; min-height: 44px; padding: 8px 14px; background: var(--solar); color: #FFF;
  border: none; border-radius: 8px; font-weight: 700; cursor: pointer;
}
#mobileDrawer {
  display: none; position: fixed; inset: 0; background: #04392B; color: #FFF; z-index: 1050;
  padding: 28px; flex-direction: column; gap: 10px; overflow-y: auto;
}
#mobileDrawer.open { display: flex; }
#mobileDrawer a { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.15); }

/* UNIQUE FIRST SCREEN #8: PANORAMIC CIVIC PLAZA ARCH + FLOATING OVERLAP MATRIX */
.civic-plaza-panorama {
  max-width: 1360px; margin: 20px auto 40px; padding: 0 24px;
}
.panorama-window {
  position: relative; border-radius: 26px; overflow: hidden; min-height: 460px;
  border: 2px solid var(--emerald); display: flex; align-items: center; padding: 38px;
  background: #042F24;
}
.panorama-window img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42;
}
.panorama-overlay-content {
  position: relative; z-index: 2; max-width: 780px; color: #FFF;
}
.civic-kicker {
  display: inline-block; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  background: rgba(16, 185, 129, 0.25); border: 1px solid #34D399; color: #D1FAE5;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.hero-title { font-size: clamp(2rem, 3.2vw, 3.1rem); margin-bottom: 14px; color: #FFF; }
.panorama-telemetry-pill {
  margin-top: 18px; display: inline-flex; flex-wrap: wrap; gap: 18px;
  background: rgba(6, 78, 59, 0.92); border: 1px solid #34D399; border-radius: 14px; padding: 14px 20px;
  font-family: var(--font-mono); font-size: 0.82rem; color: #ECFDF5;
}

.floating-overlap-matrix {
  position: relative; z-index: 3; margin: -52px 24px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.plaza-module-btn {
  min-height: 92px; padding: 16px; border-radius: 16px; border: 2px solid var(--border);
  background: var(--bg-card); color: var(--ink); text-align: left; cursor: pointer;
  box-shadow: 0 16px 36px rgba(6, 78, 59, 0.12); transition: all 0.2s;
  display: flex; flex-direction: column; justify-content: space-between;
}
.plaza-module-btn.active, .plaza-module-btn:hover { border-color: var(--emerald); background: #ECFDF5; transform: translateY(-3px); }
.plaza-module-btn small { font-family: var(--font-mono); font-size: 0.7rem; color: var(--solar); font-weight: 700; }
.plaza-module-btn strong { font-family: var(--font-display); font-size: 1rem; color: var(--emerald); }

.section-block, .section-alt { max-width: 1320px; margin: 0 auto; padding: 60px 24px; }
.section-alt { content-visibility: auto; contain-intrinsic-size: auto 520px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; margin-bottom: 34px; }
.section-title { font-size: clamp(1.7rem, 2.5vw, 2.4rem); margin-bottom: 14px; color: var(--emerald); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(295px, 1fr)); gap: 22px; margin-top: 24px; }
.card-civic { background: var(--bg-sand); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card-civic img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.btn-primary, .btn-outline, .header-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; cursor: pointer;
}
.btn-primary { background: var(--emerald); color: #FFF; border: none; }
.btn-outline { background: transparent; color: var(--emerald); border: 1px solid var(--emerald); }

.calc-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; margin-top: 22px; }
.calc-box { background: var(--bg-sand); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.control-group { margin-bottom: 14px; }
.control-group label { display: block; font-family: var(--font-mono); font-size: 0.76rem; color: var(--emerald); font-weight: 700; margin-bottom: 6px; }
.form-input, select { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: #FFF; font-family: var(--font-sans); }
.form-input:user-valid { border-color: #10B981; }
.form-input:user-invalid { border-color: #EF4444; }
.price-big { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--emerald); margin: 8px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.86rem; }
.spec-table th, .spec-table td { padding: 12px; border: 1px solid var(--border); text-align: left; }
.spec-table th { background: var(--emerald); color: #FFF; font-family: var(--font-mono); font-size: 0.75rem; }
.accordion-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; background: #FFF; }
.accordion-header { width: 100%; min-height: 48px; padding: 14px 18px; background: none; border: none; color: var(--ink); font-weight: 700; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.accordion-body { padding: 0 18px 16px; display: none; color: var(--muted); font-size: 0.9rem; }
.accordion-item.open .accordion-body { display: block; }
.site-footer { content-visibility: auto; contain-intrinsic-size: auto 420px; background: #042F24; color: #D1FAE5; padding: 54px 24px; margin-top: 44px; }
.footer-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.cookie-banner { position: fixed; bottom: 18px; right: 20px; max-width: 420px; background: #042F24; color: #FFF; border: 2px solid var(--solar); border-radius: 12px; padding: 16px; z-index: 995; font-size: 0.8rem; }
@media (max-width: 1024px) {
  .civic-nav { display: none; }
  #mobileMenuToggle { display: inline-flex; align-items: center; }
  .floating-overlap-matrix { grid-template-columns: repeat(2, 1fr); margin-top: 14px; }
  .calc-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }