:root {
  --green: #2dcc3a;
  --green-dark: #1cab29;
  --green-soft: #effbf0;
  --ink: #1c2530;
  --text: #56616d;
  --muted: #7a8490;
  --line: #e5e9ed;
  --bg: #f6f8f9;
  --white: #ffffff;
  --dark: #111b25;
  --shadow: 0 16px 50px rgba(16, 28, 38, 0.08);
  --radius: 18px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transition: top 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 225, 230, 0.65);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(12, 24, 34, 0.08);
}

.utility-bar {
  border-bottom: 1px solid var(--line);
}

.utility-inner {
  min-height: 34px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: var(--text);
}

.utility-inner a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}

.utility-inner a:hover {
  color: var(--green-dark);
}

.utility-inner a span {
  color: var(--green);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -2.2px;
  line-height: 1;
  white-space: nowrap;
}

.brand span {
  font-size: 36px;
}

.brand strong {
  font-size: 35px;
  color: var(--green);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 800;
}

.primary-nav > a:not(.btn) {
  position: relative;
  padding: 28px 0 24px;
}

.primary-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.primary-nav > a:not(.btn):hover::after,
.primary-nav > a:not(.btn).active::after {
  transform: scaleX(1);
}

.primary-nav > a:not(.btn).active {
  color: var(--green-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(45, 204, 58, 0.18);
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 12px 28px rgba(45, 204, 58, 0.25);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.72);
  color: white;
  background: rgba(0, 0, 0, 0.14);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center 54%;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(12, 20, 27, 0.78) 0%,
      rgba(12, 20, 27, 0.63) 35%,
      rgba(12, 20, 27, 0.2) 70%,
      rgba(12, 20, 27, 0.08) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.22));
}

.hero-inner {
  padding-block: 86px;
}

.hero-copy {
  max-width: 680px;
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #77ed80;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.facts {
  position: relative;
  z-index: 2;
  background: white;
  border-bottom: 1px solid var(--line);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts-grid > div {
  min-height: 106px;
  padding: 23px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.facts-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.facts-grid strong {
  font-size: 19px;
  line-height: 1.2;
}

.facts-grid span {
  margin-top: 6px;
  color: var(--text);
  font-size: 13px;
}

.section {
  padding: 96px 0;
}

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

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.coverage-copy h2,
.summary-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  margin: 16px auto 0;
  color: var(--text);
  font-size: 17px;
}

.services {
  background: white;
}

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

.service-card {
  display: grid;
  grid-template-columns: minmax(210px, 42%) 1fr;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 40px rgba(17, 31, 43, 0.055);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 204, 58, 0.34);
  box-shadow: 0 20px 55px rgba(17, 31, 43, 0.1);
}

.service-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #eef2ef;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset -1px 0 0 rgba(15, 28, 37, 0.06);
}

.service-media img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.035);
}

.service-card:nth-child(1) .service-media img {
  object-position: 72% center;
}

.service-card:nth-child(2) .service-media img {
  object-position: 52% center;
}

.service-card:nth-child(3) .service-media img {
  object-position: 55% center;
}

.service-card:nth-child(4) .service-media img {
  object-position: center;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px 28px 28px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(45, 204, 58, 0.28);
  border-radius: 10px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 20px;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  margin-top: auto;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-card a span {
  transition: transform 0.2s ease;
}

.service-card a:hover span {
  transform: translateX(4px);
}

.about {
  background: #f5f7f8;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 78% center;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.about-copy .lead,
.contact-copy .lead {
  margin: 20px 0 14px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 600;
}

.about-copy > p:not(.eyebrow):not(.lead) {
  margin: 0 0 14px;
  color: var(--text);
}

.about-copy .btn {
  margin-top: 14px;
}

.coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
  background: var(--dark);
}

.coverage-media {
  min-height: 550px;
}

.coverage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coverage-panel {
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(45, 204, 58, 0.06), transparent 42%),
    var(--dark);
  color: white;
}

.coverage-copy {
  width: min(100% - 70px, 610px);
  margin: 0 auto;
  padding: 70px 0;
}

.coverage-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 22px;
}

.location-pills span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 13px;
  font-weight: 750;
}

.coverage-details {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 18px;
}

.coverage-details summary {
  cursor: pointer;
  color: #7aec83;
  font-weight: 800;
}

.coverage-details p {
  font-size: 14px !important;
}

.geo-summary {
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    url("assets/img/plans-bg.webp") center/cover no-repeat;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.summary-copy p:not(.eyebrow) {
  color: var(--text);
  font-size: 16px;
}

.summary-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.summary-card h3 {
  margin-top: 0;
  font-size: 24px;
}

.summary-card ul {
  margin: 0 0 26px;
  padding-left: 22px;
  color: var(--text);
}

.summary-card li + li {
  margin-top: 9px;
}

.faq {
  background: var(--bg);
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 22px 54px 22px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green-dark);
  font-size: 24px;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: -4px 24px 22px;
  color: var(--text);
  font-size: 15px;
}

.contact {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-list > a,
.contact-list > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-list > a > span,
.contact-list > div > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 900;
}

.contact-list small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
}

.contact-list strong {
  font-size: 15px;
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfc;
  box-shadow: 0 18px 50px rgba(16, 28, 38, 0.055);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label:not(.checkbox-row) {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce2e6;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 204, 58, 0.12);
}

.checkbox-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 5px 0 20px;
  color: var(--text);
  font-size: 12px;
}

.checkbox-row input {
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.submit-btn {
  width: 100%;
}

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.form-status.error {
  color: #c73535;
}

.site-footer {
  padding-top: 64px;
  background: #121c26;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 44px;
}

.brand-light span {
  color: white;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 18px;
  font-size: 14px;
}

.footer-grid h3 {
  margin: 0 0 16px;
  color: white;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid a,
.footer-grid span {
  margin-bottom: 8px;
  font-size: 13px;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: #76e77f;
}

.footer-bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1280px) and (min-width: 761px) {
  .service-grid {
    gap: 18px;
  }

  .service-card {
    grid-template-columns: 40% 1fr;
    min-height: 285px;
  }

  .service-media img {
    min-height: 285px;
  }

  .service-card-body {
    padding: 26px 24px 24px;
  }
}

@media (max-width: 1100px) {
  .primary-nav {
    gap: 20px;
  }

  .about-grid,
  .summary-grid,
  .contact-grid {
    gap: 42px;
  }
}

@media (max-width: 860px) {
  .utility-bar {
    display: none;
  }

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

  .brand span {
    font-size: 31px;
  }

  .brand strong {
    font-size: 30px;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    height: calc(100dvh - 72px);
    padding: 28px 20px 34px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.99);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.25s ease,
      visibility 0.25s ease;
  }

  .primary-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .primary-nav > a:not(.btn) {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav > a:not(.btn)::after {
    display: none;
  }

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

  .hero {
    min-height: 570px;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(10, 18, 25, 0.84),
      rgba(10, 18, 25, 0.56) 70%,
      rgba(10, 18, 25, 0.35)
    );
  }

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

  .facts-grid > div:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .facts-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 76px 0;
  }

  .about-grid,
  .summary-grid,
  .faq-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .faq-wrap {
    gap: 10px;
  }

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

  .coverage-media {
    min-height: 390px;
  }

  .coverage-panel {
    min-height: 0;
  }

  .coverage-copy {
    width: min(100% - 40px, var(--container));
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) and (min-width: 621px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 38% 1fr;
    min-height: 270px;
  }

  .service-media img {
    min-height: 270px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .hero {
    min-height: 610px;
  }

  .hero-inner {
    padding-block: 72px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-lead {
    font-size: 16px;
  }

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

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

  .facts-grid,
  .service-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .facts-grid > div {
    min-height: 88px;
    padding: 18px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .facts-grid > div:last-child {
    border-bottom: 0;
  }

  .service-grid {
    gap: 16px;
  }

  .service-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-media {
    height: 225px;
  }

  .service-media img {
    height: 100%;
    min-height: 0;
  }

  .service-card-body {
    padding: 24px 22px 25px;
  }

  .about-grid {
    gap: 45px;
  }

  .about-media::before {
    left: -10px;
    bottom: -10px;
  }

  .coverage-media {
    min-height: 300px;
  }

  .coverage-copy {
    width: min(100% - 30px, var(--container));
    padding: 58px 0;
  }

  .summary-card,
  .contact-form {
    padding: 24px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Brand assets */
.brand-image {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  letter-spacing: 0;
}

.brand-image img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 210px;
  object-fit: contain;
}

.site-footer .brand-image img {
  height: 58px;
  max-width: 225px;
}

/* Invisible honeypot for spam bots — kept in DOM but outside the viewport. */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.submit-btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

@media (max-width: 760px) {
  .brand-image img {
    height: 46px;
    max-width: 175px;
  }

  .site-footer .brand-image img {
    height: 52px;
    max-width: 200px;
  }
}

/* Legal pages */
.legal-page {
  background: var(--bg);
}

.legal-hero {
  padding: 54px 0 46px;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(45, 204, 58, 0.12),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #f6f8f9 100%);
  border-bottom: 1px solid var(--line);
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.legal-breadcrumbs a {
  color: var(--green-dark);
}

.legal-breadcrumbs span[aria-hidden="true"] {
  color: #a9b1b9;
}

.legal-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -2.6px;
}

.legal-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 17px;
}

.legal-shell {
  padding: 58px 0 86px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 42px;
  align-items: start;
}

.legal-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 58px);
  box-shadow: var(--shadow);
}

.legal-content > :first-child {
  margin-top: 0;
}

.legal-content h2 {
  margin: 44px 0 14px;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.7px;
}

.legal-content h3 {
  margin: 26px 0 8px;
  font-size: 19px;
}

.legal-content p,
.legal-content li {
  color: var(--text);
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 12px 0 20px;
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content strong {
  color: var(--ink);
}

.legal-note {
  margin: 26px 0 !important;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: var(--green-soft);
  color: var(--ink) !important;
}

.legal-meta {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 9px 18px;
  margin: 22px 0 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfc;
}

.legal-meta dt {
  font-weight: 800;
  color: var(--ink);
}

.legal-meta dd {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.legal-toc {
  position: sticky;
  top: 136px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.legal-toc strong {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
}

.legal-toc a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eef1f3;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.legal-toc a:last-child {
  border-bottom: 0;
}

.legal-toc a:hover {
  color: var(--green-dark);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}


.footer-credit {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  white-space: nowrap;
}

.checkbox-row a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 960px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 620px) {
  .legal-hero {
    padding: 38px 0 34px;
  }

  .legal-shell {
    padding: 34px 0 60px;
  }

  .legal-content {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .legal-meta {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .legal-meta dd + dt {
    margin-top: 10px;
  }
}

.contact-list-plain {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.contact-list-plain .contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.contact-list-plain .contact-item small {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}

.contact-list-plain .contact-item a,
.contact-list-plain .contact-item strong {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
  text-decoration: none;
}

.contact-list-plain .contact-item a {
  transition: color 0.2s ease;
}

.contact-list-plain .contact-item a:hover {
  color: var(--green);
}

/* =========================================================
   Responsive hardening – prevent horizontal overflow
   ========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Grid children must be allowed to shrink below intrinsic content width. */
.about-grid > *,
.summary-grid > *,
.faq-wrap > *,
.contact-grid > *,
.coverage > *,
.form-row > *,
.footer-grid > * {
  min-width: 0;
}

/* Two-column blocks must never grow beyond the viewport because of min-content sizing. */
.coverage {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.summary-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.faq-wrap {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

/* Long contact/form text must wrap instead of widening the page. */
.contact-copy,
.contact-form,
.contact-item,
.contact-item a,
.contact-item strong,
.footer-grid,
.footer-bottom {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Keep the anti-spam field accessible to the backend without positioning it 10,000 px off-screen. */
.hp-field {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hp-field input {
  width: 1px !important;
  min-width: 0 !important;
  min-height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

@media (max-width: 860px) {
  /* The old translateX(100%) menu doubled the document width on mobile.
     Keep the menu inside the viewport and reveal it with clipping instead. */
  .primary-nav {
    transform: none;
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    pointer-events: none;
    transition:
      clip-path 0.25s ease,
      opacity 0.18s ease,
      visibility 0.25s ease;
  }

  .primary-nav.open {
    transform: none;
    opacity: 1;
    clip-path: inset(0);
    pointer-events: auto;
  }

  .about-grid,
  .summary-grid,
  .faq-wrap,
  .contact-grid,
  .coverage {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .about-media,
  .about-copy {
    width: 100%;
    max-width: 100%;
  }

  .about-media img {
    width: 100%;
    height: 420px;
  }

  .coverage-media,
  .coverage-panel,
  .coverage-copy {
    min-width: 0;
    max-width: 100%;
  }

  .contact-form {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .about-media img {
    height: 380px;
  }

  .contact-form,
  .summary-card {
    padding: 20px;
  }
}


/* =========================================================
   Mobile navigation v2 – viewport anchored after scrolling
   ========================================================= */
@media (max-width: 860px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .primary-nav {
    position: fixed !important;
    top: var(--mobile-nav-top, 72px) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 999;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 22px max(20px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.995);
    transform: none !important;
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 0 100%);
    pointer-events: none;
    transition:
      clip-path 0.25s ease,
      opacity 0.18s ease,
      visibility 0.25s ease;
  }

  .primary-nav.open {
    transform: none !important;
    opacity: 1;
    visibility: visible;
    clip-path: inset(0);
    pointer-events: auto;
  }
}

/* =========================================================
   Mobile navigation v3 – header always visible above menu
   ========================================================= */
@media (max-width: 860px) {
  html {
    scroll-padding-top: 82px;
  }

  /* Sticky + body scroll lock is unreliable in some mobile browsers.
     Use a real viewport-fixed header on mobile and preserve its space
     in the document with matching body padding. */
  body {
    padding-top: 72px;
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 2000 !important;
  }

  /* The menu is mounted under <body>, therefore it sits directly
     below the fixed 72 px mobile header. */
  .primary-nav {
    top: var(--mobile-nav-top, 72px) !important;
    z-index: 1999 !important;
  }
}
