:root {
  --ink-950: #1a1a2e;
  --ink-700: #3a3a52;
  --ink-500: #6e6e82;
  --paper: #fafaf5;
  --white: #ffffff;
  --line: #e0ddd5;
  --brand-900: #1a1a2e;
  --brand-700: #2d2d44;
  --brand-500: #52526e;
  --accent: #2d6a4f;
  --accent-strong: #1b4d38;
  --ok: #2d6a4f;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(26, 26, 46, 0.09);
  --container: 1180px;

  /* Spacing system — 4px base scale */
  --sp-1: 0.25rem;   /* 4px */
  --sp-2: 0.5rem;    /* 8px */
  --sp-3: 0.75rem;   /* 12px */
  --sp-4: 1rem;      /* 16px */
  --sp-5: 1.25rem;   /* 20px */
  --sp-6: 1.5rem;    /* 24px */
  --sp-8: 2rem;      /* 32px */
  --sp-10: 2.5rem;   /* 40px */
  --sp-12: 3rem;     /* 48px */
  --sp-16: 4rem;     /* 64px */
  --sp-20: 5rem;     /* 80px */
  --sp-24: 6rem;     /* 96px */

  /* Semantic spacing tokens */
  --section-y: var(--sp-16);
  --section-y-lg: var(--sp-20);
  --card-pad: var(--sp-5);
  --card-gap: var(--sp-6);
  --grid-gap: var(--sp-6);
  --head-mb: var(--sp-5);
  --text-stack: var(--sp-3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink-950);
  line-height: 1.62;
  font-size: 1.02rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  font-family: "Sora", "Manrope", sans-serif;
  color: var(--brand-900);
}

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

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

.container {
  width: min(100% - 1.5rem, var(--container));
  margin: 0 auto;
}

.section {
  padding: var(--section-y) 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: #fff;
  z-index: 120;
}

.breadcrumb {
  padding: 0.9rem 0 1.2rem;
  font-size: 0.94rem;
  color: var(--ink-500);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 0.45rem;
  color: var(--ink-500);
}

.breadcrumb a {
  color: var(--ink-700);
}

/* Global focus-visible for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.phone-pill:focus-visible,
.floating-call:focus-visible,
.nav-list a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Remove default outline when not keyboard-focused */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

.topline {
  background: var(--brand-900);
  color: #e7eef8;
  font-size: 0.86rem;
}

.topline .container {
  padding: 0.45rem 0;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(26, 26, 46, 0.08);
  background: rgba(250, 250, 245, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.72rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand-mark {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 10px;
  background: var(--brand-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-size: 0.96rem;
}

.brand-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-500);
}

.nav-toggle {
  border: 1px solid #ccd8e6;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  font: inherit;
  background: #fff;
  color: var(--brand-900);
  font-weight: 700;
}

.nav {
  position: absolute;
  inset: 100% 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: none;
}

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

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.3rem 0;
}

.nav-list a {
  display: block;
  padding: 0.75rem;
  border-radius: 10px;
  margin: 0.15rem 0;
  font-weight: 700;
  color: var(--ink-700);
}

.nav-list a:hover {
  background: #edf3fb;
  color: var(--brand-900);
}

.phone-pill {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.52rem 0.72rem;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(45, 106, 79, 0.20);
  white-space: nowrap;
  font-size: 0.82rem;
  flex-shrink: 0;
}

@media (min-width: 760px) {
  .phone-pill {
    display: inline-flex;
    padding: 0.62rem 0.92rem;
    font-size: 0.92rem;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  color: #f2f2ec;
  background-image:
    linear-gradient(120deg, rgba(26, 26, 46, 0.94), rgba(26, 26, 46, 0.8) 44%, rgba(26, 26, 46, 0.55)),
    image-set(
      url("../images/hero.webp") type("image/webp"),
      url("../images/hero.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 86% 14%, rgba(45, 106, 79, 0.16), transparent 34%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 2.4rem 0 3rem;
}

.breadcrumb + .hero .container {
  padding-top: 2.9rem;
}

.hero-grid {
  display: grid;
  gap: 1.1rem;
}

.hero .kicker {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.05rem, 7.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.hero p {
  margin: 1.05rem 0 0;
  max-width: 62ch;
  font-size: 1.08rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
  margin-top: 1rem;
}

.badge {
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.11);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 1.15rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.16rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-family: "Sora", "Manrope", sans-serif;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(45, 106, 79, 0.22);
}

.btn-primary:hover {
  background: var(--accent-strong);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(27, 77, 56, 0.28);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.hero-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink-950);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid rgba(20, 62, 104, 0.16);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.22rem;
}

.hero-card ul {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero-card li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--ink-700);
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--ok);
}

.strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.strip-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.strip-item {
  background: #fff;
  padding: 0.92rem;
}

.strip-item strong {
  display: block;
  font-size: 1.01rem;
  margin-bottom: 0.2rem;
}

.lead,
.card,
.faq-item,
.process,
.zone,
.offer,
.proof,
.local-nav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(16, 24, 36, 0.05);
}

.offer p,
.process p,
.proof p,
.zone p,
.faq-item p,
.local-nav p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.faq-item {
  cursor: default;
}

.faq-item h3 {
  color: var(--brand-900);
}

figure figcaption {
  font-size: 0.92rem;
}

.section-head {
  margin-bottom: var(--head-mb);
}

.section-head h2 {
  max-width: 22ch;
  margin-top: 0;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
}

.section-head .kicker {
  margin: 0 0 var(--sp-4);
}

.section-head p:not(.kicker) {
  margin: 0.7rem 0 0;
  color: var(--ink-700);
  max-width: 68ch;
}

.grid-2,
.grid-3,
.offers,
.process-grid,
.proofs,
.zones,
.local-links,
.faq,
.footer-grid {
  display: grid;
  gap: var(--grid-gap);
}

.offer,
.process,
.proof,
.zone,
.local-nav,
.faq-item,
.card {
  padding: var(--card-pad);
  overflow: hidden;
}

.offer picture,
.card picture {
  margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) var(--card-pad) calc(-1 * var(--card-pad));
  display: block;
}

.offer img,
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.zone picture,
.proof picture {
  margin: var(--card-gap) 0 0;
  display: block;
}

.zone img,
.proof img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

figure.card {
  padding: 0;
  overflow: hidden;
}

figure.card picture {
  margin: 0;
}

figure.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
}

figure.card figcaption {
  padding: 1rem 1.15rem;
}

@media (min-width: 760px) {
  .offer img,
  .card img {
    height: 180px;
  }

  .zone img,
  .proof img {
    height: 220px;
  }

  .grid-2 {
    align-items: start;
  }

  #zone .grid-2 .zone,
  #zone .grid-2 .proof {
    display: flex;
    flex-direction: column;
  }

  #zone .grid-2 .zone picture,
  #zone .grid-2 .proof picture {
    margin-top: auto;
  }
}

.offer h3,
.process h3,
.proof h3,
.zone h3,
.faq-item h3,
.local-nav h3 {
  font-size: 1.08rem;
  margin-bottom: var(--text-stack);
}

.zone h2,
.proof h2 {
  font-size: 1.3rem;
  margin-bottom: var(--text-stack);
}

.zone p,
.proof p {
  margin-bottom: var(--text-stack);
}

.proof p strong {
  display: inline-block;
  margin-top: 0.15rem;
}

.kicker {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.10);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.cta-band {
  background: var(--brand-900);
  color: #eef2f1;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.45rem;
}

.cta-band p {
  margin: 0;
}

.form-wrap {
  padding: 1rem;
}

.form-wrap h2 {
  margin-bottom: 0.35rem;
}

.form-intro {
  margin-top: 0;
  color: var(--ink-700);
}

.lead-form {
  display: grid;
  gap: 0.72rem;
}

label {
  display: block;
  font-weight: 700;
  color: var(--brand-900);
  margin-bottom: 0.22rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #bfd0e3;
  border-radius: 10px;
  padding: 0.78rem 0.82rem;
  font: inherit;
  color: var(--ink-950);
  background: #fff;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(47, 110, 160, 0.24);
  border-color: var(--brand-700);
}

.status {
  min-height: 1.3rem;
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
}

.status.ok {
  color: var(--ok);
}

.status.err {
  color: #b42318;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.link-list {
  margin-top: var(--sp-3);
}

.link-list a {
  color: var(--brand-700);
  font-weight: 700;
}

.link-list a:hover {
  text-decoration: underline;
}

.footer {
  margin-top: 3.5rem;
  background: var(--ink-950);
  color: #e6ecf4;
  padding: 2.4rem 0 5rem;
}

.footer h4 {
  color: #fff;
  margin-bottom: 0.45rem;
}

.footer p {
  margin: 0.35rem 0;
}

.footer a {
  color: #fff;
  font-weight: 700;
}

.legal {
  border-top: 1px solid rgba(230, 236, 244, 0.17);
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  font-size: 0.83rem;
  color: rgba(230, 236, 244, 0.9);
}

.floating-call,
.sticky-mobile-bar {
  position: fixed;
  z-index: 110;
}

.floating-call {
  display: none;
  right: 0.75rem;
  bottom: 4.25rem;
  padding: 0.65rem 0.92rem;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(45, 106, 79, 0.26);
}

.sticky-mobile-bar {
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0.65rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.sticky-mobile-bar a {
  padding: 0.64rem 0.5rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sticky-mobile-bar a:first-child {
  background: var(--accent);
  color: #ffffff;
}

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

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

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal,
  .reveal.is-visible,
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 760px) {
  .container {
    width: min(100% - 2.2rem, var(--container));
  }

  .hero .container {
    padding: 3.1rem 0 3.4rem;
  }

  .breadcrumb + .hero .container {
    padding-top: 3.6rem;
  }

  .hero-grid,
  .grid-2,
  .strip-grid,
  .footer-grid,
  .local-links,
  .faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offers,
  .zones,
  .process-grid,
  .proofs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav {
    position: static;
    display: block;
    background: transparent;
    border: 0;
  }

  .nav-list {
    display: flex;
    gap: 0.2rem;
    padding: 0;
  }

  .nav-list a {
    margin: 0;
    padding: 0.45rem 0.68rem;
  }

  .floating-call {
    display: inline-flex;
    right: 1rem;
    bottom: 1rem;
  }

  .nav-toggle,
  .sticky-mobile-bar {
    display: none;
  }
}

@media (min-width: 1040px) {
  .section {
    padding: var(--section-y-lg) 0;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 1.2rem;
  }

  .hero {
    min-height: 84vh;
    display: grid;
    align-items: center;
  }
}

.contact-phone {
  font-size: 1.5rem;
  font-weight: 800;
  margin: var(--text-stack) 0;
}

.contact-phone a {
  color: var(--brand-900);
}

.contact-meta {
  font-size: 0.92rem;
  color: var(--ink-500);
  margin-top: var(--sp-4);
}

figure.card {
  margin: 0;
}

/* Form status animation */
@keyframes statusFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.status.ok {
  color: var(--ok);
  font-weight: 600;
  padding: 0.6rem 0;
}

.status.err {
  color: #c0392b;
  font-weight: 500;
  padding: 0.6rem 0;
}

/* Print styles */
@media print {
  .topline,
  .site-header,
  .nav-toggle,
  .floating-call,
  .sticky-mobile-bar,
  .lead-form,
  .form-wrap,
  .skip-link,
  .btn-primary,
  .btn-secondary {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.9em;
  }

  .hero {
    background: none !important;
    color: #000 !important;
    padding: 1rem 0;
  }

  .hero h1 {
    color: #000;
    font-size: 1.4rem;
  }

  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }

  .footer {
    border-top: 1px solid #ccc;
    padding: 0.5rem 0;
    font-size: 0.9em;
  }
}
