/* ==========================================================================
   The Duct Worx FL — global design system
   Plain CSS, mobile-first. Page-specific extras live in <page>.css.
   Contents:
     1  Tokens            7  Header / nav / offer bar    13 Steps / stats
     2  Base / reset      8  Hero helpers (shared)       14 Estimator / ZIP
     3  Layout            9  Cards / chips / badges      15 Compare slider
     4  Type helpers     10  Forms                       16 Checklist / quotes
     5  Buttons          11  Price cards                 17 FAQ
     6  Decor (waves)    12  Trust tiles                18 CTA / footer / mobile bar
                                                        19 Reveal + reduced motion
   ========================================================================== */

/* 1. TOKENS --------------------------------------------------------------- */
:root {
  /* colour */
  --ink: #0B1F2E;          /* ocean-ink navy */
  --ink-2: #12344A;
  --ink-3: #1D4A66;
  --ink-deep: #071520;
  --teal: #0FA3A3;         /* lagoon teal (decor, large UI) */
  --teal-600: #0C8788;
  --teal-700: #0A6F70;     /* teal for TEXT on light bg (AA) */
  --foam: #E6F7F4;         /* sea-foam */
  --foam-2: #CDEFEA;
  --sun: #FF7A1A;          /* citrus CTA — pair with --ink text (6.4:1) */
  --sun-600: #E8650A;
  --sun-100: #FFE9D6;
  --sand: #FFF9F0;         /* page background */
  --sand-2: #F6EBD9;
  --white: #fff;
  --text: #17303F;
  --muted: #4A6272;
  --line: rgba(11, 31, 46, .12);

  /* type */
  --font-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* spacing */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6.5rem;
  --gutter: clamp(1rem, 4vw, 2rem);   /* >= 16px on phones */
  --container: 1180px;
  --header-h: 68px;

  /* radii */
  --r-sm: 12px; --r: 20px; --r-lg: 28px; --r-pill: 999px;

  /* shadows (navy-tinted) */
  --sh-sm: 0 2px 8px rgba(11, 31, 46, .08);
  --sh: 0 10px 30px -8px rgba(11, 31, 46, .18);
  --sh-lg: 0 24px 60px -16px rgba(11, 31, 46, .3);
  --sh-sun: 0 10px 24px -8px rgba(255, 122, 26, .65);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. BASE / RESET ---------------------------------------------------------- */
*, *::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: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  padding-bottom: calc(76px + env(safe-area-inset-bottom)); /* room for the mobile action bar */
}
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 1.2rem + 5.4vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
p { margin: 0 0 1em; }
a { color: var(--teal-700); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.section--ink :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible,
.mobile-bar :focus-visible, .offer-bar :focus-visible, .price-card--featured :focus-visible,
.estimator__result :focus-visible, .contact-card :focus-visible, .guarantee :focus-visible,
.card--ink :focus-visible { outline-color: var(--sun); }
::selection { background: var(--sun); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem); background: var(--sand); }
.section--sea { background: var(--foam); }
.section--white { background: #fff; }
.section--ink { background: var(--ink); color: #D3E4EC; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a { color: #7FE3E0; }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.section--ink .section__head p { color: #B5CBD7; }

.grid { display: grid; gap: var(--gap, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--center { align-items: center; }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.1fr .9fr; } }
.stack > * + * { margin-top: var(--stack, 1rem); }
.text-center { text-align: center; }
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); }

/* 4. TYPE HELPERS ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 3px; border-radius: 3px; background: var(--sun); }
.section--ink .eyebrow, .cta-band .eyebrow { color: #7FE3E0; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.hl { color: var(--teal-700); text-decoration: underline wavy var(--sun) 4px; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; min-height: 44px; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; } .prose ul { padding-left: 1.2rem; margin-bottom: 1em; } .prose li { margin-bottom: .4em; }

/* 5. BUTTONS --------------------------------------------------------------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: var(--r-pill);
  border: 2px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); color: var(--b-fg); }
.btn:active { transform: translateY(0); }
.btn--primary { --b-bg: var(--sun); --b-fg: var(--ink); box-shadow: var(--sh-sun); }
.btn--primary:hover { --b-bg: #FF8C38; }
.btn--dark { --b-bg: var(--ink); --b-fg: #fff; }
.btn--dark:hover { --b-bg: var(--ink-3); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); }
.btn--ghost:hover { --b-bg: var(--ink); --b-fg: #fff; }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); }
.btn--ghost-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { --b-bg: #fff; --b-fg: var(--ink); }
.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 1rem 2rem; font-size: 1.12rem; }
.btn--block { width: 100%; }

/* 6. DECOR: waves + swirls ------------------------------------------------- */
/* .wave-top paints the PREVIOUS section's colour as a wave along the top edge.
   Pair with one of .from-sand / .from-sea / .from-white / .from-ink. */
.wave-top { position: relative; }
.wave-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(22px, 3.6vw, 52px);
  background: var(--wave-from, var(--sand)); pointer-events: none; z-index: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24C180 0 360 48 540 24S900 0 1080 24 1260 48 1440 24V0H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24C180 0 360 48 540 24S900 0 1080 24 1260 48 1440 24V0H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.from-sand { --wave-from: var(--sand); } .from-sea { --wave-from: var(--foam); }
.from-white { --wave-from: #fff; } .from-ink { --wave-from: var(--ink); }
.section > .container, .cta-band > .container, .site-footer > .container { position: relative; z-index: 1; }

.swirl { position: absolute; pointer-events: none; color: var(--teal); opacity: .35; z-index: 0; width: clamp(120px, 20vw, 260px); }
.swirl path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 9; }
.swirl--sun { color: var(--sun); opacity: .45; }
.swirl--light { color: #fff; opacity: .18; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.swirl { animation: float 7s ease-in-out infinite; }

/* 7. HEADER / NAV / OFFER BAR ---------------------------------------------- */
.offer-bar { background: var(--ink); color: #fff; font-size: .9rem; text-align: center; padding: .6rem var(--gutter); line-height: 1.4; }
.offer-bar__text { margin: 0; }
.offer-bar strong { color: #FFB87A; }
.offer-bar a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .25rem; color: #fff; font-weight: 700; text-decoration-color: var(--sun); white-space: nowrap; }
.offer-bar a:hover { color: var(--sun); }

.site-header {
  position: sticky; top: 0; z-index: 50; min-height: var(--header-h);
  background: rgba(255, 249, 240, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(11, 31, 46, .3); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: baseline; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); text-decoration: none; line-height: 1; min-height: 44px; align-items: center; }
.logo:hover { color: var(--ink); }
.logo__img { display: block; width: auto; height: 26px; }
@media (min-width: 420px) { .logo__img { height: 30px; } }
@media (min-width: 760px) { .logo__img { height: 36px; } }
.site-footer .logo__img { height: 40px; }

.nav { display: none; }
.nav__list { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.nav__link { display: flex; align-items: center; min-height: 48px; padding: .4rem .9rem; border-radius: var(--r-sm); color: var(--ink); font-weight: 600; text-decoration: none; }
.nav__link:hover { background: var(--foam); color: var(--ink); }
.nav__link[aria-current="page"] { background: var(--foam); box-shadow: inset 0 -3px 0 var(--sun); }
.nav__extra { display: grid; gap: .6rem; padding-top: .75rem; margin-top: .75rem; border-top: 1px solid var(--line); }

.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.header-phone { display: none; align-items: center; gap: .45rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); text-decoration: none; min-height: 44px; white-space: nowrap; }
.header-phone .icon { color: var(--teal-700); }
.header-cta { display: none; }  /* legacy */

.nav-toggle { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: var(--r-sm); border: 2px solid var(--ink); background: transparent; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; } .nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* mobile / tablet dropdown panel */
.site-header.is-open .nav {
  display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--sand);
  padding: .75rem var(--gutter) 1.25rem; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(11, 31, 46, .35);
  animation: dropIn .25s var(--ease);
  max-height: calc(100vh - var(--header-h) - 76px); max-height: calc(100dvh - var(--header-h) - 76px - env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 760px) {
  .header-phone, .header-cta { display: inline-flex; }
}
@media (min-width: 1180px) {
  .nav, .site-header.is-open .nav { display: block; position: static; background: none; padding: 0; border: 0; box-shadow: none; animation: none; max-height: none; overflow: visible; }
  .nav__list { flex-direction: row; gap: .1rem; }
  .nav__link { min-height: 44px; padding: .4rem .8rem; }
  .nav-toggle { display: none; }
}

/* 9. CARDS / CHIPS / BADGES ------------------------------------------------ */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--sh); }
.card--foam { background: var(--foam); box-shadow: none; }
.card--ink { background: var(--ink); color: #D3E4EC; border-color: transparent; }
.card--ink h3 { color: #fff; }
.card--hover { transition: transform .3s var(--ease), box-shadow .3s; }
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.card__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--foam); color: var(--teal-700); margin-bottom: 1.1rem; font-size: 1.6rem; }
.card__icon--sun { background: var(--sun-100); color: #B94C00; }
.card p { color: var(--muted); }
.card--ink p { color: #B5CBD7; }

.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .45rem 1rem; border-radius: var(--r-pill); background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .2s, border-color .2s, transform .2s var(--ease); }
a.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.chip .icon { color: var(--teal-700); font-size: 1rem; }
a.chip:hover .icon { color: #7FE3E0; }
.chip--solid { background: var(--foam-2); border-color: transparent; }

.badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .75rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem .35rem .6rem; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink); }
.badge .icon { color: var(--teal-700); }

/* 10. FORMS ---------------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 480px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; align-content: start; }
.field label, .field__label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .7rem 1rem; border-radius: 14px;
  border: 2px solid #7A8E9A; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 2.6rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 1rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 4px rgba(15, 163, 163, .22); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field [aria-invalid="true"] { border-color: #C2410C; background-color: #FFF6F0; }
.field__error { margin: 0; font-size: .85rem; font-weight: 600; color: #B23A06; }
.form__note { font-size: .82rem; color: var(--muted); margin: 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__success { text-align: center; padding: 1.5rem .5rem; }
.form__success:focus { outline: none; }
.form__success .icon { width: 3rem; height: 3rem; color: #fff; background: var(--teal); border-radius: 50%; padding: .7rem; margin-bottom: .8rem; }
.form.is-sent > :not(.form__success) { display: none; }
.form-card { border-radius: var(--r-lg); }

.check { display: block; position: relative; cursor: pointer; }
.check__input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.check__box { display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: .5rem 1rem; border-radius: 14px; border: 2px solid #7A8E9A; background: #fff; font-weight: 600; color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.check__box::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 7px; border: 2px solid #7A8E9A; background: #fff center / 14px no-repeat; transition: background-color .2s, border-color .2s; }
.check__input:checked + .check__box { background: var(--ink); border-color: var(--ink); color: #fff; }
.check__input:checked + .check__box::before { border-color: var(--sun); background-color: var(--sun); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F2E' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.check__input:focus-visible + .check__box { outline: 3px solid var(--ink); outline-offset: 3px; }
.check__price { margin-left: auto; font-size: .85rem; opacity: .75; font-weight: 500; }

/* 11. PRICE CARDS ---------------------------------------------------------- */
.price-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 2.2rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); }
.price-card__name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); margin: 0 0 .25rem; }
.price-card__desc { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.price-card__price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1.2rem; }
.price-card__from { font-size: .85rem; font-weight: 600; color: var(--muted); }
.price-card__amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.8rem, 6vw, 3.6rem); line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.price-card__list { list-style: none; display: grid; gap: .65rem; margin-bottom: 1.6rem; flex: 1; }
.price-card__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; }
.price-card__list .icon { color: var(--teal-700); margin-top: .2em; }
.price-card--featured { background: var(--ink); border-color: var(--ink); color: #D3E4EC; box-shadow: var(--sh-lg); }
.price-card--featured .price-card__name, .price-card--featured .price-card__amount { color: #fff; }
.price-card--featured .price-card__desc, .price-card--featured .price-card__from { color: #B5CBD7; }
.price-card--featured .price-card__list .icon { color: var(--sun); }
.price-card__ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--sun); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: .4rem 1rem; border-radius: var(--r-pill); box-shadow: var(--sh-sun); white-space: nowrap; }
@media (min-width: 900px) { .price-card--featured { transform: translateY(-12px); } }
.price-footnote { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 1.75rem; }

/* 12. TRUST TILES ---------------------------------------------------------- */
.trust-strip { position: relative; z-index: 2; margin-top: -2.2rem; }
.trust-strip__inner { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.tile { display: flex; gap: .9rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); }
.tile:last-child { border-bottom: 0; }
.tile__icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--foam); color: var(--teal-700); font-size: 1.3rem; }
.tile h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
.tile p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }
@media (min-width: 640px) {
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .tile { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
  .tile:nth-child(2n) { border-right: 0; }
  .tile:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (min-width: 1000px) {
  .trust-strip__inner { grid-template-columns: repeat(4, 1fr); }
  .tile { border-bottom: 0; border-right: 1px solid var(--line); }
  .tile:nth-child(2n) { border-right: 1px solid var(--line); }
  .tile:last-child { border-right: 0; }
}

/* 13. STEPS / STATS -------------------------------------------------------- */
.steps { position: relative; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.75rem; box-shadow: var(--sh); }
.step__num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; background: linear-gradient(135deg, var(--teal), var(--teal-700)); color: #fff; margin-bottom: 1.1rem; box-shadow: 0 8px 18px -6px rgba(15, 163, 163, .7); }
.step:nth-child(2) .step__num { background: linear-gradient(135deg, #FF9A4D, var(--sun)); color: var(--ink); box-shadow: var(--sh-sun); }
.step:nth-child(3) .step__num { background: linear-gradient(135deg, var(--ink-3), var(--ink)); }
.step p { color: var(--muted); margin: 0; }
@media (min-width: 900px) { .step:not(:last-child)::after { content: ""; position: absolute; top: 3.6rem; right: -1.5rem; width: 1.5rem; border-top: 3px dashed var(--teal); opacity: .6; } }

.stats { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 520px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 1.75rem 1rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1; color: #fff; margin-bottom: .5rem; }
.stat__num--text { font-size: clamp(1.8rem, 3.4vw, 2.4rem); white-space: nowrap; }
.stat__num small { font-size: .45em; color: var(--sun); font-weight: 700; margin-left: .15em; letter-spacing: 0; }
.stat__label { color: #B5CBD7; font-size: .95rem; }

/* 14. ESTIMATOR / ZIP CHECKER --------------------------------------------- */
.estimator { background: #fff; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--sh-lg); border: 1px solid var(--line); display: grid; gap: 1.5rem; }
.estimator__size { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; }
.estimator__size output { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--ink); }
.est-services { display: grid; gap: .6rem; }
@media (min-width: 520px) { .est-services { grid-template-columns: 1fr 1fr; } }
.estimator__result { background: var(--ink); color: #D3E4EC; border-radius: var(--r); padding: 1.4rem; text-align: center; }
.estimator__label { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #7FE3E0; margin: 0; }
.est-price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 7vw, 3.2rem); color: #fff; line-height: 1.1; margin: .3rem 0; letter-spacing: -.02em; }
.est-price span { color: var(--sun); }
.estimator__note { font-size: .85rem; margin: 0 0 1rem; color: #B5CBD7; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; --fill: 40%; }
.range::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--teal) var(--fill), var(--foam-2) var(--fill)); }
.range::-moz-range-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--teal) var(--fill), var(--foam-2) var(--fill)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--sun); border: 4px solid #fff; box-shadow: 0 2px 10px rgba(11, 31, 46, .4); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--sun); border: 4px solid #fff; box-shadow: 0 2px 10px rgba(11, 31, 46, .4); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--ink); outline-offset: 3px; }
.range:focus-visible::-moz-range-thumb { outline: 3px solid var(--ink); outline-offset: 3px; }

.zip { display: grid; gap: .75rem; }
.zip__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.zip__row input { flex: 1 1 140px; min-height: 52px; padding: .6rem 1rem; border-radius: 14px; border: 2px solid #7A8E9A; background: #fff; font-size: 1.1rem; letter-spacing: .1em; }
.zip__row input:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 4px rgba(15, 163, 163, .22); }
.zip__result { min-height: 3rem; margin: 0; padding: .8rem 1rem; border-radius: 14px; font-weight: 600; background: var(--foam); color: var(--ink); }
.zip__result:empty { display: none; }
.zip__result.is-ok { background: #D6F5E3; color: #0B4A2A; }
.zip__result.is-warn { background: var(--sun-100); color: #7A3200; }
.zip__result a { color: inherit; font-weight: 800; }
.zip__result a.btn { color: var(--b-fg); }

/* 15. BEFORE / AFTER COMPARE ---------------------------------------------- */
.compare { --pos: 50%; position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--sh-lg); background: #cfc8b8; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare__layer { position: absolute; inset: 0; }
.compare__layer svg { display: block; width: 100%; height: 100%; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__label { position: absolute; top: 12px; z-index: 2; padding: .3rem .85rem; border-radius: var(--r-pill); background: rgba(11, 31, 46, .85); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; pointer-events: none; }
.compare__label--before { left: 12px; } .compare__label--after { right: 12px; background: var(--teal-700); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; z-index: 2; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .35); }
.compare__handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; box-shadow: var(--sh); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 3; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 400px; }
.compare__range::-moz-range-thumb { width: 2px; height: 400px; border: 0; background: transparent; }
.compare__range:focus-visible ~ .compare__handle::after { outline: 3px solid var(--sun); outline-offset: 3px; }
.compare__hint { text-align: center; font-size: .88rem; color: var(--muted); margin-top: .9rem; }

/* 16. CHECKLIST / QUOTES --------------------------------------------------- */
.checklist { list-style: none; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist .icon { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; background: var(--teal); color: #fff; margin-top: .1em; stroke-width: 3; }
.checklist strong { color: var(--ink); }
.quote-card { display: flex; flex-direction: column; gap: 1rem; margin: 0; }
.quote-card::before { content: "\201C"; font-family: var(--font-head); font-weight: 800; font-size: 4rem; line-height: .6; color: var(--sun); }
.quote-card p { font-size: 1.05rem; color: var(--text); margin: 0; }
.quote-card footer { margin-top: auto; font-weight: 700; color: var(--ink); font-size: .95rem; }
.quote-card footer span { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }
.sample-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 1.5rem; }

/* 17. FAQ ------------------------------------------------------------------ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .75rem; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--sh); border-color: rgba(15, 163, 163, .4); }
.faq summary { list-style: none; cursor: pointer; position: relative; display: flex; align-items: center; min-height: 60px; padding: 1rem 3.4rem 1rem 1.4rem; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.4rem; top: 50%; width: .7rem; height: .7rem; border-right: 3px solid var(--teal-700); border-bottom: 3px solid var(--teal-700); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__tools { display: flex; justify-content: flex-end; margin-bottom: .75rem; }
.faq__toggle-all { background: none; border: 0; color: var(--teal-700); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; min-height: 44px; padding: 0 .5rem; }

/* 18. CTA BAND / FOOTER / MOBILE BAR -------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(60% 80% at 90% 0%, rgba(15, 163, 163, .45), transparent 70%), radial-gradient(50% 70% at 0% 100%, rgba(255, 122, 26, .25), transparent 70%), var(--ink); color: #D3E4EC; padding-block: clamp(3.5rem, 8vw, 6rem); }
.cta-band h2 { color: #fff; }
.cta-band__inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.1fr .9fr; } }
.cta-band__phone { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.6rem); color: #fff; text-decoration: none; min-height: 48px; }
.cta-band__phone .icon { color: var(--sun); }
.cta-band__phone:hover { color: var(--sun); }

.site-footer { position: relative; background: var(--ink-deep); color: #A9C0CE; padding: clamp(3.5rem, 7vw, 5rem) 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #D3E4EC; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer__grid { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer__brand p { max-width: 34ch; margin-top: 1rem; }
.footer__title { font-family: var(--font-head); font-size: 1rem; color: #fff; letter-spacing: .02em; margin-bottom: .8rem; }
.footer__list { list-style: none; display: grid; gap: .1rem; }
.footer__list a, .footer__list span { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; }
.footer__list .icon { color: #5ED8D5; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .85rem; }
.footer__small { max-width: 70ch; margin: 0; opacity: .8; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(7, 21, 32, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .4); }
.mobile-bar__btn { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 700; font-size: .98rem; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .12); }
.mobile-bar__btn:hover { color: #fff; background: rgba(255, 255, 255, .2); }
.mobile-bar__btn--primary { background: var(--sun); color: var(--ink); }
.mobile-bar__btn--primary:hover { color: var(--ink); background: #FF8C38; }
@media (min-width: 769px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* Shared inner-page hero (services, areas, about, contact) */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 5.5rem); background: radial-gradient(60% 70% at 90% 0%, rgba(255, 122, 26, .14), transparent 70%), radial-gradient(70% 70% at 0% 100%, var(--foam), transparent 70%), var(--sand); }
.page-hero h1 { font-size: clamp(2.2rem, 1.2rem + 4vw, 3.6rem); max-width: 18ch; }

/* 19. REVEAL + REDUCED MOTION --------------------------------------------- */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .7s ease, translate .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; translate: none; }
/* hover cards keep their own transform/shadow transitions; only opacity + translate are delayed */
.js .card--hover.reveal { transition: opacity .7s ease, translate .7s var(--ease), transform .3s var(--ease), box-shadow .3s; transition-delay: var(--d, 0ms), var(--d, 0ms), 0s, 0s; }

/* pause looping illustration animation while its section is offscreen (toggled by main.js) */
.is-paused, .is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: none; transform: none; }
}

/* 20. HEADER ACTIONS (Call + Book on every screen size) -------------------- */
.site-header__inner { gap: .5rem; }
.site-header__actions { gap: .4rem; }
.hbtn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 44px; white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.1; text-decoration: none; }
.hbtn--call { padding: .45rem .7rem; border-radius: var(--r-pill); border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.hbtn--call:hover { background: var(--ink); color: #fff; }
.hbtn--call .icon { color: var(--teal-700); }
.hbtn--call:hover .icon { color: #7FE3E0; }
.hbtn--book.btn { padding: .45rem .85rem; min-height: 44px; font-size: .95rem; }
.hbtn__long { display: none; }
.nav-toggle { width: 44px; height: 44px; }
@media (max-width: 359px) { .hbtn--call { padding-inline: .55rem; } .hbtn--book.btn { padding-inline: .7rem; } }
@media (min-width: 760px) {
  .hbtn__long { display: inline; }
  .hbtn__short { display: none; }
  .hbtn--call { border-color: transparent; padding-inline: .35rem; }
  .hbtn--call:hover { background: transparent; color: var(--ink); text-decoration: underline; }
  .hbtn--call:hover .icon { color: var(--teal-700); }
  .hbtn--book.btn { padding-inline: 1.15rem; }
  .site-header__actions { gap: .75rem; }
}
@media (min-width: 1180px) and (max-width: 1279px) { .nav__link { padding-inline: .55rem; } }

/* 21. QUICK-BOOK (2-step) --------------------------------------------------- */
.qb { gap: .9rem; }
.qb__progress { display: none; }
.qb--enhanced .qb__progress { display: block; }
.qb__progress-text { margin: 0 0 .4rem; font-size: .85rem; font-weight: 700; color: var(--teal-700); }
.qb__track { height: 6px; border-radius: 99px; background: var(--foam-2); overflow: hidden; }
.qb__bar { display: block; height: 100%; width: 50%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--sun)); transition: width .35s var(--ease); }
.qb__step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: .9rem; }
.qb__step[hidden] { display: none; }
.qb__legend { padding: 0; margin: 0 0 .1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.qb__choices { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.qb__choices .check__box { min-height: 52px; padding: .55rem .8rem; font-size: .95rem; line-height: 1.2; }
.qb__choices .check__box::before { border-radius: 50%; }
.qb__next, .qb__back { display: none; }
.qb--enhanced .qb__next, .qb--enhanced .qb__back { display: inline-flex; }
.qb__nav { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: stretch; }
.qb:not(.qb--enhanced) .qb__nav { grid-template-columns: 1fr; }
.qb__consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.qb__consent input { flex: none; width: 22px; height: 22px; margin: .05rem 0 0; accent-color: var(--teal-700); cursor: pointer; }
.field__hint { font-weight: 500; color: var(--muted); }
.form__send-error { margin-top: .25rem; }
.form__send-error a { color: inherit; font-weight: 800; }
.form__success p:last-child { margin-bottom: 0; }

/* 22. PHOTOS + "Illustrative image" captions -------------------------------- */
.photo { position: relative; margin: 0; }
.photo__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--sh-lg); background: var(--foam-2); }
.photo__frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo__cap { margin-top: .55rem; font-size: .8rem; color: var(--muted); text-align: center; }
.photo__cap--over { position: absolute; left: 12px; bottom: 12px; margin: 0; padding: .2rem .6rem; border-radius: var(--r-pill); background: rgba(11, 31, 46, .82); color: #fff; font-size: .74rem; font-weight: 600; text-align: left; }
.card__media { margin: calc(clamp(1.4rem, 3vw, 2rem) * -1) calc(clamp(1.4rem, 3vw, 2rem) * -1) 1.25rem; position: relative; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.compare__layer img { display: block; width: 100%; height: 100%; object-fit: cover; }
.compare-cap { text-align: center; font-size: .8rem; color: var(--muted); margin: .4rem 0 0; }
.ba-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ba { margin: 0; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: var(--r-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--sh); background: #fff; }
.ba__pair > div { position: relative; }
.ba__pair img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ba__pair .compare__label { top: 8px; font-size: .72rem; }
.ba__pair .compare__label--before { left: 8px; } .ba__pair .compare__label--after { right: 8px; left: auto; }
.ba figcaption { margin-top: .6rem; font-size: .92rem; color: var(--ink); font-weight: 600; }
.ba figcaption small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }

/* 23. PROMISE / WHAT TO EXPECT --------------------------------------------- */
.promise-grid { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.promise { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.3rem; box-shadow: var(--sh-sm); }
.section--white .promise { background: var(--sand); box-shadow: none; }
.promise .card__icon { width: 48px; height: 48px; border-radius: 15px; margin-bottom: .8rem; font-size: 1.35rem; }
.promise h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.promise p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.promise-note { text-align: center; color: var(--muted); font-size: .9rem; margin: 1.5rem 0 0; }

/* 24. SAMPLE REVIEW LABEL + FOOTER COLUMNS --------------------------------- */
.sample-tag { align-self: flex-start; display: inline-block; padding: .2rem .65rem; border-radius: var(--r-pill); background: var(--sun-100); color: #7A3200; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.footer__list--cols { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.footer__list a { line-height: 1.3; }
.footer__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1.6fr 1.1fr; } }
.qb__choices .qb__choice--wide { grid-column: 1 / -1; }
/* grid/flex children must be allowed to shrink below their content's intrinsic width (fixes 360px overflow) */
.split > *, .hero__grid > *, .svc-hero__grid > *, .detail-body > * { min-width: 0; }
.zip__row input { min-width: 0; width: 100%; }

/* keep hero decor from overlapping headlines on small screens */
@media (max-width: 640px) { .hero .swirl, .page-hero .swirl { display: none; } }
