/* ==========================================================================
   ProBuild Roofing & Construction — site design system
   One stylesheet shared by every page. Static HTML/CSS, no framework.
   ========================================================================== */

/* ---------- Fallback font (layout stability) ----------
   'Inter' loads from Google Fonts with display=swap. Until it arrives the browser
   renders this metric-matched copy of Arial so headings and buttons keep the same
   line lengths and heights, and nothing moves when Inter swaps in (CLS fix). */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Helvetica');
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
  size-adjust: 107.06%;
}

/* ---------- Tokens ---------- */
:root {
  --navy:      #0d1628;
  --navy-2:    #16223a;
  --navy-3:    #1f2d4d;
  --blue:      #3f7fb5;   /* steel blue from the ProBuild logo mark */
  --blue-dk:   #2f6591;
  --gold:      #d4a017;
  --gold-dk:   #b8890f;
  --gold-lt:   #f3d97a;
  --white:     #ffffff;
  --off:       #f5f6f8;
  --off-2:     #eceff4;
  --line:      #dfe4ec;
  --text:      #1a2035;
  --muted:     #55607a;   /* 6.6:1 on white */
  --muted-lt:  #7a8499;   /* 4.5:1 on white — small labels only */
  --on-dark:   rgba(255,255,255,0.78);
  --on-dark-2: rgba(255,255,255,0.62);
  --success:   #1f7a4d;
  --danger:    #b3261e;

  --font: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(13,22,40,.06), 0 1px 3px rgba(13,22,40,.08);
  --shadow-md: 0 6px 20px rgba(13,22,40,.10);
  --shadow-lg: 0 16px 40px rgba(13,22,40,.16);
  --container: 1200px;
  --gutter: 24px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-dk); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
strong { font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 2000; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { left: 12px; text-decoration: none; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 30px; height: 30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius); border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: .01em;
  cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-3); border-color: var(--navy-3); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
/* Small screens: let long CTA labels wrap instead of forcing a single line that
   can exceed the viewport and clip hero content. Desktop keeps nowrap. */
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; } }

/* ---------- Eyebrow / labels ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); }
.on-dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 70ch; }
.on-dark .lead { color: var(--on-dark); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: var(--on-dark); font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar strong { color: var(--gold); font-weight: 700; }
.topbar__hours { display: flex; align-items: center; gap: 8px; }
@media (max-width: 720px) { .topbar__hours { display: none; } .topbar .container { justify-content: center; text-align: center; } }

/* ---------- Header / nav ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(13,22,40,.04); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); max-width: 1320px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 10px; border-radius: var(--radius); white-space: nowrap;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); background: none; border: 0; cursor: pointer; text-decoration: none !important;
}
.nav__link:hover, .nav__toggle:hover, .nav__link[aria-current="page"], .nav__item.is-open > .nav__toggle { color: var(--blue-dk); background: var(--off); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: var(--radius) var(--radius) 0 0; }
.nav__toggle .icon { width: 16px; height: 16px; transition: transform .15s; }
.nav__item.is-open > .nav__toggle .icon { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: none; z-index: 110;
}
.nav__item.is-open > .nav__menu { display: block; }
.nav__menu a { display: block; padding: 10px 12px; border-radius: var(--radius); color: var(--text); font-size: 14.5px; font-weight: 500; text-decoration: none !important; }
.nav__menu a:hover, .nav__menu a:focus-visible { background: var(--off); color: var(--blue-dk); }
.nav__menu .nav__menu-head { padding: 6px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-lt); }
.nav__menu .nav__menu-sep { height: 1px; margin: 6px 4px; background: var(--line); }
.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; color: var(--navy); text-decoration: none !important; padding: 8px 10px; border-radius: var(--radius); }
.header__phone:hover { background: var(--off); color: var(--blue-dk); }
.header__phone .icon { width: 20px; height: 20px; color: var(--gold-dk); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.menu-btn .icon { width: 24px; height: 24px; }

@media (max-width: 1300px) { .header__phone span { display: none; } .header__phone { padding: 10px; } }
@media (max-width: 1120px) {
  .nav, .header__cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .header__phone { font-size: 16px; }
  .brand img { height: 52px; }
  :root { --header-h: 72px; }
}
@media (max-width: 480px) { .header__phone span { display: none; } .header__phone { padding: 10px; border: 1px solid var(--line); } }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 1000; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(13,22,40,.55); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow-y: auto; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 44px; width: auto; }
.drawer__close { width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.drawer__body { padding: 8px 8px 16px; flex: 1; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__group > a, .drawer__group > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 12px; font: inherit; font-size: 16px; font-weight: 700; color: var(--navy); background: none; border: 0; text-align: left; cursor: pointer; text-decoration: none !important; }
.drawer__group > button .icon { width: 18px; height: 18px; transition: transform .15s; }
.drawer__group.is-open > button .icon { transform: rotate(180deg); }
.drawer__sub { display: none; margin: 0 0 8px; padding: 0 0 0 12px; list-style: none; }
.drawer__group.is-open .drawer__sub { display: block; }
.drawer__sub a { display: block; padding: 10px 12px; color: var(--text); font-size: 15px; border-radius: var(--radius); text-decoration: none !important; }
.drawer__sub a:hover { background: var(--off); }
.drawer__foot { padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--off); }
.drawer__foot .btn { width: 100%; }
body.drawer-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,18,42,.96) 0%, rgba(10,18,42,.88) 45%, rgba(10,18,42,.45) 100%); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; min-height: 560px; }
.hero h1 { color: #fff; margin-bottom: 18px; max-width: 11.07em; } /* = 16ch in Inter; em keeps the same line breaks before and after the web font loads (CLS) */
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: var(--on-dark); max-width: 56ch; margin-bottom: 28px; font-size: 1.15rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--on-dark); }
.hero__points .icon { width: 18px; height: 18px; color: var(--gold); }
.hero__card { background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px 26px 22px; }
.hero__card h2 { font-size: 1.25rem; margin-bottom: 4px; }
.hero__card p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.hero__card ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.hero__card li { display: flex; gap: 10px; font-size: 14.5px; }
.hero__card li .icon { width: 18px; height: 18px; color: var(--success); margin-top: 3px; }
.hero__card .btn { width: 100%; }
.hero__card small { display: block; margin-top: 10px; text-align: center; color: var(--muted-lt); font-size: 12.5px; }
.hero--simple .container { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; padding-bottom: 56px; }
.hero--simple .lead { margin-bottom: 0; }
.hero--simple .hero__actions { margin-bottom: 0; margin-top: 26px; }
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 48px; min-height: 0; }
  .hero__overlay { background: linear-gradient(180deg, rgba(10,18,42,.9) 0%, rgba(10,18,42,.94) 100%); }
  .hero h1 { max-width: none; }
}
@media (max-width: 560px) { .hero__actions .btn { width: 100%; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--on-dark-2); }
.breadcrumbs a { color: var(--on-dark); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: rgba(255,255,255,.35); }
.breadcrumbs [aria-current] { color: var(--gold); font-weight: 600; }

/* ---------- Trust bar ---------- */
.trust { background: var(--navy-2); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__item .icon { width: 28px; height: 28px; color: var(--gold); }
.trust__item strong { display: block; font-size: 14px; }
.trust__item span { display: block; font-size: 12.5px; color: var(--on-dark-2); }
@media (max-width: 900px) { .trust .container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust .container { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--off { background: var(--off); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: var(--on-dark); }
@media (max-width: 720px) { .section { padding: 56px 0; } .section--tight { padding: 40px 0; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.card__icon { width: 48px; height: 48px; border-radius: 10px; background: var(--off); color: var(--blue-dk); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--navy); }
.card p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.card .checklist li, .card .note { color: var(--text); }
.card__link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--blue-dk); }
.card__link .icon { width: 16px; height: 16px; transition: transform .15s; }
.card--link:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.card--link:hover .card__link .icon { transform: translateX(3px); }
.card--link > a.card__cover { position: absolute; inset: 0; border-radius: inherit; }
.card--gold { border-top: 4px solid var(--gold); }
.card--dark { background: var(--navy-2); border-color: rgba(255,255,255,.08); color: #fff; }
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--on-dark); }
.card--dark .card__icon { background: rgba(255,255,255,.08); color: var(--gold); }

/* ---------- Chip lists ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li, .chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none !important; }
.chips a:hover { border-color: var(--blue); color: var(--blue-dk); }
.chips .icon { width: 15px; height: 15px; color: var(--gold-dk); }
.section--navy .chips li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split__media { aspect-ratio: 4 / 3; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.stats li { border-left: 3px solid var(--gold); padding-left: 14px; }
.stats strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.section--navy .stats strong { color: #fff; }
.stats span { font-size: 13px; color: var(--muted); font-weight: 600; }
.section--navy .stats span { color: var(--on-dark-2); }
.quote { margin: 28px 0 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--off); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--text); }
.section--navy .quote { background: rgba(255,255,255,.05); color: var(--on-dark); }
.quote footer { margin-top: 8px; font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dk); }
.section--navy .quote footer { color: var(--gold); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Project photo gallery ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; flex: 1; min-height: 0; }
.gallery__main { grid-row: 1 / 3; }
.gallery__main img { aspect-ratio: 16 / 10; }
.gallery__side img { aspect-ratio: 16 / 9; }
.gallery figcaption { padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--navy); border-top: 1px solid var(--line); background: #fff; }
.gallery__note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 880px) { .gallery { grid-template-columns: 1fr; } .gallery__main { grid-row: auto; } .gallery__main img { aspect-ratio: 16 / 9; } }

/* Single project photo used inside content pages */
.project-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--off-2); }
.project-photo img { width: 100%; height: auto; display: block; }
.project-photo figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checklist .icon { width: 20px; height: 20px; color: var(--success); margin-top: 3px; }
.section--navy .checklist .icon { color: var(--gold); }

/* ---------- Content prose ---------- */
.prose { max-width: 74ch; }
.prose p, .prose li { font-size: 1.04rem; color: #2c3550; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }

/* Long service pages: sub-section blocks with anchors */
.service-block { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block h3 { font-size: 1.35rem; margin-bottom: 8px; }
.service-block p { color: #2c3550; max-width: 76ch; }
.service-block__row { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: flex-start; }
.service-block__row .card__icon { margin: 0; }
.service-block .btn { margin-top: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* On-page jump nav */
.jumpnav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; margin: -36px 0 40px; box-shadow: var(--shadow-sm); position: relative; z-index: 2; }
.jumpnav strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-lt); margin-bottom: 8px; }
.jumpnav ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.jumpnav a { font-weight: 600; font-size: 14.5px; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
table.compare th, table.compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare th { background: var(--navy); color: #fff; font-weight: 700; font-size: 13.5px; }
table.compare tr:last-child td { border-bottom: 0; }
table.compare td:first-child { font-weight: 700; color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 1.02rem; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--gold-dk); flex: none; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq__a { padding: 14px 0 18px; color: #2c3550; font-size: 15.5px; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; }
.cta .container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: var(--on-dark); margin: 0; max-width: 60ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 880px) { .cta .container { grid-template-columns: 1fr; } .cta__actions { justify-content: flex-start; } }
@media (max-width: 560px) { .cta__actions .btn { width: 100%; } }

/* ---------- Schedule form ---------- */
.schedule .container { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.schedule__promises { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.schedule__promises li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark); font-size: 15px; }
.schedule__promises .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.schedule__call { margin-top: 28px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); background: rgba(255,255,255,.05); }
.schedule__call strong { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.schedule__call a { color: #fff; font-size: 1.5rem; font-weight: 800; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.schedule__call a .icon { color: var(--gold); }
@media (max-width: 960px) { .schedule .container { grid-template-columns: 1fr; gap: 32px; } }

.form-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px; }
.form-card h3, .form-card__title { color: var(--navy); }
.form-card p { color: var(--muted); }
.form-card__title { font-size: 1.3rem; margin-bottom: 4px; }
.form-card__sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.form-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 24px; }
.form-step { padding: 10px 6px; text-align: center; border-bottom: 3px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-lt); }
.form-step.active { border-color: var(--gold); color: var(--navy); }
.form-step.done { border-color: var(--navy); color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--navy); }
.form-input, .form-select, .form-textarea {
  width: 100%; border: 1.5px solid #c9d0dc; border-radius: var(--radius); padding: 12px 14px; font: inherit; font-size: 15px; color: var(--text); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,127,181,.18); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2355607a' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-textarea { resize: vertical; min-height: 96px; }
.form-actions { display: flex; gap: 12px; margin-top: 6px; }
.form-actions .btn { flex: 1; }
.form-actions .btn--outline { flex: 0 0 auto; min-width: 110px; }
.form-note { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--muted-lt); }
.form-review { background: var(--off); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; display: grid; gap: 8px; }
.form-review div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; font-size: 14px; }
.form-review span:first-child { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-lt); padding-top: 2px; }
.form-review span:last-child { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.form-result { text-align: center; padding: 24px 8px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.form-result__icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.form-result__icon .icon { width: 32px; height: 32px; }
.form-result--ok .form-result__icon { background: #e6f4ec; color: var(--success); }
.form-result--err .form-result__icon { background: #fbe9e7; color: var(--danger); }
.form-result h3 { margin: 0; }
.form-result p { color: var(--muted); max-width: 36ch; margin: 0; }
.form-result .phone { font-size: 1.4rem; font-weight: 800; color: var(--navy); text-decoration: none; }
.form-result .linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue-dk); text-decoration: underline; cursor: pointer; }
@media (max-width: 560px) { .form-card { padding: 22px 18px; } .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: #080e1c; color: var(--on-dark-2); font-size: 14px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: #fff; }
.footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand img { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer__brand p { max-width: 40ch; }
.footer h4 { color: #fff; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.footer__contact strong { color: #fff; font-size: 16px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px 0 28px; font-size: 12.5px; color: rgba(255,255,255,.4); }
@media (max-width: 960px) { .footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__main { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Mobile sticky call bar ---------- */
.sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--navy); border-top: 2px solid var(--gold); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
.sticky-cta .btn { flex: 1; padding: 13px 10px; font-size: 14px; }
.sticky-cta .btn--outline-light { border-color: rgba(255,255,255,.5); }
@media (max-width: 1120px) { .sticky-cta { display: flex; gap: 10px; } body { padding-bottom: 76px; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.small { font-size: 13.5px; color: var(--muted); }
.note { font-size: 13.5px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; }
