/* ==========================================================================
   Final Filter — single stylesheet. No inline styles anywhere (CLAUDE.md).

   BRAND PALETTE (client-supplied, 2026-08-31) — these three are the brand;
   everything else below is derived from them or is a functional UI colour:
     #69af45  green
     #1995ef  blue
     #01335f  dark blue

   Derived shades exist only where the brand colour itself fails WCAG AA at
   the size it is used. Green on white is 2.69:1, so green text on a light
   ground uses --green-ink (#437629, 5.44:1); the brand green is reserved
   for dark grounds, where it passes (4.77:1 on #01335f). Same reason for
   --blue-ink. Type is DM Sans.

   Mobile nav breakpoint is 900px — keep it in sync with static/js/main.js.
   ========================================================================== */

/* ---- fonts --------------------------------------------------------------
   Self-hosted DM Sans, latin subset, variable (400–700 in one 37KB file).
   Never Google Fonts — render-blocking third-party request. */
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dmsans-latin-var.woff2") format("woff2-variations");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- tokens ---- */
:root {
  /* Brand */
  --green: #69af45;
  --blue: #1995ef;
  --navy: #01335f;

  /* Derived from the brand colours */
  --green-ink: #437629;   /* green text on light grounds (AA on white) */
  --blue-ink: #0b76c6;    /* blue text on light grounds + button hover */
  --navy-deep: #01243f;   /* navy pushed down for large dark fields */

  /* Navy-tinted neutrals */
  --ink: #22323f;
  --muted: #5d7380;
  --line: #dde6ec;
  --bg: #ffffff;
  --bg-soft: #f2f7fb;

  /* Functional UI colours — deliberately outside the brand palette.
     Error red and rating gold are read as status, not as brand; recolouring
     them to brand green/blue would strip the meaning users rely on. */
  --error: #d43858;
  --star: #f5a623;

  --wrap: 1140px;
  --radius: 10px;
  --radius-sm: 7px;
  --radius-btn: 7px;
  --shadow: 0 2px 4px rgba(1, 51, 95, .04), 0 12px 32px rgba(1, 51, 95, .09);
  --shadow-sm: 0 1px 2px rgba(1, 51, 95, .05), 0 4px 14px rgba(1, 51, 95, .07);

  --step: clamp(2.5rem, 1.6rem + 3.6vw, 5rem);
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

/* ---- reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--navy);
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1rem + .55vw, 1.4rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

.tag-ns { display: none; }

/* ---- layout ---- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - 2.5rem, 720px); }
.wrap--split {
  display: grid;
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
  grid-template-columns: 1fr 1fr;
}
.section { padding-block: var(--step); }
.section--soft { background: var(--bg-soft); }
.section__head {
  text-align: center;
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.center { text-align: center; }
.flow > * + * { margin-top: 1.1em; }

.eyebrow {
  margin: 0 0 .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  /* Brand blue is only 3.19:1 on white — too low for text this small. */
  color: var(--blue-ink);
}
.eyebrow--light { color: var(--green); }
.lede { font-size: 1.15rem; }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  padding: .95rem 1.9rem;
  border: 2px solid var(--blue);
  border-radius: var(--radius-btn);
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover {
  background: var(--blue-ink);
  border-color: var(--blue-ink);
  color: #fff;
  transform: translateY(-1px);
}
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn--ghost { background: transparent; color: var(--navy); border-color: currentColor; }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--sm { padding: .58rem 1.2rem; font-size: .92rem; }
.btn--wide { width: 100%; }

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 74px;
}
.site-header__logo { flex: none; line-height: 0; }
.site-header__logo img { width: 173px; height: 50px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
}
.nav-item--cta { margin-left: .5rem; }
.nav-top {
  display: block;
  padding: .55rem .8rem;
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 500;
  font-size: .97rem;
  text-decoration: none;
}
.nav-top:hover, .nav-top.is-active { background: var(--bg-soft); color: var(--blue-ink); }

.site-header__phone {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-header__phone:hover { color: var(--blue); }
.site-header__phone-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

/* ---- hero: split panel + untouched photograph ---- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--navy-deep);
  align-items: stretch;
}
.hero__panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 4vw, 4.5rem)
           clamp(3rem, 6vw, 6rem) max(1.25rem, calc((100vw - var(--wrap)) / 2));
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(25, 149, 239, .30), transparent 62%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero__content { max-width: 34rem; color: #fff; }
.hero h1 {
  color: #fff;
  margin-bottom: .5em;
  font-size: clamp(2.15rem, 1.05rem + 3.1vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.033em;
}
.hero .eyebrow { color: var(--green); }
.hero .eyebrow::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: .7rem;
  background: var(--green);
}
.hero__sub {
  font-size: clamp(1.1rem, 1rem + .55vw, 1.3rem);
  color: rgba(255, 255, 255, .82);
  margin-bottom: 2.25rem;
  max-width: 30rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.hero__actions .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero__actions .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* The photograph carries no overlay of any kind. */
.hero__media { position: relative; min-height: clamp(320px, 44vw, 620px); }
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

/* ---- trust bar ---- */
.trustbar {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.trustbar__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  /* margin-block only — `margin: 0` would kill .wrap's auto centering. */
  margin-block: 0;
  padding: 0;
  list-style: none;
}
.trustbar__list li {
  padding: 1.6rem 1.5rem 1.7rem 0;
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.trustbar__list li:last-child { border-right: 0; }
.trustbar__list li + li { padding-left: 1.75rem; }
.trustbar__list strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  margin-bottom: .15rem;
}
.trustbar__list span {
  display: block;
  font-size: .87rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .62);
}

/* Landing-page banner: artwork with its own baked-in headline, shown at
   full width rather than as a scrim'd background. */
.lp-banner { background: var(--navy); }
.lp-banner img { width: 100%; max-width: 1500px; margin-inline: auto; }
.lp-intro { padding-block: clamp(2.5rem, 5vw, 4rem); }
.lp-intro .hero__sub {
  font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem);
  color: var(--muted);
  margin-bottom: 2rem;
}
.lp-intro .hero__actions { justify-content: center; }
.lp-intro .btn--ghost { color: var(--navy); }

/* ---- intro ---- */
.intro__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---- benefit cards ---- */
.cards {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(4, 1fr);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::after { transform: scaleX(1); }
.card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  /* Soft ground so the white-background splash shot doesn't read as a
     missing image. */
  background: var(--bg-soft);
}
.card__body { padding: 1.5rem; }
.card__body h3 { margin-bottom: .5em; }
.card__body p { font-size: .97rem; color: var(--muted); }

/* ---- promise ---- */
.promise { background: var(--navy); color: rgba(255, 255, 255, .88); }
.promise h2 { color: #fff; max-width: 20ch; }
.promise__list {
  display: grid;
  gap: 1.25rem 2.5rem;
  grid-template-columns: 1fr 1fr;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.promise__list li {
  position: relative;
  padding-left: 2.25rem;
  line-height: 1.6;
}
.promise__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 1.25rem;
  height: .65rem;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

/* ---- pricing ---- */
.prices {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
}
.price {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.price > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.price__body ul { margin: 0; padding-left: 1.15rem; }
.price__body li { margin-bottom: .6rem; }
.price__body li:last-child { margin-bottom: 0; }
.price__body strong {
  color: var(--navy);
  white-space: nowrap;
  font-size: 1.08em;
  font-variant-numeric: tabular-nums;
}
.price h3 {
  padding-bottom: .7rem;
  margin-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}
.price__note {
  margin-top: 2rem;
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
}

/* ---- reviews ---- */
.reviews {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}
.review {
  position: relative;
  padding: 1.85rem 1.85rem 1.85rem 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.review__stars { margin: 0 0 .9rem; color: var(--star); letter-spacing: .12em; font-size: 1.1rem; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 1rem; color: var(--ink); }
.review__who {
  margin: 1.1rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--navy);
}
.reviews__source {
  margin-top: 1.75rem;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}

/* ---- landing page gallery ---- */
.lp-gallery { display: grid; gap: 1.25rem; }
.lp-gallery img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---- contact ---- */
.contact { background: var(--navy-deep); color: rgba(255, 255, 255, .88); }
.contact h2 { color: #fff; }
.contact__lede { font-size: 1.1rem; }
.contact__call { color: rgba(255, 255, 255, .78); }
.contact__call a { color: var(--green); font-weight: 700; }
.contact__form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.05rem; }
.field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
}
.field input {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}
.field input:focus-visible { border-color: var(--blue); }
.cf-turnstile { margin-bottom: 1.05rem; }
.form-status { margin: 0 0 1rem; font-size: .93rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status--error { color: var(--error); font-weight: 500; }

/* ---- inner pages ---- */
.page-hero {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  background: var(--navy);
}
.page-hero h1 { color: #fff; margin: 0; }
.page-hero__img { width: 100%; border-radius: var(--radius); }
.section--404 { padding-block: clamp(4rem, 10vw, 8rem); }
.section--404 .hero__actions { justify-content: center; }

/* ---- footer ---- */
.site-footer {
  padding-top: var(--step);
  background: var(--navy);
  color: rgba(255, 255, 255, .74);
  font-size: .95rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer__main {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 2fr 1fr 1.4fr;
  padding-bottom: var(--step);
}
.site-footer__logo { width: 195px; height: 80px; object-fit: contain; object-position: left; margin-bottom: 1.1rem; }
.site-footer__head {
  margin: 0 0 .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}
.site-footer__list { margin: 0; padding: 0; list-style: none; }
.site-footer__list li { margin-bottom: .55rem; }
.site-footer__area { font-size: .9rem; line-height: 1.75; }
.site-footer__social { margin-top: 1rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 1.35rem;
  text-align: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
}

/* ==========================================================================
   Responsive — 900px is the mobile-nav breakpoint (mirrored in main.js)
   ========================================================================== */
@media (max-width: 1080px) {
  .trustbar__list { grid-template-columns: repeat(2, 1fr); }
  .trustbar__list li:nth-child(2) { border-right: 0; }
  .trustbar__list li:nth-child(3),
  .trustbar__list li:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .price { grid-template-columns: 1fr; }
  .price > img { height: 220px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: .75rem 1.25rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-header__inner { position: relative; gap: .75rem; }
  .nav-top { padding: .8rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-item--cta { margin: .9rem 0 0; }
  .nav-item--cta .btn { display: block; text-align: center; }
  /* One row: [logo] .......... [phone] [hamburger].
     .site-nav is absolutely positioned, so it takes no row space. */
  .site-header__logo { order: 0; margin-right: auto; }
  .site-header__phone { order: 1; margin-left: 0; }
  .nav-toggle { order: 2; margin-left: 0; }
  .site-nav { order: 3; }

  /* Hero stacks: photograph first, then the copy panel. */
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; min-height: clamp(260px, 56vw, 380px); }
  .hero__panel {
    justify-content: flex-start;
    padding: clamp(2.5rem, 7vw, 3.5rem) 1.25rem;
  }
  .hero__content { max-width: none; }

  .wrap--split { grid-template-columns: 1fr; }
  .promise__list { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .trustbar__list { grid-template-columns: 1fr; }
  .trustbar__list li,
  .trustbar__list li + li {
    padding: 1.1rem 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .trustbar__list li:first-child { border-top: 0; }
  .cards { grid-template-columns: 1fr; }
  .card > img { height: 200px; }
  .site-footer__main { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .site-header__phone-label { display: none; }
  .site-header__logo img { width: 145px; height: 42px; }
}
