/* Shield Construction LLC — Main Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

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

:root {
  --primary: #0B4F8C;
  --secondary: #1E73BE;
  --light-gray: #F5F7FA;
  --dark-gray: #333333;
  --white: #FFFFFF;
  --accent: #FF6B00;
  --text-muted: #5a6474;
  --border: #dde3ea;
  --shadow: 0 4px 24px rgba(11, 79, 140, 0.12);
  --shadow-lg: 0 12px 40px rgba(11, 79, 140, 0.18);
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --header-height: 80px;
  --emergency-bar-height: 44px;
  --font: 'Inter', 'Open Sans', Arial, sans-serif;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark-gray);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: var(--secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section { padding: 4.5rem 0; }
.section-alt { background: var(--light-gray); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  text-align: center;
}

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

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: #1860a8;
  border-color: #1860a8;
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: #e55f00;
  border-color: #e55f00;
  color: var(--white);
}

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

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

.btn-sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* Site Top — logo column + emergency bar + nav */
.site-top {
  display: flex;
  align-items: stretch;
  position: sticky;
  top: 0;
  z-index: 1001;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.site-top__logo {
  flex: 0 0 auto;
  width: auto;
  min-width: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.85rem;
  background: linear-gradient(
    to bottom,
    var(--primary) 0%,
    var(--primary) var(--logo-split, 40%),
    var(--white) var(--logo-split, 40%),
    var(--white) 100%
  );
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.site-top__logo .logo--site-top {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.site-top__logo .logo__img--site-top {
  height: calc(var(--logo-column-height, 140px) - 0.6rem);
  width: auto;
  max-width: 156px;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  display: block;
}

.site-top__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

#emergency-bar,
#site-header {
  width: 100%;
}

/* Emergency Top Bar */
.emergency-bar {
  background: var(--primary);
  color: var(--white);
  font-size: 0.875rem;
  position: relative;
}

.emergency-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.emergency-bar__message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.emergency-bar__message svg { flex-shrink: 0; }

.emergency-bar__tagline--short { display: none; }

.emergency-bar__phone {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.emergency-bar__phone:hover { color: #b8d4f0; }

.emergency-bar__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Site Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.site-header .container {
  width: min(100% - 2.5rem, 1480px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 0.65rem 0;
  min-height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  flex-shrink: 0;
  white-space: nowrap;
}
.logo:hover { color: var(--primary); }
.logo__icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.logo__img {
  height: 80px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.logo__img--footer {
  height: 96px;
  max-width: 300px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-wrap: nowrap;
  gap: 0.125rem;
}

.nav-links li {
  flex-shrink: 0;
  text-align: center;
}

.nav-links a {
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--light-gray);
}

.header-ctas {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.header-ctas .btn { white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,79,140,0.92) 0%, rgba(30,115,190,0.85) 100%),
    url('../assets/images/hero-restoration.svg?v=15') center/cover no-repeat;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,107,0,0.95);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s ease;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero__sub {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.95;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__areas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s ease 0.25s both;
}

.hero__areas-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-right: 0.25rem;
}

.hero__area-tag {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.hero__area-tag--more {
  background: rgba(255, 107, 0, 0.85);
  border-color: rgba(255, 107, 0, 0.95);
}

.hero-service-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.hero-service-ticker__label {
  flex-shrink: 0;
  padding-left: max(1.25rem, calc((100% - 1480px) / 2 + 1.25rem));
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.hero-service-ticker__viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.hero-service-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: service-area-scroll 40s linear infinite;
}

.hero-service-ticker__item {
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  padding-right: 2rem;
}

.hero-service-ticker__item::after {
  content: '•';
  margin-left: 2rem;
  opacity: 0.45;
}

@keyframes service-area-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-service-ticker__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    padding: 0 1rem 0.35rem;
    gap: 0.35rem 1rem;
  }

  .hero-service-ticker__item::after { display: none; }
}

.hero__text {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 560px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Trust Section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.trust-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.trust-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.trust-card h3 { font-size: 0.95rem; color: var(--primary); margin-bottom: 0.35rem; }
.trust-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__num {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(11,79,140,0.3);
}

.process-step h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.05rem; }
.process-step p { font-size: 0.9rem; color: var(--text-muted); }

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.why-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--light-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
}

.why-item h3 { font-size: 0.95rem; color: var(--primary); margin-bottom: 0.25rem; }
.why-item p { font-size: 0.85rem; color: var(--text-muted); }

/* Insurance CTA Block */
.insurance-block {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.insurance-block h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.insurance-block p { opacity: 0.92; margin-bottom: 0.75rem; font-size: 0.95rem; }
.insurance-block ul { margin: 1rem 0; }
.insurance-block li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.insurance-block li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #7dd3fc;
  font-weight: 700;
}

/* Gallery Preview */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-card .gallery-media {
  position: absolute;
  inset: 0;
}

.gallery-card .gallery-img {
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img { transform: scale(1.06); }

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,79,140,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  color: var(--white);
  font-weight: 600;
}

/* Service Area */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.area-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  transition: all var(--transition);
}
.area-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.service-area-map {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(11, 79, 140, 0.08);
}

.service-area-map--compact {
  grid-template-columns: 1fr;
}

.service-area-map__visual {
  background: linear-gradient(145deg, #eef5fc 0%, #dceaf8 100%);
  padding: 1.25rem;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-area-map__svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

.service-area-map__label {
  font-size: 9px;
  font-weight: 600;
  fill: #0B4F8C;
  font-family: Inter, sans-serif;
}

.service-area-map__region {
  font-size: 11px;
  font-weight: 700;
  fill: #1E73BE;
  opacity: 0.55;
  font-family: Inter, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-area-map__region--title {
  font-size: 10px;
  text-anchor: middle;
  opacity: 0.7;
  letter-spacing: 0.12em;
}

.service-area-map__info {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.service-area-map--compact .service-area-map__info {
  padding: 1.25rem 1.5rem;
}

.service-area-map__lead {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.55;
  margin: 0;
}

.service-area-map__counties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-area-map__county {
  background: var(--primary);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.service-area-map__note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.service-area-map__note a {
  color: var(--primary);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .service-area-map__svg animate {
    display: none;
  }
}

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

  .service-area-map__info {
    padding: 1.25rem 1.5rem;
  }
}

/* Testimonials Carousel */
.testimonials { position: relative; max-width: 800px; margin: 0 auto; }

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.testimonial-slide.active { display: block; animation: fadeIn 0.4s ease; }

.testimonial-stars { color: #f59e0b; font-size: 1.25rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 1.05rem; font-style: italic; color: var(--dark-gray); margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial-author { font-weight: 600; color: var(--primary); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}
.carousel-dot.active { background: var(--primary); }

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.1rem; opacity: 0.92; max-width: 640px; margin: 0 auto; }

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { color: var(--white); }

/* Service Detail */
.service-detail {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }

.service-detail__header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-detail__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--light-gray);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.service-detail h2 { color: var(--primary); font-size: 1.65rem; margin-bottom: 0.5rem; }

.service-detail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.service-detail__box {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.service-detail__box h3 { color: var(--primary); font-size: 1rem; margin-bottom: 0.75rem; }
.service-detail__box ul li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.service-detail__box ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

.faq-list { max-width: 800px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-question::after { content: '+'; font-size: 1.25rem; color: var(--secondary); }

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--secondary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--secondary);
}

.timeline-item h3 { color: var(--primary); font-size: 1.05rem; margin-bottom: 0.35rem; }
.timeline-item p { font-size: 0.9rem; color: var(--text-muted); }

/* Workflow Steps (horizontal) */
.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  counter-reset: wf;
}

.workflow-step {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.workflow-step__num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 0.75rem;
  font-size: 0.95rem;
}
.workflow-step h3 { font-size: 0.9rem; color: var(--primary); margin-bottom: 0.35rem; }
.workflow-step p { font-size: 0.8rem; color: var(--text-muted); }

/* Gallery Filter */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-gray);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item.hidden { display: none; }

.gallery-item > .gallery-media {
  aspect-ratio: 4/3;
}

.gallery-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(11,79,140,0.9));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-media {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--light-gray);
  overflow: hidden;
}

.gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-media__placeholder {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.gallery-media__placeholder strong {
  color: var(--primary);
  font-size: 0.8rem;
}

.gallery-media.is-missing .gallery-media__placeholder { display: flex; }
.gallery-media.is-missing .gallery-img { display: none; }

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.before-after__cell {
  display: flex;
  flex-direction: column;
}

.before-after__cell .gallery-media {
  aspect-ratio: 4/3;
}

.before-after__cell > span {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem;
  background: var(--primary);
  color: var(--white);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.25rem; }

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--light-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-form {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--dark-gray);
}

.form-group label .required { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(30,115,190,0.15);
}

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

.form-notice {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-notice strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.form-notice p { margin: 0; }
.form-notice p + p { margin-top: 0.5rem; }

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

.form-message {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: none;
}
.form-message.success { display: block; background: #d1fae5; color: #065f46; }
.form-message.error { display: block; background: #fee2e2; color: #991b1b; }

.form-loading { opacity: 0.6; pointer-events: none; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form form,
.modal form {
  position: relative;
}

button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-story h2 {
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.about-story p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-story p:last-child {
  margin-bottom: 0;
  color: var(--dark-gray);
  font-weight: 600;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light-gray);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}
.value-card h3 { color: var(--primary); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--text-muted); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.team-card__photo {
  aspect-ratio: 1;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.team-card__info { padding: 1.25rem; }
.team-card__info h3 { color: var(--primary); font-size: 1rem; }
.team-card__info p { font-size: 0.85rem; color: var(--text-muted); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 2rem 0;
}

.cta-banner h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.cta-banner p { opacity: 0.92; margin-bottom: 1.5rem; max-width: 560px; margin-inline: auto; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.emergency-banner {
  background: var(--accent);
  color: var(--white);
  padding: 1.25rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
}
.emergency-banner a { color: var(--white); text-decoration: underline; }

/* Footer */
.site-footer {
  background: #0a3d6e;
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }

.footer-emergency {
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
}
.footer-emergency strong { color: var(--white); display: block; margin-bottom: 0.35rem; }
.footer-emergency a { color: #ffb380; font-weight: 700; font-size: 1.1rem; }

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

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* Floating Emergency Button */
.floating-emergency {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  animation: pulse-accent 2s infinite;
}

.floating-emergency a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.9rem 1.35rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(255,107,0,0.45);
  transition: transform var(--transition);
}
.floating-emergency a:hover {
  color: var(--white);
  transform: scale(1.04);
}

.floating-emergency__icon { font-size: 1.25rem; }

/* Modal / Popup */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 2rem;
  position: relative;
  animation: fadeInUp 0.35s ease;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.modal h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.modal p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-accent {
  0%, 100% { box-shadow: 0 6px 24px rgba(255,107,0,0.45); }
  50% { box-shadow: 0 6px 32px rgba(255,107,0,0.7); }
}

/* Responsive */
@media (max-width: 1200px) {
  .nav-links a {
    font-size: 0.8125rem;
    padding: 0.5rem 0.55rem;
  }

  .header-ctas .btn {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 992px) {
  .site-top__logo {
    padding: 0.25rem 0.5rem;
  }

  .site-top__logo .logo__img--site-top {
    max-width: 132px;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .insurance-block { grid-template-columns: 1fr; text-align: center; }
  .header-ctas .btn-outline { display: none; }
  .main-nav { flex: initial; }
  .nav-links { flex: initial; justify-content: flex-start; }
}

@media (max-width: 768px) {
  :root { --header-height: 56px; }

  .site-top {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo menu"
      "topbar topbar";
    align-items: stretch;
  }

  .site-top__logo {
    grid-area: logo;
    width: 100%;
    min-width: 0;
    background: var(--primary);
    border-right: none;
    padding: 0.55rem 0.85rem;
    justify-content: flex-start;
  }

  .site-top__logo .logo__img--site-top {
    height: auto;
    max-height: 58px;
    max-width: 108px;
  }

  .site-top__main {
    display: contents;
  }

  #emergency-bar {
    grid-area: topbar;
  }

  #site-header {
    grid-area: menu;
    background: var(--primary);
    border-bottom: none;
    align-self: stretch;
  }

  .site-header .container {
    width: 100%;
    height: 100%;
    padding: 0 0.65rem 0 0;
  }

  .site-header__inner {
    min-height: 100%;
    height: 100%;
    padding: 0;
    justify-content: flex-end;
    align-items: center;
  }

  .nav-toggle {
    display: block;
    color: var(--white);
  }

  .logo__img:not(.logo__img--site-top):not(.logo__img--footer) {
    height: 64px;
    max-width: 64px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    transition: right var(--transition);
    z-index: 1002;
    gap: 0;
    overflow-y: auto;
  }

  .main-nav.open { right: 0; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links li { text-align: left; }

  .nav-links a {
    display: block;
    text-align: left;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .header-ctas {
    flex-direction: column;
    margin-top: 1rem;
    width: 100%;
  }

  .header-ctas .btn { width: 100%; }

  .emergency-bar .container {
    width: min(100% - 1.5rem, 1480px);
  }

  .emergency-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.65rem 0;
    text-align: center;
  }

  .emergency-bar__message {
    justify-content: center;
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  .emergency-bar__tagline--full { display: none; }
  .emergency-bar__tagline--short { display: inline; }

  .emergency-bar__phone { display: none; }

  .emergency-bar__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .emergency-bar__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 0.5rem;
    font-size: 0.8125rem;
  }

  .hero-service-ticker__label {
    display: none;
  }

  .hero__areas-label {
    width: 100%;
    margin-bottom: 0.15rem;
  }

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

  .floating-emergency {
    right: 50%;
    transform: translateX(50%);
    bottom: 1rem;
  }

  .floating-emergency a {
    font-size: 0.8rem;
    padding: 0.75rem 1.1rem;
  }

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

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .before-after { grid-template-columns: 1fr; }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 10003;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
