/* ============================================
   Appliance Repair Panorama City CA
   Info & Legal Pages — Shared Stylesheet
   Matches Homepage Design System
   ============================================ */

/* --- CSS Custom Properties (Same as Homepage) --- */
:root {
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-700: #1d4ed8;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --green-500: #16a34a;
  --green-400: #22c55e;
  --green-50: #f0fdf4;
  --red-500: #ef4444;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --bg-primary: var(--white);
  --bg-alt: var(--slate-50);
  --bg-dark: var(--slate-900);
  --bg-dark-alt: var(--slate-800);
  --bg-hero: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 40%, #f8fafc 100%);
  --bg-faq: #faf9f6;
  --text-primary: var(--slate-900);
  --text-secondary: var(--slate-600);
  --text-muted: var(--slate-500);
  --text-light: var(--slate-400);
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255,255,255,0.7);
  --card-bg: var(--white);
  --card-border: var(--slate-200);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --card-shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --border-subtle: var(--slate-200);
  --border-medium: var(--slate-300);
  --border-accent: var(--blue-600);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;
  --font-primary: 'Montserrat', system-ui, -apple-system, sans-serif;
  --transition-fast: 0.16s cubic-bezier(0.23,1,0.32,1);
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-hover: 0.2s ease-out;
  --max-width: 1200px;
  --max-width-narrow: 900px;
  --nav-height: 78px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color var(--transition-normal); }
a:hover { color: var(--blue-700); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; color: var(--text-primary); }
h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(24px, 3.5vw, 38px); letter-spacing: -0.01em; }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: clamp(16px, 2vw, 20px); }
p { margin-bottom: 1rem; color: var(--text-secondary); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--max-width-narrow);
}
.section {
  padding: clamp(56px, 8vw, 100px) 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--bg-dark);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--text-on-dark);
}
.section--dark p {
  color: var(--text-on-dark-muted);
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.section--dark .section-label {
  color: var(--blue-400);
}

/* ============================================
   NAVIGATION — Matches Homepage Exactly
   ============================================ */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  transition: box-shadow var(--transition-normal);
}
.main-nav.scrolled {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: var(--nav-height);
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0;
  transition: opacity var(--transition-normal);
}
.nav-logo:hover { opacity: 0.95; }
.nav-logo-img {
  height: 58px;
  width: auto;
  max-width: 310px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.02);
}
@media (max-width: 992px) {
  .nav-logo-img {
    height: 50px;
    max-width: 260px;
  }
}
@media (max-width: 768px) {
  .nav-logo-img {
    height: 44px;
    max-width: 220px;
  }
}
@media (max-width: 480px) {
  .nav-logo-img {
    height: 40px;
    max-width: 195px;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-hover);
  text-decoration: none;
  position: relative;
}
.nav-links a:not(.nav-cta):not(.nav-phone):not(.nav-avail):hover {
  color: var(--blue-600);
  background: var(--blue-50);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-avail {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--slate-900);
  color: white !important;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.nav-avail .avail-dot {
  width: 8px;
  height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-pill);
  transition: all var(--transition-hover);
  white-space: nowrap;
}
.nav-phone:hover {
  border-color: var(--blue-600);
  color: var(--blue-600) !important;
  background: var(--blue-50);
}
.nav-phone svg { width: 14px; height: 14px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-600) !important;
  color: white !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-hover);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.nav-cta:hover {
  background: var(--blue-700) !important;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

/* ============================================
   MEGA MENU DROPDOWNS
   ============================================ */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-hover);
  text-decoration: none;
  background: none;
  border: none;
  font-family: var(--font-primary);
}
.nav-dropdown > .nav-dropdown-trigger:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}
.nav-dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  opacity: 0.5;
}
.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.open .nav-dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  padding: 28px 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 999;
}
.nav-dropdown:hover > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Bridge gap between trigger and dropdown */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* Services Mega Menu — 3 columns */
.mega-menu--services {
  width: 680px;
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 24px;
}
.mega-menu-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-600);
  padding: 0 10px 10px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--blue-50);
}
.mega-menu-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-hover);
  text-decoration: none;
  white-space: nowrap;
}
.mega-menu-col a:hover {
  color: var(--blue-600);
  background: var(--blue-50);
  padding-left: 14px;
}
.mega-menu-col a::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--blue-400);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--transition-hover);
}
.mega-menu-col a:hover::before {
  opacity: 1;
}

/* Location Mega Menu — 3 columns */
.mega-menu--locations {
  width: 580px;
}
.mega-menu--locations .mega-menu-grid {
  grid-template-columns: repeat(3, 1fr);
}
.mega-menu--locations .mega-menu-col a {
  font-size: 13px;
}

/* Mega menu bottom bar */
.mega-menu-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mega-menu-footer a {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-hover);
  text-decoration: none;
}
.mega-menu-footer a:hover {
  color: var(--blue-700);
  gap: 10px;
}
.mega-menu-footer span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   BUTTONS — Matches Homepage
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-600);
  color: white !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-hover);
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
}
.btn-primary:hover {
  background: var(--blue-700);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
  transform: translateY(-2px);
  color: white !important;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--slate-300);
  transition: all var(--transition-hover);
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-primary);
}
.btn-secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-600) !important;
  background: var(--blue-50);
  transform: translateY(-2px);
}

/* ============================================
   PAGE HERO — Info Pages
   ============================================ */
.page-hero {
  position: relative;
  background: var(--bg-hero);
  overflow: hidden;
  padding: clamp(48px, 6vw, 80px) 0 clamp(48px, 6vw, 80px);
  min-height: 320px;
  display: flex;
  align-items: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(240,244,255,0.88) 50%, rgba(248,250,252,0.9) 100%);
  z-index: 1;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.page-hero-content h1 {
  margin-bottom: 16px;
  font-weight: 900;
  line-height: 1.1;
}
.page-hero-content h1 .highlight {
  color: var(--blue-600);
}
.page-hero-content .hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(15px, 1.8vw, 17px);
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.breadcrumb a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color var(--transition-hover);
}
.breadcrumb a:hover {
  color: var(--blue-700);
}
.breadcrumb .sep {
  color: var(--slate-300);
}

/* ============================================
   ABOUT PAGE — Unique Sections
   ============================================ */

/* Who We Are — Two Column */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-intro-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--card-shadow-lg);
  position: relative;
}
.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}
.about-intro-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(15,23,42,0.3), transparent);
  pointer-events: none;
}
.about-intro-text h2 {
  margin-bottom: 20px;
}
.about-intro-text p {
  font-size: 16px;
  line-height: 1.8;
}
.about-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-top: 12px;
  border: 1px solid var(--blue-100);
}

/* Our Story — Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--blue-600), var(--blue-400), var(--blue-200, #bfdbfe));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 48px;
}
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 48px;
  padding-left: 0;
}
.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 48px;
  padding-right: 0;
}
.timeline-dot {
  position: absolute;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--blue-600);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--blue-100);
  z-index: 2;
}
.timeline-item:nth-child(odd) .timeline-dot {
  right: -9px;
}
.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
}
.timeline-year {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.timeline-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.timeline-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Mission & Vision Cards */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mv-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3vw, 44px);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-hover);
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
}
.mv-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
  border-color: var(--blue-200, #bfdbfe);
}
.mv-card-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-600);
}
.mv-card h3 {
  margin-bottom: 12px;
}
.mv-card p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-hover);
  position: relative;
}
.value-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-6px);
  border-color: var(--blue-200, #bfdbfe);
}
.value-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue-600);
  font-size: 28px;
  transition: all var(--transition-hover);
}
.value-card:hover .value-card-icon {
  background: var(--blue-600);
  color: white;
  transform: scale(1.08);
}
.value-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Stats Row */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 40px) 20px;
  text-align: center;
  transition: all var(--transition-hover);
}
.about-stat-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: var(--blue-400);
}
.about-stat-number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: var(--text-on-dark);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.about-stat-number span {
  color: var(--blue-400);
}
.about-stat-label {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  font-weight: 500;
}

/* Service Promise */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.promise-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-hover);
  position: relative;
}
.promise-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--blue-600);
  border-radius: 2px 2px 0 0;
  opacity: 0;
  transition: all var(--transition-hover);
}
.promise-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}
.promise-card:hover::after {
  opacity: 1;
  left: 0;
  right: 0;
}
.promise-card-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-600);
}
.promise-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.promise-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   CONTACT PAGE — Unique Sections
   ============================================ */

/* Contact Info Cards */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-hover);
}
.contact-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-6px);
  border-color: var(--blue-200, #bfdbfe);
}
.contact-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue-600);
  transition: all var(--transition-hover);
}
.contact-card:hover .contact-card-icon {
  background: var(--blue-600);
  color: white;
  transform: scale(1.08);
}
.contact-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--text-secondary);
}
.contact-card a {
  color: var(--blue-600);
  font-weight: 600;
  font-size: 16px;
}

/* Contact Form */
.contact-form-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-2xl);
  padding: clamp(28px, 3vw, 48px);
  box-shadow: var(--card-shadow-lg);
}
.contact-form h2 {
  margin-bottom: 8px;
}
.contact-form > p {
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--slate-50);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-hover);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.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='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-side-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--card-shadow);
}
.contact-side-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-side-card h3 svg {
  color: var(--blue-600);
}

/* Hours Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table tr {
  border-bottom: 1px solid var(--border-subtle);
}
.hours-table tr:last-child {
  border-bottom: none;
}
.hours-table td {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.hours-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}
.hours-table td:last-child {
  text-align: right;
  color: var(--green-500);
  font-weight: 600;
}

/* Emergency Callout */
.emergency-callout {
  background: linear-gradient(135deg, var(--blue-50) 0%, #f0f4ff 100%);
  border: 2px solid var(--blue-200, #bfdbfe);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
}
.emergency-callout h3 {
  color: var(--blue-600);
  margin-bottom: 8px;
}
.emergency-callout p {
  font-size: 15px;
  margin-bottom: 16px;
}

/* Map Section */
.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 350px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================
   LEGAL PAGES — Disclaimer, Terms, Privacy
   ============================================ */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: clamp(20px, 3vw, 26px);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-50);
  position: relative;
}
.legal-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--blue-600);
}
.legal-content h2:first-of-type {
  margin-top: 0;
}
.legal-content h3 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 12px;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.legal-content ul {
  margin: 12px 0 20px;
  padding-left: 0;
}
.legal-content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.legal-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--blue-600);
  border-radius: 50%;
  opacity: 0.5;
}
.legal-last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
  border: 1px solid var(--blue-100);
}
.legal-contact-box {
  background: var(--slate-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  margin-top: 40px;
}
.legal-contact-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
}
.legal-contact-box p {
  margin-bottom: 8px;
}

/* ============================================
   SITEMAP PAGE
   ============================================ */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sitemap-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-hover);
}
.sitemap-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--blue-200, #bfdbfe);
}
.sitemap-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--blue-50);
}
.sitemap-card-header-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
}
.sitemap-card-header h3 {
  font-size: 17px;
  margin: 0;
}
.sitemap-card a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  transition: all var(--transition-hover);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.sitemap-card a:hover {
  color: var(--blue-600);
  padding-left: 8px;
}
.sitemap-card a::before {
  content: '›';
  color: var(--blue-400);
  font-weight: 700;
  font-size: 16px;
  transition: transform var(--transition-hover);
}
.sitemap-card a:hover::before {
  transform: translateX(4px);
}

/* ============================================
   CTA BANNER — Matches Homepage
   ============================================ */
.cta-banner {
  background: var(--slate-900);
  padding: clamp(48px, 6vw, 72px) 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--text-on-dark);
  margin-bottom: 16px;
}
.cta-banner p {
  color: var(--text-on-dark-muted);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 16px;
}
.cta-banner .section-label {
  color: var(--blue-400);
}
.cta-banner .hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-banner .btn-primary {
  background: var(--blue-500);
  box-shadow: 0 4px 14px rgba(59,130,246,0.3);
}
.cta-banner .btn-primary:hover {
  background: var(--blue-600);
  box-shadow: 0 6px 20px rgba(59,130,246,0.4);
}
.cta-banner .btn-secondary {
  color: white !important;
  border-color: rgba(255,255,255,0.3);
}
.cta-banner .btn-secondary:hover {
  border-color: var(--blue-400);
  color: var(--blue-400) !important;
  background: rgba(96,165,250,0.1);
}

/* ============================================
   FOOTER — Matches Homepage
   ============================================ */
.footer {
  background: var(--slate-900);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-400) !important;
  font-weight: 700;
  font-size: 16px;
  transition: color var(--transition-hover);
}
.footer-phone:hover {
  color: var(--blue-300, #93c5fd) !important;
}
.footer-col h4 {
  color: var(--blue-400);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  padding: 5px 0;
  transition: all var(--transition-hover);
  text-decoration: none;
}
.footer-col a:hover {
  color: white;
  padding-left: 6px;
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.footer-bottom p:last-child { margin-bottom: 0; }
.footer-bottom-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.8);
}

/* ============================================
   SCROLL FADE-IN ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-intro-image { min-height: 300px; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-section { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; text-align: left !important; padding-left: 56px !important; padding-right: 0 !important; }
  .timeline-dot { left: 11px !important; right: auto !important; }

  /* Mega menu smaller on tablet */
  .mega-menu--services { width: 560px; }
  .mega-menu--locations { width: 480px; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 767px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 40px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 100;
    gap: 4px;
    align-items: stretch;
    overflow-y: auto;
  }
  .nav-links.active { right: 0; }
  .nav-links a { padding: 14px 16px; font-size: 16px; border-radius: var(--radius-sm); }
  .nav-right { flex-direction: column; gap: 8px; width: 100%; }
  .nav-avail, .nav-phone, .nav-cta { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }

  /* Mega menu → mobile accordion */
  .nav-dropdown { width: 100%; }
  .nav-dropdown > .nav-dropdown-trigger {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    justify-content: space-between;
  }
  .mega-menu {
    position: static;
    transform: none;
    width: 100% !important;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height 0.35s ease;
    background: transparent;
  }
  .mega-menu::before { display: none; }
  .nav-dropdown:hover > .mega-menu {
    transform: none;
  }
  .nav-dropdown.open > .mega-menu {
    max-height: 1200px;
  }
  .mega-menu-grid {
    grid-template-columns: 1fr !important;
    gap: 4px;
  }
  .mega-menu-col h4 {
    font-size: 10px;
    padding: 8px 10px 6px;
    margin-top: 8px;
  }
  .mega-menu-col a {
    font-size: 14px;
    padding: 8px 10px;
  }
  .mega-menu-footer { display: none; }

  .page-hero { min-height: auto; padding: 32px 0 40px; }
  .page-hero-content h1 { font-size: clamp(26px, 7vw, 38px); }

  .about-intro-grid { gap: 24px; }
  .about-intro-image { min-height: 240px; }
  .values-grid { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
  .promise-grid { grid-template-columns: 1fr; }

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

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: clamp(40px, 6vw, 64px) 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .about-stats-grid { grid-template-columns: 1fr; }
  .mission-vision-grid { gap: 16px; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .main-nav, .nav-toggle, .cta-banner { display: none; }
  .page-hero { background: none !important; min-height: auto; padding: 20px 0; }
  .section { padding: 20px 0; }
  body { color: #000; background: #fff; }
  h1, h2, h3, h4 { color: #000; }
  .fade-in { opacity: 1 !important; transform: none !important; }
}
