/* ==========================================================================
   Austin Irrigation & Backflow — Core Stylesheet
   Brand: Navy #083b70 · Green #72c33d · Light Blue #1e89ce · Gray Blue #8fa9c4
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy:        #083b70;
  --navy-deep:   #062c55;
  --navy-900:    #04203e;
  --green:       #72c33d;
  --green-dark:  #5da830;
  --green-soft:  #eaf7e0;
  --lblue:       #1e89ce;
  --lblue-soft:  #e7f2fb;
  --gblue:       #8fa9c4;

  /* Neutrals */
  --ink:         #0d1b2c;
  --body:        #45566b;
  --muted:       #6b7d94;
  --line:        #dfe6ee;
  --line-soft:   #edf1f6;
  --soft:        #f5f8fb;
  --white:       #ffffff;

  /* Type */
  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius:    14px;
  --radius-lg: 22px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(8, 59, 112, .06);
  --shadow:    0 12px 32px -12px rgba(8, 59, 112, .18);
  --shadow-lg: 0 32px 64px -24px rgba(8, 59, 112, .32);

  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 800;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--lblue); text-decoration: none; }
a:hover { color: var(--navy); }

ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: .85rem 1.25rem;
  font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(2.5rem, 4.5vw, 3.5rem) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: clamp(2rem, 3.5vw, 2.75rem) 0; }

.section-head { max-width: 42rem; margin-bottom: clamp(1.5rem, 2.5vw, 2rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--lblue);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--green);
}
.section-head--center .eyebrow::before { display: none; }

.lede { font-size: 1.15rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
  padding: 1rem 1.65rem;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--green {
  background: var(--green); color: #08320a;
  box-shadow: 0 8px 20px -8px rgba(114, 195, 61, .8);
}
.btn--green:hover { background: #7fd247; color: #08320a; box-shadow: 0 14px 26px -10px rgba(114, 195, 61, .9); }

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

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.btn--ghost-dark { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost-dark:hover { background: var(--white); border-color: var(--navy); color: var(--navy); }

.btn--lg { padding: 1.15rem 2rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,.82);
  font-size: .875rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 44px;
}
.topbar__list { display: flex; align-items: center; gap: 1.75rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__item svg { width: 15px; height: 15px; flex: none; color: var(--green); }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--green); }

@media (max-width: 900px) { .topbar { display: none; } }

/* --------------------------------------------------------------------------
   6. Header / nav
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease;
}
.header.is-stuck { box-shadow: 0 6px 24px -12px rgba(8,59,112,.28); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: var(--header-h);
}

.brand { display: block; flex: none; }
.brand img { width: clamp(190px, 22vw, 250px); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__cta { display: none; } /* mobile drawer only — see 1040px breakpoint */
.nav__link {
  display: block;
  font-family: var(--font-display);
  font-weight: 700; font-size: .975rem;
  color: var(--navy); padding: .6rem .85rem; border-radius: 8px;
  transition: background-color .18s ease, color .18s ease;
}
.nav__link:hover { background: var(--soft); color: var(--navy); }
.nav__link[aria-current="page"] { color: var(--lblue); }

.header__cta { display: flex; align-items: center; gap: 1rem; flex: none; }
.header__phone {
  display: flex; flex-direction: column; line-height: 1.15; text-align: right;
}
.header__phone span {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.header__phone strong {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 800; color: var(--navy); letter-spacing: -.02em;
}
.header__phone:hover strong { color: var(--lblue); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; padding: 0;
  align-items: center; justify-content: center;
  background: var(--navy); border: 0; border-radius: 10px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: #fff; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1040px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .header__cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 1rem var(--gutter) 1.75rem;
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s ease, visibility .3s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    padding: 1rem .25rem; font-size: 1.15rem;
    border-bottom: 1px solid var(--line-soft); border-radius: 0;
  }
  .nav__cta { display: block; margin-top: 1.25rem; }
  .nav__cta .btn { width: 100%; }
}
@media (max-width: 620px) {
  .header__phone { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 520px at 12% -10%, rgba(30,137,206,.4), transparent 62%),
    radial-gradient(760px 420px at 92% 8%, rgba(114,195,61,.18), transparent 60%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(3rem, 5.5vw, 4.5rem) 0 clamp(3.25rem, 6vw, 5rem);
}

/* decorative sprinkler arcs */
.hero__deco {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; opacity: .5;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}

.hero h1 {
  color: #fff; margin-bottom: .55em;
  /* Bounded so "Sprinklers that work" holds one line from 360px up to 1920px */
  font-size: clamp(2rem, 3.7vw, 3rem);
}
/* Each clause holds its own line at every width, so no punctuation is needed to
   separate them. `pretty` avoids a stranded last word when a clause must wrap;
   `balance` was measurably worse here (it broke after "Backflow"). */
.hero__line { display: block; text-wrap: pretty; }
.hero h1 em {
  font-style: normal; color: var(--green);
  position: relative; white-space: nowrap;
}
.hero__sub {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,.8);
  max-width: 34rem; margin-bottom: 2rem;
}

.badge-chip {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; padding: .5rem 1.1rem .5rem .6rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .03em;
  color: #fff; margin-bottom: 1.75rem;
  backdrop-filter: blur(6px);
}
.badge-chip__dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: var(--navy-900);
  display: grid; place-items: center; flex: none;
}
.badge-chip__dot svg { width: 13px; height: 13px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.75rem; }

.hero__proof {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: clamp(1.25rem, 3vw, 2.75rem); justify-content: start;
  padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.15);
  margin: 0;
}
.hero__proof dt {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1;
}
.hero__proof dd {
  margin: .4rem 0 0; font-size: .8125rem; line-height: 1.35;
  color: rgba(255,255,255,.65); letter-spacing: .02em;
}

/* Hero form card */
.quote-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 2.6vw, 2.25rem);
  color: var(--body);
  border-top: 5px solid var(--green);
}
.quote-card h2 {
  font-size: 1.5rem; margin-bottom: .35rem;
}
.quote-card__note {
  font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem;
}
.quote-card__foot {
  margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft);
  font-size: .8125rem; color: var(--muted); text-align: center;
}
.quote-card__foot strong { color: var(--navy); }

.field { margin-bottom: .9rem; }
.field label {
  display: block; font-size: .8125rem; font-weight: 700;
  color: var(--navy); margin-bottom: .35rem; letter-spacing: .01em;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; background: var(--soft);
  border: 1.5px solid var(--line); border-radius: 9px;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9aabbf; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--lblue);
  box-shadow: 0 0 0 3px rgba(30,137,206,.15);
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23083b70' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px;
  padding-right: 2.5rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__sub { max-width: none; }
  .quote-card { max-width: 34rem; }
}
@media (max-width: 480px) {
  .hero__proof { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .hero__actions .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   8. Trust strip
   -------------------------------------------------------------------------- */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  padding: 1.75rem 0;
}
.trust__list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust__item {
  display: flex; align-items: center; gap: .85rem;
  font-size: .95rem; font-weight: 600; color: var(--navy);
  line-height: 1.35;
}
.trust__icon {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--lblue-soft); color: var(--lblue);
}
.trust__item:nth-child(2n) .trust__icon { background: var(--green-soft); color: var(--green-dark); }
.trust__icon svg { width: 21px; height: 21px; }

@media (max-width: 860px) { .trust__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .trust__list { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   9. Services
   -------------------------------------------------------------------------- */
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.75rem 1.75rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}
.service::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--lblue), var(--green));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.service:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service:hover::after { transform: scaleX(1); }

.service__icon {
  width: 54px; height: 54px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 1.25rem;
  background: var(--navy); color: #fff;
}
.service__icon svg { width: 27px; height: 27px; }
.service:nth-child(3n-1) .service__icon { background: var(--lblue); }
.service:nth-child(3n) .service__icon { background: var(--green); color: var(--navy-900); }

.service h3 { margin-bottom: .5rem; }
.service p { font-size: .95rem; color: var(--muted); margin-bottom: 1.1rem; }
.service__link {
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: var(--navy); display: inline-flex; align-items: center; gap: .4rem;
}
.service__link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.service:hover .service__link { color: var(--lblue); }
.service:hover .service__link svg { transform: translateX(4px); }

.services__foot {
  margin-top: 2.5rem; text-align: center;
  font-size: .95rem; color: var(--muted);
}

@media (max-width: 940px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } }
/* Two-card version (About > Credentials while Insured & Bonded is hidden) */
.services__grid--two { grid-template-columns: repeat(2, 1fr); max-width: 52rem; margin-inline: auto; }
@media (max-width: 600px) { .services__grid--two { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   10. Backflow compliance band
   -------------------------------------------------------------------------- */
.backflow {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.backflow::before {
  content: ""; position: absolute; top: -30%; right: -8%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,137,206,.35), transparent 68%);
  pointer-events: none;
}
.backflow__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.backflow h2 { color: #fff; }
.backflow .eyebrow { color: var(--green); }
.backflow__text > p { color: rgba(255,255,255,.78); font-size: 1.075rem; }
.backflow__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.steps { display: grid; gap: 1rem; }
.step {
  display: flex; gap: 1.15rem; align-items: flex-start;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius); padding: 1.35rem 1.5rem;
  backdrop-filter: blur(4px);
}
.step__num {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--green); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.step h3 { color: #fff; font-size: 1.075rem; margin-bottom: .25rem; }
.step p { color: rgba(255,255,255,.7); font-size: .925rem; margin: 0; }

@media (max-width: 900px) { .backflow__inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   11. Why us
   -------------------------------------------------------------------------- */
.why__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: stretch;
}
.why__list { display: grid; gap: 1.5rem; margin-top: 2rem; }
.why__item { display: flex; gap: 1.15rem; }
.why__check {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 2px;
  background: var(--green-soft); color: var(--green-dark);
}
.why__check svg { width: 16px; height: 16px; }
.why__item h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.why__item p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Media slot — swap for a real photo */
.media-slot {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 60%, #073664 100%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
}
.media-slot__pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 22px 22px;
}
.media-slot__mark {
  position: relative; z-index: 2; width: min(52%, 240px); opacity: .96;
}
.media-slot__tag {
  position: absolute; z-index: 3; left: 1.25rem; bottom: 1.25rem;
  background: rgba(4,32,62,.72); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85); border-radius: 8px;
  font-size: .75rem; letter-spacing: .05em; text-transform: uppercase;
  font-weight: 700; padding: .45rem .8rem; backdrop-filter: blur(6px);
}

/* floating stat card over media */
.why__figure { position: relative; margin: 0; }
.stat-card {
  position: absolute; right: -1rem; bottom: -1.5rem; z-index: 4;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  border-left: 4px solid var(--green);
}
.stat-card__num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--navy); line-height: 1; letter-spacing: -.03em;
}
.stat-card__label { font-size: .8rem; color: var(--muted); line-height: 1.3; max-width: 9rem; }

@media (max-width: 900px) {
  .why__inner { grid-template-columns: 1fr; }
  .why__figure { order: -1; margin-bottom: 2.5rem; }
  .stat-card { right: 1rem; bottom: -1.25rem; }
}
@media (max-width: 620px) {
  /* Too little room to float it — drop it below the image instead */
  .why__figure { margin-bottom: 0; }
  .stat-card { position: static; margin-top: 1rem; }
}

/* --------------------------------------------------------------------------
   12. Service area
   -------------------------------------------------------------------------- */
.area { background: var(--soft); }
.area__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.area__pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.area__pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 100px; padding: .6rem 1.15rem;
  font-size: .9375rem; font-weight: 600; color: var(--navy);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.area__pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex: none;
}
.area__pill:hover { border-color: var(--lblue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.area__note { margin-top: 1.75rem; font-size: .9rem; color: var(--muted); }

@media (max-width: 860px) { .area__inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   13. Reviews
   -------------------------------------------------------------------------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; display: flex; flex-direction: column;
  margin: 0;
}
.review__stars { display: flex; gap: .2rem; margin-bottom: 1rem; color: #f5a623; }
.review__stars svg { width: 18px; height: 18px; }
.review__quote {
  font-size: 1.0125rem; color: var(--ink); line-height: 1.6;
  margin: 0 0 1.5rem; flex: 1;
}
.review__meta { display: flex; align-items: center; gap: .85rem; }
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
}
.review__name { font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.review__loc { font-size: .8125rem; color: var(--muted); }

@media (max-width: 940px) { .reviews__grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; } }

/* --------------------------------------------------------------------------
   14. Final CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, #0a4a8a 100%);
  color: #fff; text-align: center;
  padding: clamp(3rem, 5vw, 4rem) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .7;
}
.cta-band__inner { position: relative; z-index: 2; max-width: 44rem; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 1.5rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.cta-band__fine { margin-top: 1.25rem; font-size: .875rem; color: rgba(255,255,255,.6); }

@media (max-width: 480px) { .cta-band__actions .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.62); font-size: .9375rem; }
.footer__main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2.75rem, 5vw, 3.75rem) 0 2.5rem;
}
.footer__logo { width: 230px; margin-bottom: 1.25rem; }
.footer__about { max-width: 24rem; margin-bottom: 1.5rem; }
.footer h4 {
  color: #fff; font-size: .8125rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.15rem;
}
.footer__links { display: grid; gap: .7rem; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--green); }

.footer__contact { display: grid; gap: 1rem; }
.footer__contact-item { display: flex; gap: .75rem; align-items: flex-start; }
.footer__contact-item svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 3px; }
.footer__contact-item strong { display: block; color: #fff; font-size: 1.05rem; font-family: var(--font-display); }

.footer__licenses {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem;
}
.footer__license {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  border-radius: 7px; padding: .4rem .75rem;
  font-size: .75rem; letter-spacing: .04em; color: rgba(255,255,255,.8);
}

.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0 clamp(1.5rem, 3vw, 2rem);
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: .8125rem; color: rgba(255,255,255,.45);
}
.footer__bar-links { display: flex; gap: 1.5rem; }

@media (max-width: 940px) { .footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer__main { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   16. Sticky mobile call bar
   -------------------------------------------------------------------------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: .65rem; padding: .65rem;
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px -12px rgba(8,59,112,.35);
  backdrop-filter: blur(10px);
}
.call-bar .btn { flex: 1; padding: .95rem 1rem; font-size: .95rem; }

@media (max-width: 780px) {
  .call-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* --------------------------------------------------------------------------
   17. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   18. Interior page hero (Services / About / Contact)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(820px 420px at 15% -20%, rgba(30,137,206,.38), transparent 62%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-900) 100%);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2.75rem, 5vw, 4rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 46rem; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: .5em; }
.page-hero p { color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.page-hero .eyebrow { color: var(--green); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* Breadcrumb */
.crumbs {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: .5rem;
  font-size: .8125rem; color: rgba(255,255,255,.6); margin-bottom: 1.25rem;
}
.crumbs a { color: rgba(255,255,255,.78); }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }

@media (max-width: 480px) { .page-hero__actions .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   19. Service detail blocks
   -------------------------------------------------------------------------- */
.svc { padding: clamp(2rem, 3.5vw, 2.75rem) 0; border-bottom: 1px solid var(--line-soft); }
.svc:last-of-type { border-bottom: 0; }
.svc__inner {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
.svc:nth-of-type(even) .svc__figure { order: -1; }
.svc__badge {
  width: 58px; height: 58px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.25rem;
  background: var(--navy); color: #fff;
}
.svc__badge svg { width: 29px; height: 29px; }
.svc:nth-of-type(3n-1) .svc__badge { background: var(--lblue); }
.svc:nth-of-type(3n) .svc__badge { background: var(--green); color: var(--navy-900); }
.svc h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .5rem; }
.svc__lede { color: var(--muted); font-size: 1.075rem; margin-bottom: 1.5rem; }
.svc__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Checklist */
.checklist { display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-size: .975rem; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px;
  border-radius: 50%; background: var(--green-soft);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235da830' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

/* Panel used beside service copy */
.panel {
  background: var(--soft); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.5vw, 2rem);
}
.panel h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.panel--navy {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: transparent; color: rgba(255,255,255,.8);
}
.panel--navy h3 { color: #fff; }
.panel--navy .checklist li { color: rgba(255,255,255,.82); }
.panel--navy .checklist li::before { background-color: rgba(255,255,255,.12); }
.panel__note {
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted);
}
.panel--navy .panel__note { border-top-color: rgba(255,255,255,.15); color: rgba(255,255,255,.6); }

@media (max-width: 900px) {
  .svc__inner { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) .svc__figure { order: 0; }
}

/* --------------------------------------------------------------------------
   20. Step / timeline list (About + Services)
   -------------------------------------------------------------------------- */
.timeline { display: grid; gap: 1.75rem; position: relative; }
.timeline__item { display: flex; gap: 1.25rem; }
.timeline__num {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 800;
}
.timeline__item h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.timeline__item p { font-size: .95rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   21. Stat row (About)
   -------------------------------------------------------------------------- */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.stat-row__item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.75rem 1.5rem; text-align: center;
}
.stat-row__num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--navy);
  letter-spacing: -.03em; line-height: 1; margin-bottom: .5rem;
}
.stat-row__label { font-size: .875rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 860px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------------------
   22. Contact page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--green);
}
.form-card h2 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); margin-bottom: .35rem; }
.form-card__note { color: var(--muted); font-size: .95rem; margin-bottom: 1.75rem; }
.field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.form-card__fine { margin-top: 1rem; font-size: .8125rem; color: var(--muted); text-align: center; }

/* Contact detail cards */
.info-stack { display: grid; gap: 1rem; }
.info-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.info-card__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--lblue-soft); color: var(--lblue);
}
.info-card:nth-child(2n) .info-card__icon { background: var(--green-soft); color: var(--green-dark); }
.info-card__icon svg { width: 21px; height: 21px; }
.info-card h3 {
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .35rem;
  font-family: var(--font-body);
}
.info-card strong {
  display: block; font-family: var(--font-display); font-size: 1.2rem;
  color: var(--navy); letter-spacing: -.02em; line-height: 1.25;
}
.info-card p { font-size: .925rem; color: var(--muted); margin: .25rem 0 0; }
.info-card a { color: var(--navy); }
.info-card a:hover { color: var(--lblue); }

/* Map placeholder */
.map-slot {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 7; margin-top: 1rem;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 70%, #073664 100%);
  display: grid; place-items: center; text-align: center;
  box-shadow: var(--shadow);
}
.map-slot__pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-slot__label {
  position: relative; z-index: 2; color: rgba(255,255,255,.85);
  font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 700; padding: .5rem 1rem;
  background: rgba(4,32,62,.6); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; backdrop-filter: blur(6px);
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   23. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; max-width: 48rem; margin-inline: auto; }
.faq__item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq__item[open] { border-color: var(--lblue); box-shadow: var(--shadow-sm); }
.faq__item summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23083b70' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__item div { padding: 0 1.5rem 1.35rem; color: var(--muted); font-size: .975rem; }
.faq__item div p { margin-bottom: .75rem; }

/* --------------------------------------------------------------------------
   24. Prose block (About story)
   -------------------------------------------------------------------------- */
.prose { max-width: 40rem; }
.prose p { font-size: 1.05rem; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--ink); }

/* Pull quote */
.pullquote {
  margin: 2rem 0 0; padding: 1.5rem 0 1.5rem 1.75rem;
  border-left: 4px solid var(--green);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink);
  line-height: 1.4; letter-spacing: -.01em;
}

/* Timeline inside a navy panel: the default navy circle and muted text both
   disappear against the panel, so restate them for that context. */
.panel--navy .timeline__num { background: var(--green); color: var(--navy-900); }
.panel--navy .timeline__item p { color: rgba(255,255,255,.7); }
.panel--navy .timeline__item h3 { color: #fff; }
.panel--navy .prose p, .panel--navy > p { color: rgba(255,255,255,.78); }

/* Grid items default to min-width:auto, so the form inputs' intrinsic width
   pushed the contact column wider than the viewport on phones. */
.contact-grid > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; }
/* The email address is one long unbreakable token; let it wrap inside its card. */
.info-card > div { min-width: 0; }
.info-card strong, .info-card a { overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   25. Real photos (replacing the .media-slot placeholders)
   -------------------------------------------------------------------------- */
.media-photo {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--soft);
}
.media-photo--portrait { aspect-ratio: 4 / 5; object-position: center 30%; max-width: 440px; margin-inline: auto; display: block; }

/* Photo sitting above the panel inside a service section */
.svc__photo { margin-bottom: 1.25rem; }

/* --------------------------------------------------------------------------
   26. Hero with a photo behind it
   -------------------------------------------------------------------------- */
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Darken the photo so white text keeps its contrast. The existing gradient sits
   on top of the image rather than replacing it. */
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(4,32,62,.92) 0%, rgba(6,44,85,.78) 42%, rgba(8,59,112,.45) 100%);
}
.hero--photo .hero__grid { z-index: 1; }
.hero--photo .hero__deco { z-index: 1; opacity: .35; }

/* --------------------------------------------------------------------------
   27. Service card thumbnails
   -------------------------------------------------------------------------- */
.service { padding: 0 0 1.75rem; }
.service__thumb {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  display: block; margin-bottom: 1.5rem;
  background: var(--soft);
}
.service > *:not(.service__thumb) { margin-inline: 1.75rem; }
.service__icon {
  margin-top: -2.75rem; position: relative; z-index: 2;
  border: 3px solid #fff;
}

/* Cards without a photo (About > Credentials): normal top padding, icon sits inside the card */
.service--plain { padding-top: 2rem; }
.service--plain .service__icon { margin-top: 0; border: 0; }

/* --------------------------------------------------------------------------
   28. Photo strip
   -------------------------------------------------------------------------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.strip img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius);
  transition: transform .3s ease;
}
.strip img:hover { transform: scale(1.03); }

@media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; } }

/* Interior page heroes carry a photo, same treatment as the homepage */
.page-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(4,32,62,.93) 0%, rgba(6,44,85,.8) 45%, rgba(8,59,112,.5) 100%);
}
.page-hero--photo > .wrap { position: relative; z-index: 2; }
.page-hero--photo::before { z-index: 2; }

/* --------------------------------------------------------------------------
   29. Designer credit (Simply Fierce Marketing)
   -------------------------------------------------------------------------- */
.credit-row {
  display: flex; justify-content: center;
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}
.credit {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; color: rgba(255,255,255,.55);
  text-align: center;
}
.credit img { width: 22px; height: auto; flex: none; }
.credit b { font-weight: 600; transition: color .2s ease; }
.credit:hover { color: rgba(255,255,255,.8); }
.credit:hover b { color: var(--green); }

/* The footer bar above it already has its own top border — avoid doubling up */
.footer__bar { padding-bottom: 1rem; }

/* The row is ~230px wide, so it stays on one line even on the narrowest phones. */

/* --------------------------------------------------------------------------
   30. Step-by-step estimate form (js/estimate-form.js)
   -------------------------------------------------------------------------- */
.msform__progress { margin-bottom: 1.25rem; }
.msform__count {
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lblue); margin: 0 0 .5rem;
}
.msform__bar { height: 6px; background: var(--line-soft); border-radius: 99px; overflow: hidden; }
.msform__bar span {
  display: block; height: 100%; width: 25%;
  background: linear-gradient(90deg, var(--lblue), var(--green));
  border-radius: inherit; transition: width .35s ease;
}

.msform__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.msform__step[hidden] { display: none; }
.msform__q {
  font-family: var(--font-display); font-weight: 800; color: var(--navy);
  font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em;
  padding: 0; margin-bottom: 1rem; outline: none;
}

.msform__choices { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.msform__choices--stack { grid-template-columns: 1fr; }
.msform__choice {
  position: relative; display: flex; align-items: center; gap: .7rem;
  padding: .85rem .9rem; min-height: 3.25rem;
  background: var(--soft); border: 1.5px solid var(--line); border-radius: 11px;
  font-size: .925rem; font-weight: 600; line-height: 1.3; color: var(--ink);
  cursor: pointer; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.msform__choice:hover { border-color: var(--gblue); background: #fff; }
.msform__choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.msform__tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--gblue); background: #fff;
  display: grid; place-items: center; color: transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.msform__tick svg { width: 13px; height: 13px; }
.msform__choice:has(input:checked) {
  border-color: var(--green); background: var(--green-soft);
}
.msform__choice input:checked + .msform__tick {
  background: var(--green); border-color: var(--green); color: var(--navy-900);
}
.msform__choice input:focus-visible + .msform__tick {
  box-shadow: 0 0 0 3px rgba(30,137,206,.35);
}

.msform__details { margin-top: 1.1rem; }
.msform__optional { font-weight: 500; color: var(--muted); }
.msform__details textarea { resize: vertical; min-height: 4.5rem; }
.msform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.msform__error { min-height: 1.25rem; margin: .6rem 0 0; font-size: .85rem; font-weight: 600; color: #b42318; }
.msform__error:empty { min-height: 0; margin: 0; }

.msform__nav { display: flex; align-items: center; gap: .75rem; margin-top: 1.1rem; }
.msform__next { flex: 1; }
.msform__back {
  display: inline-flex; align-items: center; gap: .3rem;
  background: none; border: 0; padding: .6rem .25rem; cursor: pointer;
  font: 700 .9rem var(--font-display); color: var(--muted);
}
.msform__back svg { width: 16px; height: 16px; }
.msform__back:hover { color: var(--navy); }

.msform__done { text-align: center; padding: 1.5rem 0 .5rem; outline: none; }
.msform__done-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: var(--navy-900);
}
.msform__done-icon svg { width: 28px; height: 28px; }
.msform__done h3 { margin-bottom: .4rem; }
.msform__done p { color: var(--muted); margin: 0; }

@media (max-width: 420px) {
  .msform__choices { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   31. Balanced two-column blocks (less empty space beside short columns)
   -------------------------------------------------------------------------- */
/* Photos beside text fill the full height of the text column */
.why__figure { min-height: 320px; }
.why__figure > .media-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  aspect-ratio: auto; max-width: none; margin: 0;
}
@media (max-width: 900px) {
  .why__figure { min-height: 0; aspect-ratio: 4 / 3; }
  .why__figure:has(.media-photo--portrait) { aspect-ratio: 4 / 5; max-width: 440px; width: 100%; margin-inline: auto; }
}
@media (max-width: 620px) {
  /* stat card drops below the photo here, so give the photo its own box */
  .why__figure:has(.stat-card) { aspect-ratio: auto; }
  .why__figure:has(.stat-card) > .media-photo { position: static; aspect-ratio: 4 / 3; height: auto; }
}

/* Service blocks: the photo shrinks or grows so the photo + panel column
   matches the text beside it */
@media (min-width: 901px) {
  .svc__inner { align-items: stretch; }
  .svc__figure { display: flex; flex-direction: column; }
  .svc__photo { flex: 1 1 180px; min-height: 180px; height: auto; aspect-ratio: auto; }
  /* if the photo + panel side is still taller, the text travels down with it */
  .svc__inner > :not(.svc__figure) { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
  .contact-grid .form-card { position: sticky; top: calc(var(--header-h) + 1rem); }
}

/* Contact page map */
.map-embed {
  margin-top: 1rem; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--soft);
  aspect-ratio: 4 / 3;
}
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
