:root {
  --primary-blue: #1b2b48;
  --accent-green: #4caf50;
  --bg-light: #f4f7f6;
  --text-main: #333333;
  --white: #ffffff;

  --ribbon-height: 40px;
  --header-height: 72px;
  --header-total: calc(var(--ribbon-height) + var(--header-height));
  --radius: 14px;
  --shadow-sm: 0 6px 18px rgba(27, 43, 72, 0.12);
  --shadow-xs: 0 3px 10px rgba(27, 43, 72, 0.12);
  --maxw: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-total) + 16px);
}

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

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.55;
}

/* Lock background scroll when mobile nav is open */
body[data-nav-open="true"] {
  overflow: hidden;
  overscroll-behavior: none;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container {
  width: min(var(--maxw), calc(100% - 40px));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--white);
  color: var(--primary-blue);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-xs);
  z-index: 9999;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(27, 43, 72, 0.08);
  box-shadow: var(--shadow-xs);
}

/* Ribbon above nav: phone + socials (scrolls with header) */
.header-ribbon {
  background: var(--primary-blue);
  color: var(--white);
  min-height: var(--ribbon-height);
  display: flex;
  align-items: center;
}

.header-ribbon-inner {
  width: min(var(--maxw), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 8px 0;
}

.header-ribbon-spacer {
  flex: 1;
}

.header-ribbon-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-ribbon-social {
  color: var(--white);
  padding: 4px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-ribbon-social:hover:not([aria-disabled="true"]) {
  background: rgba(255, 255, 255, 0.12);
}
.header-ribbon-social[aria-disabled="true"] {
  opacity: 0.6;
  cursor: default;
}

.header-ribbon-icon {
  display: block;
}

.header-ribbon-phone {
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(76, 175, 80, 0.9);
  white-space: nowrap;
}
.header-ribbon-phone:hover {
  background: var(--accent-green);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  border-radius: 999px;
  background: transparent;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--primary-blue);
}

.brand-sub {
  font-weight: 600;
  color: rgba(27, 43, 72, 0.78);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: var(--white);
  border: 1px solid rgba(27, 43, 72, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.nav-toggle:focus-visible,
.nav-link:focus-visible,
.nav-cta:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.header-ribbon-social:focus-visible,
.header-ribbon-phone:focus-visible {
  outline: 3px solid rgba(76, 175, 80, 0.55);
  outline-offset: 2px;
}

.nav-toggle-bars {
  display: inline-block;
  width: 20px;
  height: 14px;
  background: linear-gradient(
    to bottom,
    var(--primary-blue) 0 2px,
    transparent 2px 6px,
    var(--primary-blue) 6px 8px,
    transparent 8px 12px,
    var(--primary-blue) 12px 14px
  );
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link.is-active {
  background: transparent;
}

.nav-dropdown.is-active > summary {
  background: transparent;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-link-summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-link-summary::after {
  content: "▾";
  font-size: 0.9em;
  opacity: 0.75;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid rgba(27, 43, 72, 0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 8px;
  max-height: 70vh;
  overflow: auto;
  display: none;
  z-index: 1200;
}

.nav-dropdown[open] .nav-dropdown-menu {
  display: grid;
  gap: 2px;
}

.nav-dropdown-link {
  padding: 10px 10px;
  border-radius: 10px;
  font-weight: 700;
  color: rgba(27, 43, 72, 0.9);
  text-decoration: none !important;
}

.nav-dropdown-link:hover {
  background: rgba(27, 43, 72, 0.06);
}

.nav-dropdown-all {
  background: rgba(76, 175, 80, 0.12);
}

.nav-dropdown-section {
  display: grid;
  gap: 2px;
  padding-top: 6px;
  margin-top: 6px;
  border-top: 1px solid rgba(27, 43, 72, 0.08);
}

.nav-dropdown-heading {
  margin: 0;
  padding: 6px 10px 4px;
  font-weight: 900;
  color: rgba(27, 43, 72, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.nav-link {
  font-weight: 600;
  color: rgba(27, 43, 72, 0.88);
  text-decoration: none !important;
  padding: 10px 8px;
  border-radius: 10px;
}

.nav-link:hover {
  background: rgba(27, 43, 72, 0.06);
}

/* Desktop active nav treatment: underline + bolder weight */
@media (min-width: 721px) {
  .nav-link,
  .nav-dropdown > summary {
    position: relative;
  }

  .nav-link::after,
  .nav-dropdown > summary::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 4px;
    height: 5px;
    border-radius: 999px;
    background: var(--accent-green);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.38);
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 160ms ease, transform 160ms ease;
    pointer-events: none;
  }

  .nav-link:hover::after,
  .nav-dropdown > summary:hover::after {
    opacity: 0.65;
    transform: translateY(0);
  }

  .nav-link.is-active,
  .nav-dropdown.is-active > summary {
    font-weight: 800;
    color: rgba(27, 43, 72, 0.98);
  }

  .nav-link.is-active::after,
  .nav-dropdown.is-active > summary::after {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  background: var(--accent-green);
  color: var(--white);
  /* Match primary CTA "lift" styling */
  box-shadow:
    0 8px 16px rgba(27, 43, 72, 0.22),
    0 2px 6px rgba(27, 43, 72, 0.14);
  text-decoration: none !important;
  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(0.99);
  box-shadow:
    0 12px 22px rgba(27, 43, 72, 0.26),
    0 4px 10px rgba(27, 43, 72, 0.16);
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow:
    0 6px 12px rgba(27, 43, 72, 0.20),
    0 2px 6px rgba(27, 43, 72, 0.14);
}

main {
  padding-top: var(--header-total);
}

/* Home hero: revert to comfortable, non-fullscreen layout */
.section.hero {
  padding: 76px 0;
}

.section {
  padding: 76px 0;
}

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

.band {
  padding: 0 0 54px;
  margin-top: -38px;
  position: relative;
  z-index: 2;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.band-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(27, 43, 72, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 16px 16px;
}

.band-title {
  margin: 0 0 6px;
  font-weight: 900;
  color: var(--primary-blue);
  letter-spacing: -0.015em;
}

.band-body {
  margin: 0;
  color: rgba(51, 51, 51, 0.84);
}

.section-header {
  max-width: 720px;
}

.section-header h2 {
  color: var(--primary-blue);
  font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.2rem);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: rgba(51, 51, 51, 0.85);
  font-size: 1.05rem;
}

.page-hero {
  background: linear-gradient(
    180deg,
    rgba(27, 43, 72, 0.06),
    rgba(244, 247, 246, 0)
  );
  min-height: calc(100vh - var(--header-total));
  min-height: calc(100svh - var(--header-total));
  padding: 0;
  display: flex;
  align-items: center;
}

.page-hero .container {
  padding: 58px 0;
}

body[data-page="locations"] .page-hero {
  background-image: url("/assets/location-hero.png");
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}

body[data-page="locations"] .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(27, 43, 72, 0.78),
    rgba(27, 43, 72, 0.25)
  );
  pointer-events: none;
}

body[data-page="locations"] .page-hero .container {
  position: relative;
  z-index: 1;
}

body[data-page="locations"] .page-title {
  color: var(--white);
}

body[data-page="locations"] .page-lede {
  color: rgba(255, 255, 255, 0.86);
}

body[data-page="locations"] .breadcrumbs {
  color: rgba(255, 255, 255, 0.82);
}

body[data-page="locations"] .breadcrumbs-link {
  color: rgba(255, 255, 255, 0.92);
}

body[data-page="locations"] .eyebrow-dark {
  color: rgba(255, 255, 255, 0.86);
}

body[data-page="locations"] .eyebrow-dark::before {
  box-shadow: 0 10px 22px rgba(76, 175, 80, 0.35);
}

body[data-page="locations"] .btn-on-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

body[data-page="locations"] .btn-on-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.breadcrumbs {
  display: none;
}

body[data-page="services"] .page-hero {
  background-image: url("/assets/services-hero.png");
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}

body[data-page="services"] .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(27, 43, 72, 0.72),
    rgba(27, 43, 72, 0.18)
  );
  pointer-events: none;
}

body[data-page="services"] .page-hero .container {
  position: relative;
  z-index: 1;
}

body[data-page="services"] .page-title {
  color: var(--white);
}

body[data-page="services"] .page-lede {
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="services"] .eyebrow-dark {
  color: rgba(255, 255, 255, 0.86);
}

body[data-page="about"] .page-hero {
  background-image: url("/assets/about-hero.png");
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}

body[data-page="about"] .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(27, 43, 72, 0.78),
    rgba(27, 43, 72, 0.18)
  );
  pointer-events: none;
}

body[data-page="about"] .page-hero .container {
  position: relative;
  z-index: 1;
}

body[data-page="about"] .page-title {
  color: var(--white);
}

body[data-page="about"] .page-lede {
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="about"] .eyebrow-dark {
  color: rgba(255, 255, 255, 0.86);
}

body[data-page="contact"] .page-hero {
  background-image: url("/assets/contact-hero.png");
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}

body[data-page="contact"] .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(27, 43, 72, 0.78),
    rgba(27, 43, 72, 0.18)
  );
  pointer-events: none;
}

body[data-page="contact"] .page-hero .container {
  position: relative;
  z-index: 1;
}

body[data-page="contact"] .page-title {
  color: var(--white);
}

body[data-page="contact"] .page-lede {
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="contact"] .eyebrow-dark {
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow-dark {
  color: rgba(27, 43, 72, 0.82);
}

.eyebrow-dark::before {
  background: var(--accent-green);
  box-shadow: 0 10px 22px rgba(76, 175, 80, 0.25);
}

.page-title {
  margin: 0 0 10px;
  color: var(--primary-blue);
  font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-lede {
  margin: 0;
  color: rgba(51, 51, 51, 0.86);
  font-size: 1.08rem;
  max-width: 70ch;
}

.hero {
  background: linear-gradient(135deg, var(--primary-blue), #0f1c33);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    closest-side,
    rgba(76, 175, 80, 0.35),
    rgba(76, 175, 80, 0)
  );
  transform: rotate(20deg);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent-green);
  box-shadow: 0 10px 22px rgba(76, 175, 80, 0.35);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-lede {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}

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

.btn-primary {
  background: var(--accent-green);
  color: var(--white);
  /* "Lift" shadow: closer + darker for a pop */
  box-shadow:
    0 8px 16px rgba(27, 43, 72, 0.22),
    0 2px 6px rgba(27, 43, 72, 0.14);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 22px rgba(27, 43, 72, 0.26),
    0 4px 10px rgba(27, 43, 72, 0.16);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 6px 12px rgba(27, 43, 72, 0.20),
    0 2px 6px rgba(27, 43, 72, 0.14);
}

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

.btn-on-light {
  color: var(--primary-blue);
  border-color: rgba(27, 43, 72, 0.18);
  background: transparent;
}

.btn-on-light:hover {
  background: rgba(27, 43, 72, 0.06);
}

.hero-bullets {
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-media {
  display: grid;
  gap: 14px;
}

.hero-image {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 320px;
  display: block;
  position: relative;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 70% 50%;
  display: block;
  transform: translateZ(0);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 43, 72, 0.12),
    rgba(76, 175, 80, 0.10)
  );
  pointer-events: none;
}

.trust-strip {
  display: grid;
  gap: 10px;
}

.trust-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 14px 14px;
}

.trust-kicker {
  display: block;
  font-weight: 800;
  margin-bottom: 2px;
}

.trust-body {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.cards {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--bg-light);
  border: 1px solid rgba(27, 43, 72, 0.08);
  border-radius: var(--radius);
  padding: 18px 18px;
  box-shadow: 0 1px 0 rgba(27, 43, 72, 0.04);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(76, 175, 80, 0.12);
  color: var(--primary-blue);
  font-size: 20px;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 6px;
  color: var(--primary-blue);
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: rgba(51, 51, 51, 0.86);
}

.section-cta {
  margin-top: 22px;
}

.subsection {
  margin-top: 34px;
  border-top: 1px solid rgba(27, 43, 72, 0.08);
  padding-top: 26px;
}

.subsection-header h3 {
  margin: 0 0 6px;
  color: var(--primary-blue);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.subsection-header p {
  margin: 0;
  color: rgba(51, 51, 51, 0.84);
  max-width: 68ch;
}

/* Privacy policy page content */
.policy-prose {
  max-width: 680px;
}

.policy-title {
  margin: 0 0 0.25em;
  color: var(--primary-blue);
  font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.2rem);
  letter-spacing: -0.02em;
}

.policy-updated {
  margin: 0 0 1.5em;
  font-size: 0.95rem;
  color: rgba(51, 51, 51, 0.7);
}

.policy-prose h2 {
  color: var(--primary-blue);
  font-size: 1.35rem;
  margin: 1.5em 0 0.5em;
  letter-spacing: -0.02em;
}

.policy-prose h2:first-of-type {
  margin-top: 0;
}

.policy-prose p {
  margin: 0 0 1em;
  color: rgba(51, 51, 51, 0.9);
  line-height: 1.6;
}

.policy-prose ul {
  margin: 0 0 1em;
  padding-left: 1.5em;
  color: rgba(51, 51, 51, 0.9);
  line-height: 1.6;
}

.policy-prose li {
  margin-bottom: 0.5em;
}

.policy-prose a {
  color: var(--primary-blue);
  font-weight: 600;
}

.policy-prose a:hover {
  text-decoration: underline;
}

.pest-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pest-card {
  background: rgba(244, 247, 246, 0.9);
  border: 1px solid rgba(27, 43, 72, 0.08);
  border-radius: var(--radius);
  padding: 14px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pest-card:hover {
  background: rgba(244, 247, 246, 1);
  border-color: rgba(27, 43, 72, 0.12);
}

.pest-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(76, 175, 80, 0.12);
  color: var(--primary-blue);
  font-size: 20px;
  flex: 0 0 auto;
}

.pest-name {
  margin: 0;
  font-weight: 800;
  color: rgba(27, 43, 72, 0.92);
}

/* Clickable pest "tiles" (used on contact form) */
.pest-grid-form {
  grid-template-columns: 1fr 1fr;
}

.pest-card-check {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.pest-card-check::after {
  content: "✓";
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--accent-green);
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.25);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 140ms ease, transform 140ms ease;
}

.pest-card-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.pest-card-check:focus-within {
  outline: 3px solid rgba(76, 175, 80, 0.55);
  outline-offset: 2px;
}

.pest-card-check[data-checked="true"] {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(76, 175, 80, 0.35);
  box-shadow: 0 10px 20px rgba(27, 43, 72, 0.08);
}

.pest-card-check[data-checked="true"]::after {
  opacity: 1;
  transform: scale(1);
}

.subsection-cta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.plan-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-light);
  border: 1px solid rgba(27, 43, 72, 0.1);
  border-radius: var(--radius);
  padding: 16px 16px;
  box-shadow: 0 1px 0 rgba(27, 43, 72, 0.04);
  display: flex;
  flex-direction: column;
}

.plan-card-featured {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(76, 175, 80, 0.35);
  box-shadow: var(--shadow-sm);
}

.plan-badge {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  color: rgba(27, 43, 72, 0.84);
  background: rgba(27, 43, 72, 0.08);
  width: fit-content;
}

.plan-badge-featured {
  background: rgba(76, 175, 80, 0.16);
  color: rgba(27, 43, 72, 0.92);
}

.plan-title {
  margin: 0 0 10px;
  color: var(--primary-blue);
  letter-spacing: -0.015em;
  font-size: 1.15rem;
}

.plan-list {
  margin: 0 0 14px;
  padding-left: 18px;
  color: rgba(51, 51, 51, 0.86);
  display: grid;
  gap: 6px;
}

.plan-cta {
  margin-top: auto;
  align-self: flex-start;
}

.section-cta-inner {
  border-radius: var(--radius);
  padding: 18px 18px;
  background: linear-gradient(135deg, rgba(27, 43, 72, 0.06), rgba(76, 175, 80, 0.1));
  border: 1px solid rgba(27, 43, 72, 0.08);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.section-cta-title {
  margin: 0;
  font-weight: 800;
  color: var(--primary-blue);
}

.section-cta-body {
  margin: 0;
  color: rgba(51, 51, 51, 0.84);
  max-width: 56ch;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.about-points {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.about-point {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(27, 43, 72, 0.08);
  border-radius: var(--radius);
  padding: 16px 16px;
}

.about-point h3 {
  margin: 0 0 6px;
  color: var(--primary-blue);
}

.about-point p {
  margin: 0;
  color: rgba(51, 51, 51, 0.86);
}

.about-panel {
  position: sticky;
  top: calc(var(--header-total) + 18px);
}

.about-panel-inner {
  background: var(--white);
  border: 1px solid rgba(27, 43, 72, 0.1);
  border-radius: var(--radius);
  padding: 18px 18px;
  box-shadow: var(--shadow-sm);
}

.about-panel-inner h3 {
  margin: 0 0 10px;
  color: var(--primary-blue);
}

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

.checklist li {
  padding-left: 28px;
  position: relative;
  color: rgba(51, 51, 51, 0.86);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-green);
  font-weight: 900;
}

.about-panel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.contact-card {
  background: var(--bg-light);
  border: 1px solid rgba(27, 43, 72, 0.08);
  border-radius: var(--radius);
  padding: 14px 14px;
}

.contact-label {
  margin: 0 0 6px;
  font-weight: 800;
  color: var(--primary-blue);
}

.contact-card .contact-link {
  display: block;
  font-weight: 800;
  color: var(--primary-blue);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-help,
.contact-text {
  margin: 6px 0 0;
  color: rgba(51, 51, 51, 0.84);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid rgba(27, 43, 72, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  padding: 18px 18px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.form-row-2 {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  font-weight: 700;
  color: rgba(27, 43, 72, 0.92);
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  border-radius: 12px;
  border: 1px solid rgba(27, 43, 72, 0.16);
  padding: 12px 12px;
  font: inherit;
  background: var(--bg-light);
}

textarea {
  resize: vertical;
}

.pest-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.pest-fieldset legend {
  font-weight: 700;
  color: rgba(27, 43, 72, 0.92);
  margin-bottom: 8px;
}

.pest-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.pest-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: rgba(27, 43, 72, 0.92);
}

.pest-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.pest-other {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.form-help {
  margin: 0;
  color: rgba(51, 51, 51, 0.74);
  font-size: 0.95rem;
}

.form-status {
  margin: 10px 0 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 12px;
  padding: 10px 12px;
  display: none;
}

.form-status[data-visible="true"] {
  display: block;
}

.footer {
  padding: 22px 0;
  background: rgba(27, 43, 72, 0.06);
  border-top: 1px solid rgba(27, 43, 72, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-inner-centered {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(27, 43, 72, 0.1);
  box-shadow: var(--shadow-xs);
  text-decoration: none !important;
  color: rgba(27, 43, 72, 0.9);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.92);
}

.social-link.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.social-sep {
  width: 1px;
  height: 22px;
  background: rgba(27, 43, 72, 0.12);
}

.footer-copy {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(27, 43, 72, 0.68);
}

.footer-links {
  margin: 0;
  font-size: 0.85rem;
}

.footer-links a {
  color: rgba(27, 43, 72, 0.78);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links a:hover {
  color: var(--primary-blue);
}

.footer p {
  margin: 0;
  color: rgba(27, 43, 72, 0.78);
  font-weight: 600;
}

.footer-link {
  color: var(--primary-blue);
  font-weight: 800;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.two-col-aside .about-panel-inner {
  box-shadow: var(--shadow-sm);
}

.location-groups {
  display: grid;
  gap: 22px;
}

.location-group-title {
  margin: 0 0 10px;
  color: var(--primary-blue);
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}

.location-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.location-card {
  display: grid;
  gap: 4px;
  padding: 14px 14px;
  border-radius: var(--radius);
  background: var(--bg-light);
  border: 1px solid rgba(27, 43, 72, 0.08);
  text-decoration: none !important;
}

.location-card:hover {
  background: rgba(244, 247, 246, 1);
  border-color: rgba(27, 43, 72, 0.12);
}

.location-name {
  font-weight: 900;
  color: var(--primary-blue);
}

.location-sub {
  color: rgba(51, 51, 51, 0.82);
}

.breadcrumbs {
  margin: 0 0 10px;
  color: rgba(27, 43, 72, 0.74);
  font-weight: 700;
}

.breadcrumbs-link {
  color: rgba(27, 43, 72, 0.86);
}

.location-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.location-aside {
  position: sticky;
  top: calc(var(--header-total) + 18px);
}

.location-aside-inner {
  background: var(--white);
  border: 1px solid rgba(27, 43, 72, 0.1);
  border-radius: var(--radius);
  padding: 18px 18px;
  box-shadow: var(--shadow-sm);
}

.location-aside-inner h3 {
  margin: 0 0 10px;
  color: var(--primary-blue);
}

.location-aside-inner p {
  margin: 0 0 12px;
  color: rgba(51, 51, 51, 0.84);
}

.location-aside-help {
  margin: 10px 0 0;
  color: rgba(51, 51, 51, 0.78);
}

.mini-cards {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-card {
  background: rgba(244, 247, 246, 0.9);
  border: 1px solid rgba(27, 43, 72, 0.08);
  border-radius: var(--radius);
  padding: 14px 14px;
}

.mini-title {
  margin: 0 0 6px;
  font-weight: 900;
  color: var(--primary-blue);
}

.mini-body {
  margin: 0;
  color: rgba(51, 51, 51, 0.84);
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-panel {
    position: static;
  }

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

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

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

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

  .two-col,
  .location-content {
    grid-template-columns: 1fr;
  }

  .location-aside {
    position: static;
  }

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

  .mini-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --ribbon-height: 36px;
    --header-height: 68px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .hero-photo {
    object-position: 62% 50%;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: calc(var(--header-total) + 10px);
    right: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(27, 43, 72, 0.1);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    /* Allow menu itself to scroll on small screens */
    max-height: calc(100svh - var(--header-total) - 24px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: unset;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    display: none;
    /* Don't create an inner scroll area on mobile */
    max-height: none;
    overflow: visible;
  }

  .nav-dropdown[open] .nav-dropdown-menu {
    display: grid;
    gap: 2px;
  }

  .nav-link-summary::after {
    margin-left: auto;
  }

  .nav-link {
    padding: 12px 12px;
  }

  .nav-cta {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

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

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

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