/* Electrician in Pretoria East - site stylesheet
   One file for the whole site. Mobile first. Navy + electric yellow. */

:root {
  --navy-900: #07111f;
  --navy-800: #0b1b33;
  --navy-700: #112748;
  --navy-600: #1a3966;
  --navy-500: #25508c;
  --yellow: #ffd200;
  --yellow-hover: #ffe14d;
  --yellow-soft: #fff6cc;
  --yellow-edge: #d9a800;
  --red: #b42318;
  --ink: #0f1c2e;
  --muted: #46546d;
  --line: #dde3ec;
  --bg: #f3f5f9;
  --white: #fff;
  --on-dark: #d6deeb;
  --radius: 12px;
  --wrap: 1160px;
  --head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --focus: #1d4ed8;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--body);
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 7vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 4.4vw, 2.6rem); }
h3 { font-size: 1.4rem; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); text-decoration-color: var(--yellow-edge); text-decoration-thickness: 2px; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--yellow); color: var(--navy-800); padding: 10px 16px; font-weight: 600; border-radius: 6px;
}
.skip:focus { left: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ic-sm { width: 20px; height: 20px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 8px;
  font: 700 1.2rem/1 var(--head); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: var(--navy-800); }
.btn-yellow:hover { background: var(--yellow-hover); color: var(--navy-800); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: var(--yellow); color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-600); color: #fff; }
.btn-line { border-color: var(--navy-800); color: var(--navy-800); }
.btn-line:hover { background: var(--navy-800); color: #fff; }

/* ---------- Header ---------- */
.site-head { background: var(--navy-800); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand:hover { color: #fff; }
.brand svg { flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt small { font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 3px; }
.brand-txt strong { font: 700 1.5rem/1 var(--head); letter-spacing: .01em; font-weight: 700; }
.head-call { min-height: 44px; padding: 8px 14px; font-size: 1.1rem; }
.head-call .num { display: none; }
.nav { order: 3; width: calc(100% + 40px); margin: 0 -20px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(255, 255, 255, .08); }
.nav::-webkit-scrollbar { display: none; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0 12px; white-space: nowrap; }
.nav li { margin: 0; }
.nav a {
  display: block; padding: 13px 10px 12px; color: var(--on-dark); text-decoration: none;
  font: 600 1rem/1 var(--body); border-bottom: 3px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: rgba(255, 210, 0, .5); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--yellow); }

@media (min-width: 420px) {
  .head-call .num { display: inline; }
  .head-call .word { display: none; }
}
@media (min-width: 980px) {
  .head-row { flex-wrap: nowrap; min-height: 76px; padding-top: 0; }
  .nav { order: 0; width: auto; margin: 0; border-top: 0; overflow: visible; }
  .nav ul { padding: 0; gap: 2px; }
  .nav a { padding: 28px 10px 25px; }
}

/* ---------- Hero ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden;
  background-color: var(--navy-800);
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    radial-gradient(120% 90% at 85% 10%, var(--navy-600) 0%, rgba(11, 27, 51, 0) 60%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  color: #fff;
}
.hero { padding: 44px 0 56px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  font: 600 .82rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow);
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl, .page-hero h1 .hl { color: var(--yellow); }
.lead { font-size: 1.18rem; line-height: 1.6; color: var(--on-dark); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--on-dark); font-size: 1rem; }
.ticks li { display: flex; align-items: center; gap: 8px; margin: 0; }
.ticks .ic { color: var(--yellow); width: 20px; height: 20px; }
.hero-art { margin: 0 auto; width: 100%; max-width: 470px; }
.hero-art svg { display: block; width: 100%; height: auto; }

@media (min-width: 900px) {
  .hero { padding: 72px 0 84px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* Inner page hero */
.page-hero { padding: 28px 0 44px; }
.page-hero h1 { font-size: clamp(2.2rem, 6.4vw, 3.4rem); margin-bottom: 14px; }
.page-hero .lead { margin-bottom: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 22px; font-size: .95rem; color: var(--on-dark); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(214, 222, 235, .6); }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--yellow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.chips li { margin: 0; }
.chips a {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .32); color: #fff; text-decoration: none; font-size: .95rem; font-weight: 600;
}
.chips a:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---------- Yellow band ---------- */
.band { background: var(--yellow); color: var(--navy-800); }
.band-list { display: grid; grid-template-columns: 1fr 1fr; list-style: none; margin-block: 0; padding-block: 6px; }
.band-list li {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 6px;
  font: 700 1.12rem/1.1 var(--head); letter-spacing: .03em; text-transform: uppercase;
}
.band-list .ic { width: 28px; height: 28px; }
@media (min-width: 900px) {
  .band-list { grid-template-columns: repeat(4, 1fr); padding-block: 10px; }
  .band-list li { font-size: 1.25rem; padding: 14px 18px; border-left: 1px solid rgba(11, 27, 51, .18); }
  .band-list li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Sections ---------- */
.sec { background: var(--bg); padding: 56px 0; }
.sec-white { background: var(--white); padding: 56px 0; }
.night { background: var(--navy-700); color: #fff; padding: 56px 0; border-top: 4px solid var(--yellow); }
@media (min-width: 900px) {
  .sec, .sec-white, .night { padding: 84px 0; }
}
.sec-head { max-width: 760px; margin-bottom: 32px; }
.sec-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.kicker {
  display: block; margin-bottom: 10px;
  font: 600 .82rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-500);
}
.night .kicker, .dark .kicker { color: var(--yellow); }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; color: var(--ink); text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.card:hover { color: var(--ink); border-color: var(--navy-600); box-shadow: 0 10px 26px rgba(11, 27, 51, .09); transform: translateY(-2px); }
.card h3 { margin: 8px 0 2px; }
.card p { margin: 0; color: var(--muted); }
.card .go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-600); }
a.card:hover .go { color: var(--navy-800); }
.badge {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy-800); color: var(--yellow);
}
.sec-white .card { background: var(--bg); border-color: transparent; }

/* Service overview tiles */
.tiles { display: grid; gap: 16px; }
@media (min-width: 620px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { border-top: 4px solid var(--yellow); background: var(--bg); border-radius: 0 0 var(--radius) var(--radius); padding: 22px; }
.tile-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tile-head h3 { margin: 0; }
.tile ul { margin: 0 0 12px; padding: 0; list-style: none; color: var(--muted); }
.tile li { position: relative; padding-left: 16px; margin-bottom: 4px; }
.tile li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 2px; background: var(--navy-500); }
.tile a { font-weight: 600; }

/* ---------- Split / checks / steps ---------- */
.split { display: grid; gap: 36px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; margin: 0; }
.checks h3 { margin: 4px 0 4px; font-size: 1.3rem; }
.checks p { margin: 0; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative; margin: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 74px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--navy-800); font: 700 1.3rem/1 var(--head);
}
.steps h3 { margin: 4px 0 4px; font-size: 1.3rem; }
.steps p { margin: 0; color: var(--muted); }

/* Areas */
.areas { display: grid; gap: 16px; }
@media (min-width: 620px) { .areas { grid-template-columns: 1fr 1fr; } }
.area {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: 24px;
}
.area .ic { color: var(--yellow); width: 30px; height: 30px; margin-top: 2px; }
.area h3 { margin: 0 0 6px; }
.area p { margin: 0 0 8px; color: var(--on-dark); }
.area a { color: var(--yellow); font-weight: 600; }
.area a:hover { color: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 18px 44px 18px 0; font: 700 1.3rem/1.2 var(--head); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: var(--yellow); font: 700 1.3rem/1 var(--body);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- Night CTA ---------- */
.cta-row { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .cta-row { grid-template-columns: 1.3fr 1fr; } }
.cta-row h2 { margin-bottom: 10px; }
.cta-row p { color: var(--on-dark); margin: 0; font-size: 1.12rem; }
.big-phone {
  display: inline-flex; align-items: center; gap: 14px; color: var(--yellow); text-decoration: none;
  font: 700 clamp(2.2rem, 9vw, 3.6rem)/1 var(--head); letter-spacing: .02em; white-space: nowrap;
}
.call-card .big-phone { font-size: clamp(1.9rem, 8vw, 3.2rem); }
.big-phone:hover { color: var(--yellow-hover); text-decoration: none; }
.big-phone .ic { width: .8em; height: .8em; stroke-width: 2.4; }
.cta-side small { display: block; margin-top: 8px; color: var(--on-dark); font-size: .98rem; }

/* ---------- Inner page layout ---------- */
.layout { display: grid; gap: 40px; padding-block: 48px 64px; }
@media (min-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-block: 64px 84px; }
  .aside-inner { position: sticky; top: 24px; }
}
.prose { min-width: 0; }
.prose > section + section { margin-top: 48px; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: #2a3850; }
.prose .intro { font-size: 1.15rem; color: var(--ink); }
.anchor-target { scroll-margin-top: 20px; }

.items { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 700px) { .items { grid-template-columns: 1fr 1fr; } }
.item { background: var(--bg); border-radius: var(--radius); padding: 20px; border-left: 4px solid var(--navy-800); }
.item h3 { margin: 0 0 6px; font-size: 1.3rem; }
.item p { margin: 0; color: var(--muted); }
.item p + p { margin-top: 8px; }

.sec-title { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.sec-title h2 { margin: 0; }

.note {
  background: var(--yellow-soft); border-left: 5px solid var(--yellow-edge);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; margin: 22px 0;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--ink); }
.warn { background: #fdf0ef; border-left-color: var(--red); }

.numbered { list-style: none; counter-reset: n; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.numbered li {
  counter-increment: n; position: relative; margin: 0; padding: 16px 18px 16px 64px;
  background: var(--bg); border-radius: var(--radius);
}
.numbered li::before {
  content: counter(n); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-800); color: var(--yellow); font: 700 1.15rem/1 var(--head);
}
.numbered strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }

.ticklist, .crosslist { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.ticklist li, .crosslist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin: 0; }
.ticklist .ic { color: var(--navy-500); margin-top: 2px; }
.crosslist .ic { color: var(--red); margin-top: 2px; }
.dodont { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 700px) { .dodont { grid-template-columns: 1fr 1fr; } }
.dodont > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.dodont h3 { margin: 0 0 6px; font-size: 1.3rem; }

.signs { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .signs { grid-template-columns: 1fr 1fr; } }
.signs li {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; margin: 0;
  background: var(--bg); border-radius: var(--radius); padding: 14px;
}
.signs .badge { width: 40px; height: 40px; border-radius: 8px; }
.signs .ic { width: 22px; height: 22px; }

.facts { display: grid; gap: 0; margin: 18px 0; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 2px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 620px) { .facts div { grid-template-columns: 190px 1fr; } }
.facts dt { font: 700 1.15rem/1.3 var(--head); text-transform: uppercase; letter-spacing: .03em; color: var(--navy-600); }
.facts dd { margin: 0; color: #2a3850; }

.inline-cta {
  display: grid; gap: 14px; align-items: center; margin: 40px 0 0; padding: 24px;
  background: var(--navy-800); color: #fff; border-radius: var(--radius);
}
@media (min-width: 700px) { .inline-cta { grid-template-columns: 1fr auto; } }
.inline-cta h2 { font-size: 1.7rem; margin: 0 0 4px; }
.inline-cta p { margin: 0; color: var(--on-dark); }

/* Contact page call card */
.call-card {
  background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: 28px 24px; margin: 6px 0 28px;
  background-image: radial-gradient(90% 120% at 100% 0%, var(--navy-600) 0%, rgba(11, 27, 51, 0) 65%);
}
.call-card p { color: var(--on-dark); margin: 12px 0 0; }
.call-card .btn { margin-top: 18px; }

/* Aside */
.aside-card { background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: 24px; }
.aside-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.aside-card p { color: var(--on-dark); margin-bottom: 16px; }
.aside-card .btn { width: 100%; }
.aside-card small { display: block; margin-top: 12px; color: var(--on-dark); font-size: .92rem; }
.aside-links { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.aside-links h2 { font-size: 1.35rem; margin-bottom: 10px; }
.aside-links ul { list-style: none; padding: 0; margin: 0; }
.aside-links li { margin: 0; border-top: 1px solid var(--line); }
.aside-links li:first-child { border-top: 0; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; text-decoration: none; font-weight: 600; }
.aside-links a:hover { color: var(--navy-800); }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy-900); color: var(--on-dark); padding: 52px 0 88px; font-size: 1rem; } /* bottom room for the mobile call bar */
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-foot h2 { font: 700 1.05rem/1.2 var(--body); color: #fff; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { color: var(--yellow); text-decoration: underline; }
.site-foot .brand { margin-bottom: 14px; }
.foot-phone { display: inline-block; font: 700 2rem/1 var(--head); color: var(--yellow) !important; letter-spacing: .02em; margin-bottom: 8px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem;
}
.foot-bottom p { margin: 0; }

/* ---------- Mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--yellow); color: var(--navy-800); text-decoration: none;
  font: 700 1.25rem/1 var(--head); letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 -6px 18px rgba(7, 17, 31, .25);
}
.callbar:hover { color: var(--navy-800); background: var(--yellow-hover); }
@media (min-width: 980px) {
  .site-foot { padding-bottom: 24px; }
  .callbar { display: none; }
}

/* ---------- 404 ---------- */
.nf { padding: 64px 0 80px; }
.nf .cards { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Links inside dark sections */
.dark .lead a, .dark p a { color: var(--yellow); }
.dark .lead a:hover, .dark p a:hover { color: #fff; text-decoration-color: var(--yellow); }
.dodont h3 .ic { vertical-align: -3px; margin-right: 4px; }

/* Keep hyphenated phrases together */
.nw, a[href^="tel:"] { white-space: nowrap; }

/* Small phones: tighter header so the call button stays on the brand row */
@media (max-width: 419px) {
  .brand svg { width: 36px; height: 36px; }
  .brand-txt strong { font-size: 1.3rem; }
  .brand-txt small { font-size: .66rem; }
  .head-row { gap: 10px 12px; }
}
/* Mobile nav strip: fade the right edge to show it scrolls */
@media (max-width: 979px) {
  .nav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}
/* Compact problem cards on phones */
@media (max-width: 619px) {
  .cards .card { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 4px; padding: 18px; }
  .cards .card .badge { grid-row: 1 / span 3; }
  .cards .card h3 { margin: 0; }
  .cards .card .go { padding-top: 4px; }
}
