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

/* ─── design tokens ─────────────────────────────────────────────────────── */
:root {
  --navy:        #0b1f3a;
  --navy-mid:    #122847;
  --navy-light:  #1a3560;
  --cyan:        #00b8d9;
  --cyan-dark:   #0099b8;
  --orange:      #f76b1c;
  --orange-dark: #d95c0e;
  --green:       #22c55e;
  --white:       #ffffff;
  --off-white:   #f4f8fb;
  --text:        #1a2d42;
  --text-muted:  #5a7080;
  --border:      #d8e4ec;
  --card-bg:     #ffffff;
  --surface:     #eef4f8;

  --shadow-sm:   0 1px 3px rgba(11,31,58,.07), 0 4px 12px rgba(11,31,58,.05);
  --shadow-md:   0 4px 20px rgba(11,31,58,.1),  0 1px 4px rgba(11,31,58,.06);
  --shadow-lg:   0 12px 40px rgba(11,31,58,.15), 0 2px 8px rgba(11,31,58,.08);
  --shadow-glow: 0 8px 32px rgba(0,184,217,.3);
  --shadow-cta:  0 8px 28px rgba(247,107,28,.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: #fff; box-shadow: var(--shadow-cta);
}
.btn-cta:hover { filter: brightness(1.08); box-shadow: 0 10px 36px rgba(247,107,28,.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%; }

/* ─── 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; }
.main-nav > a, .nav-item > a {
  font-weight: 600; font-size: .9rem; color: var(--text);
  text-decoration: none; padding: .55rem .75rem; border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.main-nav > a:hover, .nav-item > a:hover {
  color: var(--navy); background: var(--surface);
}
.main-nav > a.active { color: var(--navy); }

/* dropdown */
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: .3rem; cursor: pointer;
}
.nav-item > a::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: .1rem;
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-item:hover > a::after,
.nav-item.open > a::after { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px; max-width: 280px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .18s;
  z-index: 200;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .75rem; border-radius: var(--r-sm);
  color: var(--text); font-size: .9rem; font-weight: 500;
  text-decoration: none; transition: background .13s, color .13s;
}
.dropdown a:hover { background: var(--surface); color: var(--navy); }
.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;
}

/* 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; }

/* mobile drawer */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1px solid var(--border);
  padding: .75rem 1.25rem 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .5rem; border-bottom: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: .95rem;
  text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--navy); }
.mobile-nav-section { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); padding: .8rem .5rem .3rem; }
.mobile-nav .btn { margin-top: .7rem; }

@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(247,107,28,.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(--orange); 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: #fff4ee; color: var(--orange-dark); }

.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; }
}
