:root {
  --brand-blue: #263A91;
  --brand-yellow: #FFE100;
  --brand-red: #F20D0D;
  --brand-black: #0B0B0D;
  --brand-navy: #07111F;
  --brand-white: #FFFFFF;
  --brand-light: #F6F8FB;
  --text-main: #111827;
  --text-muted: #5B6472;
  --border-soft: #E5E7EB;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--brand-white);
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(229, 231, 235, 0.72);
  box-shadow: 0 8px 26px rgba(7, 17, 31, 0.06);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(229, 231, 235, 0.94);
  box-shadow: 0 14px 36px rgba(7, 17, 31, 0.11);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--brand-navy);
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  display: grid;
  position: absolute;
  left: 0;
  right: 0;
  top: 76px;
  gap: 12px;
  padding: 22px 16px 26px;
  background: rgba(7, 17, 31, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(7, 17, 31, 0.28);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav a {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--brand-white);
  font-size: 1.08rem;
  font-weight: 800;
  border-radius: 6px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: rgba(255, 225, 0, 0.16);
  color: var(--brand-yellow);
  outline: none;
}

.site-nav .nav-call {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  background: var(--brand-white);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--brand-navy);
}

.hero {
  padding: 56px 0;
  color: var(--brand-white);
  background: var(--brand-navy);
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 32px;
}

.hero h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(2.3rem, 10vw, 4.7rem);
  line-height: 1.02;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  font-size: 1.2rem;
  color: #DDE7F5;
}

.hero-support {
  max-width: 650px;
  color: #B8C4D6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(7, 17, 31, 0.18);
}

.button-primary {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.button-secondary {
  background: transparent;
  color: var(--brand-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.emergency-badge,
.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.emergency-badge {
  display: inline-flex;
  padding: 7px 10px;
  color: var(--brand-white);
  background: var(--brand-red);
  border-radius: 6px;
}

.eyebrow {
  color: var(--brand-blue);
}

.hero-media img,
.image-frame img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
}

.hero-media img {
  aspect-ratio: 1 / 1;
}

.image-frame {
  margin: 0;
}

.about-image img {
  aspect-ratio: 4 / 3;
}

.image-frame.is-hidden {
  display: none;
}

.trust-strip {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.trust-grid {
  display: grid;
  gap: 1px;
  padding: 18px 0;
  font-weight: 800;
}

.trust-grid div {
  padding: 8px 0;
}

.section {
  padding: 72px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.12;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--border-soft);
  border-top: 5px solid var(--brand-blue);
  border-radius: 8px;
  background: var(--brand-white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(7, 17, 31, 0.1);
  border-color: rgba(38, 58, 145, 0.3);
}

.service-card h3,
.site-footer h2 {
  margin: 0 0 10px;
  line-height: 1.25;
}

.service-card p,
.about-grid p,
.contact-copy p,
.faq-list p,
.site-footer p {
  color: var(--text-muted);
}

.about-band,
.faq-band {
  background: var(--brand-light);
}

.check-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--brand-white);
}

.faq-list summary {
  font-weight: 800;
  cursor: pointer;
}

.contact-section {
  background: var(--brand-navy);
  color: var(--brand-white);
}

.contact-section .eyebrow,
.contact-details a {
  color: var(--brand-yellow);
}

.contact-copy p,
.contact-details span {
  color: #C8D3E1;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  font-weight: 700;
}

.quote-form {
  display: grid;
  gap: 10px;
  padding: 22px;
  color: var(--text-main);
  background: var(--brand-white);
  border-radius: 8px;
}

.quote-form label {
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--text-main);
  font: inherit;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--brand-white);
}

.quote-form textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.form-status.is-success {
  color: #176B36;
}

.form-status.is-error {
  color: var(--brand-red);
}

.site-footer {
  padding: 42px 0 18px;
  color: var(--brand-white);
  background: var(--brand-black);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.site-footer a {
  color: var(--brand-white);
}

.site-footer nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 720px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 940px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    min-height: auto;
    color: var(--text-main);
    font-size: 1rem;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    background: rgba(38, 58, 145, 0.08);
    color: var(--brand-blue);
  }

  .hero {
    padding: 80px 0;
  }

  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
