/* ==========================================================================
   Better Water Industries — Global Stylesheet
   Sections:
     1.  Design tokens (CSS variables)
     2.  Base / reset
     3.  Layout helpers (container, section, grid)
     4.  Typography
     5.  Buttons
     6.  Top dealer strip
     7.  Header / navigation / dropdown
     8.  Brand banner
     9.  Hero
     10. Cards (product families)
     11. Applications / symptoms
     12. System / how-it-works
     13. Dealer + literature CTA
     14. Credibility strip
     15. Feature (WellSafe) section
     16. Downloads list
     17. Contact CTA + form
     18. Footer
     19. Responsive
     20. Reduced motion
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #14181b;
  --ink-soft: #444d54;
  --muted: #5c6770;
  --muted-light: #8a8f88;
  --blue: #1a66a8;
  --blue-dark: #155a96;
  --blue-tint: #eaf3fb;
  --line: #ecebe6;
  --line-strong: #e7e6e0;
  --mono-muted: #9aa19b;
  --dark: #14181b;
  --dark-line: #272f35;
  --dark-muted: #7f8d96;
  --dark-soft: #9aa6ac;

  --font-serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, Consolas, monospace;

  --maxw: 1240px;
  --maxw-wide: 1280px;
  --radius: 14px;
  --radius-lg: 16px;
  --shadow-card: 0 22px 46px -22px rgba(20, 24, 27, .28);
}

/* 2. Base / reset -------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

::selection { background: var(--blue); color: #fff; }

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

.visually-hidden {
  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: 12px; top: -48px;
  background: var(--blue); color: #fff; padding: 10px 16px;
  border-radius: 8px; font-weight: 600; z-index: 100;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* 3. Layout helpers ------------------------------------------------------ */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.container--wide { max-width: var(--maxw-wide); }

.section { padding-top: 90px; padding-bottom: 90px; }
.section--tight { padding-top: 64px; padding-bottom: 64px; }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); }
.section--bg { background: var(--bg); border-top: 1px solid var(--line); }

.section-head { margin-bottom: 44px; }
.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}

.kicker {
  font-family: var(--font-sans);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}

/* 4. Typography ---------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); letter-spacing: -.01em; }

.h1 { font-weight: 700; font-size: 62px; line-height: 1.05; text-wrap: balance; }
.h2 { font-weight: 700; font-size: 38px; line-height: 1.14; text-wrap: balance; }
.h3 { font-weight: 700; font-size: 23px; line-height: 1.25; }

.lead { font-size: 18px; line-height: 1.62; color: var(--muted); text-wrap: pretty; }
.prose p { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); text-wrap: pretty; }
.prose p + p { margin-top: 18px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--mono-muted);
}

.blockquote {
  margin: 30px 0; padding: 22px 28px;
  border-left: 3px solid var(--blue);
  background: var(--bg); border-radius: 0 10px 10px 0;
}
.blockquote p {
  font-family: var(--font-serif); font-weight: 600; font-style: italic;
  font-size: 21px; line-height: 1.4; color: var(--ink);
}

.arrow { font-family: var(--font-mono); }

/* 5. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn--sm { font-size: 13.5px; padding: 12px 22px; }
.btn--xs { font-size: 13.5px; padding: 10px 18px; }

.btn--fill { background: var(--blue); color: #fff; }
.btn--fill:hover { background: var(--blue-dark); box-shadow: 0 10px 22px -10px rgba(26, 102, 168, .6); }

.btn--ghost { background: var(--surface); color: var(--blue); border-color: #c4cdd1; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-dark); }

.btn--outline-dark { background: transparent; color: #cdd6db; border-color: #3a444b; }
.btn--outline-dark:hover { border-color: #5a666e; color: #fff; }

/* Two-line stacked label (e.g. header CTA) */
.btn--stack { flex-direction: column; gap: 0; line-height: 1.1; text-align: center; font-size: 12px; padding: 5px 15px; }

/* Inline text link with arrow */
.cta-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--blue);
  text-decoration: none; transition: gap .18s ease, color .18s ease;
}
.cta-link:hover { gap: 14px; color: var(--blue-dark); }

.link { color: var(--ink-soft); text-decoration: none; transition: color .18s ease; }
.link:hover { color: var(--blue); }

/* 6. Top dealer strip ---------------------------------------------------- */
.dealer-strip { background: var(--blue); color: #fff; }
.dealer-strip__inner {
  max-width: var(--maxw-wide); margin: 0 auto; padding: 9px 28px;
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; text-align: center;
}
.dealer-strip__tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255, 255, 255, .16); padding: 3px 9px; border-radius: 999px;
}
.dealer-strip__text { font-size: 13.5px; font-weight: 500; color: var(--blue-tint); }
.dealer-strip__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}

/* 7. Header / navigation ------------------------------------------------- */
.site-header {
  background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: var(--maxw-wide); margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 13px; flex: none; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; object-fit: contain; }
.brand__text { line-height: 1.12; white-space: nowrap; }
.brand__name { display: block; font-family: Georgia, serif; font-weight: 700; font-size: 17px; color: var(--ink); }
.brand__tag {
  display: block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mono-muted);
}

.main-nav { display: flex; align-items: center; }
.main-nav__list {
  list-style: none; display: flex; align-items: center; gap: 17px;
  font-size: 13.5px; font-weight: 500; color: #3c4750; white-space: nowrap;
}
.main-nav__link {
  text-decoration: none; color: #3c4750; padding: 6px 2px;
  transition: color .18s ease;
}
.main-nav__link:hover,
.main-nav__item--active > .main-nav__link { color: var(--blue); }
.main-nav__item[aria-current="page"] > .main-nav__link { color: var(--blue); }

/* Featured nav link — emphasized, most-used (Downloads) */
.main-nav__link--featured {
  color: var(--blue); font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px;
}
.main-nav__link--featured::before {
  content: "\2193"; font-family: var(--font-mono); font-weight: 700; margin-right: 5px; text-decoration: none;
}
.main-nav__link--featured:hover { color: var(--blue-dark); }
.mobile-nav__link--featured { color: var(--blue); font-weight: 600; }
.mobile-nav__link--featured::before { content: "\2193"; font-family: var(--font-mono); font-weight: 700; margin-right: 6px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; font: inherit;
  font-weight: 500; color: #3c4750; padding: 6px 2px;
}
.dropdown-toggle:hover, .dropdown-toggle[aria-expanded="true"] { color: var(--blue); }
.dropdown-toggle__caret { font-size: 9px; transition: transform .18s ease; }
.dropdown-toggle[aria-expanded="true"] .dropdown-toggle__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 248px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 12px; box-shadow: 0 24px 48px -24px rgba(20, 24, 27, .3);
  padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.dropdown[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__link {
  display: block; padding: 11px 14px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: #3c4750; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.dropdown__link:hover, .dropdown__link:focus { background: var(--bg); color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

/* Mobile burger */
.burger {
  display: none; align-items: center; justify-content: center; flex-direction: column;
  gap: 4px; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid #e0dfd9; background: #fff; cursor: pointer; padding: 0;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Mobile panel */
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav__list { list-style: none; padding: 8px 20px 16px; }
.mobile-nav__link {
  display: block; padding: 13px 4px; border-bottom: 1px solid #f2f1ec;
  font-size: 15px; font-weight: 500; color: #3c4750; text-decoration: none;
}
.mobile-nav__sublist { list-style: none; padding-left: 14px; }
.mobile-nav__sublink {
  display: block; padding: 11px 4px; border-bottom: 1px solid #f2f1ec;
  font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none;
}
.mobile-nav__group-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: 0; border-bottom: 1px solid #f2f1ec; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 500; color: #3c4750; padding: 13px 4px;
}
.mobile-nav__group-toggle[aria-expanded="false"] + .mobile-nav__sublist { display: none; }

/* 8. Brand banner -------------------------------------------------------- */
.brand-banner { background: var(--surface); border-bottom: 1px solid var(--line); }
.brand-banner img { width: 100%; max-width: var(--maxw-wide); margin: 0 auto; height: auto; }

/* 9. Hero ---------------------------------------------------------------- */
.hero {
  background: var(--bg);
  background-image: radial-gradient(#dcdbd3 1.1px, transparent 1.1px);
  background-size: 24px 24px;
}
.hero__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 96px 40px 104px;
  display: grid; grid-template-columns: 1.06fr 1fr; gap: 72px; align-items: center;
}
.hero__grid { padding-top: 56px; }
.hero__title { margin-bottom: 0; }
.hero .lead { margin-top: 26px; max-width: 500px; }
.hero__btns { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.hero__media { position: relative; }
.hero__frame {
  position: relative; aspect-ratio: 5/6; border-radius: 24px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(20, 24, 27, .4);
}
.hero__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 12px; transition: opacity .8s ease; opacity: 0;
}
.hero__frame img.is-active { opacity: 1; }
.hero__dots {
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: flex; justify-content: center; gap: 9px; z-index: 5;
}
.hero__caption {
  margin-top: 18px; text-align: center;
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line-strong);
  box-shadow: 0 6px 18px -8px rgba(20, 24, 27, .4);
  color: var(--ink); transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.hero__arrow:hover { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(26, 102, 168, .7); }
.hero__arrow svg { width: 18px; height: 18px; display: block; }
.hero__arrow--prev { left: 10px; }
.hero__arrow--next { right: 10px; }
.hero__dot {
  width: 9px; height: 9px; border-radius: 50%; cursor: pointer; padding: 0; border: 0;
  background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7);
  transition: background .3s ease;
}
.hero__dot.is-active { background: var(--blue); }

/* Compact hero for interior pages */
/* Compact masthead for interior pages — subtle water-themed touch */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #eaf2fb 0%, #f4f8fc 55%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; pointer-events: none; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='26' viewBox='0 0 1200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 13 C 200 26 400 0 600 13 C 800 26 1000 0 1200 13 L1200 26 L0 26 Z' fill='%23d4e5f6'/%3E%3C/svg%3E") repeat-x bottom;
  background-size: 1200px 26px;
}
.page-hero__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 58px 40px 62px; }
.page-hero .h1 { font-size: 52px; margin-top: 14px; }
.page-hero .lead { margin-top: 22px; max-width: 640px; }

/* Breadcrumb */
.breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--mono-muted); }
.breadcrumb a { color: var(--mono-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 6px; }

/* 10. Cards -------------------------------------------------------------- */
.group-head {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.group-head .h3 { font-size: 23px; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid + .group-head { margin-top: 52px; }

.card {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #cdd3d0; }
.card__media { aspect-ratio: 16/10; background: #f3f2ec; position: relative; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--contain img { object-fit: contain; padding: 10px; }
.card__placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--mono-muted);
  background-image: repeating-linear-gradient(45deg, #efeee8 0 10px, #f3f2ec 10px 20px);
  text-align: center; padding: 12px;
}
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 18px; }
.card__title .sku { color: var(--muted-light); font-weight: 600; }
.card__text { margin-top: 9px; font-size: 13.5px; line-height: 1.55; color: var(--muted); flex: 1; }
.card__more {
  margin-top: 18px; display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--blue);
}

/* 11. Applications / symptoms ------------------------------------------- */
.symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.symptom {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 26px 26px 28px;
}
.symptom__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
}
.symptom__title { font-size: 19px; margin-top: 12px; }
.symptom__text { margin-top: 9px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* 12. System / how it works --------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 26px 24px 28px; position: relative;
}
.step__num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--blue); letter-spacing: .08em;
}
.step__title { font-size: 18px; margin-top: 12px; }
.step__text { margin-top: 9px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* Feature list with check marks */
.feature-list { list-style: none; display: grid; gap: 14px; }
.feature-list--2 { grid-template-columns: repeat(2, 1fr); }
.feature-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.feature-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a66a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat;
}

/* 13. Dealer + literature CTA ------------------------------------------- */
.dealer-cta {
  background: var(--dark); border-radius: var(--radius-lg); padding: 34px 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; color: #fff; flex-wrap: wrap;
}
.dealer-cta__text { min-width: 280px; flex: 1; }
.dealer-cta__tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: #8a98a2;
}
.dealer-cta__title { font-size: 24px; margin-top: 8px; color: #fff; }
.dealer-cta__copy { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: #aeb9c0; max-width: 560px; }
.dealer-cta__actions { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }

/* 14. Credibility strip ------------------------------------------------- */
.cred-grid {
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.cred-cell { padding: 36px 32px; border-right: 1px solid var(--line-strong); }
.cred-cell:last-child { border-right: 0; }
.cred-cell__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
}
.cred-cell__title { font-size: 20px; margin-top: 12px; }
.cred-cell__text { margin-top: 9px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* 15. Feature (WellSafe) section ---------------------------------------- */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature-split__media {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong);
}
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* 16. Downloads list ---------------------------------------------------- */
.dl-group { margin-bottom: 40px; }
.dl-group:last-child { margin-bottom: 0; }
.dl-list {
  list-style: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
}
.dl-item {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 22px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: background .15s ease;
}
.dl-item:last-child { border-bottom: 0; }
.dl-item:hover { background: var(--bg); }
.dl-item__left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.dl-badge {
  flex: none; width: 46px; height: 46px; border-radius: 10px;
  background: var(--blue-tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .06em;
}
.dl-item:hover .dl-badge { background: var(--blue); color: #fff; }
.dl-item__name { font-weight: 600; font-size: 15px; color: var(--ink); }
.dl-item__desc { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.dl-item__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--mono-muted); margin-top: 3px; }
.dl-item__action { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--blue); flex: none; }

/* Downloads: section jump chips + group anchors */
.dl-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.dl-jump a {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500; text-decoration: none;
  color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 8px 16px; transition: border-color .15s ease, color .15s ease;
}
.dl-jump a:hover { border-color: var(--blue); color: var(--blue); }
.dl-group { margin-bottom: 48px; scroll-margin-top: 90px; }
.dl-note {
  display: flex; align-items: center; gap: 10px; margin-bottom: 36px;
  font-size: 13.5px; color: var(--muted);
}
@media (max-width: 560px) {
  .dl-item { flex-direction: column; align-items: flex-start; gap: 14px; }
  .dl-item__action { align-self: flex-end; }
}

/* 17. Contact CTA + form ------------------------------------------------ */
.contact-cta {
  background: var(--dark); border-radius: var(--radius-lg); padding: 56px 48px;
  text-align: center; color: #fff;
}
.contact-cta .h2 { color: #fff; }
.contact-cta__copy { margin: 16px auto 0; max-width: 560px; color: #aeb9c0; font-size: 16px; line-height: 1.6; }
.contact-cta__actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.info-list { list-style: none; display: grid; gap: 22px; }
.info-list__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.info-list__value { font-size: 16px; color: var(--ink); margin-top: 6px; }
.info-list__value a { color: var(--blue); text-decoration: none; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15px; padding: 13px 15px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); outline: none; }

.note { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* 18. Footer ------------------------------------------------------------ */
.site-footer { background: var(--dark); color: var(--dark-soft); }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 54px 40px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; font-size: 13.5px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand__mark {
  width: 38px; height: 38px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.footer-brand__mark img { width: 32px; height: 32px; object-fit: contain; }
.footer-brand__name { font-family: Georgia, serif; font-weight: 700; font-size: 15px; color: #eef2f4; }
.footer__about { margin-top: 16px; line-height: 1.6; color: var(--dark-muted); max-width: 300px; }
.footer__est { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: #67737b; margin-top: 18px; }
.footer__col-title { color: #cdd6db; font-weight: 600; margin-bottom: 14px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer__links a { color: var(--dark-soft); text-decoration: none; transition: color .18s ease; }
.footer__links a:hover { color: #fff; }
.footer__contact-line { color: #cdd6db; font-weight: 500; }
.footer__contact-line a { color: var(--dark-soft); text-decoration: none; }
.footer__contact-line a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--dark-line); }
.footer-bottom__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 40px;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12px; color: #67737b; font-family: var(--font-mono); letter-spacing: .03em;
}

/* Footer main row: logo (left) · contact (center) · address (right) */
.footer-main {
  max-width: var(--maxw); margin: 0 auto; padding: 50px 40px 42px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; align-items: start; font-size: 13.5px;
}
.footer-logo { display: flex; align-items: center; gap: 18px; }
.footer-logo__mark {
  width: 88px; height: 88px; border-radius: 50%; background: #fff; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo__mark img { width: 74px; height: 74px; object-fit: contain; }
.footer-logo__name { font-family: Georgia, serif; font-weight: 700; font-size: 18px; color: #eef2f4; }
.footer-logo__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: #7f8d96; margin-top: 7px; }
.footer-col--center { text-align: center; }
.footer-col--center .footer__links { align-items: center; }
.footer-col--right { text-align: right; }
.footer__address { font-style: normal; line-height: 1.7; color: var(--dark-soft); }
.footer-links-row { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links-row a { color: var(--dark-soft); text-decoration: none; transition: color .18s ease; }
.footer-links-row a:hover { color: #fff; }

/* 19. Responsive -------------------------------------------------------- */
@media (max-width: 1180px) {
  .main-nav__list { gap: 12px; font-size: 12.5px; }
}
@media (max-width: 1024px) {
  .main-nav__list { gap: 10px; font-size: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .header-inner { gap: 16px; }
  .brand__tag { display: none; }
}
/* Hamburger only in PORTRAIT (phones/tablets) or any very narrow screen.
   In landscape the inline nav stays visible and wraps to a 2nd row if needed. */
@media (max-width: 1080px) and (orientation: portrait) {
  .main-nav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 600px) {
  .main-nav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 960px) {
  .header-inner { padding: 14px 20px; }
  .container { padding-left: 22px; padding-right: 22px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 52px 22px 60px; }
  .hero__media { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero__btns { flex-wrap: wrap; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .symptom-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .cred-cell { border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .cred-cell:last-child { border-bottom: 0; }
  .feature-split { grid-template-columns: 1fr !important; gap: 36px; }
  .section-head--split { grid-template-columns: 1fr !important; }
  .fm-video-grid, .ws-video-grid { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 44px 22px 36px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; padding: 42px 22px 34px; }
  .footer-logo { gap: 14px; }
  .footer-bottom__inner { flex-direction: column; gap: 8px; text-align: center; padding: 18px 22px; }
  .page-hero__inner { padding: 48px 22px 44px; }
  .h1 { font-size: 46px; }
  .page-hero .h1 { font-size: 40px; }
  .h2 { font-size: 32px; }
  .feature-list--2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .feature-split { grid-template-columns: 1fr !important; }
  .feature-split > * { width: 100% !important; max-width: 100% !important; }
  .section-head--split { grid-template-columns: 1fr !important; }
  .fm-video-grid, .ws-video-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .symptom-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { flex-direction: column; text-align: center; }
  .h1, .page-hero .h1 { font-size: 34px; }
  .hero__btns .btn { flex: 1 1 auto; }
  .brand__text { display: none; }
  .header-actions .btn { display: none; }
  .dealer-cta { padding: 28px 24px; }
  .contact-cta { padding: 40px 24px; }
}

/* 20. Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .hero__frame img { transition: none; }
}

/* anchor scroll offset */
.symptom[id], .dl-group[id], #symptom-index, [id].symptom { scroll-margin-top: 100px; }

@media (max-width: 768px) {
  .feature-split,
  .feature-split[style] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .feature-split > * {
    width: 100% !important;
    max-width: 100% !important;
  }
}
