/* ==========================================================================
   Garage Door Repair Pro — Bell Gardens, CA
   Design system + components. Static-first, zero dependencies, mobile-first.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #0a1728;
  --navy-800: #0f2036;
  --navy-700: #16304f;
  --navy-600: #1e4166;
  --navy-100: #e6edf5;
  --navy-50: #f2f6fa;

  --ink: #111827;
  --ink-2: #374151;
  --muted: #5b6472;
  --line: #e3e7ec;
  --line-2: #eef1f4;

  --bg: #ffffff;
  --bg-alt: #f7f9fb;
  --bg-warm: #fbfaf8;

  --cta: #c2410c;
  --cta-dark: #9a3412;
  --cta-light: #fff4ec;
  --accent: #0e7490;
  --accent-light: #ecfeff;
  --good: #15803d;
--good-400: #4ade80;
  --warn-bg: #fffbeb;
  --warn-line: #fde68a;
  --warn-ink: #92400e;
  --danger-bg: #fef2f2;
  --danger-line: #fecaca;
  --danger-ink: #991b1b;

  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;

  --sh-1: 0 1px 2px rgba(10, 23, 40, .06), 0 1px 3px rgba(10, 23, 40, .05);
  --sh-2: 0 4px 12px rgba(10, 23, 40, .07), 0 2px 4px rgba(10, 23, 40, .04);
  --sh-3: 0 12px 32px rgba(10, 23, 40, .10), 0 4px 8px rgba(10, 23, 40, .05);

  --wrap: 1140px;
  --gut: 20px;

  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --t-fast: 120ms cubic-bezier(.4, 0, .2, 1);
  --t: 200ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--cta); }

button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  color: var(--navy-900);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 750;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.3rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem); margin-top: 0; }
h3 { font-size: clamp(1.16rem, 1.02rem + .6vw, 1.4rem); letter-spacing: -.015em; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p { text-wrap: pretty; }

.eyebrow {
  font-size: .775rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: .6rem;
}
.eyebrow--cool { color: var(--accent); }

.lede { font-size: clamp(1.06rem, 1rem + .38vw, 1.22rem); color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.xs { font-size: .8rem; }
.center { text-align: center; }
.measure { max-width: 68ch; }

.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.4em; margin-bottom: -.2em; }
.prose h3 { margin-top: 1.9em; margin-bottom: -.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--navy-50);
  padding: .12em .38em;
  border-radius: 4px;
  color: var(--navy-700);
}
.prose a { font-weight: 550; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 780px; }
.section { padding-block: clamp(2.75rem, 1.7rem + 4.2vw, 4.75rem); }
.section--tight { padding-block: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-900); color: #cdd8e4; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--warm { background: var(--bg-warm); }
.section__head { max-width: 720px; margin-bottom: clamp(1.75rem, 1.2rem + 1.6vw, 2.6rem); }
.section__head.center { margin-inline: auto; }
.section__sub { font-size: 1.02rem; color: var(--ink-2); margin-top: .6rem; }
.cols { display: grid; gap: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); }
@media (min-width: 860px) { .cols { grid-template-columns: repeat(3, minmax(0,1fr)); } .cols--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.cols h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.cols > :last-child { margin-bottom: 0; }
.links-inline { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.links-inline a {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .42rem .85rem; font-size: .885rem; font-weight: 600;
  color: var(--ink-2); text-decoration: none; transition: all var(--t-fast);
}
.links-inline a:hover { border-color: var(--cta); color: var(--cta); }

.stack > * + * { margin-top: var(--gap, 1rem); }
.grid { display: grid; gap: clamp(1rem, .7rem + .9vw, 1.4rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }

.hr { height: 1px; background: var(--line); border: 0; margin-block: 1.5rem; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius) 0; font-weight: 650; text-decoration: none;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900); color: #a9b8c9;
  font-size: .82rem; border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__in {
  display: flex; flex-wrap: wrap; gap: .4rem 1.5rem;
  align-items: center; justify-content: space-between; min-height: 42px;
}
.topbar__list { display: flex; flex-wrap: wrap; gap: .35rem 1.35rem; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: .42rem; }
.topbar__item svg { width: 15px; height: 15px; flex: none; color: var(--cta); }
.topbar a { color: #cdd8e4; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 700px) { .topbar__item--hide-sm { display: none; } }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr__in {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px; justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; gap: .62rem; text-decoration: none; flex: none; }
.logo:hover { text-decoration: none; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.12; }
.logo__name { font-weight: 800; font-size: 1.03rem; color: var(--navy-900); letter-spacing: -.02em; }
.logo__sub { font-size: .715rem; color: var(--muted); font-weight: 600; letter-spacing: .045em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: .18rem; }
.nav > a {
  padding: .5rem .66rem; border-radius: var(--radius-s);
  font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
  white-space: nowrap; transition: background var(--t-fast), color var(--t-fast);
}
.nav > a:hover { background: var(--navy-50); color: var(--navy-900); }
@media (max-width: 1000px) { .nav--desk { display: none; } }

.hdr__actions { display: flex; align-items: center; gap: .5rem; flex: none; }
@media (max-width: 620px) { .hdr__cta-desk { display: none; } }

/* Burger */
.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-s);
  cursor: pointer; color: var(--navy-900);
}
.burger:hover { background: var(--navy-50); }
.burger span {
  display: block; width: 19px; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform var(--t), opacity var(--t);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1000px) { .burger { display: inline-flex; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.35rem; border-radius: var(--radius); border: 1px solid transparent;
  font-size: .95rem; font-weight: 650; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--cta); color: #fff; box-shadow: var(--sh-1); }
.btn--primary:hover { background: var(--cta-dark); color: #fff; box-shadow: var(--sh-2); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy-900); border-color: var(--line); }
.btn--ghost:hover { background: var(--navy-50); border-color: #c9d3de; color: var(--navy-900); }
.btn--onNavy { background: #fff; color: var(--navy-900); }
.btn--onNavy:hover { background: var(--navy-100); color: var(--navy-900); }
.btn--outlineNavy { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn--outlineNavy:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn--lg { padding: 1rem 1.75rem; font-size: 1.02rem; min-height: 56px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 480px) { .btn-row > .btn { width: 100%; } }

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: 1rem var(--gut) 2.5rem;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(-100%); visibility: hidden;
  transition: transform var(--t), visibility var(--t);
}
.drawer[data-open="true"] { transform: translateY(0); visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: .5rem; }
.drawer__close {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-50); border: 0; border-radius: 50%; cursor: pointer; color: var(--navy-900);
}
.drawer__close:hover { background: var(--navy-100); }
.drawer__close svg { width: 20px; height: 20px; }
.drawer a { text-decoration: none; }
.drawer__group { border-top: 1px solid var(--line-2); padding-block: .95rem; }
.drawer__label {
  font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .45rem;
}
.drawer__link {
  display: flex; align-items: center; min-height: 44px;
  padding: .6rem 0; font-size: 1.02rem; font-weight: 600; color: var(--navy-900);
  border-bottom: 1px solid var(--line-2);
}
.drawer__link:last-child { border-bottom: 0; }
.drawer__link:hover { color: var(--cta); }
.drawer__actions { margin-top: 1.4rem; display: grid; gap: .6rem; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__in {
  display: grid; gap: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
  grid-template-columns: 1fr; align-items: center;
  padding-block: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
}
@media (min-width: 940px) { .hero__in { grid-template-columns: 1.06fr .94fr; } }

.hero h1 { margin-bottom: .85rem; }
.hero__sub { font-size: clamp(1.04rem, .99rem + .4vw, 1.2rem); color: var(--ink-2); max-width: 54ch; }
.hero__cta { margin-top: 1.6rem; }
.hero__trust {
  margin-top: 1.6rem; padding-top: 1.35rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .55rem .95rem;
  font-size: .875rem; color: var(--muted); font-weight: 550;
}
.hero__trust li { display: flex; align-items: center; gap: .42rem; }
.hero__trust svg { width: 16px; height: 16px; color: var(--good); flex: none; }
.hero__trust ul { list-style: none; padding: 0; display: contents; }

.hero__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--sh-3); padding: clamp(1.25rem, 1rem + 1vw, 1.85rem);
}
.hero__panel h2 { font-size: 1.2rem; margin-bottom: .3rem; }
.hero__panel > p { font-size: .92rem; margin-bottom: 1.15rem; }
.hero__panel form { display: grid; gap: .8rem; }
.hero__row { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 420px) { .hero__row--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Why us (hero trust block) ---------- */
.why {
  margin-top: 2.4rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.why__h {
  font-size: 1.32rem; line-height: 1.25; letter-spacing: -.015em;
  color: var(--navy-900); margin-bottom: .7rem;
}
.why__lead {
  font-size: 1.06rem; line-height: 1.62; color: var(--ink-2);
  max-width: 62ch; margin-bottom: 1.6rem;
}
.why__grid {
  display: grid; gap: 1.25rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.why__item h3 {
  font-size: 1.03rem; line-height: 1.35; color: var(--navy-900);
  margin-bottom: .4rem;
}
.why__item p { font-size: .95rem; line-height: 1.62; color: var(--ink-2); }

/* ---------- Form ---------- */
.field { display: grid; gap: .32rem; }
.field > label { font-size: .82rem; font-weight: 650; color: var(--navy-900); }
.field .hint { font-size: .78rem; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="search"], select, textarea {
  width: 100%; padding: .7rem .8rem; min-height: 48px;
  border: 1px solid #cfd6de; border-radius: var(--radius-s);
  background: #fff; color: var(--ink); font-size: .95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, .16);
}
input::placeholder, textarea::placeholder { color: #9aa3af; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235b6472'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 18px;
}
.form-ok {
  display: none; gap: .55rem; align-items: flex-start;
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d;
  padding: .8rem .9rem; border-radius: var(--radius-s); font-size: .9rem; font-weight: 550;
}
.form-ok[data-show="true"] { display: flex; }
.form-ok svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* Call-first confirmation panel. Hidden until the form is submitted. */
.form-call {
  display: none;
  background: var(--brand-50, #f5f3ff);
  border: 1px solid #ddd6fe;
  border-radius: var(--radius-m, var(--radius-s));
  padding: 1.1rem 1.1rem 1.15rem;
  text-align: center;
}
.form-call[data-show="true"] { display: block; }
.form-call:focus { outline: 3px solid var(--brand, #4f46e5); outline-offset: 2px; }
.form-call__lead { font-size: 1.05rem; font-weight: 650; margin: 0 0 .4rem; }
.form-call__note { font-size: .87rem; color: var(--ink-2, var(--muted)); margin: 0 0 1rem; line-height: 1.5; }
.form-call__btn { margin-bottom: .6rem; }
.form-call__btn svg { width: 18px; height: 18px; flex: none; }
.form-call__hours { font-size: .78rem; color: var(--muted); margin: 0; }

.form-note { font-size: .78rem; color: var(--muted); }

.chipset { display: flex; flex-wrap: wrap; gap: .4rem; }
.chipset input { position: absolute; opacity: 0; width: 0; height: 0; }
.chipset label {
  display: inline-flex; align-items: center; gap: .38rem;
  padding: .48rem .78rem; min-height: 40px;
  border: 1px solid #cfd6de; border-radius: 100px;
  font-size: .855rem; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all var(--t-fast); user-select: none;
}
.chipset label:hover { border-color: var(--navy-600); background: var(--navy-50); }
.chipset input:checked + label {
  background: var(--navy-900); border-color: var(--navy-900); color: #fff;
}
.chipset input:focus-visible + label { outline: 2px solid var(--cta); outline-offset: 2px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.05rem, .9rem + .5vw, 1.4rem);
  display: flex; flex-direction: column; gap: .55rem;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
a.card { text-decoration: none; color: inherit; }
a.card:hover {
  border-color: #c2ccd6; box-shadow: var(--sh-2); transform: translateY(-2px); color: inherit;
}
.card h3 { font-size: 1.055rem; }
.card p { font-size: .9rem; color: var(--muted); }
.card__more {
  margin-top: auto; padding-top: .5rem;
  font-size: .855rem; font-weight: 650; color: var(--cta);
  display: inline-flex; align-items: center; gap: .35rem;
}
.card__more svg { width: 15px; height: 15px; transition: transform var(--t); }
a.card:hover .card__more svg { transform: translateX(3px); }
.card__ico {
  width: 40px; height: 40px; border-radius: var(--radius-s);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-50); color: var(--navy-700); margin-bottom: .15rem;
}
.card__ico svg { width: 21px; height: 21px; }
.card__ico--warm { background: var(--cta-light); color: var(--cta-dark); }
.card__ico--cool { background: var(--accent-light); color: var(--accent); }

.card--flat { background: var(--bg-alt); border-color: transparent; }
.card--flat:hover { background: #fff; }

/* Card list (vertical, with chevron) */
.linklist { display: grid; gap: .55rem; }
.linklist a {
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem .95rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .945rem;
  transition: all var(--t-fast);
}
.linklist a:hover { border-color: var(--navy-600); background: var(--navy-50); color: var(--navy-900); }
.linklist svg:first-child { width: 19px; height: 19px; color: var(--cta); flex: none; }
.linklist .go { margin-left: auto; color: var(--muted); flex: none; }
.linklist .go svg { width: 16px; height: 16px; color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 30rem; }
th, td { text-align: left; padding: .78rem .95rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead th {
  background: var(--navy-50); font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--navy-800);
  border-bottom: 1px solid var(--line);
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-alt); }
td strong { color: var(--navy-900); }

/* ---------- Callouts ---------- */
.note {
  border-radius: var(--radius); padding: 1.05rem 1.2rem;
  border: 1px solid var(--line); background: var(--bg-alt);
  border-left: 3px solid var(--navy-600);
}
.note > :first-child { margin-top: 0; }
.note > :last-child { margin-bottom: 0; }
.note__title {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700; color: var(--navy-900); margin-bottom: .4rem; font-size: .985rem;
}
.note__title svg { width: 18px; height: 18px; flex: none; }
.note--warn { background: var(--warn-bg); border-color: var(--warn-line); border-left-color: #d97706; }
.note--warn .note__title { color: var(--warn-ink); }
.note--danger { background: var(--danger-bg); border-color: var(--danger-line); border-left-color: #dc2626; }
.note--danger .note__title { color: var(--danger-ink); }
.note--tip { background: #f0fdf4; border-color: #bbf7d0; border-left-color: var(--good); }
.note--tip .note__title { color: #14532d; }
.note--info { background: var(--bg-alt); border-color: var(--line); border-left-color: var(--navy-900); }
.note--info .note__title { color: var(--navy-900); }
.note svg { width: 19px; height: 19px; flex: none; margin-top: .18rem; }
.note strong { color: var(--navy-900); }

/* ---------- Trust strip ---------- */
.trust {
  list-style: none; padding: 0; margin: 1.15rem 0 0;
  display: flex; flex-wrap: wrap; gap: .45rem .5rem;
}
.trust li {
  display: inline-flex; align-items: center; gap: .38rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: .3rem .7rem;
  font-size: .8rem; font-weight: 600; color: #dbe5ef; white-space: nowrap;
}
.trust svg { width: 15px; height: 15px; flex: none; color: var(--good-400); }

/* ---------- Lead paragraph ---------- */
.lead { font-size: 1.08rem; line-height: 1.68; color: var(--ink-2); max-width: 68ch; }
.byline { font-size: .82rem; color: var(--muted); margin-top: -.4rem; }

/* ---------- Self-check list (problem pages) ---------- */
.selfcheck {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--cta);
  border-radius: var(--radius); padding: 1.35rem 1.5rem; margin: 1.6rem 0;
  box-shadow: var(--sh-1);
}
.selfcheck__head { display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; color: var(--navy-900); }
.selfcheck__head svg { width: 20px; height: 20px; flex: none; color: var(--cta); }
.selfcheck__head h2 { font-size: 1.12rem; margin: 0; letter-spacing: -.01em; }
.selfcheck ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; counter-reset: sc; }
.selfcheck li {
  counter-increment: sc; display: grid; grid-template-columns: auto 1fr; gap: .7rem;
  align-items: start; font-size: .95rem; line-height: 1.6; color: var(--ink-2);
}
.selfcheck li svg { width: 17px; height: 17px; flex: none; margin-top: .22rem; color: var(--good); }

/* ---------- Related grid ---------- */
.relgrid { display: grid; gap: .5rem; margin-top: 1.1rem; }
@media (min-width: 620px) { .relgrid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.relgrid__item {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: .8rem .95rem; font-size: .915rem; font-weight: 600; color: var(--ink);
  text-decoration: none; transition: all var(--t-fast);
}
.relgrid__item:hover { border-color: var(--cta); color: var(--cta); transform: translateX(2px); }
.relgrid__item svg { width: 17px; height: 17px; flex: none; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; gap: clamp(1rem, .8rem + .6vw, 1.5rem); }
@media (min-width: 720px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 2.9rem; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: #fff;
  font-size: .95rem; font-weight: 750;
}
.step h3 { font-size: 1.03rem; margin-bottom: .3rem; }
.step p { font-size: .9rem; color: var(--muted); }
@media (min-width: 720px) { .steps--4 .step::after, .steps--3 .step::after {
  content: ""; position: absolute; top: 18px; right: -.5rem; left: 2.6rem;
  height: 1px; background: var(--line);
} .steps--4 .step:last-child::after, .steps--3 .step:last-child::after { display: none; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--t-fast);
}
.faq details[open] { border-color: #c2ccd6; box-shadow: var(--sh-1); }
.faq summary {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: 1rem 1.1rem; cursor: pointer; list-style: none;
  font-weight: 650; color: var(--navy-900); font-size: 1rem; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 16px; height: 16px; margin-top: .3rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23000'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
  color: var(--cta);
  transition: transform var(--t);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--cta); }
.faq__body { padding: 0 1.1rem 1.1rem; font-size: .945rem; color: var(--ink-2); }
.faq__body > :first-child { margin-top: 0; }
.faq__body > :last-child { margin-bottom: 0; }

/* ---------- Breadcrumb ---------- */
.crumb { padding-block: .95rem; border-bottom: 1px solid var(--line-2); font-size: .83rem; }
.crumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: center; }
.crumb li { display: flex; align-items: center; gap: .5rem; color: var(--muted); }
.crumb li + li::before { content: "/"; color: #c3cad3; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--cta); text-decoration: underline; }
.crumb [aria-current] { color: var(--navy-900); font-weight: 600; }

/* ---------- Page hero (interior) ---------- */
.phero { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.phero__in { padding-block: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem); max-width: 830px; }
.phero h1 { margin-bottom: .8rem; }
.phero__sub { font-size: clamp(1.02rem, .98rem + .35vw, 1.15rem); color: var(--ink-2); }
.phero__cta { margin-top: 1.5rem; }
.phero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: 1.4rem;
  padding-top: 1.15rem; border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--muted); font-weight: 550;
}
.phero__meta span { display: inline-flex; align-items: center; gap: .38rem; }
.phero__meta svg { width: 15px; height: 15px; color: var(--good); flex: none; }

/* ---------- Content layout ---------- */
.layout { display: grid; gap: clamp(1.75rem, 1.3rem + 2vw, 3.25rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (min-width: 1000px) { .layout--rev { grid-template-columns: 300px minmax(0, 1fr); } .layout--rev .layout__aside { order: -1; } }

.aside { display: grid; gap: 1.1rem; }
@media (min-width: 1000px) { .aside { position: sticky; top: 92px; } }
.aside__box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--sh-1);
}
.aside__box h2 { font-size: 1.05rem; margin-bottom: .5rem; }
.aside__box > p { font-size: .885rem; color: var(--muted); }
.aside__box form { display: grid; gap: .75rem; margin-top: 1rem; }
.aside__nav { background: var(--bg-alt); border-color: transparent; }
.aside__nav h2 { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.aside__nav ul { list-style: none; padding: 0; display: grid; gap: .1rem; }
.aside__label {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
  padding: .8rem .7rem .3rem;
}
.aside__label:first-child { padding-top: 0; }
.aside__nav a {
  display: block; padding: .48rem .6rem; margin-inline: -.6rem;
  border-radius: var(--radius-s); font-size: .9rem; font-weight: 550;
  color: var(--ink-2); text-decoration: none; transition: all var(--t-fast);
}
.aside__nav a:hover { background: #fff; color: var(--navy-900); }
.aside__nav a[aria-current="page"] { color: var(--cta); font-weight: 650; background: #fff; }

/* ---------- TOC ---------- */
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.toc h2 { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.toc ol { list-style: none; padding: 0; display: grid; gap: .3rem; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: .6rem; font-size: .895rem; font-weight: 550; color: var(--ink-2); text-decoration: none; }
.toc a::before { content: counter(t) "."; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.toc a:hover { color: var(--cta); }

/* ---------- Stat strip ---------- */
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: #fff; padding: 1.15rem 1.25rem; }
.stat dt { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.stat dd { margin: 0; font-size: 1.06rem; font-weight: 700; color: var(--navy-900); line-height: 1.4; }

/* ---------- Sticky mobile CTA ---------- */
.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: .55rem; padding: .6rem var(--gut) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(10, 23, 40, .08);
}
.mcta .btn { flex: 1; }
@media (max-width: 720px) { .mcta { display: flex; } body { padding-bottom: 74px; } }
@media (max-width: 400px) { .mcta { padding-inline: 12px; } .mcta .btn { padding-inline: .6rem; font-size: .875rem; } }

/* ---------- Closing CTA band ---------- */
.cta-band {
  background: var(--navy-900); color: #cdd8e4;
  border-radius: var(--radius-l); padding: clamp(1.65rem, 1.2rem + 2vw, 2.9rem);
  display: grid; gap: 1.4rem; align-items: center;
}
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; gap: 2.2rem; } }
.cta-band h2 { color: #fff; margin-bottom: .45rem; }
.cta-band p { color: #a9b8c9; font-size: .98rem; max-width: 58ch; }
.cta-band .btn-row { flex-wrap: nowrap; }
@media (max-width: 420px) { .cta-band .btn-row { flex-wrap: wrap; width: 100%; } .cta-band .btn { width: 100%; } }

/* ---------- Mid-page CTA band (service / problem / area / guide pages) ---------- */
.ctaband { background: var(--navy-900); color: #cdd8e4; }
.ctaband__in {
  display: grid; gap: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); align-items: center;
}
@media (min-width: 900px) { .ctaband__in { grid-template-columns: minmax(0, 1fr) auto; } }
.ctaband__copy h2 { color: #fff; margin-bottom: .5rem; }
.ctaband__copy > p { color: #a9b8c9; font-size: 1rem; max-width: 54ch; }
.ctaband__list {
  list-style: none; padding: 0; margin: 1.1rem 0 0;
  display: grid; gap: .5rem;
}
.ctaband__list li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .93rem; color: #cdd8e4;
}
.ctaband__list svg { width: 17px; height: 17px; flex: none; margin-top: .12rem; color: var(--good-400); }
.ctaband__actions { display: grid; gap: .6rem; justify-items: stretch; }
@media (min-width: 900px) { .ctaband__actions { justify-items: stretch; min-width: 230px; } }
.ctaband__actions .btn { justify-content: center; }
.ctaband__note { font-size: .8rem; color: #8b9cb0; text-align: center; max-width: 30ch; }

/* ---------- Chips (tag pills) ---------- */
.chips {
  list-style: none; padding: 0; margin: 1.1rem 0 0;
  display: flex; flex-wrap: wrap; gap: .45rem;
}
.chip {
  display: inline-flex; align-items: center;
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-2); font-weight: 550; white-space: nowrap;
}
.chip svg { width: 14px; height: 14px; flex: none; margin-right: .35rem; color: var(--accent); }

/* ---------- Arrow link rows ---------- */
.links-inline {
  list-style: none; padding: 0; margin: 1.1rem 0 0;
  display: grid; gap: .5rem;
}
.link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--navy-900); font-weight: 600; text-decoration: none;
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.link:hover { border-color: var(--cta); color: var(--cta); transform: translateX(3px); }
.link svg { width: 18px; height: 18px; flex: none; }

/* ---------- Photo gallery ---------- */
.gallery {
  display: grid; gap: 1.25rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
  list-style: none; padding: 0; margin: 0;
}
.gallery > li { margin: 0; }
.shot { margin: 0; display: grid; gap: .6rem; align-content: start; }
.shot__frame {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--navy-800);
}
.shot__frame img {
  display: block; width: 100%; height: auto;
  transition: transform 400ms cubic-bezier(.2, .7, .3, 1);
}
.shot:hover .shot__frame img { transform: scale(1.035); }
.shot__frame:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }
.shot__cap { font-size: .875rem; color: var(--ink-2); line-height: 1.5; }
.shot__cap strong { color: var(--navy-900); display: block; font-size: .93rem; }


/* ---------- Layout main column ---------- */
.layout__main { min-width: 0; }

/* ---------- Footer ---------- */
.ftr { background: var(--navy-900); color: #93a4b6; margin-top: auto; font-size: .9rem; }
.ftr a { color: #cdd8e4; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__in { padding-block: clamp(2.25rem, 1.6rem + 2.4vw, 3.4rem) 0; }
.ftr__grid { display: grid; gap: 1.9rem; }
@media (min-width: 700px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .ftr__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.ftr h2 {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: #7d90a4; margin-bottom: .85rem; font-weight: 700;
}
.ftr ul { list-style: none; padding: 0; display: grid; gap: .48rem; }
.ftr .logo__name { color: #fff; }
.ftr .logo__sub { color: #7d90a4; }
.ftr__about { font-size: .885rem; max-width: 42ch; margin-top: .9rem; }
.ftr__contact { display: grid; gap: .5rem; margin-top: .9rem; }
.ftr__contact li { display: flex; align-items: flex-start; gap: .5rem; }
.ftr__contact svg { width: 16px; height: 16px; flex: none; margin-top: .22rem; color: var(--cta); }
.ftr__disc {
  margin-top: 2.25rem; padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-s);
}
.ftr__disc p { margin: 0; font-size: .78rem; line-height: 1.6; color: #7d90a6; }
.ftr__disc strong { color: #a8b8c9; font-weight: 650; }
.ftr__bar {
  margin-top: 1.25rem; padding-block: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex; flex-wrap: wrap; gap: .5rem 1.35rem;
  align-items: center; justify-content: space-between; font-size: .82rem; color: #6f8298;
}
.ftr__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none; padding: 0; margin: 0; }

/* ---------- 404 / thank-you ---------- */
.n404 { max-width: 44rem; margin-inline: auto; text-align: center; }
.n404__code {
  font-size: clamp(4rem, 3rem + 6vw, 7.5rem); line-height: .9; font-weight: 800;
  letter-spacing: -.04em; color: var(--navy-100); margin-bottom: .35rem;
}
.n404 h1 { margin-bottom: .75rem; }
.n404 .lead { margin-inline: auto; }
.card--center { text-align: center; }
.card--center .card__ic { margin-inline: auto; }
.card__ic--lg { width: 56px; height: 56px; margin-bottom: 1rem; }
.card__ic--lg svg { width: 30px; height: 30px; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: .6rem; }
.mt-2 { margin-top: 1.15rem; }
.mt-3 { margin-top: 1.8rem; }
.mt-4 { margin-top: 2.6rem; }
.mb-2 { margin-bottom: 1.15rem; }
.mb-3 { margin-bottom: 1.8rem; }
.mb-4 { margin-bottom: 2.6rem; }
.my-2 { margin-top: 1.15rem; margin-bottom: 1.15rem; }
.my-3 { margin-top: 1.8rem; margin-bottom: 1.8rem; }
.anchor { scroll-margin-top: 100px; }

/* ---------- Print ---------- */
@media print {
  .hdr, .mcta, .drawer, .topbar, .ftr, .btn { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .card, .note, .aside__box { border: 1px solid #999; box-shadow: none; break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  a.card:hover { transform: none; }
}
