/* ============================================================
   ELPIS ADVISORY — SHARED STYLES
   Layout: banded sections, 1200px centered content, serif+sans pairing
   ============================================================ */

/* --- 0. DESIGN TOKENS --- */
:root {
  --primary: #1D4ED8;
  --primary-hover: #1E40AF;
  --primary-light: #DBEAFE;
  --primary-soft: rgba(29, 78, 216, 0.08);
  --navy: #0B192C;
  --navy-mid: #0F2441;
  --navy-light: #132D50;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --fg: #0F172A;
  --fg-body: #475569;
  --fg-muted: #64748B;
  --border: #E2E8F0;
  --surface: #FFFFFF;
  --success: #059669;
  --error: #DC2626;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-w: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #3B82F6;
    --primary-hover: #2563EB;
    --primary-light: #1E3A5F;
    --primary-soft: rgba(59, 130, 246, 0.12);
    --navy: #030712;
    --navy-mid: #0B1120;
    --navy-light: #111827;
    --bg: #0F172A;
    --bg-alt: #1E293B;
    --fg: #F1F5F9;
    --fg-body: #CBD5E1;
    --fg-muted: #94A3B8;
    --border: #334155;
    --surface: #1E293B;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --primary: #3B82F6;
  --primary-hover: #2563EB;
  --primary-light: #1E3A5F;
  --primary-soft: rgba(59, 130, 246, 0.12);
  --navy: #030712;
  --navy-mid: #0B1120;
  --navy-light: #111827;
  --bg: #0F172A;
  --bg-alt: #1E293B;
  --fg: #F1F5F9;
  --fg-body: #CBD5E1;
  --fg-muted: #94A3B8;
  --border: #334155;
  --surface: #1E293B;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

/* --- 1. BASE --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 2px; }

/* --- 2. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1rem; }

/* --- 3. LAYOUT --- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1rem;
}
.section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.section-header p { color: var(--fg-muted); margin-top: 1rem; font-size: 1.0625rem; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* --- 4. BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  min-height: 48px;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-soft);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: #f0f4ff;
  border-color: #f0f4ff;
  color: var(--primary-hover);
}

/* --- 5. HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.75rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--fg);
  flex-shrink: 0;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 48px;
  background: var(--navy);
  border-radius: 4px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-text span { color: var(--primary); }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}
.desktop-nav > a,
.nav-dropdown-trigger {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg-muted);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  color: var(--fg);
  background: var(--primary-soft);
}
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.nav-dropdown-trigger svg { transition: transform 0.2s; }
.nav-dropdown-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 50;
}
.nav-dropdown-menu.open { opacity: 1; visibility: visible; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg-body);
  border-radius: 6px;
  text-decoration: none;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--primary); }
.header-phone svg { flex-shrink: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 301;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
}
.mobile-nav .btn { margin-top: 1rem; width: 100%; max-width: 280px; text-align: center; }
.mobile-nav .mobile-services {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.5rem;
}
.mobile-nav .mobile-services a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-muted);
}

/* --- 6. HERO --- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #061020 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: min(500px, 65vw);
  height: min(500px, 65vw);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

/* Homepage hero (split layout) */
.hero-home .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
.hero-content h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-content p { color: rgba(255, 255, 255, 0.75); font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(29, 78, 216, 0.15);
  border: 1px solid rgba(29, 78, 216, 0.25);
  color: #93C5FD;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

/* Sub-page hero (centered, shorter) */
.hero-page .hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.hero-page .hero-inner h1 { color: #fff; margin-bottom: 1rem; }
.hero-page .hero-inner p { color: rgba(255, 255, 255, 0.75); font-size: 1.125rem; line-height: 1.7; max-width: 640px; margin-inline: auto; }
.hero-page .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}
.hero-page .breadcrumb a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.hero-page .breadcrumb a:hover { color: #fff; }
.hero-page .breadcrumb .sep { opacity: 0.4; }

/* --- 7. FORMS --- */
.hero-form-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.hero-form-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.375rem;
  color: var(--fg);
}
.form-subtitle {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.375rem;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--fg);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 48px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
}
.form-error {
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 0.25rem;
  display: none;
}
.form-group input.error ~ .form-error,
.form-group select.error ~ .form-error,
.form-group textarea.error ~ .form-error { display: block; }
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; margin-top: 0.5rem; }

.form-success {
  text-align: center;
  padding-block: 2rem;
}
.form-success svg { margin-inline: auto; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: 0.5rem; color: var(--primary); }
.form-success p { color: var(--fg-muted); font-size: 0.9375rem; margin: 0; }

/* --- 8. TRUST BAR --- */
.trust-bar { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: 2rem;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.trust-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--primary);
}
.trust-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}
.trust-desc {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.4;
  margin-top: 0.125rem;
}

/* --- 9. SERVICE CARDS --- */
.services-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
  text-decoration: none;
  display: block;
  color: var(--fg-body);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--fg-body);
}
.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: 12px;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.service-card h3 { margin-bottom: 0.625rem; color: var(--fg); }
.service-card p { font-size: 0.9375rem; margin: 0; line-height: 1.6; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1.25rem;
  transition: gap 0.2s;
}
.service-card:hover .card-link { gap: 0.625rem; }

/* --- 10. FEATURE CARDS (service pages) --- */
.feature-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}
.feature-card .feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: 10px;
  color: var(--primary);
  margin-bottom: 1rem;
}
.feature-card h4 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--fg-muted); margin: 0; line-height: 1.55; }

/* --- 11. CHECK LIST --- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 1px;
}

/* --- 12. DETAIL ROWS (2-col content) --- */
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.detail-row.reversed { direction: rtl; }
.detail-row.reversed > * { direction: ltr; }
.detail-content h2,
.detail-content h3 { margin-bottom: 1rem; }
.detail-content > p { color: var(--fg-body); margin-bottom: 1.5rem; }
.detail-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}
.detail-panel h4 {
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fg);
}
.detail-panel p { font-size: 0.9375rem; color: var(--fg-muted); }

/* --- 13. STEP TIMELINE --- */
.step-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  padding-top: 0.125rem;
}
.step-item h4 { margin-bottom: 0.375rem; color: var(--fg); }
.step-item p { font-size: 0.9375rem; color: var(--fg-muted); margin: 0; line-height: 1.6; }

/* --- 14. CTA BAND --- */
.cta-band {
  background: var(--navy);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.625rem; }
.cta-band p { color: rgba(255, 255, 255, 0.7); margin-bottom: 1.5rem; max-width: 560px; margin-inline: auto; }
.cta-band-primary { background: var(--primary); }

/* --- 15. ABOUT SECTION --- */
.about-grid,
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-text h2,
.about-content h2 { margin-bottom: 1.5rem; }
.about-text p,
.about-content p { color: var(--fg-body); }
.about-image .img-placeholder { min-height: 100%; }
.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.credential {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}
.credential-icon {
  width: 40px;
  height: 40px;
  margin-inline: auto;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.credential h4 { font-family: var(--font-body); font-size: 0.9375rem; margin-bottom: 0.25rem; }
.credential p { font-size: 0.8125rem; color: var(--fg-muted); margin: 0; }

/* --- 16. LOCATION --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
  background: var(--bg-alt);
}
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}
.location-card h3 { margin-bottom: 1.5rem; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.hours-table td { padding: 0.375rem 0; }
.hours-table td:first-child { font-weight: 500; }
.hours-table td:last-child { color: var(--fg-muted); text-align: right; }
.hours-closed { color: var(--fg-muted); font-size: 0.8125rem; }

/* --- 17. CONTACT PAGE --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.contact-form-wrap h3 { margin-bottom: 0.375rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--fg-body); margin-bottom: 2rem; }
.info-block { margin-bottom: 2rem; }
.info-block h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}
.info-block p { margin: 0; line-height: 1.6; color: var(--fg-body); }
.info-block address { font-style: normal; line-height: 1.7; color: var(--fg-body); }
.info-block a { color: var(--primary); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-detail a { color: var(--primary); }
.contact-detail strong { color: var(--fg); font-size: 0.9375rem; }
.contact-form-card h3 { margin-bottom: 0.375rem; }
.req { color: var(--error); }

/* --- 18. IMAGE PLACEHOLDERS --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8125rem;
  text-align: center;
  padding: 2rem;
  line-height: 1.5;
}
.img-placeholder-sm { min-height: 200px; }

/* --- 19. FOOTER --- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-block: clamp(3rem, 6vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-col p { font-size: 0.875rem; line-height: 1.65; margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255, 255, 255, 0.65); font-size: 0.875rem; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { display: block; }
.footer-col address { font-style: normal; font-size: 0.875rem; line-height: 1.7; }
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.375rem;
}
.footer-logo-text span { color: #60A5FA; }

.newsletter-form { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.newsletter-form input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  min-height: 44px;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter-form input:focus { outline: none; border-color: var(--primary); }
.newsletter-form button {
  padding: 0.625rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--primary-hover); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.5rem;
  font-size: 0.8125rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8125rem; }

/* --- 20. PHONE PLACEHOLDER --- */
a[href="tel:+1XXXXXXXXXX"] { display: none; }
li:has(> a[href="tel:+1XXXXXXXXXX"]) { display: none; }
.contact-detail:has(a[href="tel:+1XXXXXXXXXX"]) { display: none; }

/* --- 21. FORM EXTRAS --- */
.form-privacy {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.5;
}
.form-privacy a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.form-banner {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: none;
}
.form-banner--error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* --- 22. MOBILE CTA BAR --- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 199;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}
.mobile-cta-inner {
  display: flex;
  gap: 0.75rem;
}
.mobile-cta-bar .btn { flex: 1; font-size: 0.9375rem; padding: 0.75rem; }
.btn-outline-mobile {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem;
  min-height: 48px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  transition: border-color 0.2s;
}
.btn-outline-mobile:hover { border-color: var(--primary); color: var(--primary); }

/* --- 23. RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-home .hero-inner { grid-template-columns: 1fr 380px; gap: 2rem; }
  .feature-grid-6, .feature-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav, .header-right { display: none; }
  .menu-toggle { display: flex; }

  .hero-home .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-form-card { max-width: 100%; }

  .trust-items { grid-template-columns: 1fr 1fr; }

  .services-grid, .service-grid { grid-template-columns: 1fr; }

  .feature-grid-6, .feature-grid-5 { grid-template-columns: 1fr; }

  .detail-row, .detail-row.reversed { grid-template-columns: 1fr; direction: ltr; }

  .about-grid, .about-section { grid-template-columns: 1fr; }
  .credentials { margin-top: 2rem; }

  .location-grid { grid-template-columns: 1fr; }
  .map-embed { min-height: 280px; }
  .map-embed iframe { min-height: 280px; }

  .contact-grid { grid-template-columns: 1fr; }

  .step-item { grid-template-columns: 60px 1fr; gap: 1rem; }

  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  .mobile-cta-bar { display: block; }
  .form-row { grid-template-columns: 1fr; }
  main { padding-bottom: 80px; }
}

@media (max-width: 480px) {
  .trust-items { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .step-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .step-number { font-size: 1.5rem; }
}
