/* ==========================================================================
   JSL Electrical Services
   Palette: near-black "ink" + hi-vis amber, taken from the monochrome logo.
   ========================================================================== */

:root {
  --ink:        #0d1117;
  --ink-2:      #161d28;
  --ink-3:      #232c3a;
  --slate:      #5b6673;
  --slate-2:    #8a939f;
  --line:       #e3e8ee;
  --paper:      #ffffff;
  --paper-2:    #f5f7fa;

  --accent:     #f5b301;
  --accent-2:   #ffc832;
  --accent-ink: #3a2900;

  --ok:         #17794a;
  --err:        #c0392b;

  --wrap:       1160px;
  --radius:     10px;
  --radius-lg:  16px;

  --shadow-sm:  0 1px 2px rgba(13,17,23,.06), 0 1px 3px rgba(13,17,23,.05);
  --shadow:     0 4px 12px rgba(13,17,23,.07), 0 12px 32px rgba(13,17,23,.06);
  --shadow-lg:  0 18px 50px rgba(13,17,23,.14);

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Barlow Condensed', 'Inter', sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.35rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; }
p  { text-wrap: pretty; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip:focus { top: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section-tight { padding: clamp(48px, 5vw, 72px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #b9c2cd; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; font-size: 1.075rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); margin-bottom: .85rem;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; background: var(--accent); }
.section-head.center .eyebrow { justify-content: center; }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .eyebrow::before { background: var(--accent); }

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

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.075rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 0 #c99400; }
.btn-accent:hover { background: var(--accent-2); box-shadow: 0 6px 0 #c99400; }
.btn-accent:active { box-shadow: 0 2px 0 #c99400; }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }

.btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.textlink .icon { transition: transform .18s var(--ease); }
.textlink:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; margin-right: auto; }
.brand-logo { width: 146px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text {
  padding-left: 13px; margin-left: 2px; border-left: 2px solid var(--accent);
}
.brand-text em {
  font-family: var(--font-display); font-style: normal; text-transform: uppercase;
  font-size: .95rem; font-weight: 600; letter-spacing: .1em; color: var(--slate);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav > ul { display: flex; align-items: center; gap: 26px; }
.nav a {
  text-decoration: none; font-size: .96rem; font-weight: 500; color: var(--ink);
  position: relative; padding: .35rem 0;
}
.nav > ul a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav > ul a:hover::after, .nav > ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: .62rem 1.05rem; font-size: .95rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: .5rem; cursor: pointer; color: var(--ink);
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #c3ccd7;
  padding: clamp(64px, 8vw, 116px) 0 clamp(56px, 7vw, 96px);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 78% 12%, rgba(245,179,1,.16), transparent 62%),
    radial-gradient(700px 520px at 10% 92%, rgba(255,255,255,.055), transparent 60%);
}
/* Faint circuit trace pattern */
.hero::after {
  content: ''; position: absolute; inset: 0; opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 20%, transparent 75%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--accent); }
.hero-lead { margin-top: 1.35rem; font-size: 1.16rem; max-width: 54ch; color: #c3ccd7; }
.hero .btn-row { margin-top: 2.1rem; }

.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem .9rem .42rem .6rem;
  background: rgba(245,179,1,.14); border: 1px solid rgba(245,179,1,.35);
  border-radius: 100px; color: var(--accent-2);
  font-family: var(--font-display); font-size: .95rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.35rem;
}
.chip .icon { width: 17px; height: 17px; }

.hero-trust {
  margin-top: 2.6rem; padding-top: 1.9rem;
  border-top: 1px solid rgba(255,255,255,.13);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 20px;
}
.hero-trust dt {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.hero-trust dd { margin: .3rem 0 0; font-size: .88rem; color: #98a3b0; letter-spacing: .02em; }

/* Hero card — quick quote / credentials panel */
.hero-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--accent);
}
.hero-card h2 { font-size: 1.6rem; }
.hero-card > p { margin-top: .6rem; font-size: .97rem; color: var(--slate); }
.hero-card ul { margin: 1.35rem 0; display: grid; gap: .7rem; }
.hero-card li { display: flex; gap: .65rem; align-items: flex-start; font-size: .97rem; color: var(--ink-2); }
.hero-card li .icon { color: var(--ok); width: 20px; height: 20px; margin-top: 2px; }
.hero-card .btn { width: 100%; }
.hero-card-note { margin-top: 1rem; font-size: .85rem; text-align: center; color: var(--slate-2); }

/* ---------- Marquee strip of credentials ---------- */
.credbar { background: var(--accent); color: var(--accent-ink); }
.credbar ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px;
  padding: 16px 0;
}
.credbar li {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: 1rem;
}

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3dae2; }
.card:hover::after { transform: scaleY(1); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .98rem; }

.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--ink); color: var(--accent);
}
.card-icon .icon { width: 26px; height: 26px; }

.card-list { margin-top: 1.15rem; display: grid; gap: .5rem; }
.card-list li { display: flex; gap: .6rem; font-size: .93rem; color: var(--slate); }
.card-list .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--accent); }

/* Service detail blocks (services page) */
.service-block {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 52px);
  padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block .sb-head .card-icon { margin-bottom: 1.25rem; }
.service-block h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.service-block .sb-head p { margin-top: .9rem; }
.sb-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .7rem 24px; align-content: start; }
.sb-items li {
  display: flex; gap: .65rem; align-items: flex-start;
  padding: .7rem .9rem; background: var(--paper-2); border-radius: var(--radius);
  font-size: .95rem; color: var(--ink-2);
}
.sb-items .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }

/* ---------- Why us / feature rows ---------- */
.feature { display: flex; gap: 1.1rem; }
.feature .card-icon { margin-bottom: 0; width: 46px; height: 46px; border-radius: 10px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.feature p { font-size: .97rem; }
.section-dark .feature .card-icon { background: rgba(245,179,1,.14); color: var(--accent); }
.section-dark .feature p { color: #a4aeba; }

/* ---------- Split panel ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: var(--ink); color: #fff; padding: 44px; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.split-media::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 320px at 80% 0%, rgba(245,179,1,.22), transparent 62%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 22px);
}
.split-media > * { position: relative; }
.split-media blockquote { font-size: 1.32rem; line-height: 1.45; color: #fff; font-weight: 500; }
.split-media cite { display: block; margin-top: 1.1rem; font-style: normal; font-size: .92rem; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-display); }
.checklist { display: grid; gap: .85rem; margin-top: 1.6rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; flex: none; }
.checklist strong { color: var(--ink); display: block; }
.section-dark .checklist strong { color: #fff; }

/* ---------- Areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.area-grid li a {
  display: flex; align-items: center; gap: .6rem;
  padding: .95rem 1.1rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: .97rem;
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.area-grid li a:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.area-grid .icon { width: 18px; height: 18px; color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); color: #c3ccd7; position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px);
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 90% 20%, rgba(245,179,1,.2), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: .7rem; max-width: 52ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 4vw, 56px); align-items: start; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: .4rem; }
.field .req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%; padding: .82rem .95rem; font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--paper-2);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(245,179,1,.28);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--err); }
.field-error { display: none; color: var(--err); font-size: .85rem; margin-top: .35rem; font-weight: 500; }
.field input[aria-invalid="true"] ~ .field-error,
.field select[aria-invalid="true"] ~ .field-error,
.field textarea[aria-invalid="true"] ~ .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .85rem; color: var(--slate-2); margin-top: 1rem; }
.form-note a { color: var(--ink); }
.form-status { display: none; padding: 1rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-size: .96rem; }
.form-status.is-visible { display: block; }
.form-status.ok  { background: #eaf7f0; border: 1px solid #b6e0c8; color: #14603c; }
.form-status.err { background: #fdeeec; border: 1px solid #f5c4bd; color: #96271a; }
.btn[data-busy="true"] { opacity: .65; pointer-events: none; }

.contact-panel { display: grid; gap: 14px; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px;
}
.contact-item .card-icon { width: 44px; height: 44px; border-radius: 10px; margin: 0; }
.contact-item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.contact-item a { color: var(--ink); font-weight: 600; text-decoration: none; font-size: 1.08rem; }
.contact-item a:hover { color: var(--accent-ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contact-item p { font-size: .95rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--ink); color: #b9c2cd; position: relative; overflow: hidden;
  padding: clamp(52px, 6vw, 84px) 0;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 80% 10%, rgba(245,179,1,.16), transparent 62%);
}
.page-hero > .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.5rem); }
.page-hero p { margin-top: 1rem; max-width: 62ch; font-size: 1.08rem; }
.crumbs { display: flex; gap: .5rem; font-size: .88rem; color: var(--slate-2); margin-bottom: 1rem; }
.crumbs a { color: var(--accent); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 4px 22px;
}
.faq details[open] { border-color: #d3dae2; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 2rem 1.05rem 0; position: relative;
  font-family: var(--font-display); text-transform: uppercase; font-weight: 600;
  font-size: 1.2rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 2px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding-bottom: 1.15rem; font-size: .99rem; }

/* ---------- Prose (privacy page) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; margin-bottom: .8rem; }
.prose p, .prose li { font-size: 1rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; display: grid; gap: .4rem; }
.prose a { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #8d97a3; padding: clamp(48px, 6vw, 76px) 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h3 {
  color: #fff; font-size: 1.05rem; letter-spacing: .11em; margin-bottom: 1.1rem;
}
.footer-logo { width: 216px; height: auto; margin-bottom: 1.3rem; }
.footer-brand p { max-width: 40ch; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.25rem; }
.footer-badges li {
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  padding: .35rem .7rem; border: 1px solid rgba(255,255,255,.18); border-radius: 100px; color: #c3ccd7;
}
.footer-links { display: grid; gap: .55rem; }
.footer-links-cols { grid-template-columns: 1fr 1fr; }
.footer-links a, .footer-contact a { text-decoration: none; transition: color .16s var(--ease); }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: .9rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: 3px; }
.footer-bottom {
  margin-top: clamp(36px, 4vw, 52px); padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.11);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Mobile call button ---------- */
.call-fab {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  display: none; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  box-shadow: var(--shadow-lg);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .split, .contact-grid, .service-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .18s var(--ease), transform .18s var(--ease);
    max-height: calc(100dvh - 76px); overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav > ul a::after { display: none; }
  .nav > ul a[aria-current="page"] { color: var(--accent-ink); }
  .nav-cta { margin-top: 18px; width: 100%; }
  .brand-logo { width: 122px; }
  body { padding-bottom: 78px; }
  .call-fab { display: flex; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .brand-text { display: none; }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .credbar ul { gap: 8px 24px; }
  .credbar li { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .call-fab, .cta-band, .site-footer, .nav-toggle { display: none !important; }
  body { color: #000; }
}
