/* ==========================================================================
   Kampala Mobile Physicians — Design System
   Physician Care, Wherever You Are.
   ========================================================================== */

:root {
  /* Brand palette */
  --teal-900: #062f29;
  --teal-800: #0a4038;
  --teal-700: #0d5548;
  --teal-600: #0e6b5b;
  --teal-500: #12816c;
  --teal-400: #1fa186;
  --teal-300: #4dbfa3;
  --teal-200: #9adcc9;
  --teal-100: #d3efe5;
  --teal-50:  #edf8f3;

  --ink: #10231f;
  --ink-soft: #33473f;
  --muted: #5c7168;
  --line: #dde9e3;

  --gold-500: #d99a2b;
  --gold-100: #fdf3df;
  --red-500: #d64545;
  --red-50: #fdf0ef;
  --wa: #22c15e;
  --wa-dark: #159947;

  --bg: #ffffff;
  --bg-alt: #f4faf7;
  --bg-deep: var(--teal-900);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-xs: 0 1px 2px rgba(6, 47, 41, .06);
  --shadow-sm: 0 4px 14px rgba(6, 47, 41, .08);
  --shadow-md: 0 14px 34px rgba(6, 47, 41, .12);
  --shadow-lg: 0 24px 60px rgba(6, 47, 41, .18);

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--teal-400); }
ul, ol { list-style-position: inside; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
strong { color: var(--teal-800); }

::selection { background: var(--teal-200); color: var(--teal-900); }

:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--teal-900);
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.12rem; }
p  { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-400);
}
.eyebrow--light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; }
.eyebrow--light::before { background: var(--teal-300); }

/* ---------- Layout helpers ---------- */
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(31,161,134,.28), transparent 60%),
    linear-gradient(160deg, var(--teal-900), var(--teal-700));
  color: #fff;
}
.section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }
.section--deep p { color: rgba(255,255,255,.82); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1;
  padding: 17px 30px;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  will-change: transform;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 107, 91, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(14, 107, 91, .45); }

.btn-gold {
  background: linear-gradient(135deg, #ecb04b, var(--gold-500));
  color: #3d2a05;
  box-shadow: 0 10px 24px rgba(217, 154, 43, .38);
}
.btn-gold:hover { color: #3d2a05; }

.btn-wa {
  background: linear-gradient(135deg, var(--wa), var(--wa-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(34, 193, 94, .35);
}
.btn-wa:hover { color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--teal-700);
  box-shadow: inset 0 0 0 2px var(--teal-200);
}
.btn-outline:hover { color: var(--teal-500); box-shadow: inset 0 0 0 2px var(--teal-400); }

.btn-ghost-light {
  background: rgba(255,255,255,.1);
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }

.btn-danger {
  background: linear-gradient(135deg, #e05b5b, var(--red-500));
  color: #fff;
  box-shadow: 0 10px 24px rgba(214, 69, 69, .35);
}
.btn-danger:hover { color: #fff; }

.btn-lg { padding: 20px 38px; font-size: 1.05rem; }
.btn-sm { padding: 12px 22px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: .93rem;
  color: var(--teal-600);
}
.link-more svg { transition: transform .18s ease; }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--teal-900);
  color: rgba(255,255,255,.85);
  font-size: .84rem;
  position: relative;
  z-index: 60;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
}
.topbar a { color: rgba(255,255,255,.85); font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar-group { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { color: var(--teal-300); flex: none; }
.topbar-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: #ffd98a;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(6, 47, 41, .09);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--teal-900);
  letter-spacing: -.01em;
}
.brand-slogan {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-500);
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.main-nav a.nav-link {
  display: inline-block;
  padding: 10px 15px;
  font-weight: 650;
  font-size: .96rem;
  color: var(--ink-soft);
  border-radius: 999px;
}
.main-nav a.nav-link:hover { color: var(--teal-600); background: var(--teal-50); }
.main-nav li.active > a.nav-link { color: var(--teal-700); background: var(--teal-50); }

.has-dropdown { position: relative; }
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .22s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink-soft);
}
.dropdown a:hover { background: var(--teal-50); color: var(--teal-700); }
.dropdown .dd-icon {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--teal-50);
  border-radius: 9px;
  color: var(--teal-600);
}
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; min-width: 480px; }
.dropdown-footer {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 13px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: .86rem;
  color: var(--muted);
}
.caret { margin-left: 5px; opacity: .55; vertical-align: middle; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 11px; }
.header-phone .hp-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--teal-50);
  border-radius: 50%;
  color: var(--teal-600);
}
.header-phone small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.header-phone b { font-size: .95rem; color: var(--teal-900); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-50);
  place-items: center;
  color: var(--teal-800);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 88vw);
  background: #fff;
  z-index: 90;
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.22,.9,.3,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-body { flex: 1; overflow-y: auto; padding: 14px 22px 30px; }
.mobile-nav-body a.mlink {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px;
  font-weight: 700;
  color: var(--teal-900);
  border-bottom: 1px solid var(--bg-alt);
  font-size: 1.02rem;
}
.mobile-sub { padding-left: 14px; }
.mobile-sub a.mlink { font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.mobile-nav-foot { padding: 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.overlay {
  position: fixed; inset: 0;
  background: rgba(6, 47, 41, .5);
  backdrop-filter: blur(2px);
  z-index: 80;
  opacity: 0; visibility: hidden;
  transition: all .25s ease;
}
.overlay.show { opacity: 1; visibility: visible; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(31,161,134,.16), transparent 65%),
    radial-gradient(700px 400px at -10% 110%, rgba(217,154,43,.10), transparent 60%),
    linear-gradient(180deg, #fbfefc 0%, #eef7f2 100%);
  padding: clamp(56px, 7vw, 96px) 0 clamp(70px, 9vw, 120px);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,107,91,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,107,91,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--teal-100);
  box-shadow: var(--shadow-xs);
  border-radius: 999px;
  padding: 8px 16px 8px 9px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--teal-800);
  margin-bottom: 22px;
}
.hero-badge .dot-wrap {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--teal-600);
  color: #fff;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: .74rem;
  letter-spacing: .04em;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #7cf0c4; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(124,240,196,.7)} 70%{box-shadow:0 0 0 7px rgba(124,240,196,0)} 100%{box-shadow:0 0 0 0 rgba(124,240,196,0)} }

.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--teal-500), var(--teal-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { margin-bottom: 30px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 30px;
  font-size: .87rem;
  font-weight: 650;
  color: var(--ink-soft);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--teal-500); flex: none; }

.hero-media { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/5.4;
  object-fit: cover;
  width: 100%;
}
.float-card {
  position: absolute;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 13px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card.fc-1 { left: -26px; bottom: 56px; }
.float-card.fc-2 { right: -18px; top: 40px; animation-delay: 1.2s; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.fc-icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #fff;
}
.fc-icon.teal { background: linear-gradient(135deg, var(--teal-400), var(--teal-600)); }
.fc-icon.gold { background: linear-gradient(135deg, #ecb04b, var(--gold-500)); color:#3d2a05; }
.fc-icon.red { background: linear-gradient(135deg, #e05b5b, var(--red-500)); }
.fc-title { font-weight: 800; font-size: .95rem; color: var(--teal-900); line-height: 1.2; }
.fc-sub { font-size: .78rem; color: var(--muted); }
.stars { color: #eda415; letter-spacing: 2px; font-size: .85rem; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  z-index: -1;
}
.blob.b1 { width: 340px; height: 340px; background: var(--teal-200); top: -60px; right: -80px; }
.blob.b2 { width: 260px; height: 260px; background: var(--gold-100); bottom: -40px; left: -60px; }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 4vw, 44px) clamp(20px, 3vw, 40px);
  margin-top: clamp(-46px, -4vw, -64px);
  position: relative;
  z-index: 5;
}
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: "";
  position: absolute; left: -10px; top: 15%;
  height: 70%; width: 1px;
  background: var(--line);
}
.stat-num {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(120deg, var(--teal-600), var(--teal-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: .86rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--teal-200); }

.icon-chip {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--teal-50);
  color: var(--teal-600);
  margin-bottom: 20px;
  transition: all .22s ease;
}
.card:hover .icon-chip { background: var(--teal-600); color: #fff; transform: scale(1.06); }
.icon-chip.gold { background: var(--gold-100); color: var(--gold-500); }
.icon-chip.red { background: var(--red-50); color: var(--red-500); }

.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { font-size: .95rem; }
.card .card-link { margin-top: 18px; }

.service-card {
  display: flex;
  flex-direction: column;
}
.service-card p { flex: 1; }

/* Feature checklist */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li {
  display: flex; gap: 13px; align-items: flex-start;
  font-weight: 550; color: var(--ink-soft);
}
.check-list li b { color: var(--teal-900); }
.check-bullet {
  flex: none;
  width: 24px; height: 24px;
  margin-top: 2px;
  display: grid; place-items: center;
  background: var(--teal-50);
  color: var(--teal-600);
  border-radius: 50%;
}

/* Split media sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img.main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3.4;
  object-fit: cover;
}
.split-media img.sub-img {
  position: absolute;
  right: -18px; bottom: -30px;
  width: 44%;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1/1;
  object-fit: cover;
}
.exp-chip {
  position: absolute;
  left: -18px; bottom: 42px;
  background: var(--teal-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
}
.exp-chip .num { font-size: 2rem; font-weight: 800; color: var(--teal-300); line-height: 1; }
.exp-chip .lbl { font-size: .8rem; color: rgba(255,255,255,.8); max-width: 130px; line-height: 1.35; }

/* Steps */
.step-card { position: relative; padding-top: 8px; }
.step-num {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(14,107,91,.3);
}

/* Coverage chips */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 11px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 650;
  font-size: .9rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-xs);
  transition: all .18s ease;
}
.chip:hover { border-color: var(--teal-300); color: var(--teal-700); transform: translateY(-2px); }
.chip svg { color: var(--teal-500); }

/* Testimonials */
.t-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column;
  transition: all .22s ease;
}
.t-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.t-quote-mark { font-size: 2.6rem; line-height: .6; color: var(--teal-200); font-weight: 800; margin-bottom: 14px; font-family: Georgia, serif; }
.t-text { flex: 1; font-size: .97rem; color: var(--ink-soft); font-style: italic; }
.t-author { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.t-avatar {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
}
.t-name { font-weight: 750; color: var(--teal-900); font-size: .96rem; }
.t-role { font-size: .8rem; color: var(--muted); }

/* Blog cards */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .22s ease;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-thumb { aspect-ratio: 16/9.4; object-fit: cover; width: 100%; }
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta {
  display: flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 700;
  color: var(--teal-600);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 12px;
}
.blog-meta::before { content: ""; width: 18px; height: 2px; background: var(--teal-300); border-radius: 2px; }
.blog-card h3 { font-size: 1.13rem; margin-bottom: 10px; }
.blog-card p { font-size: .92rem; flex: 1; }
.blog-card .link-more { margin-top: 16px; }

/* FAQ accordion */
.faq-list { display: grid; gap: 14px; }
details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
details.faq[open] { box-shadow: var(--shadow-sm); border-color: var(--teal-200); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 24px;
  font-weight: 750;
  color: var(--teal-900);
  font-size: 1.02rem;
}
details.faq summary::-webkit-details-marker { display: none; }
.faq-plus {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  transition: transform .25s ease, background .25s ease, color .25s ease;
  font-size: 1.2rem; font-weight: 600; line-height: 1;
}
details[open] .faq-plus { transform: rotate(45deg); background: var(--teal-600); color: #fff; }
.faq-body { padding: 0 24px 23px; color: var(--ink-soft); font-size: .97rem; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(77,191,163,.35), transparent 60%),
    linear-gradient(135deg, var(--teal-800), var(--teal-600));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 56ch; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* Emergency strip */
.emg-strip {
  background: linear-gradient(90deg, #fbeae9, #fdf4ee);
  border: 1px solid #f3d4cd;
  border-radius: var(--radius);
  padding: 20px 26px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.emg-strip .emg-icon {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  background: var(--red-500);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(214,69,69,.35);
}
.emg-strip b { color: var(--teal-900); }
.emg-strip p { font-size: .9rem; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 4vw, 44px);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 8px;
  color: var(--teal-900);
}
.field label .req { color: var(--red-500); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 17px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235c7168' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31,161,134,.14);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .83rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }

/* Contact info cards */
.info-tile {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.info-tile .it-icon {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-600);
}
.info-tile h4 { margin-bottom: 6px; }
.info-tile p, .info-tile a { font-size: .94rem; }
.info-tile .it-sub { color: var(--muted); font-size: .85rem; margin-top: 4px; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.hours-table td { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child { color: var(--muted); font-weight: 600; }
.hours-table td:last-child { text-align: right; font-weight: 750; color: var(--teal-800); }
.badge-open {
  display: inline-flex; align-items: center; gap: 7px;
  background: #e7f8ee; color: #148a4c;
  font-size: .76rem; font-weight: 800;
  border-radius: 999px; padding: 5px 13px;
  text-transform: uppercase; letter-spacing: .06em;
}
.badge-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.badge-closed {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-100); color: #9a6a10;
  font-size: .76rem; font-weight: 800;
  border-radius: 999px; padding: 5px 13px;
  text-transform: uppercase; letter-spacing: .06em;
}
.badge-closed::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }

.sub-toggle svg { transition: transform .25s ease; }
.sub-toggle.rotated svg { transform: rotate(180deg); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 380px at 88% -30%, rgba(77,191,163,.3), transparent 60%),
    linear-gradient(140deg, var(--teal-900), var(--teal-700));
  color: #fff;
  padding: clamp(56px, 7vw, 90px) 0 clamp(48px, 6vw, 72px);
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero .lead { color: rgba(255,255,255,.82); }
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: .86rem; font-weight: 650;
  color: rgba(255,255,255,.72);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 85%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

/* ---------- Service detail page ---------- */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.service-content img.feature-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 26px 0;
  aspect-ratio: 16/8.5;
  object-fit: cover;
  width: 100%;
}
.service-content h2 { margin: 38px 0 14px; font-size: 1.55rem; }
.service-content h3 { margin: 30px 0 12px; font-size: 1.22rem; }
.service-content ul.plain { margin: 12px 0 0; padding-left: 4px; list-style: none; display: grid; gap: 10px; }
.service-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-xs);
}
.side-card.accent {
  background: linear-gradient(150deg, var(--teal-800), var(--teal-600));
  color: #fff;
  border: none;
}
.side-card.accent h4 { color: #fff; }
.meta-line {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,.25);
  font-size: .92rem;
}
.meta-line:last-child { border-bottom: none; }
.meta-line .k { color: rgba(255,255,255,.75); }
.meta-line .v { font-weight: 750; }

.other-services { display: grid; gap: 8px; }
.other-services a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 4px;
  font-size: .92rem; font-weight: 650;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.other-services a:hover { color: var(--teal-600); }
.other-services a svg { opacity: .4; }
.other-services a:hover svg { opacity: 1; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: rgba(255,255,255,.78);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 90% 0%, rgba(31,161,134,.22), transparent 60%);
  pointer-events: none;
}
.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(56px, 7vw, 84px) 0 48px;
}
.footer-brand img { width: 60px; height: 60px; object-fit: contain; background: #fff; border-radius: 14px; padding: 7px; margin-bottom: 18px; }
.footer-brand h4 { color: #fff; margin-bottom: 12px; font-size: 1.15rem; }
.footer-brand p { font-size: .92rem; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.09);
  border-radius: 11px;
  color: rgba(255,255,255,.85);
  transition: all .2s ease;
}
.social-row a:hover { background: var(--teal-500); color: #fff; transform: translateY(-3px); }
.footer-col h5 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { color: rgba(255,255,255,.78); font-size: .93rem; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 13px; align-items: flex-start; font-size: .93rem; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--teal-300); }
.footer-contact b { color: #fff; font-weight: 650; }
.footer-bar {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.footer-bar nav { display: flex; gap: 22px; }
.footer-bar a { color: rgba(255,255,255,.6); }
.footer-bar a:hover { color: #fff; }

/* ---------- Floating elements ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 70;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wa), var(--wa-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(34,193,94,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: wa-ping 2s ease-out infinite;
}
@keyframes wa-ping { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(1.55);opacity:0} }

.back-top {
  position: fixed;
  right: 26px; bottom: 96px;
  z-index: 69;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--teal-900);
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--teal-600); color: #fff; }

.mobile-action-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 71;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-action-bar .btn { flex: 1; padding: 14px 10px; font-size: .9rem; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.9,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: grid; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .float-card.fc-1 { left: 10px; }
  .float-card.fc-2 { right: 10px; }
  .service-layout { grid-template-columns: 1fr; }
  .service-side { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .dropdown-grid { min-width: 300px; grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat-item:nth-child(3)::before { display: none; }
  .topbar-group.hide-m { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-action-bar { display: flex; }
  body { padding-bottom: 68px; }
  .wa-float { bottom: 84px; right: 16px; width: 54px; height: 54px; }
  .back-top { display: none; }
  .exp-chip { left: 10px; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .float-card { padding: 11px 14px; }
}
@media print {
  .site-header, .topbar, .wa-float, .back-top, .mobile-action-bar, .site-footer { display: none !important; }
}
