/* ===== ROOT & GLOBAL ===== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f6fa;
  --accent: #3B4BA0;
  --accent-hover: #2D3A80;
  --accent-light: #5E6FD6;
  --text-primary: #1a1d2e;
  --text-secondary: #4a4f65;
  --text-muted: #7a7f94;
  --border-color: rgba(59, 75, 160, 0.15);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 16px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

main {
  min-height: 100vh;
}

section {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }
}

/* ===== NAVIGATION ===== */
nav#nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: 1.5rem 2rem;
}

nav#nav.scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

nav#nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
}

.logo:hover {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #ffffff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--accent-hover);
  opacity: 1;
}

.nav-cta.active::after {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  nav#nav {
    padding: 0.75rem 1rem;
  }

  .logo img {
    height: 48px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-secondary);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  nav#nav .container {
    flex-wrap: wrap;
  }

  .nav-links a {
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(59, 75, 160, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 1.5rem auto 0;
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ===== SECTION ===== */
.section {
  background: var(--bg-primary);
}

.section:nth-child(even) {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 75, 160, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #ffffff;
}

/* ===== FOOTER ===== */
/* ===== NAV DROPDOWN ===== */
.nav-links .nav-dropdown {
  position: relative;
}

.nav-links .nav-dropdown > a {
  cursor: pointer;
}

.nav-links .nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 1001;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--accent);
  background: rgba(59,75,160,0.06);
}

@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    display: none;
    padding: 0 0 0 1rem;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 0.4rem 0;
  }
}

/* ===== SUPER SEO FOOTER ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
}

.footer-brand img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.footer-contact-info a {
  font-size: 0.9rem;
  color: var(--accent);
  transition: var(--transition);
}

.footer-contact-info a:hover {
  color: var(--text-primary);
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-neighborhoods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.footer-neighborhoods a {
  font-size: 0.8rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    height: 44px;
  }

  footer {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== UTILITY CLASSES ===== */
.text-gold,
.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== HERO METRICS ===== */
.hero-metrics {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.metric {
  text-align: center;
}

.metric-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--accent);
  font-weight: 700;
}

.metric-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-metrics {
    gap: 2rem;
  }

  .metric-val {
    font-size: 1.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== GRIDS ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

/* ===== TWO-COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo {
    max-width: 280px;
  }
}

/* ===== STACK DIAGRAM ===== */
.stack-visual {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.stack-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.stack-layer {
  padding: 1.2rem 1.5rem;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.stack-first {
  background: rgba(59, 75, 160, 0.04);
  border: 1px solid rgba(59, 75, 160, 0.1);
}

.stack-second {
  background: rgba(59, 75, 160, 0.08);
  border: 1px solid rgba(59, 75, 160, 0.25);
}

.stack-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.stack-second .stack-label {
  color: var(--accent);
}

.stack-pos {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.stack-divider {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.stack-equity {
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(59, 75, 160, 0.03);
  border: 1px dashed var(--border-color);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.equity-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.equity-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 700;
}

/* ===== USE CASE CARDS ===== */
.use-case-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ===== PROCESS STEPS ===== */
.step {
  text-align: center;
}

.step-num {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--accent);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-secondary);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== ABOUT / BIO ===== */
.about-photo {
  aspect-ratio: 3/4;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.about-photo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  z-index: 2;
}

.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

.about-initials {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0;
  position: absolute;
  z-index: 0;
}

.about-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(20, 25, 45, 0.85) 0%, rgba(20, 25, 45, 0.4) 60%, transparent 100%);
  text-align: center;
  z-index: 2;
}

.about-photo-label h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.about-photo-label span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-light);
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.about-stat-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

.about-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ===== TERMS TABLE ===== */
.term-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.term-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.term-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.term-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text-primary);
  text-align: right;
}

.term-value small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(59, 75, 160, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: var(--transition);
  color: var(--text-secondary);
}

.contact-card:hover {
  border-color: var(--accent);
}

.contact-card-icon {
  color: var(--accent);
  font-size: 1.2rem;
}

.contact-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.15rem;
}

.cta-contact .contact-card {
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  flex: 1;
  min-width: 240px;
}

.cta-contact .contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.cta-contact .contact-card p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.cta-contact .contact-card .btn {
  margin-top: auto;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 0;
  }

  .cta-contact {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }

  .contact-card {
    width: 100%;
    max-width: none;
    justify-content: center;
  }
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.faq-q {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: '+';
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding-top: 1rem;
}

.faq-a p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* FAQ button reset (when using <button> for faq-q) */
button.faq-q {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

.faq-icon {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ===== PROSE ===== */
.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 3rem;
}

.prose h3 {
  margin-top: 2rem;
}

.prose p {
  line-height: 1.8;
}

.prose a {
  border-bottom: 1px solid var(--border-color);
}

.prose a:hover {
  border-color: var(--accent);
  opacity: 1;
}

.prose ul,
.prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(59, 75, 160, 0.03);
  border-radius: 0 6px 6px 0;
}

.prose blockquote p {
  margin-bottom: 0;
  color: var(--text-primary);
  font-style: italic;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.comparison-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table td {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.comparison-table tr:hover td {
  background: rgba(59, 75, 160, 0.02);
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
  }
}

/* ===== BLOG GRID ===== */
.blog-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.blog-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.read-more {
  margin-top: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumbs .current {
  color: var(--accent);
}

/* ===== DISCLAIMER ===== */
.disclaimer {
  background: rgba(59, 75, 160, 0.06);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.disclaimer strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ===== ARTICLE META ===== */
.article-meta {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== NEIGHBORHOOD GRID ===== */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.neighborhood-link {
  display: block;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.neighborhood-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  opacity: 1;
}

@media (max-width: 1024px) {
  .neighborhood-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .neighborhood-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .neighborhood-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: 0;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #ffffff;
  padding: 8px 16px;
  z-index: 9999;
  font-weight: 600;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ===== FOCUS STATES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.breadcrumbs a:hover {
  opacity: 0.8;
}

.breadcrumbs .sep {
  margin: 0 0.5rem;
  color: var(--text-secondary);
}

.breadcrumbs .current {
  color: var(--text-secondary);
}

/* ===== PRINT ===== */
@media print {
  nav#nav,
  footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  h1, h2, h3, h4, h5, h6 {
    color: black;
  }
}
