:root {
  --ink: #112329;
  --muted: #53676d;
  --line: #d9e4e1;
  --paper: #f7f9f6;
  --white: #ffffff;
  --green: #315f49;
  --green-dark: #173b2c;
  --blue: #2c6d82;
  --gold: #c78b35;
  --shadow: 0 24px 60px rgba(17, 35, 41, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 249, 246, 0.92);
  border-bottom: 1px solid rgba(217, 228, 225, 0.7);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 0.98rem;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

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

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--green-dark);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.header-cta,
.button-primary {
  color: var(--white);
  background: var(--green);
}

.header-cta:hover,
.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(17, 35, 41, 0.24);
}

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

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

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 35, 41, 0.92) 0%, rgba(17, 35, 41, 0.68) 38%, rgba(17, 35, 41, 0.2) 72%),
    linear-gradient(0deg, rgba(17, 35, 41, 0.52), rgba(17, 35, 41, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 70px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.quick-panel h2 {
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.3rem);
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin: 54px 0 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
}

.hero-proof div {
  padding: 18px;
  background: rgba(17, 35, 41, 0.46);
}

.hero-proof dt {
  font-weight: 900;
}

.hero-proof dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.quick-panel {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.quick-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
  padding: 38px 0;
}

.quick-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px var(--white), 0 0 0 1px var(--green);
}

.section {
  padding: 92px 0;
}

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

.section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.section-heading p:not(.eyebrow),
.split-copy p,
.cost-grid p,
.flood-grid p,
.estimate-copy p,
.site-footer p {
  color: var(--muted);
}

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

.service-card,
.audience-grid article,
.estimate-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  min-height: 240px;
  padding: 26px;
}

.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green-dark);
  background: #e5efe9;
  border-radius: 6px;
  font-weight: 900;
}

.service-card h3,
.audience-grid h3 {
  margin: 22px 0 10px;
  line-height: 1.2;
}

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

.split-section {
  background: #e9f0ec;
}

.split-grid,
.cost-grid,
.flood-grid,
.estimate-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 58px;
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green-dark);
  font-weight: 900;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.timeline li {
  position: relative;
  min-height: 96px;
  padding: 0 0 28px 78px;
  border-left: 2px solid rgba(49, 95, 73, 0.18);
  counter-increment: process;
}

.timeline li::before {
  content: counter(process);
  position: absolute;
  left: -25px;
  top: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.timeline li:last-child {
  min-height: auto;
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  font-size: 1.1rem;
}

.timeline span {
  color: var(--muted);
}

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

.area-section {
  background: #eef4f1;
}

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

.factor {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 58px;
  align-items: center;
}

.area-map {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--green-dark);
  background:
    radial-gradient(circle at 25% 28%, rgba(199, 139, 53, 0.24), transparent 22%),
    radial-gradient(circle at 72% 68%, rgba(44, 109, 130, 0.28), transparent 26%),
    linear-gradient(135deg, #ffffff, #dbe8e2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.area-map::before,
.area-map::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(49, 95, 73, 0.2);
  transform: rotate(-12deg);
}

.area-map::before {
  width: 76%;
  height: 58%;
  border-radius: 52% 48% 58% 42%;
}

.area-map::after {
  width: 52%;
  height: 34%;
  border-radius: 42% 58% 44% 56%;
}

.area-map span {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid rgba(49, 95, 73, 0.18);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(17, 35, 41, 0.1);
  font-weight: 900;
}

.area-map span:nth-child(1) {
  left: 17%;
  top: 22%;
}

.area-map span:nth-child(2) {
  right: 12%;
  top: 28%;
}

.area-map span:nth-child(3) {
  left: 24%;
  bottom: 24%;
}

.area-map span:nth-child(4) {
  right: 22%;
  bottom: 18%;
}

.area-map span:nth-child(5) {
  left: 42%;
  top: 48%;
  color: var(--white);
  background: var(--green);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.flood-band {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
}

.flood-band .eyebrow,
.flood-band p {
  color: rgba(255, 255, 255, 0.84);
}

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

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

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

.faq-grid details {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--green-dark);
  font-weight: 900;
}

.faq-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.audience-grid article {
  padding: 26px;
}

.estimate-section {
  background: #eef4f1;
}

.contact-box {
  margin-top: 28px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-box span,
.site-footer span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-box a {
  display: block;
  margin-top: 4px;
  color: var(--green-dark);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.estimate-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.estimate-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.estimate-form textarea {
  resize: vertical;
}

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

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
}

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

.site-footer p {
  margin-bottom: 0;
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .quick-grid,
  .split-grid,
  .cost-grid,
  .flood-grid,
  .area-grid,
  .estimate-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding: 94px 0 38px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 15vw, 4.5rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-proof,
  .service-grid,
  .audience-grid,
  .factor-grid,
  .faq-grid,
  .estimate-form {
    grid-template-columns: 1fr;
  }

  .area-map {
    min-height: 340px;
  }

  .area-map span {
    font-size: 0.82rem;
  }

  .hero-proof {
    margin-top: 34px;
  }

  .section {
    padding: 64px 0;
  }

  .service-card {
    min-height: auto;
  }

  .timeline li {
    padding-left: 52px;
  }
}
