/* ==========================================================================
   Rapid Plumber Laguna Niguel — site.css
   Brand system derived from the supplied logo:
   royal blue #0B389D + safety orange #DC4C05, condensed heavy type,
   "pipe & coupling" motif taken from the logo mark.
   ========================================================================== */

:root {
  --blue: #0B389D;
  --blue-700: #082C7C;
  --blue-900: #061A4A;
  --ink: #0B1530;
  --orange: #DC4C05;
  --orange-strong: #C24204;   /* AA contrast with white text */
  --orange-soft: #FCE9DD;
  --blue-soft: #E6ECF8;
  --paper: #F6F3EC;
  --paper-2: #EFEBE1;
  --white: #FFFFFF;
  --line: #DED8CB;
  --line-cool: #D5DCEA;
  --text: #1C2436;
  --muted: #4B556A;

  --f-head: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(11, 21, 48, .06), 0 8px 24px rgba(11, 21, 48, .08);
  --shadow-lg: 0 2px 4px rgba(11, 21, 48, .06), 0 24px 48px rgba(11, 21, 48, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-strong); }
ul[class], ol[class] { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-stretch: 78%;
  font-weight: 800;
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-stretch: 85%; font-weight: 750; line-height: 1.15; }
h4 { font-size: 1.1rem; font-stretch: 90%; font-weight: 700; }
p { text-wrap: pretty; }
p + p { margin-top: 1em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); }
strong { font-weight: 700; color: var(--ink); }

/* Eyebrow label with "coupling" glyph from the logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange-strong);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 10px; flex: none;
  background:
    linear-gradient(var(--orange), var(--orange)) left center / 12px 6px no-repeat,
    linear-gradient(var(--blue), var(--blue)) right center / 12px 6px no-repeat;
  border-radius: 1px;
}
.eyebrow--light { color: #FFB48A; }
.eyebrow--light::before {
  background:
    linear-gradient(var(--orange), var(--orange)) left center / 12px 6px no-repeat,
    linear-gradient(#fff, #fff) right center / 12px 6px no-repeat;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 + p { margin-top: 18px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

/* Pipe rule: two pipe segments joined by a coupling (logo motif) */
.pipe-rule { display: flex; align-items: center; height: 14px; margin: 0 0 28px; max-width: 220px; }
.pipe-rule span { height: 6px; flex: 1; background: var(--orange); }
.pipe-rule span + i + span { background: var(--blue); }
.pipe-rule i { width: 12px; height: 14px; background: var(--ink); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  font-family: var(--f-head); font-stretch: 90%; font-weight: 700; font-size: 1.05rem; letter-spacing: .01em;
  text-decoration: none; border-radius: var(--r-sm); border: 2px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .98rem; }
.btn--orange { background: var(--orange-strong); color: #fff; box-shadow: 0 6px 18px rgba(194, 66, 4, .28); }
.btn--orange:hover { background: #A93903; color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-700); color: #fff; }
.btn--line { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--line:hover { background: var(--blue); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--blue-900); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; }
.text-link .ico--arrow { transition: transform .2s var(--ease); }
.text-link:hover .ico--arrow { transform: translateX(4px); }

/* ---------- Editorial photography ---------- */
.content-photo {
  display: block; width: 100%; aspect-ratio: var(--ar, 4 / 3); object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow); background: var(--blue-soft);
}

/* Legacy placeholder styles retained for any future draft content. */
.ph {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  aspect-ratio: var(--ar, 4 / 3); width: 100%; padding: 18px;
  border-radius: var(--r-lg); overflow: hidden; color: var(--blue-900);
  background:
    linear-gradient(rgba(11, 56, 157, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(11, 56, 157, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(135deg, #E9EEF8, #F6F1E8);
  border: 2px dashed rgba(11, 56, 157, .3);
}
.ph::before {
  content: ''; position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; transform: translate(-50%, -62%);
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B389D' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' opacity='.45'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E");
}
.ph__tag { position: relative; align-self: flex-start; font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--blue); color: #fff; padding: 4px 8px; border-radius: 3px; }
.ph__subject { position: relative; font-size: .88rem; line-height: 1.45; color: var(--blue-900); max-width: 46ch; }
.ph--dark { background: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(135deg, #0E2F7E, #061A4A); border-color: rgba(255, 255, 255, .3); }
.ph--dark .ph__subject { color: #DCE4F7; }
.ph--dark .ph__tag { background: var(--orange-strong); }
.ph--dark::before { filter: brightness(3); }

/* ---------- Utility bar & masthead ---------- */
.utility { background: var(--blue-900); color: #C9D3EC; font-size: .85rem; }
.utility__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.utility__item { display: flex; align-items: center; gap: 8px; }
.utility__item .ico { color: var(--orange); }
.utility a { color: #fff; font-weight: 600; text-decoration: none; }
.utility a:hover { color: #FFB48A; }
.utility__sep { opacity: .4; margin-inline: 6px; }

.masthead { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line-cool); backdrop-filter: saturate(1.4) blur(8px); }
.masthead__row { display: flex; align-items: center; gap: 28px; min-height: var(--head-h); }
.brand { flex: none; display: block; }
.brand__logo { width: auto; height: 54px; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; min-height: 44px;
  font-family: var(--f-head); font-stretch: 90%; font-weight: 700; font-size: 1.02rem;
  color: var(--ink); text-decoration: none; background: none; border: 0; border-radius: var(--r-sm);
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-current { color: var(--blue); }
.nav__link[aria-current="page"], .nav__link.is-current { box-shadow: inset 0 -3px 0 var(--orange); }
.nav__trigger[aria-expanded="true"] .ico--chev { transform: rotate(180deg); }
.ico--chev { transition: transform .2s; fill: none; }
.nav__dd { position: relative; }
.dd {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 380px;
  background: #fff; border: 1px solid var(--line-cool); border-top: 4px solid var(--orange); border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--shadow-lg); padding: 8px; display: none;
}
.nav__trigger[aria-expanded="true"] + .dd { display: block; }
.dd a { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; }
.dd a:hover, .dd a[aria-current="page"] { background: var(--blue-soft); }
.dd__name { font-family: var(--f-head); font-stretch: 88%; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.dd__hint { font-size: .82rem; color: var(--muted); }
.nav__mobile-cta { display: none; }
.masthead__cta { display: flex; align-items: center; gap: 18px; }
.masthead__phone { display: grid; text-decoration: none; line-height: 1.2; text-align: right; }
.masthead__phone-label { font-size: .72rem; font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.masthead__phone-num { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; font-family: var(--f-head); font-stretch: 85%; font-weight: 800; font-size: 1.3rem; color: var(--blue); }
.masthead__phone-num .ico { color: var(--orange); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: var(--blue); border-radius: var(--r-sm); padding: 14px 12px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 3px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .masthead__phone-label { display: none; }
}
@media (max-width: 960px) {
  :root { --head-h: 68px; }
  .utility { display: none; }
  .masthead { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .brand__logo { height: 46px; }
  .masthead__cta { display: none; }
  .burger { display: flex; z-index: 1001; }
  .nav {
    position: fixed; top: var(--head-h); left: 0; right: 0; bottom: 0;
    width: 100%; height: calc(100vh - var(--head-h)); height: calc(100dvh - var(--head-h));
    background: #fff; padding: 20px var(--gutter) 80px;
    overflow-y: auto; -webkit-overflow-scrolling: touch; display: none; margin: 0;
    border-top: 1px solid var(--line-cool); z-index: 999;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line-cool); }
  .nav__link { width: 100%; justify-content: space-between; font-size: 1.25rem; padding: 14px 4px; min-height: 56px; }
  .nav__link[aria-current="page"], .nav__link.is-current { box-shadow: none; color: var(--orange-strong); }
  .dd {
    position: static; transform: none; width: auto; box-shadow: none; border: 0;
    padding: 6px 0 14px 14px; border-left: 3px solid var(--blue-soft); margin: 4px 0 10px 6px;
  }
  .dd a { padding: 8px 10px; }
  .nav__mobile-cta { display: grid; gap: 12px; margin-top: 24px; padding-bottom: 24px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .utility { display: none; }
}

/* ---------- Data table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.data { font-size: .97rem; min-width: 620px; }
.data caption { text-align: left; padding: 14px 18px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.data th, .data td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.data thead th { background: var(--ink); color: #fff; font-family: var(--f-head); font-stretch: 88%; font-weight: 700; font-size: 1rem; letter-spacing: .01em; }
.data tbody th { font-weight: 700; color: var(--ink); width: 26%; }
.data tbody tr:nth-child(even) { background: #FBFAF6; }
.data tbody tr:last-child > * { border-bottom: 0; }
.data a { font-weight: 600; }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 16px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; display: grid; gap: 8px; margin-top: 1em; }
.prose ul:not([class]) li::marker { color: var(--orange); }
.prose h3 { margin-top: 1.6em; margin-bottom: .5em; }
.prose p + ul, .prose p + ol { margin-top: 1em; }
.prose ul + p, .prose ol + p, .prose .table-wrap + p { margin-top: 1em; }

/* ---------- FAQ (details) ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 18px 22px; font-family: var(--f-head); font-stretch: 88%; font-weight: 700; font-size: 1.18rem; color: var(--ink); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M6 0h2v14H6z M0 6h14v2H0z' fill='%230B389D'/%3E%3C/svg%3E"); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange-soft); }
.faq .faq__a { padding: 0 22px 20px; color: var(--text); }
.faq .faq__a p + p { margin-top: .8em; }

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */
.h-hero {
  position: relative; overflow: hidden; color: #DCE4F7;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(1200px 600px at 85% -10%, #1747B8 0%, transparent 60%),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-900) 70%);
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
}
.h-hero__art { position: absolute; right: -80px; bottom: -40px; width: 560px; opacity: .14; pointer-events: none; }
.h-hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.h-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
.h-hero h1 .hl { color: #FF9A5C; display: block; }
.h-hero .lede { color: #C9D3EC; margin-top: 22px; max-width: 58ch; }
.h-hero .btn-row { margin-top: 32px; }
.h-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .93rem; }
.h-hero__meta li { display: flex; align-items: center; gap: 8px; }
.h-hero__meta .ico { color: var(--orange); }

.router { background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.router__head { padding: 22px 24px 16px; border-bottom: 1px solid var(--line-cool); }
.router__head h2 { font-size: 1.6rem; }
.router__head p { font-size: .92rem; color: var(--muted); margin-top: 4px; }
.router__list { padding: 6px; }
.router__list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px; padding: 13px 18px; text-decoration: none; border-radius: var(--r); color: var(--text); }
.router__list a + a { border-top: 1px dashed var(--line-cool); }
.router__list a:hover { background: var(--paper); }
.router__q { font-weight: 600; color: var(--ink); line-height: 1.35; }
.router__svc { grid-column: 1; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--orange-strong); }
.router__list .ico--arrow { grid-row: 1 / span 2; grid-column: 2; color: var(--blue); transition: transform .2s var(--ease); }
.router__list a:hover .ico--arrow { transform: translateX(4px); }
.router__foot { background: var(--paper); padding: 14px 24px; font-size: .9rem; }
.router__foot a { font-weight: 700; }

/* Service line (pipe map) */
.svc-map { position: relative; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: 90px 1.1fr 1.4fr 280px; gap: 24px 32px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.svc-row__num { font-family: var(--f-head); font-stretch: 75%; font-weight: 900; font-size: 3rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.svc-row:hover .svc-row__num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.svc-row h3 a { color: var(--ink); text-decoration: none; }
.svc-row h3 a:hover { color: var(--blue); }
.svc-row__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.svc-row__tags li { font-size: .8rem; background: var(--blue-soft); color: var(--blue-700); border-radius: 99px; padding: 3px 10px; }
.svc-row p { color: var(--muted); }
.svc-row .text-link { margin-top: 4px; }
.svc-row__media { display: grid; gap: 12px; }
.svc-row__media .ph--svc { aspect-ratio: var(--ar, 4 / 3); }
.svc-row__media .text-link { justify-self: start; }

/* Diagnosis split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.qpanel { background: var(--ink); color: #D7DEEF; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); margin-top: 28px; }
.qpanel h3 { color: #fff; margin-bottom: 16px; }
.qpanel ol { counter-reset: q; display: grid; gap: 14px; }
.qpanel li { counter-increment: q; display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.qpanel li::before { content: counter(q, decimal-leading-zero); font-family: var(--f-mono); font-weight: 600; color: var(--orange); padding-top: 1px; }

/* Process timeline along a pipe */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: st; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px 26px; counter-increment: st; }
.step::before { content: counter(st, decimal-leading-zero); display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: var(--r-sm); background: var(--blue); color: #fff; font-family: var(--f-mono); font-weight: 600; }
.step:nth-child(even)::before { background: var(--orange-strong); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .98rem; }

.h-care { margin: -16px auto 40px; text-align: center; max-width: 760px; color: var(--muted); }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare__col { padding: clamp(26px, 4vw, 44px); background: #fff; }
.compare__col--alt { background: var(--blue-900); color: #D7DEEF; }
.compare__col--alt h3, .compare__col--alt strong { color: #fff; }
.compare__col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1.6rem; }
.compare__badge { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; background: var(--orange-soft); color: var(--orange-strong); font-weight: 600; }
.compare__col--alt .compare__badge { background: rgba(255, 255, 255, .12); color: #FFB48A; }
.compare__col--alt .ticks li::before { border-color: #FF9A5C; }
.compare__note { margin-top: 28px; max-width: 820px; }

/* Estimate factors */
.factors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; counter-reset: fx; }
.factor { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 24px 0; border-top: 1px solid var(--line); counter-increment: fx; }
.factor::before { content: counter(fx, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--f-head); font-stretch: 75%; font-weight: 900; font-size: 2.1rem; line-height: 1; color: var(--orange); }
.factor h3 { font-size: 1.25rem; }
.factor p { color: var(--muted); font-size: .98rem; }

/* Local section */
.local { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.local__stack { display: grid; gap: 18px; position: sticky; top: calc(var(--head-h) + 24px); }
.local__card { background: var(--blue); color: #DCE4F7; border-radius: var(--r-lg); padding: 26px; }
.local__card h3 { color: #fff; margin-bottom: 8px; font-size: 1.3rem; }
.local__card a { color: #fff; font-weight: 700; }

/* Big CTA */
.h-cta { position: relative; background: var(--orange-strong); color: #FFE9DC; overflow: hidden; }
.h-cta::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 14px, transparent 14px 28px); }
.h-cta__grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.h-cta h2 { color: #fff; }
.h-cta p { margin-top: 14px; max-width: 60ch; }
.h-cta__phone { display: grid; gap: 4px; justify-items: start; background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.h-cta__phone span { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h-cta__phone a.num { font-family: var(--f-head); font-stretch: 80%; font-weight: 900; font-size: clamp(2rem, 3.6vw, 2.7rem); color: var(--blue); text-decoration: none; line-height: 1.05; }
.h-cta__phone .btn { margin-top: 14px; width: 100%; }

/* ==========================================================================
   SERVICE PAGES (different composition: light hero, glance card, sticky rail)
   ========================================================================== */
.s-hero { position: relative; background: var(--paper); padding-block: clamp(36px, 5vw, 56px) clamp(48px, 7vw, 88px); overflow: hidden; border-bottom: 1px solid var(--line); }
.s-hero::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 34%; background: var(--blue); clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%); }
.s-hero::before { content: ''; position: absolute; right: calc(34% - 26px); top: 0; bottom: 0; width: 18px; background: var(--orange); clip-path: polygon(70% 0, 100% 0, 30% 100%, 0 100%); z-index: 1; transform: translateX(32%); opacity: .95; }
.s-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.crumbs { font-size: .85rem; margin-bottom: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumbs--light a, .crumbs--light li + li::before { color: #A9B4CD; }
.crumbs--light [aria-current] { color: #fff; }
.s-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
.s-hero h1 em { font-style: normal; color: var(--blue); }
.s-hero .lede { margin-top: 20px; max-width: 60ch; }
.s-hero .btn-row { margin-top: 28px; }
.glance { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.glance__top { background: var(--ink); color: #fff; padding: 16px 22px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; }
.glance__top span:last-child { color: #FF9A5C; }
.glance dl { padding: 8px 22px 12px; }
.glance dl > div { padding: 14px 0; border-bottom: 1px dashed var(--line-cool); }
.glance dl > div:last-child { border-bottom: 0; }
.glance dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-strong); font-weight: 600; }
.glance dd { margin: 4px 0 0; font-size: .96rem; color: var(--ink); line-height: 1.5; }
.glance__call { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--orange-strong); color: #fff; padding: 16px; font-family: var(--f-head); font-stretch: 85%; font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.glance__call:hover { background: #A93903; color: #fff; }

.s-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 7vw, 88px); }
.s-rail { position: relative; }
.s-rail__inner { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 20px; }
.toc { border-left: 3px solid var(--blue); padding-left: 18px; }
.toc__title { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc__list { display: grid; gap: 2px; counter-reset: toc; }
.toc__list a { display: block; padding: 6px 0; font-size: .92rem; line-height: 1.35; text-decoration: none; color: var(--text); }
.toc__list a:hover, .toc__list a.is-active { color: var(--orange-strong); }
.toc__list a.is-active { font-weight: 700; }
.railcall { background: var(--blue); color: #DCE4F7; border-radius: var(--r-lg); padding: 22px; font-size: .93rem; }
.railcall strong { color: #fff; display: block; font-family: var(--f-head); font-stretch: 85%; font-size: 1.2rem; margin-bottom: 6px; }
.railcall a.num { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #fff; font-family: var(--f-head); font-stretch: 82%; font-weight: 800; font-size: 1.4rem; text-decoration: none; }
.railcall a.num .ico { color: #FF9A5C; }

.s-article { max-width: 780px; }
.s-article > section + section { margin-top: clamp(48px, 6vw, 72px); }
.s-article h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.s-article h2::before { content: ''; display: block; width: 48px; height: 6px; margin-bottom: 18px; background: linear-gradient(90deg, var(--orange) 0 44%, var(--ink) 44% 56%, var(--blue) 56%); border-radius: 1px; }
.s-article .ph { margin-block: 28px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.cards3 > div { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: #fff; border-top: 4px solid var(--blue); }
.cards3 > div:nth-child(2) { border-top-color: var(--orange); }
.cards3 > div:nth-child(3) { border-top-color: var(--ink); }
.cards3 h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cards3 p { font-size: .95rem; color: var(--muted); }
.cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.cards2 > div { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--paper); }
.cards2 h3 { font-size: 1.2rem; margin-bottom: 8px; }
.cards2 p { font-size: .96rem; }

.seq { display: grid; gap: 0; margin-top: 24px; counter-reset: seq; }
.seq li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 26px; counter-increment: seq; }
.seq li::before { content: counter(seq); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); color: var(--blue); font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; z-index: 1; }
.seq li::after { content: ''; position: absolute; left: 20px; top: 44px; bottom: 0; width: 4px; background: var(--blue-soft); }
.seq li:last-child { padding-bottom: 0; }
.seq li:last-child::after { display: none; }
.seq h3 { font-size: 1.2rem; margin-bottom: 4px; padding-top: 8px; }
.seq p { color: var(--muted); font-size: .98rem; }

.ladder { display: grid; gap: 10px; margin-top: 24px; }
.ladder li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: start; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--blue-soft); }
.ladder li:nth-child(2) { border-left-color: #9DB2E3; }
.ladder li:nth-child(3) { border-left-color: var(--blue); }
.ladder li:nth-child(4) { border-left-color: var(--orange); }
.ladder__lvl { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-strong); font-weight: 600; padding-top: 3px; }
.ladder h3 { font-size: 1.15rem; margin-bottom: 4px; }
.ladder p { font-size: .96rem; color: var(--muted); }

.callout { margin-top: 24px; padding: 20px 22px; border-radius: var(--r); background: var(--orange-soft); border-left: 5px solid var(--orange); }
.callout--blue { background: var(--blue-soft); border-left-color: var(--blue); }
.callout strong { display: block; margin-bottom: 4px; }

.fixture { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.fixture__head { display: flex; align-items: center; gap: 12px; padding: 16px 22px; background: var(--ink); color: #fff; }
.fixture__head h3 { color: #fff; font-size: 1.35rem; }
.fixture__head span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #FF9A5C; margin-left: auto; }
.fixture dl { display: grid; }
.fixture dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); }
.fixture dl > div:first-child { border-top: 0; }
.fixture dl > div:nth-child(even) { background: #FBFAF6; }
.fixture dt { font-weight: 700; color: var(--ink); }
.fixture dd { margin: 0; color: var(--text); font-size: .98rem; }

.midcta { margin-top: 32px; display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; padding: 26px 28px; background: var(--blue); color: #DCE4F7; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.midcta::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border: 18px solid rgba(255, 255, 255, .07); border-radius: 50%; }
.midcta h3 { color: #fff; font-size: 1.4rem; margin-bottom: 4px; }
.midcta p { font-size: .97rem; }
.midcta .btn { position: relative; z-index: 1; }

.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.related a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.related a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.related b { font-family: var(--f-head); font-stretch: 88%; font-size: 1.15rem; color: var(--ink); }
.related span { grid-column: 1; font-size: .9rem; color: var(--muted); }
.related .ico--arrow { grid-row: 1 / span 2; grid-column: 2; color: var(--orange-strong); }

.s-end { background: var(--ink); color: #C9D3EC; }
.s-end__row { display: grid; grid-template-columns: 1fr auto; gap: 28px 48px; align-items: center; }
.s-end h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.s-end p { margin-top: 12px; max-width: 62ch; }

/* ==========================================================================
   ABOUT (editorial)
   ========================================================================== */
.a-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 64px); background: var(--paper); border-bottom: 1px solid var(--line); }
.a-hero h1 { max-width: 16ch; font-size: clamp(2.6rem, 6.4vw, 5rem); }
.a-hero h1 span { color: var(--orange-strong); }
.a-hero__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: 36px; align-items: end; }
.a-hero__intro .lede { color: var(--text); }
.a-pull { font-family: var(--f-head); font-stretch: 80%; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; color: var(--blue); border-left: 6px solid var(--orange); padding-left: 24px; margin-block: clamp(36px, 5vw, 56px); max-width: 24ch; }
.a-cols { columns: 2 320px; column-gap: 56px; }
.a-cols p { break-inside: avoid; }
.principles { display: grid; gap: 0; border-top: 2px solid var(--ink); counter-reset: pr; margin-top: 36px; }
.principles li { display: grid; grid-template-columns: 80px 1fr 1.6fr; gap: 16px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); counter-increment: pr; align-items: start; }
.principles li::before { content: counter(pr, upper-roman) '.'; font-family: var(--f-head); font-stretch: 75%; font-weight: 900; font-size: 1.8rem; color: var(--orange); line-height: 1; }
.principles h3 { font-size: 1.4rem; }
.principles p { color: var(--muted); }

/* ==========================================================================
   CONTACT (action-oriented)
   ========================================================================== */
.c-hero { background: var(--blue-900); color: #C9D3EC; padding-block: clamp(48px, 7vw, 88px) clamp(120px, 14vw, 170px); background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 32px 32px; }
.c-hero h1 { color: #fff; }
.c-hero .lede { color: #C9D3EC; margin-top: 18px; max-width: 60ch; }
.c-tiles { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; margin-top: calc(-1 * clamp(80px, 10vw, 120px)); position: relative; }
.c-tile { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 28px; display: grid; align-content: start; gap: 8px; }
.c-tile__k { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-strong); font-weight: 600; }
.c-tile h2 { font-size: 1.5rem; }
.c-tile--call { background: var(--orange-strong); color: #FFE9DC; }
.c-tile--call .c-tile__k { color: #FFE0CC; }
.c-tile--call h2 { color: #fff; }
.c-tile--call a.num { font-family: var(--f-head); font-stretch: 78%; font-weight: 900; font-size: clamp(2.1rem, 4vw, 2.9rem); color: #fff; text-decoration: none; line-height: 1; margin-block: 6px; display: inline-flex; align-items: center; gap: 12px; }
.c-tile--call .btn { margin-top: 10px; justify-self: start; background: #fff; color: var(--orange-strong); }
.c-tile--call .btn:hover { background: var(--ink); color: #fff; }
.c-tile p { font-size: .96rem; }
.c-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.prep { counter-reset: pp; display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.prep li { counter-increment: pp; display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.prep li::before { content: counter(pp, decimal-leading-zero); font-family: var(--f-mono); font-weight: 600; color: var(--blue); }
.notice { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.notice h2 { font-size: 1.6rem; margin-bottom: 10px; }
.notice .btn { margin-top: 18px; }
.lead-form-embed { display: flex; justify-content: center; }
.lead-form-embed iframe { display: block; width: min(100%, 600px); border: 0; }

/* Form (only rendered when an endpoint is configured) */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid #B9C2D3; border-radius: var(--r-sm); background: #fff; color: var(--text); min-height: 48px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(11, 56, 157, .2); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field__err { color: #B3261E; font-size: .88rem; font-weight: 600; }
.form__status { padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; }
.form__status--ok { background: #E5F4EA; color: #155C2E; }
.form__status--err { background: #FBE9E7; color: #8C1D18; }

/* ==========================================================================
   LEGAL / SITEMAP (document)
   ========================================================================== */
.doc-hero { padding-block: clamp(44px, 6vw, 72px) clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); background: var(--paper); }
.doc-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.doc-hero p { margin-top: 12px; color: var(--muted); }
.doc { padding-block: clamp(40px, 6vw, 72px); }
.doc h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 2.2em 0 .6em; font-stretch: 85%; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { max-width: 72ch; }
.doc ul { padding-left: 1.3em; display: grid; gap: 6px; margin-top: .8em; }
.doc ul li::marker { color: var(--orange); }
.doc ul + p { margin-top: 1em; }
.smap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.smap section { border-top: 4px solid var(--blue); padding-top: 18px; }
.smap section:nth-child(2) { border-top-color: var(--orange); }
.smap section:nth-child(3) { border-top-color: var(--ink); }
.smap h2 { margin: 0 0 14px; font-size: 1.4rem; }
.smap ul { list-style: none; padding: 0; gap: 0; }
.smap li a { display: block; padding: 10px 0; border-bottom: 1px dashed var(--line); text-decoration: none; font-weight: 600; }

/* ==========================================================================
   404
   ========================================================================== */
.nf { min-height: 62vh; display: grid; place-items: center; padding-block: 72px; background: var(--paper); text-align: center; }
.nf__art { width: 160px; margin: 0 auto 24px; }
.nf h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.nf p { margin: 14px auto 0; max-width: 52ch; color: var(--muted); }
.nf .btn-row { justify-content: center; margin-top: 28px; }
.nf__code { font-family: var(--f-mono); color: var(--orange-strong); letter-spacing: .14em; font-weight: 600; margin-bottom: 8px; }

/* ==========================================================================
   FOOTER, DOCK, BACK-TO-TOP
   ========================================================================== */
.footer { background: var(--ink); color: #A9B4CD; font-size: .95rem; }
.footer__pipe { display: flex; align-items: center; height: 14px; }
.footer__pipe span { flex: 1; height: 8px; background: var(--orange); }
.footer__pipe span + i + span { background: var(--blue); }
.footer__pipe i { width: 18px; height: 14px; background: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .9fr 1.35fr 1.1fr; gap: 32px; padding-block: 64px 48px; }
.footer__logo { width: 240px; height: auto; margin-bottom: 18px; }
.footer__h { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 16px; font-stretch: 100%; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a { color: #DCE4F7; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer a:hover { color: #FF9A5C; }
.footer__phone { font-family: var(--f-head); font-stretch: 85%; font-weight: 800; font-size: 1.3rem; color: #fff !important; }
.footer__phone .ico, .footer__contact .ico { color: var(--orange); }
.footer__map iframe { display: block; width: 100%; max-width: 400px; height: 300px; border-radius: var(--r-sm); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .87rem; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.dock { display: none; }
.totop {
  position: fixed; right: 20px; bottom: 24px; z-index: 90; width: 50px; height: 50px; border-radius: var(--r-sm);
  display: grid; place-items: center; background: var(--blue); color: #fff; border: 2px solid #fff;
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s, background-color .2s;
}
.totop .ico { width: 24px; height: 24px; }
.totop.is-visible { opacity: 1; transform: none; }
.totop:hover { background: var(--orange-strong); }
.totop:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .s-body { grid-template-columns: minmax(0, 1fr); }
  .s-rail { display: none; }
  .s-article { max-width: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .h-hero__grid, .split, .local, .h-cta__grid, .s-hero__grid, .c-grid, .a-hero__intro { grid-template-columns: minmax(0, 1fr); }
  .h-hero__art { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 70px 1fr; }
  .svc-row > p, .svc-row > .text-link { grid-column: 2; }
  .svc-row__media { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; gap: 14px; align-items: end; }
  .svc-row__media .ph--svc { aspect-ratio: 3 / 2; }
  .local__stack { position: static; }
  .s-hero::before, .s-hero::after { display: none; }
  .c-tiles { grid-template-columns: 1fr 1fr; }
  .c-tile--call { grid-column: 1 / -1; }
  .smap { grid-template-columns: 1fr 1fr; }
  .principles li { grid-template-columns: 60px 1fr; }
  .principles li p { grid-column: 2; }
  /* mobile action dock */
  .dock { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line-cool); box-shadow: 0 -6px 20px rgba(11, 21, 48, .1); }
  .dock__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-sm); font-family: var(--f-head); font-stretch: 88%; font-weight: 700; text-decoration: none; background: var(--blue); color: #fff; }
  .dock__btn--call { background: var(--orange-strong); }
  .dock__btn:hover { color: #fff; }
  body { padding-bottom: 68px; }
  .totop { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; width: 46px; height: 46px; }
  body.nav-open .totop, body.nav-open .dock { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .steps, .factors, .compare, .cards3, .cards2, .related, .c-tiles, .smap { grid-template-columns: 1fr; }
  .factors { gap: 0; }
  .svc-row { grid-template-columns: 1fr; gap: 10px; }
  .svc-row > p, .svc-row > .text-link { grid-column: 1; }
  .svc-row__media { grid-template-columns: 1fr; }
  .svc-row__num { font-size: 2.2rem; }
  .ladder li, .fixture dl > div { grid-template-columns: 1fr; gap: 6px; }
  .midcta, .s-end__row { grid-template-columns: 1fr; }
  .principles li { grid-template-columns: 1fr; }
  .principles li p { grid-column: 1; }
  .btn-row .btn { width: 100%; }
  .router__list a { padding: 12px 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .h-hero__meta { flex-direction: column; }
}
@media (max-width: 380px) {
  .brand__logo { height: 38px; }
  .btn { padding-inline: 18px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .utility, .masthead, .dock, .totop, .footer, .s-rail { display: none !important; }
}
