/* ==========================================================================
   Installer DSTV — site.css  (redesign inspired by primeinstallers.co.za)
   ========================================================================== */

/* ─── design tokens — Installer DSTV palette ────────────────────────────
   Derived from the approved scheme: DStv "midnight" blues
   (#020381 → #2874fc), vivid cyan-blue #0693e3 and luminous amber #fcb900
   as the call-to-action accent. */
:root {
  --navy:        #0a1550;   /* midnight blue — headers, footer, dark bands */
  --navy-mid:    #101d66;
  --navy-light:  #1a2d8f;
  --cyan:        #0693e3;   /* vivid cyan-blue — links, highlights */
  --cyan-dark:   #0576b8;
  --orange:      #fcb900;   /* luminous amber — primary CTA */
  --orange-dark: #e0a400;
  --green:       #22c55e;
  --white:       #ffffff;
  --off-white:   #f4f7fc;
  --text:        #16204a;
  --text-muted:  #5a6584;
  --border:      #d8dfef;
  --card-bg:     #ffffff;
  --surface:     #edf1fa;

  --shadow-sm:   0 1px 3px rgba(10,21,80,.07), 0 4px 12px rgba(10,21,80,.05);
  --shadow-md:   0 4px 20px rgba(10,21,80,.1),  0 1px 4px rgba(10,21,80,.06);
  --shadow-lg:   0 12px 40px rgba(10,21,80,.15), 0 2px 8px rgba(10,21,80,.08);
  --shadow-glow: 0 8px 32px rgba(6,147,227,.3);
  --shadow-cta:  0 8px 28px rgba(252,185,0,.4);

  --r:    .7rem;
  --r-sm: .45rem;
  --r-lg: 1rem;

  --font-head: 'Barlow Condensed', 'Oswald', sans-serif;
  --font-body: 'DM Sans', 'Inter', system-ui, sans-serif;
}

/* ─── reset & base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--off-white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin-bottom: 1em; }
a  { color: var(--cyan-dark); }
img { max-width: 100%; height: auto; display: block; }
ul,ol { padding: 0; list-style: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.center { text-align: center; }

/* ─── skip link ─────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: #fff; padding: .5rem 1rem;
  border-radius: var(--r-sm); z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* ─── buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem; line-height: 1;
  padding: .8rem 1.6rem; border-radius: var(--r); border: none;
  cursor: pointer; text-decoration: none;
  transition: transform .15s, box-shadow .15s, filter .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--navy); box-shadow: var(--shadow-cta);
}
.btn-cta:hover { filter: brightness(1.08); box-shadow: 0 10px 36px rgba(252,185,0,.55); }

.btn-navy {
  background: var(--navy); color: #fff; box-shadow: var(--shadow-md);
}
.btn-navy:hover { background: var(--navy-light); }

.btn-outline {
  background: transparent; color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--border);
}
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--cyan); color: var(--cyan-dark); }

.btn-ghost-white {
  background: rgba(255,255,255,.12); color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.2); }

.btn-whatsapp {
  background: #22c55e; color: #fff;
}
.btn-whatsapp:hover { background: #16a34a; }

.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* light button for use on dark hero bands */
.btn-light {
  background: rgba(255,255,255,.14); color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35);
}
.btn-light:hover { background: rgba(255,255,255,.24); }

/* non-link chip (brand names etc.) — visually matches .chip-cloud links */
.chip-static {
  display: inline-block; padding: .3rem .75rem; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: .85rem; font-weight: 600;
}

/* ─── top bar ───────────────────────────────────────────────────────────── */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  padding: .45rem 0;
}
.top-bar .wrap { display: flex; gap: 1.4rem; justify-content: flex-end; align-items: center; }
.top-bar a { color: rgba(255,255,255,.85); text-decoration: none; display: flex; align-items: center; gap: .35rem; }
.top-bar a:hover { color: var(--cyan); }

/* ─── header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(11,31,58,.07);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: .6rem 1.25rem;
  max-width: 1160px; margin: 0 auto;
}

/* brand / logo */
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }

/* main nav */
.main-nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
/* ─── nav links — explicit colours so page content never leaks in ──────── */
.main-nav > a, .nav-dropdown-btn {
  font-weight: 600; font-size: .9rem;
  color: var(--navy) !important;   /* always navy, never inherits page link colour */
  text-decoration: none; padding: .55rem .75rem; border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.main-nav > a:hover, .nav-dropdown-btn:hover {
  color: var(--cyan-dark) !important; background: var(--surface);
}
.main-nav > a.active { color: var(--cyan-dark) !important; }

/* dropdown trigger button reset */
.nav-dropdown-btn {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: .3rem;
  font-family: inherit; line-height: inherit;
}
.nav-dropdown-btn svg { transition: transform .2s; flex-shrink: 0; }
.nav-item.open .nav-dropdown-btn svg,
.nav-item:hover .nav-dropdown-btn svg { transform: rotate(180deg); }

/* dropdown panel — desktop floating */
.nav-item { position: relative; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px; max-width: 300px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .18s, transform .18s, visibility 0s .18s;
  z-index: 500;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1; pointer-events: auto; visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s, transform .18s, visibility 0s 0s;
}
.dropdown a {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .75rem; border-radius: var(--r-sm);
  color: var(--navy) !important; font-size: .9rem; font-weight: 500;
  text-decoration: none; transition: background .13s, color .13s;
}
.dropdown a:hover { background: var(--surface); color: var(--cyan-dark) !important; }
.dropdown-icon {
  width: 30px; height: 30px; border-radius: var(--r-sm);
  background: var(--surface); display: grid; place-items: center;
  font-size: .95rem; flex-shrink: 0;
}

/* Mobile: dropdown opens inline, not floating */
@media (max-width: 900px) {
  .nav-item .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    border-top: 1px solid var(--border);
    padding: .25rem 0 .25rem .5rem;
    min-width: 0; max-width: none;
    opacity: 1; pointer-events: none; visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease, visibility 0s .25s;
  }
  .nav-item.open .dropdown {
    pointer-events: auto; visibility: visible;
    max-height: 600px;
    transition: max-height .3s ease, visibility 0s 0s;
  }
}

/* header CTA */
.header-actions { display: flex; gap: .5rem; align-items: center; margin-left: 1rem; }
.header-phone {
  font-weight: 700; font-size: .92rem; color: var(--navy);
  text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: var(--cyan-dark); }

/* hamburger (mobile) */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: .4rem; margin-left: auto; color: var(--navy);
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 900px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
}

/* ─── hero ──────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #0d3366 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% -10%, rgba(0,184,217,.25) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 80%, rgba(252,185,0,.12) 0%, transparent 50%);
  pointer-events: none;
}
/* subtle diagonal pattern */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.015) 0,
    rgba(255,255,255,.015) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 28px 28px;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3.5rem; align-items: center;
  padding: 4.5rem 0 5rem;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 999px;
  background: rgba(0,184,217,.18);
  border: 1px solid rgba(0,184,217,.4);
  color: var(--cyan); margin-bottom: 1.1rem;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.hero h1 { color: #fff; margin-bottom: .55rem; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.78); max-width: 34rem;
  margin-bottom: 1.8rem; line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.8rem; }

.trust-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.trust-chips li {
  font-size: .78rem; font-weight: 600;
  padding: .38rem .75rem; border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
}
.trust-chips li::before { content: '✓ '; color: var(--green); }

/* hero card (right) */
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-lg);
  backdrop-filter: blur(8px);
  padding: 1.8rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.hero-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1.1rem; }
.hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.2rem; }
.hero-stat {
  background: rgba(255,255,255,.08); border-radius: var(--r-sm);
  padding: .9rem; text-align: center;
}
.hero-stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--cyan); line-height: 1; }
.hero-stat span { font-size: .75rem; color: rgba(255,255,255,.65); display: block; margin-top: .25rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 2.8rem 0 3.2rem; gap: 2rem; }
  .hero-card { padding: 1.3rem; }
  .hero-stat-row { gap: .5rem; }
}

/* ─── sections ──────────────────────────────────────────────────────────── */
.band { padding: 4rem 0; }
.band-alt { background: var(--surface); }
.band-dark { background: var(--navy); color: #fff; }
.band-dark h2 { color: #fff; }
.band-dark p { color: rgba(255,255,255,.72); }

.kicker {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-dark); margin-bottom: .6rem;
}
.band-dark .kicker { color: var(--cyan); }

.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: .4rem; }
.section-head p { color: var(--text-muted); margin: 0; }
.band-dark .section-head p { color: rgba(255,255,255,.68); }

/* ─── brand / service cards ─────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.svc-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  overflow: hidden;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--cyan); }
.svc-card a { display: flex; flex-direction: column; padding: 1.3rem; text-decoration: none; color: inherit; height: 100%; }
.svc-card-icon {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: grid; place-items: center; margin-bottom: .9rem;
  font-size: 1.25rem; flex-shrink: 0;
}
.svc-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: .3rem; }
.svc-card p { font-size: .86rem; color: var(--text-muted); margin: 0 0 auto; }
.svc-card-cta {
  margin-top: .9rem; font-size: .82rem; font-weight: 700;
  color: var(--cyan-dark); display: flex; align-items: center; gap: .3rem;
}
.svc-card-cta::after { content: '→'; }

/* ─── steps ─────────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem;
  counter-reset: step;
}
.step-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.5rem 1.3rem;
  box-shadow: var(--shadow-sm); counter-increment: step;
  position: relative;
}
.step-card::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  box-shadow: var(--shadow-cta); margin-bottom: .9rem;
}
.step-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.step-card p { font-size: .87rem; color: var(--text-muted); margin: 0; }

/* ─── symptoms ──────────────────────────────────────────────────────────── */
.symptoms-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .9rem;
}
.symptom {
  background: var(--card-bg); border: 1px solid var(--border);
  border-left: 4px solid var(--cyan); border-radius: var(--r);
  padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm);
}
.symptom h3 { font-size: .98rem; margin-bottom: .2rem; color: var(--navy); }
.symptom p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ─── testimonials ──────────────────────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.testimonial {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow-sm);
}
.stars { color: var(--orange); letter-spacing: .1em; margin-bottom: .55rem; }
.testimonial blockquote {
  font-size: .93rem; color: var(--text); line-height: 1.6;
  margin: 0 0 .9rem; font-style: italic;
}
.testimonial figcaption { font-size: .82rem; font-weight: 700; color: var(--text-muted); }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 52rem; }
.faq-list details {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); margin-bottom: .65rem; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: .98rem;
  padding: 1.05rem 3.2rem 1.05rem 1.25rem;
  color: var(--navy); position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface); color: var(--navy);
  display: grid; place-items: center; font-weight: 700; font-size: 1.1rem;
}
.faq-list details[open] > summary::after { content: '–'; background: var(--navy); color: #fff; }
.faq-a { padding: 0 1.25rem 1.1rem; font-size: .92rem; color: var(--text-muted); line-height: 1.65; }

/* ─── split sections ────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.check-list { margin-top: 1rem; }
.check-list li { padding: .35rem 0 .35rem 1.7rem; position: relative; font-size: .95rem; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ─── coverage chips ────────────────────────────────────────────────────── */
.chip-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-cloud a {
  font-size: .84rem; font-weight: 500;
  padding: .42rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.85); text-decoration: none;
  transition: background .13s, color .13s;
}
.chip-cloud a:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ─── stats strip ───────────────────────────────────────────────────────── */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--border); }
.stat-cell {
  background: var(--card-bg); padding: 1.6rem 1.2rem; text-align: center;
}
.stat-cell strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--navy); line-height: 1; }
.stat-cell span { font-size: .83rem; color: var(--text-muted); display: block; margin-top: .3rem; }

/* ─── lead / booking form ───────────────────────────────────────────────── */
.lead-card {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 2rem;
}
.lead-card h2, .lead-card h3 { color: var(--navy); margin-bottom: .2rem; }
.lead-sub { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.2rem; }

.form-progress { display: flex; gap: .4rem; margin-bottom: 1.3rem; }
.form-progress .seg { flex: 1; height: 4px; border-radius: 999px; background: var(--border); position: relative; overflow: hidden; }
.form-progress .seg.done::after, .form-progress .seg.active::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--orange), var(--orange-dark)); }
.form-progress .seg.active::after { opacity: .5; }
.step-label { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: .8rem; }
.form-step[hidden] { display: none; }

.field { margin-bottom: .9rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: .32rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .93rem;
  padding: .68rem .85rem; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,184,217,.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.choice-row { display: flex; gap: .45rem; flex-wrap: wrap; }
.choice-row label {
  flex: 1; min-width: 90px;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  font-size: .84rem; font-weight: 600;
  padding: .62rem .5rem; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer; color: var(--text);
}
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row label:has(input:checked) { border-color: var(--orange); background: #fff8e0; color: var(--navy); }

.step-nav { display: flex; gap: .65rem; margin-top: 1.1rem; }
.step-nav .btn-back { background: var(--surface); color: var(--text); }
.step-nav .btn { flex: 1; }

.field-error { margin: .3rem 0 0; font-size: .79rem; color: #dc2626; }
.lead-card [aria-invalid="true"] { border-color: #dc2626; }

.form-success { margin-top: .5rem; padding: 1rem 1.15rem; background: #f0fdf4; border: 1px solid var(--green); border-radius: var(--r-sm); color: #15803d; font-size: .93rem; }

.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ─── article / blog ────────────────────────────────────────────────────── */
.article-body { max-width: 46rem; }
.article-body h2 { color: var(--navy); margin-top: 2rem; }
.article-body ul { list-style: disc; padding-left: 1.3rem; }
.article-body li { margin: .35rem 0; }
.prose-meta { font-size: .82rem; font-weight: 500; color: var(--text-muted); }

/* ─── page-hero (inner pages) ───────────────────────────────────────────── */
.page-hero { padding: 2.8rem 0 2.4rem; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.breadcrumbs { font-size: .79rem; margin-bottom: .85rem; color: rgba(255,255,255,.68); }
.breadcrumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { opacity: .55; padding: 0 .35rem; }

/* ─── page body (service × location) ───────────────────────────────────── */
.page-body {
  display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 2.5rem;
  align-items: start; padding: 2.8rem 1.25rem 1.5rem; max-width: 1160px; margin: 0 auto;
}
.side-col { position: sticky; top: 76px; }
@media (max-width: 960px) { .page-body { grid-template-columns: 1fr; } .side-col { position: static; } }

.content-section { margin-bottom: 2.2rem; }
.content-section h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: .5rem; }
.content-section p { color: #2b3947; }
.content-section ul { list-style: disc; padding-left: 1.25rem; }
.content-section li { margin: .4rem 0; }
.content-section li::marker { color: var(--orange); }

.lattice-group { margin-bottom: 1.5rem; }
.lattice-group h2 { font-size: 1.15rem; color: var(--navy); margin-bottom: .5rem; }
.lattice-up { font-size: .9rem; color: var(--text-muted); }

/* ─── tech-card ─────────────────────────────────────────────────────────── */
.tech-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 1.1rem; margin: 1.2rem 0;
}
.tech-card-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
}
.tech-card h3 { margin: 0 0 .1rem; }
.tech-card-meta { font-size: .79rem; font-weight: 700; color: var(--cyan-dark); margin-bottom: .35rem; }
.tech-card p { font-size: .88rem; margin: 0; color: var(--text-muted); }

/* ─── footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); margin-top: 4rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem;
  padding: 3.5rem 1.25rem 2rem; max-width: 1160px; margin: 0 auto;
}
.footer-brand img { height: 50px; margin-bottom: .85rem; filter: brightness(10); }
.footer-note { font-size: .87rem; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer-col-head { font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--cyan); margin-bottom: .85rem; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer-links li { margin-bottom: .45rem; font-size: .9rem; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.2rem 1.25rem; max-width: 1160px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.4);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── mobile sticky bar ─────────────────────────────────────────────────── */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: none;
  gap: .5rem; padding: .65rem .9rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.mobile-bar .btn { flex: 1; padding: .78rem .5rem; font-size: .87rem; }
@media (max-width: 700px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 68px; }
}

/* ─── grad text accent ──────────────────────────────────────────────────── */
.grad-text {
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ─── misc utils ─────────────────────────────────────────────────────────── */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.gap-sm { gap: .75rem; }

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

/* ─── service hub related/authority links responsive ────────────────────── */
@media (max-width: 640px) {
  .band .wrap > [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ─── blog ───────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}
.blog-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.blog-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  display: block; overflow: hidden; aspect-ratio: 16/9; background: var(--surface);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder {
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.blog-card-featured .blog-card-img { aspect-ratio: auto; min-height: 280px; }
.blog-card-body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--cyan-dark); margin-bottom: .5rem;
}
.blog-card-title { font-size: 1.08rem; margin-bottom: .5rem; line-height: 1.3; }
.blog-card-title a { color: var(--navy); text-decoration: none; }
.blog-card-title a:hover { color: var(--cyan-dark); }
.blog-card-featured .blog-card-title { font-size: 1.45rem; }
.blog-card-excerpt { font-size: .88rem; color: var(--text-muted); flex: 1; margin-bottom: .9rem; }
.blog-card-meta { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; font-size: .78rem; color: var(--text-muted); margin-top: auto; }
.blog-author { display: flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--text); }
.blog-author-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 700;
}
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem;
}
.pag-btn {
  font-weight: 700; font-size: .9rem; padding: .6rem 1.2rem; border-radius: var(--r-sm);
  background: var(--card-bg); border: 1.5px solid var(--border);
  text-decoration: none; color: var(--navy); transition: border-color .15s, color .15s;
}
.pag-btn:hover { border-color: var(--cyan); color: var(--cyan-dark); }
.pag-info { font-size: .85rem; color: var(--text-muted); }

/* blog post sidebar responsive */
@media (max-width: 820px) {
  .blog-card-featured { grid-template-columns: 1fr; }
  .blog-card-featured .blog-card-img { min-height: 200px; }
}

/* ══════════════════════════════════════════════════════════════════════
   ALIVE LAYER — scroll reveals, ambient motion, micro-interactions
   ══════════════════════════════════════════════════════════════════════ */

/* ─── scroll reveal (driven by site.js IntersectionObserver) ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .65s cubic-bezier(.22,.61,.36,1) var(--reveal-delay, 0ms),
    transform .65s cubic-bezier(.22,.61,.36,1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* No-JS / reduced motion: never hide content */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero::before, .hero h1 em::after, .sa-band-pattern { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ─── hero ambience ───────────────────────────────────────────────────── */
@keyframes heroDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-2.5%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(0,0,0) scale(1); }
}
.hero::before { animation: heroDrift 16s ease-in-out infinite; }

@keyframes underlineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero h1 em { position: relative; display: inline-block; }
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  border-radius: 99px; transform-origin: left center;
  animation: underlineGrow .9s cubic-bezier(.22,.61,.36,1) .45s both;
}
.hero-badge .dot {
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  60%      { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
}

/* ─── button micro-interactions ──────────────────────────────────────── */
.btn { transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-cta:hover { box-shadow: var(--shadow-cta); }

/* card lift on hover */
.svc-card, .symptom, .step-card, .testimonial {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-card:hover, .symptom:hover, .step-card:hover, .testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* header gains depth once scrolled (class toggled by site.js) */
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,31,58,.12); }

/* ══════════════════════════════════════════════════════════════════════
   PROUDLY SOUTH AFRICAN BAND
   ══════════════════════════════════════════════════════════════════════ */
.sa-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #143a2a 100%);
  color: #fff;
  overflow: hidden;
}
.sa-band-pattern {
  display: block; width: 100%; height: 56px; object-fit: cover;
  opacity: .95;
}
.sa-band-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center;
  padding-top: 3rem; padding-bottom: 3rem;
}
.sa-band h2 { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.05; margin: .4rem 0 .8rem; }
.kicker-light { color: var(--cyan); }
.sa-band-sub { color: rgba(255,255,255,.75); max-width: 50ch; line-height: 1.65; }
.sa-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.1rem 0 0; }
.sa-chips li {
  font-size: .85rem; font-weight: 600;
  padding: .42rem .85rem; border-radius: 99px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(4px);
}
.sa-skyline {
  width: 100%; height: auto; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.12));
  border: 1px solid rgba(255,255,255,.1);
  padding: .8rem;
}
@media (max-width: 880px) {
  .sa-band-inner { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ══════════════════════════════════════════════════════════════════════
   FOOTER v2 — compact, organised, SA-flag ribbon
   ══════════════════════════════════════════════════════════════════════ */
.sa-ribbon {
  height: 5px;
  background: linear-gradient(90deg,
    #de3831 0 18%,      /* red    */
    #ffffff 18% 21%,    /* white  */
    #007a4d 21% 45%,    /* green  */
    #ffb612 45% 58%,    /* gold   */
    #000000 58% 64%,    /* black  */
    #ffffff 64% 67%,    /* white  */
    #002395 67% 100%);  /* blue   */
}
.footer-grid {
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  padding-top: 2.8rem; padding-bottom: 1.8rem; gap: 1.8rem;
}
.footer-contact { list-style: none; padding: 0; margin: .9rem 0 0; }
.footer-contact li { margin-bottom: .4rem; font-size: .88rem; }
.footer-proudly {
  display: inline-block; margin-top: .9rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: var(--cyan);
  padding: .3rem .7rem; border: 1px solid rgba(0,184,217,.35); border-radius: 99px;
}
.footer-count {
  font-size: .68rem; font-weight: 700;
  color: var(--navy); background: rgba(255,255,255,.55);
  border-radius: 99px; padding: .05rem .42rem; margin-left: .3rem;
  vertical-align: middle;
}
.site-footer a { transition: color .15s ease, padding-left .15s ease; }
.footer-links a:hover { padding-left: 3px; }
.footer-legal-links { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; }
.footer-legal-links a:hover { color: var(--cyan); }
@media (max-width: 1020px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (max-width: 680px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px)  { .footer-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════════
   PATCH SET — 2026-06 — 8 improvements
   ══════════════════════════════════════════════════════════════════════ */

/* ── 1 · Pipeline toggle (kanban expand/collapse) ──────────────────── */
.kanban-detail-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  cursor: pointer; user-select: none;
}
.kanban-detail-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-track {
  display: inline-flex; align-items: center;
  width: 40px; height: 22px; border-radius: 999px;
  background: var(--border); transition: background .2s;
  flex-shrink: 0; position: relative;
}
.toggle-thumb {
  position: absolute; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: transform .2s;
}
.kanban-detail-toggle input:checked ~ .toggle-track { background: var(--orange); }
.kanban-detail-toggle input:checked ~ .toggle-track .toggle-thumb { transform: translateX(18px); }
.toggle-label { font-size: .82rem; font-weight: 600; color: var(--text-muted); }

/* Compact (default): hide extra details */
.card-expanded { display: none; }
.card-compact { display: block; }

/* Expanded: show all, hide the compact-only fields */
.kanban-expanded .card-expanded { display: block; }
.kanban-expanded .card-compact { display: none; }

/* ── 2 · Reviews carousel ───────────────────────────────────────────── */
.testimonial-carousel-wrap {
  position: relative; overflow: hidden;
}
.testimonial-carousel {
  display: flex; gap: 1.1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: .5rem;
}
.testimonial-carousel::-webkit-scrollbar { display: none; }
.testimonial-carousel .testimonial {
  flex: 0 0 min(90vw, 340px); scroll-snap-align: start;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.5rem 1.3rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.carousel-controls {
  display: flex; justify-content: center; align-items: center;
  gap: .6rem; margin-top: 1.2rem; flex-wrap: wrap;
}
.carousel-dots { display: flex; gap: .4rem; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  padding: 0; transition: background .2s, transform .2s;
}
.carousel-dot.active { background: var(--orange); transform: scale(1.25); }
.carousel-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--card-bg);
  color: var(--navy); cursor: pointer; font-size: 1.1rem;
  display: grid; place-items: center; transition: border-color .15s, background .15s;
  flex-shrink: 0;
}
.carousel-btn:hover { border-color: var(--orange); background: #fff8e0; }
/* On wider screens, keep the grid but add prev/next arrows */
@media (min-width: 900px) {
  .testimonial-carousel .testimonial { flex: 0 0 320px; }
}

/* ── 3 · Booking form — mobile-first ────────────────────────────────── */
.lead-card { padding: 1.6rem 1.3rem; }
.lead-form { display: flex; flex-direction: column; gap: 0; }
.form-step { border: none; padding: 0; margin: 0; }
.field { margin-bottom: .85rem; }
.field label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; box-sizing: border-box;
  font-size: 1rem; padding: .72rem .9rem;
  border-radius: var(--r-md); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text);
  -webkit-appearance: none; appearance: none;
  touch-action: manipulation;
  min-height: 48px; /* Apple HIG tap target */
}
.field select { 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='%23667' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.2rem; }
/* field-row: stack on mobile, 2-col on tablet+ */
.field-row { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
/* choice-row: always wrap, big tap targets */
.choice-row { display: flex; gap: .45rem; flex-wrap: wrap; }
.choice-row label {
  flex: 1 1 auto; min-width: 90px;
  display: flex; align-items: center; justify-content: center;
  gap: .4rem; padding: .65rem .8rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  cursor: pointer; font-size: .9rem; font-weight: 600;
  text-align: center; min-height: 48px;
  transition: border-color .15s, background .15s;
  background: var(--surface);
}
.choice-row label:has(input:checked) { border-color: var(--orange); background: #fff8e0; color: var(--navy); }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.step-nav { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: .9rem; }
.step-nav .btn { flex: 1 1 auto; min-height: 52px; font-size: 1rem; }
.step-nav .btn-back { flex: 0 0 auto; min-width: 80px; }
.form-progress { display: flex; gap: 4px; margin-bottom: 1.1rem; }
.form-progress .seg { height: 4px; flex: 1; border-radius: 99px; background: var(--border); transition: background .2s; }
.form-progress .seg.active { background: var(--orange); }
.form-progress .seg.done { background: var(--cyan); }
/* Full CTA button in form */
.btn-block { width: 100%; text-align: center; min-height: 52px; font-size: 1rem; }
@media (max-width: 420px) {
  .lead-card { padding: 1.2rem 1rem; }
  .field input, .field select { font-size: .95rem; }
}

/* ── 4 · Blog — fully responsive ────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.4rem;
}
.blog-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .blog-card-featured { grid-template-columns: 1.2fr 1fr; }
  .blog-card-featured .blog-card-img { min-height: 240px; }
}
.blog-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; }
.blog-card-img { aspect-ratio: 16 / 9; overflow: hidden; display: block; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
/* Article body: sidebar stacks on mobile */
@media (max-width: 760px) {
  .wrap > [style*="grid-template-columns:minmax(0,1fr) 300px"],
  .wrap > div[style*="grid-template-columns"] {
    display: block !important;
  }
  [style*="position:sticky"][style*="top:80px"],
  aside[style*="position:sticky"] {
    position: static !important;
    margin-top: 2rem;
  }
}
/* Blog CTA band: stack on small screens */
@media (max-width: 640px) {
  .band-dark [style*="grid-template-columns:1fr auto"] {
    display: block !important;
  }
  .band-dark [style*="grid-template-columns:1fr auto"] > div:last-child {
    margin-top: 1rem;
  }
}

/* ── 5 · Province hub — richer, SEO-friendly layout ─────────────────── */
.province-hero { padding: 3.5rem 0 2.5rem; }
.province-stat-bar {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin: 1.5rem 0 0; list-style: none; padding: 0;
}
.province-stat-bar li {
  flex: 1 1 140px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md);
  padding: .8rem 1rem; text-align: center;
}
.province-stat-bar strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--cyan); }
.province-stat-bar span { font-size: .8rem; color: rgba(255,255,255,.7); }
.province-svc-table { width: 100%; border-collapse: collapse; margin-top: .8rem; }
.province-svc-table th, .province-svc-table td {
  text-align: left; padding: .55rem .75rem;
  border-bottom: 1px solid var(--border); font-size: .88rem;
}
.province-svc-table th { font-weight: 700; color: var(--text-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.province-svc-table td a { color: var(--navy); font-weight: 600; text-decoration: none; }
.province-svc-table td a:hover { color: var(--cyan-dark); }
.province-town-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1rem; margin-top: 1.2rem;
}
.province-town-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.1rem 1rem;
}
.province-town-card h3 { font-size: 1rem; margin-bottom: .45rem; }
.province-town-card .chip-cloud { margin: 0; }
.province-faq { margin-top: 2.5rem; }
@media (max-width: 600px) {
  .province-stat-bar li { flex: 1 1 100px; padding: .65rem .75rem; }
  .province-stat-bar strong { font-size: 1.2rem; }
}

/* ── 7 · Mobile menu — full-screen drawer, big tap targets ───────────── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--navy); overflow-y: auto;
  display: none; flex-direction: column;
  padding: 0;
  /* slide-in from right */
  transform: translateX(100%);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.12);
  position: sticky; top: 0; background: var(--navy); z-index: 2;
}
.mobile-nav-close {
  width: 40px; height: 40px; border: none;
  border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer;
  display: grid; place-items: center; color: #fff;
}
.mobile-nav-close:hover { background: rgba(255,255,255,.16); }

.mobile-nav-body { flex: 1; padding: .3rem 0; overflow-y: auto; }

/* Standard row link — chevron-right style row like the reference design */
.mobile-nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 1.3rem; font-size: 1rem; font-weight: 700;
  color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  min-height: 56px;
  transition: background .12s;
  cursor: pointer;
  list-style: none;
}
.mobile-nav-row::-webkit-details-marker { display: none; }
.mobile-nav-row:hover, .mobile-nav-row:active { background: rgba(255,255,255,.06); }
.mobile-nav-row svg { flex-shrink: 0; opacity: .6; }

/* Expandable group (e.g. "Book a repair by brand") */
.mobile-nav-group { border-bottom: none; }
.mobile-nav-group > summary { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav-group[open] > summary .mobile-nav-chevron { transform: rotate(180deg); }
.mobile-nav-chevron { transition: transform .2s; }

.mobile-nav-subitems {
  background: rgba(0,0,0,.18);
  display: flex; flex-direction: column;
}
.mobile-nav-subitems a {
  display: block;
  padding: .85rem 1.3rem .85rem 2.1rem;
  font-size: .92rem; font-weight: 600;
  color: rgba(255,255,255,.82); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  min-height: 48px; display: flex; align-items: center;
  transition: background .12s, color .12s;
}
.mobile-nav-subitems a:hover, .mobile-nav-subitems a:active {
  background: rgba(255,255,255,.06); color: #fff;
}
.mobile-nav-subitems a:last-child { border-bottom: none; }

.mobile-nav-footer {
  padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.12);
  position: sticky; bottom: 0; background: var(--navy); z-index: 2;
}
.mobile-nav-cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; box-sizing: border-box;
  background: #fff; color: var(--navy);
  font-weight: 800; font-size: 1rem;
  padding: .95rem 1rem; border-radius: var(--r-md);
  text-decoration: none; min-height: 52px;
  transition: background .15s, transform .15s;
}
.mobile-nav-cta:hover { background: #f0f3f8; }
.mobile-nav-cta:active { transform: translateY(1px); }

/* overlay behind drawer */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,.45); backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { display: block; }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
}
@media (min-width: 901px) {
  .mobile-nav, .mobile-nav-overlay { display: none !important; }
}

/* ── 8 · Admin pipeline toggle CSS in admin context ──────────────────── */

/* ══════════════════════════════════════════════════════════════════════
   Brand TV image grid
   ══════════════════════════════════════════════════════════════════════ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.1rem;
}
.brand-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--cyan); }
.brand-card a { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.brand-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy);
}
.brand-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .3s;
}
.brand-card:hover .brand-card-img img { transform: scale(1.04); }
.brand-card-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.brand-card-body {
  padding: 1rem 1.1rem;
  display: flex; flex-direction: column; flex: 1;
}
.brand-card-body h3 { color: var(--navy); font-size: 1rem; margin-bottom: .3rem; }
.brand-card-body p  { font-size: .84rem; color: var(--text-muted); margin: 0 0 auto; }
.brand-card-body .svc-card-cta { margin-top: .75rem; }

@media (max-width: 480px) {
  .brand-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .brand-card-body { padding: .75rem .8rem; }
  .brand-card-body h3 { font-size: .88rem; }
  .brand-card-body .svc-card-cta { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   Blog — comprehensive mobile-responsive styles
   ══════════════════════════════════════════════════════════════════════ */

/* ── Blog index grid ─────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

/* Featured card spans full width */
.blog-card-featured {
  grid-column: 1 / -1;
}
@media (min-width: 700px) {
  .blog-card-featured {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
  }
  .blog-card-featured .blog-card-img {
    border-radius: var(--r-lg) 0 0 var(--r-lg);
    min-height: 280px;
  }
  .blog-card-featured .blog-card-body {
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
    padding: 2rem 1.8rem;
  }
  .blog-card-featured .blog-card-title { font-size: 1.35rem; }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.blog-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
  display: block;
}
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; background: linear-gradient(135deg, var(--navy), #2e4a8a);
}

.blog-card-body {
  padding: 1.2rem 1.1rem;
  display: flex; flex-direction: column; flex: 1;
  gap: .5rem;
}
.blog-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--cyan-dark); margin: 0;
}
.blog-card-title {
  font-size: 1.05rem; line-height: 1.35; margin: 0;
  color: var(--navy);
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--cyan-dark); }
.blog-card-excerpt {
  font-size: .86rem; color: var(--text-muted);
  margin: 0; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.blog-card-meta {
  display: flex; align-items: center; gap: .75rem;
  flex-wrap: wrap; margin-top: auto; padding-top: .5rem;
  border-top: 1px solid var(--border); font-size: .8rem;
  color: var(--text-muted);
}
.blog-author {
  display: flex; align-items: center; gap: .4rem; font-weight: 600;
}
.blog-author-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 800; flex-shrink: 0;
}

/* ── Blog index CTA band responsive ─────────────────────────────────── */
.blog-cta-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ── Blog pagination ─────────────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: .75rem; margin-top: 2rem; flex-wrap: wrap;
}
.pag-btn {
  display: inline-block; padding: .6rem 1.2rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-weight: 600; font-size: .9rem; text-decoration: none;
  color: var(--navy); transition: border-color .15s, background .15s;
}
.pag-btn:hover { border-color: var(--orange); background: #fff8e0; }
.pag-info { font-size: .85rem; color: var(--text-muted); }

/* ── Blog post article ───────────────────────────────────────────────── */
.blog-post-lede {
  font-size: 1.08rem; font-weight: 500; color: var(--navy);
  border-left: 4px solid var(--cyan); padding-left: 1rem;
  margin-bottom: 1.6rem; line-height: 1.55;
}
.blog-post-content {
  font-size: 1rem; line-height: 1.75; color: var(--text);
}
.blog-post-content h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; color: var(--navy); }
.blog-post-content h3 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; color: var(--navy); }
.blog-post-content p  { margin: 0 0 1.1rem; }
.blog-post-content img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 1rem 0; }
.blog-post-content ul, .blog-post-content ol { padding-left: 1.4rem; margin: 0 0 1.1rem; }
.blog-post-content li { margin-bottom: .4rem; }
.blog-post-content a  { color: var(--cyan-dark); text-decoration: underline; }
.blog-post-content blockquote {
  border-left: 4px solid var(--cyan); padding: .75rem 1rem;
  background: var(--surface); margin: 1.2rem 0; border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic; color: var(--navy);
}
.blog-post-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; overflow-x: auto; display: block; }
.blog-post-content th, .blog-post-content td {
  padding: .5rem .75rem; border: 1px solid var(--border); text-align: left; font-size: .9rem;
}
.blog-post-content th { background: var(--surface); font-weight: 700; }

.blog-post-footer {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.blog-post-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.blog-post-tags .blog-tag {
  background: var(--surface); color: var(--navy); border-radius: 999px;
  padding: .25rem .65rem; font-size: .78rem;
}

/* ── Blog sidebar ────────────────────────────────────────────────────── */
.blog-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;         /* space between the CTA card and the related posts card */
  min-width: 0;         /* prevent flex/grid item overflow from wide button text on mobile */
  width: 100%;
  box-sizing: border-box;
}
.blog-post-sidebar .lead-card {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.blog-post-sidebar .btn {
  white-space: normal;  /* allow CTA button text to wrap instead of forcing card width */
  width: 100%;
  box-sizing: border-box;
}
.blog-sidebar-cta { margin-bottom: 1.3rem; }
.blog-sidebar-cta h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.blog-sidebar-related { margin-bottom: 1.3rem; }
.blog-sidebar-related h3 { font-size: .95rem; margin-bottom: .9rem; }
.blog-related-list { display: flex; flex-direction: column; gap: .75rem; }
.blog-related-item {
  display: flex; gap: .7rem; align-items: flex-start;
  text-decoration: none; color: inherit;
}
.blog-related-item img {
  width: 64px; min-width: 64px; height: 48px; object-fit: cover;
  border-radius: var(--r-sm); flex-shrink: 0;
  background: var(--surface);   /* visible while loading */
}
.blog-related-placeholder {
  width: 64px; min-width: 64px; height: 48px; background: var(--surface);
  border-radius: var(--r-sm); display: grid; place-items: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.blog-related-title {
  font-size: .87rem; font-weight: 600; margin: 0 0 .2rem;
  line-height: 1.35; color: var(--navy);
}
.blog-related-item time { font-size: .75rem; color: var(--text-muted); }
.blog-all-link {
  display: block; margin-top: 1rem; font-size: .85rem;
  font-weight: 600; color: var(--cyan-dark); text-decoration: none;
}
.blog-all-link:hover { text-decoration: underline; }

/* ── Blog post two-column layout ─────────────────────────────────────── */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1060px;
  min-width: 0;
}
.blog-post-layout .article-body {
  min-width: 0;
}

@media (min-width: 760px) {
  .blog-post-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 3rem;
  }
  .blog-post-sidebar {
    position: sticky;
    top: 80px;
  }
}

/* ── Responsive overrides for small screens ──────────────────────────── */
@media (max-width: 600px) {
  .blog-grid { gap: 1rem; }
  .blog-card-body { padding: 1rem .9rem; }
  .blog-card-title { font-size: .97rem; }
  .blog-post-content { font-size: .95rem; }
  .blog-post-content h2 { font-size: 1.2rem; }
  .blog-post-content h3 { font-size: 1.05rem; }
  .blog-post-lede { font-size: 1rem; }
}

@media (max-width: 400px) {
  .blog-card-img { aspect-ratio: 2 / 1; }
}
