:root {
  --ink: #082838;
  --muted: #536d75;
  --line: #c8e3e5;
  --surface: #f3fbfb;
  --surface-strong: #ddf3f2;
  --brand: #0a7f89;
  --brand-dark: #06445d;
  --accent: #ef513f;
  --accent-dark: #bf382e;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 48, 75, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brand-dark);
}

.skip-link:focus {
  top: 12px;
}

.site-topbar {
  color: var(--white);
  background: var(--brand-dark);
}

.topbar-inner,
.nav-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  font-size: 0.9rem;
}

.topbar-inner a {
  font-weight: 700;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(6, 68, 93, 0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 216px;
  gap: 20px;
  transition: min-height 180ms ease;
}

.site-header.is-scrolled .nav-inner {
  min-height: 112px;
}

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

.brand-link img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  transition: width 180ms ease, height 180ms ease;
}

.site-header.is-scrolled .brand-link img {
  width: 100px;
  height: 100px;
}

.brand-text {
  max-width: 180px;
  line-height: 1.05;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a,
.dropdown-trigger {
  padding: 12px 11px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav a:focus,
.dropdown-trigger:hover,
.dropdown-trigger:focus {
  color: var(--brand);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 270px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 8px 10px;
  border-radius: 6px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: var(--surface-strong);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  color: var(--white);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
}

.button:hover,
.button:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  color: var(--brand-dark);
  background: var(--white);
  border-color: var(--brand);
}

.button.secondary:hover,
.button.secondary:focus {
  color: var(--white);
  background: var(--brand);
}

.button.dark {
  color: var(--white);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.section {
  padding: 76px 0;
}

.section.compact {
  padding: 48px 0;
}

.section.tint {
  background: var(--surface);
}

.section.blue {
  color: var(--white);
  background: var(--brand-dark);
}

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.12;
  overflow-wrap: break-word;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.1rem, 4.6vw, 3.85rem);
}

h2 {
  max-width: 780px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 18px;
  overflow-wrap: break-word;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.blue .lead,
.blue p,
.blue .muted {
  color: #d5e7f0;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(6, 68, 93, 0.98) 0%, rgba(10, 127, 137, 0.84) 48%, rgba(221, 243, 242, 0.46) 100%),
    url("/assets/images/home-banner.webp") center right / cover no-repeat;
}

.hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
  min-height: 660px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.hero.hero-simple .section-inner {
  grid-template-columns: minmax(0, 760px);
  min-height: 560px;
}

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

.hero .lead {
  color: #e5f3f9;
}

.hero-actions,
.cta-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 800;
  background: var(--surface-strong);
  border: 1px solid #c7dfeb;
  border-radius: 999px;
}

.hero .pill {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.26);
}

.image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 240px;
  padding: 24px;
  color: var(--brand-dark);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(5, 99, 155, 0.13), rgba(226, 87, 45, 0.08)),
    repeating-linear-gradient(45deg, rgba(7, 63, 102, 0.08) 0 12px, rgba(255, 255, 255, 0.18) 12px 24px);
  border: 2px dashed #8fb8cf;
  border-radius: var(--radius);
}

.image-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.image-placeholder span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

.ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.ratio-3x2 {
  aspect-ratio: 3 / 2;
}

.ratio-4x3 {
  aspect-ratio: 4 / 3;
}

.site-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-image.ratio-16x9,
.site-image.ratio-3x2,
.site-image.ratio-4x3 {
  height: auto;
}

.hero .image-placeholder {
  min-height: 430px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(215, 237, 247, 0.92)),
    repeating-linear-gradient(45deg, rgba(5, 99, 155, 0.12) 0 16px, rgba(226, 87, 45, 0.08) 16px 32px);
  box-shadow: var(--shadow);
}

.urgent-strip {
  margin-top: -38px;
  position: relative;
  z-index: 4;
}

.urgent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.urgent-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 26px;
}

.urgent-item:first-child {
  padding-left: 0;
}

.urgent-item + .urgent-item {
  border-left: 1px solid rgba(11, 81, 105, 0.16);
}

.urgent-item strong {
  display: block;
  margin-bottom: 2px;
}

.urgent-item span {
  color: var(--muted);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: center;
}

.hero .section-inner > *,
.page-hero .section-inner > *,
.split > *,
.grid > * {
  min-width: 0;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(11, 48, 75, 0.08);
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover,
.card h3 a:focus {
  color: var(--brand);
}

.review-grid {
  align-items: stretch;
}

.review-actions {
  justify-content: end;
  margin-bottom: 24px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 249, 0.72));
  border-color: rgba(4, 126, 134, 0.28);
  box-shadow: 0 18px 38px rgba(5, 47, 71, 0.08);
}

.review-stars {
  color: #f2b705;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.review-quote {
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 0;
}

.review-author {
  margin-top: auto;
  color: var(--brand);
  font-weight: 800;
}

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

.service-banner {
  padding: 28px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.service-banner .section-inner {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.service-banner p {
  max-width: 760px;
  margin-bottom: 0;
  color: #dff4f3;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: 34px;
  align-items: start;
}

.service-detail.flip {
  grid-template-columns: minmax(300px, 0.52fr) minmax(0, 1fr);
}

.service-detail + .service-detail {
  margin-top: 42px;
}

.card p:last-child,
.section-intro p:last-child {
  margin-bottom: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card .image-placeholder {
  min-height: 154px;
  margin: -6px -6px 18px;
}

.service-card .site-image {
  width: calc(100% + 12px);
  max-width: none;
  min-height: 154px;
  margin: -6px -6px 18px;
  border-radius: 6px;
  box-shadow: none;
}

.text-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  color: var(--accent);
}

.section-intro {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-intro .lead {
  max-width: 600px;
}

.check-list,
.plain-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid rgba(16, 34, 52, 0.08);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

.county-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.county-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.county {
  padding: 16px;
  min-width: 0;
  font-weight: 900;
  font-size: 0.94rem;
  text-align: center;
  overflow-wrap: anywhere;
  background: var(--surface-strong);
  border: 1px solid #c7dfeb;
  border-radius: var(--radius);
}

.map-embed {
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(11, 48, 75, 0.08);
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 390px;
  border: 0;
}

.coverage-map {
  margin-top: 28px;
}

.mini-map {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, 52px);
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-tile {
  display: grid;
  place-items: center;
  min-width: 0;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  background: var(--surface-strong);
  border: 1px solid #c7dfeb;
  border-radius: 6px;
}

.map-tile.featured {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
}

.page-hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.page-hero.image-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(6, 68, 93, 0.96) 0%, rgba(10, 127, 137, 0.82) 48%, rgba(10, 127, 137, 0.58) 100%),
    var(--page-hero-image) center right / cover no-repeat;
}

.page-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 34px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.page-hero.simple .section-inner {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero.image-hero .section-inner {
  grid-template-columns: minmax(0, 780px);
}

.page-hero .lead {
  color: #dff0f6;
}

.breadcrumb {
  margin-bottom: 16px;
  color: #dff0f6;
  font-size: 0.92rem;
}

.breadcrumb a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.content-block {
  max-width: 780px;
}

.content-block + .content-block {
  margin-top: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #bdcfdb;
  border-radius: var(--radius);
  background: var(--white);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  color: #d8e8f0;
  background: #071f32;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr 1fr;
  gap: 26px;
  padding: 56px 0 34px;
}

.footer-logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin-bottom: 12px;
}

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

.site-footer a {
  color: #d8e8f0;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  padding: 14px 0 28px;
  color: #b9cbd5;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  padding: 10px 16px;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 28px rgba(11, 48, 75, 0.12);
}

.mobile-call .button {
  width: 100%;
}

.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;
}

@media (max-width: 1040px) {
  .nav-inner {
    min-height: 132px;
  }

  .site-header.is-scrolled .nav-inner {
    min-height: 102px;
  }

  .brand-link img {
    width: 120px;
    height: 120px;
  }

  .site-header.is-scrolled .brand-link img {
    width: 90px;
    height: 90px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 174px 0 auto 0;
    display: none;
    width: 100%;
    max-height: calc(100vh - 174px);
    padding: 18px 16px 28px;
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
    gap: 4px;
  }

  .site-nav a,
  .dropdown-trigger {
    width: 100%;
    padding: 13px 10px;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-actions .button.secondary {
    display: none;
  }

  .hero .section-inner,
  .page-hero .section-inner,
  .split {
    grid-template-columns: 1fr;
  }

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

  .urgent-item:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(11, 81, 105, 0.16);
    padding-top: 14px;
  }

  .grid.three,
  .grid.four,
  .related-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-banner .section-inner,
  .service-detail {
    display: grid;
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .topbar-inner {
    display: grid;
    gap: 4px;
    padding: 8px 0;
  }

  .nav-inner {
    min-height: 106px;
  }

  .site-header.is-scrolled .nav-inner {
    min-height: 88px;
  }

  .brand-link img {
    width: 96px;
    height: 96px;
  }

  .site-header.is-scrolled .brand-link img {
    width: 78px;
    height: 78px;
  }

  .brand-text {
    max-width: 138px;
    font-size: 0.96rem;
  }

  .site-nav {
    inset: 164px 0 auto 0;
    max-height: calc(100vh - 164px);
  }

  .section {
    padding: 56px 0;
  }

  .hero .section-inner {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 70px;
  }

  .hero .image-placeholder {
    min-height: 220px;
  }

  .image-placeholder {
    min-height: 180px;
    padding: 18px;
  }

  .urgent-strip {
    margin-top: 0;
    padding-top: 18px;
    background: var(--surface);
  }

  .urgent-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .related-grid,
  .footer-inner,
  .form-grid,
  .section-intro {
    grid-template-columns: 1fr;
  }

  .urgent-item {
    padding: 14px 0;
  }

  .urgent-item:first-child {
    padding-top: 0;
  }

  .urgent-item + .urgent-item {
    border-left: 0;
    border-top: 1px solid rgba(11, 81, 105, 0.16);
  }

  .section-intro {
    display: grid;
    align-items: start;
  }

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

  .county-grid.five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-map {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }

  .mini-map .map-tile {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .nav-actions {
    display: none;
  }

  .mobile-call {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}
