/* Bellcore Restoration — site stylesheet.
 *
 * Self-contained: Barlow is self-hosted (no CDN, no trackers), so the container
 * needs no outbound access at runtime and the proxy CSP can stay strict.
 *
 * Design language follows the reference pressure-washing/staining layout:
 * deep slate + teal base, bright blue accents, action-green CTAs, photo-led
 * sections, card-based service grid, three-step process, before/after gallery.
 */

/* ── fonts ─────────────────────────────────────────────── */
@font-face { font-family: "Barlow"; src: url("/static/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/static/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/static/fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/static/fonts/barlow-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ── tokens ────────────────────────────────────────────── */
:root {
  --navy: #1f3948;
  --deep: #00222c;
  --blue: #00aeef;              /* brand accent (graphics) */
  --blue-text: #0b6a8f;         /* 6.1:1 on white — links and labels */
  --green: #0a7a12;            /* 5.5:1 with white text — WCAG AA */
  --green-dark: #065f0c;
  --green-bright: #00b70d;      /* decorative accents on dark backgrounds */
  --ink: #10222b;
  --body: #414a4f;
  --muted: #5c6a72;
  --line: #e4eaee;
  --bg: #f8f8f8;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 14px 34px rgba(0, 34, 44, .10);
  --shadow-sm: 0 10px 24px rgba(0, 34, 44, .08);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 17px/1.65 "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  font-weight: 700; color: var(--blue-text); margin: 0 0 12px;
}
.eyebrow.on-dark { color: #7fd9f7; }
.lead { font-size: 1.12rem; color: var(--body); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead, .on-dark p { color: #cfe2ea; }

/* ── buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border: 2px solid var(--green);
  border-radius: 10px; background: var(--green); color: #fff;
  font: inherit; font-weight: 700; cursor: pointer; line-height: 1.1;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn::after { content: "→"; font-weight: 700; }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn-navy { background: var(--navy); border-color: var(--navy); }
.btn-navy:hover { background: var(--deep); border-color: var(--deep); }
.btn-lg { padding: 15px 26px; font-size: 1.04rem; }
.btn:not(.btn-outline) { box-shadow: 0 2px 6px rgba(10, 122, 18, .18); }
.btn:not(.btn-outline):hover { box-shadow: 0 8px 18px rgba(10, 122, 18, .22); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ── top bar + header ──────────────────────────────────── */
.topbar { background: var(--deep); color: #c3d8e0; font-size: .9rem; }
.topbar p { margin: 0; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .dot { color: #46626d; margin: 0 .45em; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--blue-text); display: inline-flex; }
.brand-name { font-size: 1.22rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: .97rem; }
.site-nav a { color: var(--navy); }
.site-nav a:hover { color: var(--blue-text); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
/* The mobile-menu checkbox stays focusable (keyboard users can toggle it with
   space) but is visually hidden; the label carries the icon. */
.nav-toggle-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle-input:focus-visible ~ .nav-toggle { outline: 2px solid var(--blue-text); outline-offset: 2px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); display: none; }
  .site-nav a { width: 100%; padding: 13px 22px; border-top: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer; font-size: 1.2rem; }
  .nav-toggle::before { content: "☰"; }
  #nav-open:checked ~ .site-nav { display: flex; }
  #nav-open:checked ~ .nav-toggle::before { content: "✕"; }
  /* The sticky mobile bar carries the CTA on small screens — the header one
     overflows a 390px viewport and would force horizontal scrolling. */
  .nav-cta { display: none; }
}

@media (max-width: 520px) {
  .brand-sub { display: none; }
  .hero-inner { padding: 46px 0 56px; }
  .hero-badges { gap: 12px; font-size: .88rem; }
  .section { padding: 54px 0; }
  .card, .contact-card { padding: 20px; }
}

/* ── hero ──────────────────────────────────────────────── */
.hero { position: relative; color: #fff; background: var(--deep); overflow: hidden; }
/* <picture> is a wrapper only — the <img> keeps participating in layout */
picture { display: contents; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("/static/pexels-31583249-800.jpg") center 38% / cover no-repeat;
  opacity: .58;
}
/* prefer the WebP hero where supported; the JPEG above stays the fallback */
@supports (background-image: image-set(url("/static/pexels-31583249-800.webp") type("image/webp"))) {
  .hero::before {
    background-image: image-set(url("/static/pexels-31583249-800.webp") type("image/webp"), url("/static/pexels-31583249-800.jpg") type("image/jpeg"));
    background-position: center 38%; background-size: cover; background-repeat: no-repeat;
  }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0, 34, 44, .93) 0%, rgba(0, 34, 44, .76) 48%, rgba(31, 57, 72, .40) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 46px; align-items: center; padding: 74px 0 86px; }
.hero h1 { color: #fff; margin-bottom: .35em; letter-spacing: -.02em; line-height: 1.08; }
.hero .lead { max-width: 32rem; font-size: 1.15rem; color: #d3e5ec; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-badges { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; padding: 0; list-style: none; font-weight: 600; font-size: .93rem; color: #cfe2ea; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: "✓"; color: var(--green-bright); font-weight: 800; }

@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 54px 0 64px; } }

/* ── quote card ────────────────────────────────────────── */
.quote-card { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; border-top: 5px solid var(--green); }
.quote-card h3 { margin-bottom: .25em; font-size: 1.3rem; }
.quote-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: #fbfcfd; font: inherit; font-size: .98rem; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(0, 174, 239, .35); border-color: var(--blue-text); background: #fff; }
.field textarea { min-height: 84px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.field-row .field { margin-bottom: 0; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.quote-card .fineprint { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.form-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; font-size: .9rem; }
.form-note.err { background: #fdecec; border: 1px solid #f3c2c2; color: #8a2b2b; }
.form-note.ok { background: #eafaf0; border: 1px solid #bde6cd; color: #1d6b3a; }


/* ── sections ──────────────────────────────────────────── */
.section { padding: 72px 0; }
/* keep anchor targets clear of the sticky header when jumping to #services etc. */
section[id], div[id], h2[id], ul[id] { scroll-margin-top: 92px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-bottom: 1.1em; }
.section-sub { color: var(--body); margin: -.7em 0 1.7em; }
.opt { color: var(--muted); font-weight: 400; }

/* ── closing CTA band ──────────────────────────────────── */
.cta-band { background: var(--deep); color: #fff; padding: 66px 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #c9dde5; max-width: 34rem; margin: 0 auto 1.5em; }
.cta-band .cta-note { font-size: .9rem; color: #9db9c4; margin: 1.5em auto 0; }
.cta-band .center-actions { justify-content: center; }
.cta-band .btn-outline { border-color: rgba(255, 255, 255, .65); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.section-alt { background: var(--bg); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdce4; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--body); font-size: .97rem; margin-bottom: 0; }
.card .icon { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(11, 106, 143, .10); color: var(--blue-text); margin-bottom: 14px; }
.card .icon svg { width: 28px; height: 28px; }
.card .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--blue-text); transition: transform .18s ease; }
.card-link:hover .more { transform: translateX(4px); }

/* ── steps ─────────────────────────────────────────────── */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .95rem; font-weight: 800; letter-spacing: .02em; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--body); font-size: .97rem; margin: 0; }

/* ── split (about / why us) ────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
/* reserve the box before the image loads (CLS) — matches the photo's 3:4 ratio */
.split-media img { aspect-ratio: 3 / 4; }
.ticks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--body); }
.ticks li strong { color: var(--navy); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 183, 13, .14); color: var(--green-dark); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
@media (max-width: 940px) { .split { grid-template-columns: 1fr; gap: 30px; } }

/* ── gallery + before/after ────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.shot { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; border: 1px solid var(--line); }
.shot img { width: 100%; height: 260px; object-fit: cover; transition: transform .35s ease; }
.shot:hover img { transform: scale(1.04); }
.shot .cap { padding: 12px 15px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.shot .tag { position: absolute; top: 12px; left: 12px; background: rgba(0, 34, 44, .82); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.ba { position: relative; cursor: crosshair; }
.ba img { transition: opacity .3s ease; }
.ba .after { position: absolute; inset: 0 0 46px; opacity: 0; }
.ba:hover .after, .ba:focus-within .after { opacity: 1; }

/* ── chips ─────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .93rem; color: var(--navy); box-shadow: var(--shadow-sm); transition: border-color .15s ease, transform .15s ease; }
.chips li:hover { border-color: #cfdce4; transform: translateY(-1px); }
.chips li a { color: inherit; }
.section-alt .chips li { background: #fff; }

/* ── faq ───────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; transition: color .15s ease; }
.faq summary:hover { color: var(--blue-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 700; color: var(--blue-text); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 22px 20px; color: var(--body); font-size: .98rem; }

/* ── reviews ───────────────────────────────────────────── */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.review .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 8px; }
.review blockquote { margin: 0 0 12px; color: var(--body); font-size: .98rem; }
.review .who { font-weight: 700; color: var(--navy); font-size: .92rem; }

/* ── contact ───────────────────────────────────────────── */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.contact-card a { font-weight: 700; }
.big-cta { background: linear-gradient(120deg, var(--navy), var(--deep)); color: #fff; border-radius: var(--radius); padding: 38px; text-align: center; box-shadow: var(--shadow); }
.big-cta h2 { color: #fff; margin-bottom: .25em; }
.big-cta p { color: #cfe2ea; }
.big-cta .hero-actions { justify-content: center; }

/* ── footer ────────────────────────────────────────────── */
.site-footer { background: var(--deep); color: #b9cfd8; padding: 60px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #cfe2ea; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: #8fa9b3; }

/* ── mobile call bar ───────────────────────────────────── */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(0, 34, 44, .96); border-top: 1px solid rgba(255, 255, 255, .14);
  }
  .mobile-bar .btn { width: 100%; justify-content: center; padding: 12px 10px; font-size: .95rem; }
  body { padding-bottom: 74px; }
}

/* ── account / error pages ─────────────────────────────── */
.profile { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 18px 0 24px; box-shadow: var(--shadow-sm); }
.profile-name { font-size: 1.15rem; font-weight: 700; margin: 0 0 2px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; background: var(--bg); }
.avatar-fallback { display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: var(--blue-text); }
.badge { display: inline-block; margin: 8px 0 0; padding: 3px 10px; border-radius: 999px; background: #e8f7fd; color: #0a6a94; font-size: .8rem; font-weight: 600; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 20px; }
.kv dt { color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; }
.error-code { font-size: 3rem; font-weight: 800; color: var(--blue-text); margin: 0 0 .1em; }
.page-head { padding: 54px 0 40px; background: var(--bg); border-bottom: 1px solid var(--line); }
.notice { padding: 14px 16px; background: #eaf7fd; border: 1px solid #bfe6f7; border-left: 4px solid var(--blue); border-radius: 10px; font-size: .95rem; color: #0a5b7a; }
.sep { margin: 0 .4em; color: #46626d; }

/* ── accessibility helpers ─────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue-text); outline-offset: 2px; border-radius: 4px;
}
.hero :focus-visible, .cta-band :focus-visible, .big-cta :focus-visible, .site-footer :focus-visible { outline-color: #8fd8f2; }

.site-nav a[aria-current="page"] { color: var(--blue-text); }
.drop a[aria-current="page"] { color: var(--blue-text); background: var(--bg); }

/* ── nav dropdown ──────────────────────────────────────── */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.has-drop > a::after { content: "▾"; margin-left: 6px; font-size: .78em; opacity: .7; }
.drop {
  position: absolute; top: calc(100% + 12px); left: -16px; min-width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 10px; display: none; z-index: 60;
}
.drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { display: block; }
.drop a { display: block; padding: 9px 12px; border-radius: 10px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.drop a:hover { background: var(--bg); color: var(--blue-text); text-decoration: none; }
@media (max-width: 900px) {
  .nav-item { display: block; width: 100%; }
  .has-drop > a::after { content: ""; }
  .drop { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; }
  .drop a { padding: 10px 22px; font-size: .92rem; }
}

/* ── page head + service pages ─────────────────────────── */
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { max-width: 52rem; }
.page-head .hero-actions { margin-top: 22px; }
.page-head .eyebrow { color: var(--blue-text); }
.page-head .eyebrow a { color: var(--blue-text); text-decoration: underline; }
.service-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center; }
.service-hero img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: 480px; object-fit: cover; }
.service-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; }
.aside-card { position: sticky; top: 96px; }
@media (max-width: 940px) {
  .service-hero, .service-body { grid-template-columns: 1fr; gap: 28px; }
  .aside-card { position: static; }
}
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list a { font-weight: 600; }
.prose-list { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--body); }
.prose-list strong { color: var(--navy); }
.contact-card .btn { width: 100%; justify-content: center; }

/* ── simpler cards + links ─────────────────────────────── */
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }
.card-link h3 { transition: color .15s ease; }
.card-link:hover h3 { color: var(--blue-text); }
.card-link .more { color: var(--navy); }
.card-link:hover .more { color: var(--blue-text); }
.card-title { font-size: 1.35rem; margin-bottom: .2em; }
.link-arrow { font-weight: 700; color: var(--navy); }
.link-arrow:hover { color: var(--blue-text); }

/* ── before/after drag slider ──────────────────────────── */
.ba-slider {
  position: relative; max-width: 900px; margin: 0 auto;
  aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--deep);
  --pos: 50%;
  touch-action: pan-y;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-clip { position: absolute; inset: 0; width: var(--pos); overflow: hidden; }
.ba-clip .ba-img { width: 100vw; max-width: none; }
.ba-divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: #fff; box-shadow: 0 0 0 1px rgba(0, 34, 44, .25); pointer-events: none;
}
.ba-label {
  position: absolute; top: 14px; z-index: 2;
  background: rgba(0, 34, 44, .82); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; background: rgba(10, 122, 18, .95); }
.ba-range {
  position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3;
  width: 88%; margin: 0 auto; height: 44px;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: ew-resize;
}
.ba-range::-webkit-slider-runnable-track { height: 6px; background: rgba(255, 255, 255, .55); border-radius: 999px; }
.ba-range::-moz-range-track { height: 6px; background: rgba(255, 255, 255, .55); border-radius: 999px; }
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; margin-top: -13px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green); box-shadow: 0 2px 10px rgba(0, 34, 44, .35);
}
.ba-range::-moz-range-thumb {
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green); box-shadow: 0 2px 10px rgba(0, 34, 44, .35);
}
.ba-range:focus-visible { outline: 3px solid #8fd8f2; outline-offset: 4px; border-radius: 999px; }

/* ── notes (blog) ──────────────────────────────────────── */
.note-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.note-card img { width: 100%; height: 190px; object-fit: cover; }
.note-card .note-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.note-card h3 { font-size: 1.08rem; margin-bottom: .4em; }
.note-card h3 a { color: var(--navy); }
.note-card h3 a:hover { color: var(--blue-text); text-decoration: none; }
.note-card p { color: var(--body); font-size: .95rem; }
.note-card .more { margin-top: auto; }

.article { max-width: 760px; }
.article .article-hero { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; max-height: 380px; object-fit: cover; margin-bottom: 26px; }
.article p { color: var(--body); }
.article h2 { margin-top: 1.4em; font-size: 1.35rem; }
.article .ticks { margin: 14px 0 18px; }
.article-cta { margin-top: 34px; padding: 22px; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); }
.article-cta p:last-child { margin-bottom: 0; }
