@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/oswald-latin-700-normal.woff2") format("woff2");
}

:root {
  --color-dark: #212529;
  --color-dark-alt: #2b3035;
  --color-accent: #ffc107;
  --color-accent-dark: #8a6d13;
  --color-urgent: #c1440e;
  --color-text: #22252a;
  --color-muted: #63666b;
  --color-light: #f5f5f4;
  --color-border: #dfe0df;
  --max-width: 1100px;
  --radius: 8px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-brand: "Oswald", "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background: #fff;
}

h1, h2, h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: block;
  color: var(--color-accent-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero .eyebrow {
  color: var(--color-accent);
}

/* Emergency strip */
.emergency-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--color-accent);
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  text-align: center;
}

.emergency-strip:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-urgent);
  flex-shrink: 0;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193, 68, 14, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(193, 68, 14, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Bolt flicker */
.bolt-flicker {
  animation: flicker 3.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes flicker {
  0%, 21%, 24%, 55%, 100% { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 193, 7, 0.6)); }
  22%, 23%, 54% { opacity: 0.5; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bolt-flicker { animation: none; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  color: var(--color-dark);
  border-bottom: 3px solid var(--color-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

/* Offset anchor-link targets so the sticky header doesn't cover them.
   Values match the header's measured height (two rows on desktop -- logo/title
   row plus the nav row -- vs. the collapsed logo+hamburger row on mobile),
   plus 16px of breathing room. Re-measure and update these if header content
   changes. */
#top,
#emergencies,
#services,
#area,
#contact {
  scroll-margin-top: 145px;
}

@media (max-width: 720px) {
  #top,
  #emergencies,
  #services,
  #area,
  #contact {
    scroll-margin-top: 96px;
  }
}

@media (max-width: 480px) {
  #top,
  #emergencies,
  #services,
  #area,
  #contact {
    scroll-margin-top: 86px;
  }
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
  padding: 0.85rem 2rem;
}

@media (max-width: 480px) {
  .header-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.logo-mark-link {
  display: flex;
  justify-self: start;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  min-width: 0;
  line-height: 1.3;
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  justify-self: end;
  min-width: 0;
}

.brand-text-link .logo {
  display: block;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-dark);
  white-space: nowrap;
}

.brand-text-link .tagline {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  white-space: nowrap;
}

/* Desktop: nav sits as its own centered row beneath the logo/title row. */
.nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  border-top: 1px solid var(--color-border);
  padding: 0.7rem 2rem;
}

.nav a {
  position: relative;
  color: var(--color-dark);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 0.25rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-accent);
  transition: right 0.2s ease;
}

.nav a:hover {
  color: var(--color-accent-dark);
}

.nav .nav-call {
  display: none;
}

/* Hamburger toggle -- hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 17px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--color-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.25px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle span { transition: none; }
}

.nav a:hover::after {
  right: 0;
}

@media (prefers-reduced-motion: reduce) {
  .nav a::after { transition: none; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.btn:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: opacity 0.15s ease; }
  .btn:hover { transform: none; box-shadow: none; }
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-accent);
  color: var(--color-urgent);
  white-space: nowrap;
}

.btn-header-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-header .pulse-text {
  display: inline-block;
  animation: text-pulse 1.6s ease-in-out infinite;
}

@keyframes text-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-header .pulse-text { animation: none; }
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-dark);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-lg {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  background-image: radial-gradient(rgba(255, 193, 7, 0.14) 1px, transparent 1px),
    linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-alt) 100%);
  background-size: 22px 22px, 100% 100%;
  color: #fff;
  padding: 5rem 0 6.5rem;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: var(--color-light);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-visual {
  display: none;
}

.hero-graphic {
  width: 220px;
  height: 220px;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: #c9cacb;
  font-size: 1.1rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  padding: 0;
  margin: 0;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #d4d5d6;
}

.trust-list svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

@media (min-width: 860px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2rem;
    text-align: left;
  }

  .hero-sub {
    margin-left: 0;
  }

  .hero-ctas {
    flex-direction: row;
  }

  .trust-list {
    justify-content: flex-start;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }
}

/* Section headings */
.services h2,
.area h2,
.contact h2 {
  text-align: center;
  margin-bottom: 1.25rem;
  font-size: 1.9rem;
}

.services .eyebrow,
.area .eyebrow,
.contact .eyebrow {
  text-align: center;
}

.section-intro {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  color: var(--color-muted);
  text-align: center;
}

.services-dark .section-intro {
  color: #c1c2c4;
}

.section-intro p + p {
  margin-top: 1rem;
}

/* Services */
.services {
  padding: 4rem 0;
}

.services.services-dark {
  background: var(--color-dark);
  color: #fff;
}

.services.services-dark .eyebrow {
  color: var(--color-accent);
}

.services.services-light {
  background: var(--color-light);
}

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

.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .service-card { transition: none; }
  .service-card:hover { transform: none; }
}

.services-dark .service-card {
  background: var(--color-dark-alt);
  box-shadow: none;
}

.services-dark .service-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.services-dark .service-card h3 {
  color: #fff;
}

.services-dark .service-card p {
  color: #c1c2c4;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.15);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.services-dark .service-icon {
  background: rgba(255, 193, 7, 0.18);
  color: var(--color-accent);
}

.service-card-emergency .service-icon {
  background: var(--color-urgent);
  color: #fff;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

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

.service-card p {
  color: var(--color-muted);
  margin: 0;
}

/* CTA break */
.cta-break {
  background: var(--color-light);
  padding: 4rem 0;
  text-align: center;
}

.cta-break h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-break p {
  max-width: 480px;
  margin: 0 auto 2rem;
  color: var(--color-muted);
}

/* Area */
.area {
  padding: 4rem 0;
  text-align: center;
  background: var(--color-dark);
  color: #fff;
}

.area .eyebrow {
  color: var(--color-accent);
}

.area p {
  max-width: 700px;
  margin: 0 auto;
  color: #c1c2c4;
}

.area p + p {
  margin-top: 1rem;
}

.area-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.area-text {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.coverage-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  text-align: left;
}

.coverage-group h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.9rem;
}

.coverage-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.7rem;
  padding: 0;
}

.coverage-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-weight: 600;
  color: var(--color-dark);
}

.coverage-grid svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

/* Contact */
.contact {
  padding: 4rem 0;
  background: var(--color-light);
  text-align: center;
}

.contact p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: var(--color-muted);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.contact-details a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  background: #fff;
}

.contact-details svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-dark);
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #9a9b9c;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand .logo {
  display: block;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.56rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.footer-brand .tagline {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #adb0b3;
  margin-top: 0.2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
}

.footer-nav a {
  color: #d4d5d6;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p.footer-credit {
  margin-top: 0.4rem;
  color: #8a8d91;
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
}

.footer-credit a:hover {
  color: var(--color-accent);
}

@media (min-width: 860px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-brand .tagline {
    margin-top: 0.1rem;
  }

  .footer-nav {
    flex: 1;
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 720px) {
  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 720px) {
  .btn-header {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
    border-bottom: 3px solid var(--color-accent);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 2rem 1.25rem;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav a::after {
    display: none;
  }

  .nav .nav-call {
    display: block;
    text-align: center;
    margin-top: 1rem;
  }
}

@media (max-width: 300px) {
  .nav {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 480px) {
  .brand-text-link .logo {
    font-size: 1.14rem;
  }
}

