/* ============================================
   VALLEY AMBULANCE AUTHORITY - MODERN DESIGN
   Professional • Governmental • Visual
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Primary Colors - Royal Blue from Logo */
  --navy-900: #1a1a4d;
  --navy-800: #222266;
  --navy-700: #282868;
  --navy-600: #363688;
  --navy-500: #4444a0;
  
  /* Emergency/Accent Colors - Orange from Logo */
  --emergency-red: #dc2626;
  --emergency-red-dark: #b91c1c;
  --emergency-red-light: #fecaca;
  
  /* Accent Colors - Orange from Logo */
  --sky-500: #E08830;
  --sky-400: #E89840;
  --sky-300: #F0A850;
  --teal-500: #D07820;
  --amber-500: #E08830;
  
  /* Orange variations */
  --orange-600: #C87020;
  --orange-500: #E08830;
  --orange-400: #E89840;
  --orange-300: #F0B060;
  --orange-200: #F8D0A0;
  --orange-100: #FEF3E8;
  
  /* Navy light for VAA theme */
  --navy-100: #E8E8F4;
  
  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: clamp(2rem, 5vw, 3.5rem);
  
  /* Borders & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px rgb(224 136 48 / 0.15);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--sky-500); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
p { margin: 0 0 1.25rem; }

/* Container */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 800px; }

/* Emergency Bar */
.emergency-bar {
  background: linear-gradient(135deg, var(--emergency-red) 0%, var(--emergency-red-dark) 100%);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  z-index: 100;
}
.emergency-bar__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.emergency-bar__icon { animation: pulse-icon 2s ease-in-out infinite; }
@keyframes pulse-icon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}
.emergency-bar a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* Quick Links Bar */
.quick-links-bar {
  background: var(--navy-800);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  width: 100%;
  text-align: center;
}
.quick-links-bar__content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 0 auto;
}
.quick-links-bar__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.quick-links-bar__item:hover {
  background: rgba(255,255,255,0.1);
  color: var(--sky-400);
}
.quick-links-bar__item strong {
  font-weight: 600;
}
@media (max-width: 768px) {
  .emergency-bar {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  .emergency-bar__content {
    gap: 0.5rem;
  }
  .quick-links-bar {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
  .quick-links-bar__content {
    gap: 0.75rem;
  }
  .quick-links-bar__item {
    padding: 0.15rem 0.3rem;
    gap: 0.25rem;
  }
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo__image {
  width: 60px;
  height: auto;
  object-fit: contain;
}
.logo__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--navy-800); letter-spacing: -0.02em; }
.logo__tagline { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* Mobile Logo */
@media (max-width: 768px) {
  .header-inner { padding: 0.75rem 0; gap: 1rem; }
  .logo { gap: 0.5rem; }
  .logo__image { width: 40px; }
  .logo__name { font-size: 0.95rem; }
  .logo__tagline { font-size: 0.65rem; }
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  padding: 0.625rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-600);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.nav__link:hover { background: var(--gray-100); color: var(--navy-700); }
.nav__link[aria-current="page"] { background: var(--navy-700); color: var(--white); }

.nav__cta {
  margin-left: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, var(--emergency-red) 0%, var(--emergency-red-dark) 100%);
  color: var(--white) !important;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Mobile Menu */
.menu-toggle { display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; color: var(--navy-700); }
@media (max-width: 900px) {
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: all 0.2s ease; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  .nav.active { display: flex; }
  .nav__link, .nav__cta { width: 100%; text-align: center; }
  .nav__cta { margin-left: 0; margin-top: 0.5rem; }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
  overflow: hidden;
}
.hero--slideshow {
  background: transparent;
}
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero__slide--active {
  opacity: 1;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,77,0.88) 0%, rgba(40,40,104,0.82) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero--with-image {
  background: linear-gradient(135deg, rgba(26,26,77,0.92) 0%, rgba(40,40,104,0.88) 100%);
}
.hero--with-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/gallery/vaa-ambulances-response.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  z-index: 1;
}
.hero__content { position: relative; z-index: 3; padding: var(--section-padding) 0; max-width: 700px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sky-300);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero__title span { color: var(--sky-400); }
.hero__description { font-size: 1.25rem; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 2rem; }
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 768px) {
  .hero { 
    min-height: auto; 
    overflow: visible !important;
    padding-bottom: 2rem;
  }
  .hero::after { 
    height: 0 !important;
    display: none !important;
  }
  .hero__content { 
    padding: 1.5rem 0 1.5rem;
  }
  .hero__title { font-size: 2rem; }
  .hero__description { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero__buttons { 
    flex-direction: column; 
    gap: 0.75rem;
    width: 100%;
  }
  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--sky-500) 0%, var(--sky-400) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(224, 136, 48, 0.4);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(224, 136, 48, 0.5); color: var(--white); }
.btn--secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}
.btn--secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy-700); border: 2px solid var(--navy-700); }
.btn--outline:hover { background: var(--navy-700); color: var(--white); }
.btn--emergency {
  background: linear-gradient(135deg, var(--emergency-red) 0%, var(--emergency-red-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}
.btn--emergency:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5); color: var(--white); }
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1.125rem; }

/* Quick Actions */
.quick-actions {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
  margin-top: -80px;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .quick-actions {
    margin-top: 1rem !important;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
  }
}
.quick-actions__grid { 
  display: flex; 
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem; 
}
.quick-action {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
  flex: 0 1 280px;
}
.quick-action:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.quick-action--emergency { background: linear-gradient(135deg, var(--emergency-red) 0%, var(--emergency-red-dark) 100%); border: none; }
.quick-action--emergency .quick-action__icon { background: rgba(255,255,255,0.2); color: var(--white); }
.quick-action--emergency .quick-action__title,
.quick-action--emergency .quick-action__text { color: var(--white); }
.quick-action__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.quick-action__content { flex: 1; }
.quick-action__title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--navy-800); margin-bottom: 0.125rem; }
.quick-action__text { font-size: 0.85rem; color: var(--gray-500); margin: 0; }

/* Sections */
.section { padding: var(--section-padding) 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.8); }
.section__header { text-align: center; max-width: 700px; margin: 0 auto 2rem; }
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--sky-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.section__title { margin-bottom: 1rem; }
.section__description { font-size: 1.125rem; color: var(--gray-500); }

/* Feature Cards */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sky-500) 0%, var(--teal-500) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-card__title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.feature-card__text { color: var(--gray-500); margin-bottom: 1rem; }
.feature-card__link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--sky-500); }
.feature-card__link:hover { gap: 0.75rem; }

/* Stats */
.stats-bar { background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%); padding: 2rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; text-align: center; }
.stat { color: var(--white); }
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--sky-400);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat__label { font-size: 1rem; color: rgba(255,255,255,0.7); font-weight: 500; }

/* Coverage Area */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .coverage { grid-template-columns: 1fr; gap: 1.5rem; } }
.coverage__map { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); border: 4px solid var(--white); }
.coverage__content h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.coverage__list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.coverage__list li {
  background: var(--gray-100);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}
.coverage__list--vaa li {
  background: var(--navy-100);
  color: var(--navy-700);
}
.coverage__list--qvaa li {
  background: var(--orange-100);
  color: var(--gray-700);
}

/* Authority Cards */
.authorities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .authorities-grid { grid-template-columns: 1fr; } }
.authority-card { background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); }
.authority-card__header { background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%); padding: 1.25rem 1.5rem; color: var(--white); }
.authority-card__title { color: var(--white); margin-bottom: 0.25rem; }
.authority-card__subtitle { color: var(--sky-300); font-weight: 500; }
.authority-card__body { padding: 1.5rem; }
.authority-card__body p { color: var(--gray-600); }

/* Subscription CTA */
.subscription-cta {
  background: linear-gradient(135deg, var(--sky-500) 0%, var(--teal-500) 100%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}
@media (max-width: 768px) { .subscription-cta { flex-direction: column; text-align: center; } }
.subscription-cta__content h2 { color: var(--white); margin-bottom: 0.5rem; }
.subscription-cta__content p { color: rgba(255,255,255,0.9); margin: 0; font-size: 1.125rem; }
.subscription-cta .btn { background: var(--white); color: var(--navy-800); white-space: nowrap; }
.subscription-cta .btn:hover { background: var(--gray-100); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.gallery-grid--8 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) { .gallery-grid--8 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .gallery-grid, .gallery-grid--8 { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--gray-200); position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }

/* Photo Card - for featured photos with captions */
.photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.photo-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.photo-card__caption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  background: var(--white);
}

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-weight: 600; color: var(--navy-800); margin-bottom: 0.375rem; font-size: 0.9rem; }
.form-label .required { color: var(--emergency-red); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-800);
  transition: all 0.2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(224, 136, 48, 0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 1.25rem; margin-bottom: 1rem; }
.card--success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.card--error { background: #fef2f2; border-color: var(--emergency-red-light); color: #991b1b; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--white); padding-top: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer__brand { max-width: 280px; }
.footer__logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; text-decoration: none; }
.footer__logo-image { width: 45px; height: auto; object-fit: contain; }
.footer__logo-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.footer__logo-text { font-family: var(--font-display); font-weight: 800; color: var(--white); font-size: 1rem; }
.footer__description { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.6; }
.footer__title { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 0.5rem; }
.footer__links a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s ease; font-size: 0.9rem; }
.footer__links a:hover { color: var(--sky-400); }
.footer__contact-item { display: flex; align-items: flex-start; gap: 0.625rem; margin-bottom: 0.75rem; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer__contact-icon { color: var(--sky-400); flex-shrink: 0; margin-top: 0.125rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom__text { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-bottom__links { display: flex; gap: 1.25rem; }
.footer-bottom__links a { color: rgba(255,255,255,0.4); font-size: 0.8rem; text-decoration: none; }
.footer-bottom__links a:hover { color: var(--sky-400); }

/* Page Headers */
.page-header {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  padding: 2.5rem 0 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header--services {
  background: linear-gradient(135deg, rgba(34,34,102,0.9) 0%, rgba(26,26,77,0.95) 100%);
}
.page-header--services::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/gallery/qvaa-ambulance-street.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.page-header--about {
  background: linear-gradient(135deg, rgba(34,34,102,0.9) 0%, rgba(26,26,77,0.95) 100%);
}
.page-header--about::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/gallery/qvaa-team-ambulance.jpg');
  background-size: cover;
  background-position: center top;
  z-index: -1;
}
.page-header--careers {
  background: linear-gradient(135deg, rgba(34,34,102,0.9) 0%, rgba(26,26,77,0.95) 100%);
}
.page-header--careers::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/gallery/qvaa-crew-photo.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.page-header--community {
  background: linear-gradient(135deg, rgba(34,34,102,0.9) 0%, rgba(26,26,77,0.95) 100%);
}
.page-header--community::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/gallery/qvaa-ambulance-parade.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.page-header--contact {
  background: linear-gradient(135deg, rgba(34,34,102,0.9) 0%, rgba(26,26,77,0.95) 100%);
}
.page-header--contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/gallery/vaa-county-services.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.page-header--qvaa {
  background: linear-gradient(135deg, rgba(34,34,102,0.9) 0%, rgba(26,26,77,0.95) 100%);
}
.page-header--qvaa::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/gallery/qvaa-ambulance-parade.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}
.page-header__content { position: relative; z-index: 1; }
.page-header__title { color: var(--white); margin-bottom: 0.5rem; }
.page-header__description { color: rgba(255,255,255,0.7); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.75rem; }
.mb-1 { margin-bottom: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 2rem; }
.mb-3 { margin-bottom: 2rem; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }

/* VAA Navy Theme */
.theme-vaa .page-header { background: linear-gradient(135deg, rgba(34,34,102,0.92) 0%, rgba(26,26,77,0.95) 100%); }
.theme-vaa .section__eyebrow { color: var(--navy-600); }
.theme-vaa .btn--primary { background: linear-gradient(135deg, var(--navy-600) 0%, var(--navy-700) 100%); box-shadow: 0 4px 15px rgba(40,40,104,0.4); }
.theme-vaa .btn--primary:hover { box-shadow: 0 8px 25px rgba(40,40,104,0.5); }
.theme-vaa .feature-card__icon { background: linear-gradient(135deg, var(--navy-600) 0%, var(--navy-700) 100%); }
.theme-vaa .feature-card__link { color: var(--navy-600); }
.theme-vaa .coverage__list li { background: var(--navy-100); color: var(--navy-700); }
.theme-vaa .authority-card__header { background: linear-gradient(135deg, var(--navy-600) 0%, var(--navy-800) 100%); }
.theme-vaa .stat__number { color: var(--sky-300); }
.theme-vaa .section--navy { background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%); }

/* QVAA Orange Theme */
.theme-qvaa .page-header { background: linear-gradient(135deg, rgba(180,100,20,0.9) 0%, rgba(140,70,10,0.95) 100%); }
.theme-qvaa .section__eyebrow { color: var(--orange-600); }
.theme-qvaa .btn--primary { background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%); box-shadow: 0 4px 15px rgba(224,136,48,0.4); }
.theme-qvaa .btn--primary:hover { box-shadow: 0 8px 25px rgba(224,136,48,0.5); }
.theme-qvaa .btn--secondary { border-color: rgba(255,255,255,0.5); }
.theme-qvaa .feature-card__icon { background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%); }
.theme-qvaa .feature-card__link { color: var(--orange-600); }
.theme-qvaa .coverage__list li { background: var(--orange-100); color: var(--gray-700); }
.theme-qvaa .authority-card__header { background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%); }
.theme-qvaa .stat__number { color: var(--white); }
.theme-qvaa .stat__label { color: rgba(255,255,255,0.9); }
.theme-qvaa .stats-bar { background: linear-gradient(135deg, var(--orange-600) 0%, #A05010 100%); }
.theme-qvaa .section--navy { background: linear-gradient(135deg, var(--orange-600) 0%, #A05010 100%); }
.theme-qvaa .section--navy .section__eyebrow { color: var(--orange-200); }
.theme-qvaa .section--navy .section__description { color: rgba(255,255,255,0.85); }
.theme-qvaa .quick-action__icon { background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%); }
.theme-qvaa .hero__badge { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); }
.theme-qvaa .hero__badge span { color: var(--white); }
