/* ========================================
   Literally Garage Door — Main Stylesheet
   v30 · Clean Build
   ======================================== */

:root {
  --primary: #1a1a2e;
  --accent: #e94560;
  --accent-hover: #d63851;
  --blue: #0f3460;
  --blue-light: #16213e;
  --gold: #f5c518;
  --text: #1a1a2e;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --max-w: 1200px;
  --transition: 0.2s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--text); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

/* ===== UTILITIES ===== */
.container { width: min(var(--max-w), calc(100% - 2rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.center-cta { text-align: center; margin-top: 2rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-red {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}
.btn-red:hover { background: var(--accent-hover); color: white; box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45); }

.btn-dark {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-dark:hover { background: var(--blue); color: white; }

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: white; }

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Topbar */
.topbar {
  background: var(--bg-dark);
  color: white;
  padding: 0.5rem 0;
  font-size: 0.85rem;
}
.topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-badge {
  font-weight: 700;
  color: var(--gold);
}
.topbar-contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.topbar-phone {
  color: white;
  font-weight: 700;
}
.topbar-phone:hover { color: var(--gold); }
.topbar-email {
  color: #94a3b8;
  font-size: 0.8rem;
}
.topbar-email:hover { color: white; }

/* Navbar */
.navbar { padding: 0.75rem 0; }
.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo img { height: 65px; width: auto; }
.mobile-call { display: none; }

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Nav Menu */
.nav-menu { display: flex; align-items: center; gap: 0.5rem; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover, .nav-link.active { background: var(--bg-alt); color: var(--accent); text-decoration: none; }
.nav-cta-btn { margin-left: 0.5rem; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  padding: 0.5rem 0;
  display: none;
  z-index: 100;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.dropdown li a:hover { background: var(--bg-alt); color: var(--accent); text-decoration: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.85), rgba(26,26,46,0.7));
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 0;
  max-width: 850px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 197, 24, 0.3);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 900;
  color: white;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.hero-slogan {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-sub {
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ===== PROOF BAR ===== */
.proof-bar {
  background: var(--primary);
  padding: 1.5rem 0;
}
.proof-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.proof-stat { text-align: center; }
.proof-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
}
.proof-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: white; }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: #94a3b8; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-inline: auto;
}
.section-header.light .section-tag { color: var(--gold); border-color: rgba(245,197,24,0.3); }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(233,69,96,0.2);
  border-radius: 999px;
}
.section-sub {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  text-decoration: none;
  color: var(--text);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; flex-grow: 1; }
.card-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
  display: inline-block;
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
}
.why-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.why-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.why-card h3 { color: white; margin-bottom: 0.5rem; }
.why-card p { color: #94a3b8; font-size: 0.95rem; line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
}
.step {
  text-align: center;
  flex: 1;
  max-width: 300px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-light); font-size: 0.95rem; }
.step-arrow {
  font-size: 2rem;
  color: var(--accent);
  padding-top: 1rem;
  font-weight: 300;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===== SERVICE AREAS ===== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.area-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text);
}
.area-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--text);
}
.area-card h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.area-card p { color: var(--text-light); font-size: 0.85rem; margin: 0; }
.areas-note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary h3 { font-size: 1.05rem; margin: 0; }
.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { padding-top: 1rem; }
.contact-info h2 { color: white; margin-bottom: 1rem; }
.contact-sub { color: #94a3b8; font-size: 1.1rem; margin-bottom: 1.5rem; line-height: 1.6; }
.contact-phone { margin-bottom: 2rem; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.contact-row { color: #94a3b8; font-size: 0.95rem; }
.contact-row strong { color: white; margin-right: 0.5rem; }
.contact-row a { color: var(--accent); }
.contact-urgency {
  color: white;
  font-size: 0.95rem;
  background: rgba(220, 38, 38, 0.15);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.contact-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label span {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--bg-alt);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
  background: white;
}
.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.25rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 80px; width: auto; margin-bottom: 0.75rem; }
.footer-slogan {
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-contact { font-size: 0.9rem; line-height: 1.8; }
.footer-contact a { color: #94a3b8; }
.footer-contact a:hover { color: white; }
.footer h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: white; }
.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== FLOATING CALL ===== */
.floating-call {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5);
  z-index: 999;
  transition: transform 0.2s;
  animation: pulse-ring 2s infinite;
}
.floating-call:hover { transform: scale(1.1); }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  /* Topbar */
  .topbar-email { display: none; }
  .topbar-contact { display: none; }
  .topbar-flex { justify-content: center; }

  /* Header */
  .mobile-call { display: block; }
  .nav-flex { flex-wrap: nowrap; }
  .logo img { height: 50px; }

  .menu-toggle { display: flex; }
  .nav-cta-btn { display: none; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1000;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-link {
    padding: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
    border-radius: 0;
  }

  /* Dropdown */
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    display: none;
    background: var(--bg-alt);
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { padding: 0.75rem 2rem; border-bottom: 1px solid var(--border); }

  /* Nav CTA inside mobile menu */
  .nav-menu .btn-red {
    display: flex;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero { min-height: 70vh; }
  .hero-title { font-size: 2rem; }
  .hero-slogan { font-size: 1.1rem; }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 350px; }
  .hero-trust { flex-direction: column; align-items: center; gap: 0.5rem; }
  .trust-item { font-size: 0.8rem; }

  /* Proof */
  .proof-flex { gap: 1.5rem; }
  .proof-divider { display: none; }
  .proof-stat { flex: 1; min-width: 100px; }
  .proof-num { font-size: 1.25rem; }

  /* Grids */
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Gallery */
  .gallery-item img { height: 220px; }
}

@media (max-width: 640px) {
  .areas-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .proof-flex { flex-direction: column; gap: 1rem; }
  .contact-form-wrap { padding: 1.5rem; }
}

/* ===== DESKTOP ONLY ===== */
@media (min-width: 1025px) {
  .floating-call { display: none; }
  .mobile-call { display: none; }
}

/* ==============================================
   INNER PAGE COMPATIBILITY
   Old HTML classes used on service/area/blog pages
   ============================================== */

/* --- Old Header (site-header) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.site-header .topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-header .topbar-left .dot { color: #475569; }
.site-header .topbar-item {
  color: white;
  font-weight: 500;
  font-size: 0.85rem;
}
.site-header .topbar-item:hover { color: var(--gold); text-decoration: none; }
.site-header .topbar-right {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* --- Old Nav (navwrap) --- */
.navwrap {
  padding: 0.75rem 0;
  background: white;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand img { height: 65px; width: auto; }

/* Old nav-toggle (hamburger) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.hamburger {
  width: 24px;
  height: 2px;
  background: var(--text);
  position: relative;
  display: block;
}
.hamburger::before, .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Old nav links & dropdown */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  padding: 0.5rem 0;
  display: none;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.nav-dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--accent);
  text-decoration: none;
}
.chev { font-size: 0.75rem; opacity: 0.6; }
.nav-cta { margin-left: 0.5rem; }
.btn-nowrap { white-space: nowrap; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark), var(--blue));
  color: white;
  padding: 3.5rem 0 3rem;
}
.page-hero h1 {
  color: white;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}
.page-hero .muted {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 700px;
  line-height: 1.6;
}
.breadcrumbs {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #64748b;
}
.breadcrumbs a {
  color: #94a3b8;
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: white; }

/* --- Typography helpers (old pages) --- */
.h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.25;
}
.h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.muted { color: var(--text-light); }
.tiny { font-size: 0.8rem; }
.lede { font-size: 1.1rem; line-height: 1.7; }

/* --- Content Layout --- */
.split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* --- Cards --- */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.icon { font-size: 2rem; margin-bottom: 0.75rem; }

/* --- Callout box --- */
.callout {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

/* --- Content Prose (inner page body text) --- */
.main p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text);
}
.main ul, .main ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}
.main ul { list-style: disc; }
.main ol { list-style: decimal; }
.main li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text);
}
.main li strong { color: var(--text); }
.main a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.main a.btn { color: inherit; text-decoration: none; }
.main a.btn-red { color: white; }
.main a:hover { color: var(--accent-hover); }

/* --- Sidebar card (services list) --- */
.split > div:last-child .card {
  position: sticky;
  top: 120px;
}
.linklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.linklist a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  display: block;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: all var(--transition);
}
.linklist a:hover { color: var(--accent); padding-left: 4px; }

/* --- Old Footer (site-footer) --- */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 0;
}
.footer-form {
  background: var(--blue);
  padding: 4rem 0;
}
.footer-form-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.footer-form-card .h2 {
  color: white;
}
.footer-form-card .muted { color: #cbd5e1; }
.footer-form-card .muted a { color: var(--accent); }

/* Old Footer Form */
.form { display: grid; gap: 1rem; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255,255,255,0.08);
  color: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form input::placeholder, .form textarea::placeholder {
  color: #94a3b8;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
  background: rgba(255,255,255,0.12);
}
.form select { color: #94a3b8; }
.form select option { color: var(--text); background: white; }
.form label span {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: #cbd5e1;
}

/* Old Footer Columns */
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-cols a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-cols a:hover { color: white; }
.footer-cols .h3, .footer-cols h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-logo { height: 80px; width: auto; margin-bottom: 0.75rem; }
.footer-legal {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}
.footer-legal .sep { margin: 0 0.5rem; }
.footer-legal a { color: #94a3b8; }

/* --- Ghost button (old) --- */
.btn-ghost {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); color: white; text-decoration: none; }

/* --- Primary button (old — map to red) --- */
.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(233, 69, 96, 0.25);
}
.btn-primary:hover { background: var(--accent-hover); color: white; text-decoration: none; }

/* ==============================================
   INNER PAGE MOBILE
   ============================================== */
@media (max-width: 1024px) {
  /* Old header mobile */
  .site-header .topbar-right { display: none; }
  .site-header .topbar-left .dot,
  .site-header .topbar-left a[href^="mailto"] { display: none; }
  .site-header .topbar-inner { justify-content: center; }

  .nav-toggle { display: block; }
  .brand img { height: 50px; }

  .site-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1000;
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
  }
  .site-nav.open { display: flex; }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-link {
    padding: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
    border-radius: 0;
  }
  .nav-cta { padding: 1rem 0; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    display: none;
    background: var(--bg-alt);
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a {
    padding: 0.75rem 2rem;
    border-bottom: 1px solid var(--border);
  }

  /* Page hero mobile */
  .page-hero { padding: 2.5rem 0 2rem; }
  .page-hero h1 { font-size: 1.75rem; }

  /* Split layout → stack */
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split > div:last-child .card {
    position: static;
  }

  /* Grids → stack */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }

  /* Footer form → stack */
  .footer-form-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-form { padding: 2.5rem 0; }

  /* Footer cols → 2 columns then 1 */
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-form-card { padding: 0 0.5rem; }
  .section { padding: 3rem 0; }
}