:root {
  --evergreen: #124c3b;
  --evergreen-deep: #0c3328;
  --aqua: #19d3c5;
  --coral: #ff6b45;
  --coral-dark: #e25532;
  --frost: #f4faf8;
  --charcoal: #162521;
  --white: #ffffff;
  --navy: #0b1b3a;
  --navy-mid: #102a56;
  --gold: #f0b429;
  --muted: #3d524c;
  --line: rgba(18, 76, 59, 0.12);
  --shadow: 0 10px 30px rgba(22, 37, 33, 0.08);
  --radius: 12px;
  --header-h: 4.75rem;
  --content: 70rem;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --focus: 0 0 0 3px #ffffff, 0 0 0 6px #19d3c5;
}

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

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--frost);
  line-height: 1.6;
  font-size: 1.0625rem;
}

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

a {
  color: var(--evergreen);
}

a:hover {
  color: var(--coral-dark);
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy);
  padding: 0.65rem 1rem;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

.wrap {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--evergreen-deep);
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  margin: 0 0 0.85rem;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lede {
  font-size: 1.125rem;
  max-width: 42rem;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

/* Header */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  min-height: var(--header-h);
  border-bottom: 2px solid var(--gold);
}

#site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  flex: 0 1 auto;
  min-width: 0;
}

.logo-link img {
  height: 42px;
  width: auto;
  max-width: min(52vw, 280px);
  object-fit: contain;
  object-position: left center;
}

.logo-text {
  display: none;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--white);
}

.primary-nav {
  display: none;
}

.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--navy-mid);
  padding: 0.75rem 1rem 1.25rem;
  gap: 0.25rem;
  border-bottom: 2px solid var(--gold);
}

.primary-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.7rem 0.5rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
}

.btn-coral:hover {
  background: var(--coral-dark);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: #ffd56a;
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline {
  background: var(--white);
  color: var(--evergreen);
  border-color: var(--evergreen);
}

.header-cta {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background: var(--navy);
  min-height: 32rem;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 27, 58, 0.92) 0%,
    rgba(18, 76, 59, 0.72) 46%,
    rgba(11, 27, 58, 0.28) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 4.5rem;
  max-width: 40rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
}

.hero h1 {
  color: var(--white);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
}

.value-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  color: var(--aqua);
  font-size: 0.95rem;
}

.value-line li + li::before {
  content: "•";
  margin-right: 0.7rem;
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.inline-link {
  color: var(--gold);
  font-weight: 700;
}

.inline-link:hover {
  color: var(--white);
}

/* Trust */
.trust {
  background: var(--white);
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
}

.trust li {
  list-style: none;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
}

.trust {
  padding: 0;
  margin-inline: auto;
  width: min(calc(100% - 2rem), var(--content));
}

.trust ul {
  display: contents;
  padding: 0;
  margin: 0;
}

.trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--frost);
  color: var(--evergreen);
  display: grid;
  place-items: center;
}

.trust strong {
  display: block;
  color: var(--evergreen-deep);
  font-size: 0.98rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--white);
}

.kicker {
  color: var(--coral);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.split {
  display: grid;
  gap: 1.75rem;
}

.split img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--aqua);
  box-shadow: var(--shadow);
}

/* Services grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--aqua);
}

.card p {
  margin-bottom: 0.75rem;
}

.card .learn {
  font-weight: 700;
  text-decoration: none;
}

.icon-blob {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: var(--frost);
  color: var(--evergreen);
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
}

.service-detail {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--line);
}

.service-block ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.service-block img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  margin: 1rem 0;
  aspect-ratio: 4 / 3;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.why-card {
  background: var(--frost);
  border-radius: var(--radius);
  padding: 1.2rem;
  border-top: 3px solid var(--evergreen);
}

/* Emergency */
.emergency {
  background: linear-gradient(120deg, var(--navy) 0%, var(--evergreen-deep) 100%);
  color: var(--white);
  padding: 3.5rem 0;
}

.emergency h2,
.emergency p {
  color: var(--white);
}

.emergency .wrap {
  display: grid;
  gap: 1.2rem;
}

.emergency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Area */
.area-layout {
  display: grid;
  gap: 1.5rem;
}

.area-list {
  columns: 1;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.map-frame {
  position: relative;
  min-height: 20rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d7ebe4;
  border: 1px solid var(--line);
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 30% 40%, rgba(25, 211, 197, 0.25), transparent 40%),
    linear-gradient(180deg, #cfe7df, #e7f4ef);
}

#service-map {
  height: 20rem;
  width: 100%;
}

#service-map[hidden] {
  display: none;
}

.map-placeholder[hidden],
#load-map[hidden] {
  display: none;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1rem 1.1rem;
  font: inherit;
  font-weight: 700;
  color: var(--evergreen-deep);
  cursor: pointer;
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question::after {
  content: "+";
  color: var(--coral);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "–";
}

.faq-panel {
  padding: 0 1.1rem 1rem;
}

.faq-panel[hidden] {
  display: none;
}

.js-ready .faq-panel {
  display: block;
}

.js-ready .faq-panel[hidden] {
  display: none;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-card,
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.contact-card a {
  font-weight: 700;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9d9d3;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: var(--white);
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
}

.field-error {
  color: #9b1c1c;
  font-size: 0.9rem;
  min-height: 1.1em;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 0.8rem;
  font-weight: 600;
}

.form-status.is-error {
  color: #9b1c1c;
}

.form-status.is-success {
  color: var(--evergreen);
}

.form-status.is-info {
  color: var(--navy-mid);
}

/* Footer */
#site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  padding: 2.5rem 0 5.5rem;
}

#site-footer a {
  color: var(--gold);
}

#site-footer h2,
#site-footer h3 {
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  max-width: 260px;
}

.footer-nav {
  display: grid;
  gap: 0.35rem;
}

.footer-nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.disclaimer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.call-fab {
  display: flex;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  background: var(--coral);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255, 107, 69, 0.35);
}

.call-fab.is-away {
  opacity: 0;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 480px) {
  .card-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-list {
    columns: 2;
  }
}

@media (min-width: 768px) {
  .logo-link img {
    height: 52px;
    max-width: 320px;
  }

  .split,
  .contact-grid,
  .area-layout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .trust li {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .trust li:last-child {
    border-right: 0;
  }

  .service-detail {
    grid-template-columns: 1fr 1fr;
  }

  #site-footer {
    padding-bottom: 2.5rem;
  }

  .call-fab {
    display: none;
  }
}

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

  .header-inner {
    gap: 1.2rem;
  }

  .primary-nav,
  .primary-nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    padding: 0;
    border: 0;
    gap: 0.15rem;
  }

  .primary-nav a {
    padding: 0.4rem 0.55rem;
    font-size: 0.92rem;
    min-height: 0;
  }

  .header-cta {
    display: inline-flex;
    white-space: nowrap;
  }

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

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

@media (min-width: 1280px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .logo-link img {
    max-width: 360px;
  }
}
