:root {
  --ink: #171717;
  --muted: #66645f;
  --paper: #fbfaf7;
  --line: #ded8ce;
  --red: #c62828;
  --red-dark: #8f1f1f;
  --amber: #f4b233;
  --teal: #176b62;
  --white: #ffffff;
}

* {
  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(--paper);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(16px);
}

.site-header.has-shadow {
  box-shadow: 0 10px 28px rgba(23, 23, 23, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: var(--white);
  font-weight: 800;
  background: var(--red);
  border-radius: 8px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.14);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.main-nav a {
  padding: 10px 12px;
  color: #37332d;
  font-weight: 700;
  font-size: 14px;
}

.main-nav a:hover {
  color: var(--red);
}

.nav-call {
  color: var(--white) !important;
  background: var(--red);
  border-radius: 6px;
}

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

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

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}

.hero picture,
.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.82), rgba(12, 10, 9, 0.38) 54%, rgba(12, 10, 9, 0.18)),
    linear-gradient(0deg, rgba(12, 10, 9, 0.76), rgba(12, 10, 9, 0.04) 48%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0 38px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.4vw, 24px);
}

.hero-actions,
.cta-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: 13px 18px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.12);
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 14px;
  max-width: 560px;
  margin: 42px 0 0;
}

.hero-facts div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.notice {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(260px, 1.6fr);
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: -28px auto 0;
  position: relative;
  z-index: 5;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(23, 23, 23, 0.15);
}

.notice div {
  min-width: 0;
  padding: 18px;
  background: var(--white);
}

.label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.notice strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
}

.section-copy h2,
.section-heading h2,
.cta h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.photo-panel {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.photo-panel img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.services {
  padding-top: 26px;
}

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

.section-heading h2 {
  max-width: 720px;
}

.section-heading.compact {
  display: block;
}

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

.service-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  font-weight: 900;
  background: var(--teal);
  border-radius: 8px;
}

.service-grid article:nth-child(2) .service-icon,
.service-grid article:nth-child(4) .service-icon {
  background: var(--red-dark);
}

.service-grid h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

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

.districts {
  padding-top: 26px;
}

.district-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.district-list li {
  padding: 12px 10px;
  text-align: center;
  font-weight: 800;
  background: #ece7dd;
  border: 1px solid #d7d0c5;
  border-radius: 6px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 78px;
  padding: clamp(28px, 5vw, 48px);
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

.cta .eyebrow {
  color: #ffd36b;
}

.cta h2 {
  max-width: 660px;
  font-size: clamp(28px, 4vw, 46px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: #f2eee6;
  background: #171717;
}

.site-footer p {
  margin: 0;
}

.subpage-main {
  background: var(--paper);
}

.subhero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #121212;
}

.subhero img,
.subhero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.subhero img {
  object-fit: cover;
}

.subhero::after {
  content: "";
  background: linear-gradient(90deg, rgba(10, 9, 8, 0.82), rgba(10, 9, 8, 0.3));
}

.subhero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0 48px;
}

.subhero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1;
}

.subhero p:not(.eyebrow) {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.content-section {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.content-section h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.content-section p,
.content-section li {
  color: var(--muted);
  font-size: 17px;
}

.content-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding-left: 18px;
}

.content-call {
  display: inline-flex;
  margin-top: 18px;
  color: var(--white);
  background: var(--red);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle + .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle + .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 8px;
  }

  .nav-call {
    text-align: center;
  }

  .notice,
  .intro,
  .cta {
    grid-template-columns: 1fr;
  }

  .notice {
    margin-top: 0;
  }

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

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

  .cta {
    display: block;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 70px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding-bottom: 28px;
  }

  .hero-facts,
  .service-grid,
  .district-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, 1120px);
    padding: 62px 0;
  }

  .notice,
  .cta {
    width: min(100% - 28px, 1120px);
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}
