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

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/montserrat-800.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  --blue: #1e73be;
  --blue-dark: #155a96;
  --blue-deep: #0e3f6b;
  --blue-ink: #0b3358;
  --green: #6a9a3a;
  --green-dark: #2e7d32;
  --green-deep: #1b5e20;
  --ink: #1a2b22;
  --muted: #3e5346;
  --paper: #ffffff;
  --mist: #f3f7ef;
  --line: #dce8d4;
  --khaki: #e6e1c8;
  --shadow: 0 10px 30px rgba(16, 48, 28, 0.08);
  --header: 68px;
  --max: 1120px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --display: Montserrat, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

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

a {
  color: var(--blue-dark);
}

a:hover {
  color: var(--blue-deep);
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  background: #fff;
  color: var(--blue-deep);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

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

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

h1,
h2,
h3,
.btn,
.fire-ant-title,
.towns li {
  font-family: var(--display);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 7.4vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.keep {
  white-space: nowrap;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 14px;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
}

section[id] {
  scroll-margin-top: calc(var(--header) + 12px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

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

.header-inner {
  height: 100%;
  width: min(var(--max), calc(100% - 24px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 0 1 auto;
}

.brand img {
  height: 40px;
  width: auto;
  max-width: 100%;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bars {
  width: 18px;
  height: 14px;
  position: relative;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-deep);
  transition: transform 0.18s ease, top 0.18s ease, opacity 0.18s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

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

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

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

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px 16px 16px;
}

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

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--mist);
}

.site-nav a:hover {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  border: 2px solid transparent;
  line-height: 1;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue-dark);
  color: #fff;
}

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

.btn-green:hover {
  background: var(--green-deep);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--blue-dark);
}

.btn-light:hover {
  background: #eef6ff;
  color: var(--blue-deep);
}

.btn-header {
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
}

.call-full {
  display: none;
}

.hero {
  position: relative;
  color: #fff;
  background-color: #0c2c4a;
  background-image:
    linear-gradient(180deg, rgba(7, 26, 46, 0.84) 0%, rgba(7, 26, 46, 0.7) 46%, rgba(7, 26, 46, 0.5) 100%),
    url("../assets/hero.jpg");
  background-image:
    linear-gradient(180deg, rgba(7, 26, 46, 0.84) 0%, rgba(7, 26, 46, 0.7) 46%, rgba(7, 26, 46, 0.5) 100%),
    image-set(
      url("../assets/hero.webp") type("image/webp"),
      url("../assets/hero.jpg") type("image/jpeg")
    );
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero :focus-visible {
  outline-color: #fff;
}

.hero-inner {
  padding: 48px 0 56px;
  max-width: 40rem;
}

.hero .eyebrow {
  color: #d7efb4;
}

.hero h1 {
  color: #fff;
  margin-bottom: 14px;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.15rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 18px;
}

.hero-actions .btn {
  width: 100%;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b6de74;
  flex: none;
}

.section {
  padding: 64px 0;
}

.section-mist {
  background: var(--mist);
}

.section-head {
  margin-bottom: 28px;
}

.services {
  display: grid;
  gap: 14px;
}

.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 18px 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e7f3df;
  color: var(--green-deep);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

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

.service h3 {
  margin-bottom: 6px;
}

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

.fire-ant {
  margin-top: 22px;
  display: grid;
  gap: 16px;
  padding: 22px 20px;
  border-radius: 18px;
  background: var(--green-deep);
  color: #fff;
}

.fire-ant .eyebrow {
  color: #d7efb4;
}

.fire-ant-title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.fire-ant p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.94);
}

.fire-ant-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fire-ant-actions .btn {
  width: 100%;
}

.fire-ant :focus-visible {
  outline-color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.tailor {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 8px 0 0;
  padding: 0;
}

.tailor li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 18px 8px;
}

.tailor h3 {
  margin-bottom: 6px;
}

.tailor p {
  color: var(--muted);
}

.turf-grid,
.results-grid {
  display: grid;
  gap: 14px;
}

.turf-card,
.compare {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 18px 8px;
}

.turf-card h3 {
  color: var(--green-deep);
}

.turf-card p,
.compare p {
  color: var(--muted);
}

.compare {
  padding: 18px;
}

.compare h3 {
  margin-bottom: 12px;
}

.pair {
  display: grid;
  gap: 12px;
}

.yard-photo {
  margin: 0;
  position: relative;
}

.yard-photo img {
  width: 100%;
  height: min(72vw, 520px);
  object-fit: cover;
  object-position: center 45%;
}

.yard-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.shot {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #d5ddcf;
}

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.shot figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--green-deep);
}

.section-area {
  background: var(--green-deep);
  color: #fff;
}

.section-area .eyebrow {
  color: #d7efb4;
}

.section-area .lede {
  color: rgba(255, 255, 255, 0.92);
}

.area-details {
  margin-top: 18px;
}

.area-details summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--green-deep);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}

.area-details summary::-webkit-details-marker {
  display: none;
}

.area-details summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  flex: none;
}

.area-details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.area-details .towns {
  margin-top: 16px;
}

.towns {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
}

.towns li {
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  min-height: 96px;
  box-shadow: var(--shadow);
  color: inherit;
}

.contact-card:hover {
  border-color: var(--blue);
  color: inherit;
}

.contact-card .label {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
}

.contact-card .value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  letter-spacing: -0.02em;
  color: var(--blue-deep);
  overflow-wrap: anywhere;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.contact-actions .btn {
  width: 100%;
}

.site-footer {
  background: var(--blue-ink);
  color: #e7f0f8;
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 22px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px;
  line-height: 0;
}

.footer-brand img {
  height: 44px;
  width: auto;
}

.site-footer a {
  color: #fff;
}

.site-footer p,
.site-footer li {
  color: #d5e4f2;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.legal {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.95rem;
}

.page-404 {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding: 48px 0 64px;
}

.page-404 h1 {
  color: var(--blue-deep);
}

@media (min-width: 720px) {
  :root {
    --header: 76px;
  }

  .brand img {
    height: 52px;
  }

  .call-short {
    display: none;
  }

  .call-full {
    display: inline;
  }

  .btn-header {
    padding: 0 16px;
  }

  .services,
  .turf-grid,
  .tailor {
    grid-template-columns: 1fr 1fr;
  }

  .fire-ant {
    grid-template-columns: 1.4fr auto;
    align-items: center;
    padding: 28px 28px;
  }

  .fire-ant-actions .btn {
    width: auto;
  }

  .contact-grid,
  .contact-actions,
  .hero-actions {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions,
  .contact-actions,
  .contact-grid {
    display: grid;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: auto;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  :root {
    --header: 84px;
  }

  .brand img {
    height: 58px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 4px;
    margin-left: auto;
  }

  .site-nav a {
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    font-size: 0.98rem;
  }

  .header-actions {
    margin-left: 8px;
  }
}

@media (min-width: 980px) {
  .section {
    padding: 88px 0;
  }

  .hero-inner {
    padding: 88px 0 96px;
  }

  .services {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .tailor {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

  .pair {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-brand img {
    height: 52px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
