/* ==========================================================
   Emergency Plumbing San Antonio — styles
   ========================================================== */
:root {
  --navy: #0a1f3d;
  --navy-2: #132f57;
  --navy-3: #071630;
  --blue: #1769d1;
  --blue-soft: #e8f1fc;
  --red: #e3261f;
  --red-dark: #b91c16;
  --red-soft: #fff1f0;
  --green: #22c55e;
  --ink: #16202c;
  --muted: #556274;
  --line: #dde4ec;
  --bg: #ffffff;
  --bg-alt: #f2f5f9;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(10, 31, 61, 0.14);
  --font-head: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.04; margin: 0 0 0.5em; letter-spacing: 0.2px; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3rem); color: var(--navy); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 12px; }

.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.section { padding-block: clamp(60px, 8vw, 100px); }
.section--alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.7rem;
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head.center { text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  padding: 0.95em 1.4em;
  border-radius: 10px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(227, 38, 31, 0.35); }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--white { background: #fff; color: var(--red); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--lg { font-size: 1.12rem; padding: 1.05em 1.6em; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-3); color: #b9c7d9; font-size: 0.85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 18px; padding-block: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-addr { display: none; }
.live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; flex: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow 0.2s ease; }
.header.is-scrolled { box-shadow: 0 6px 22px rgba(10, 31, 61, 0.09); }
.header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-width: 0; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; line-height: 0.95; text-transform: uppercase; }
.brand-name small { display: block; margin-top: 3px; font-family: var(--font-body); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; color: var(--red); }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 0.72em 1em; }
.call-label { display: none; text-align: right; font-size: 0.75rem; line-height: 1.2; color: var(--muted); }
.call-label a { display: block; font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; color: var(--navy); text-decoration: none; }
.menu-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--navy); cursor: pointer;
}
.menu-toggle .i { width: 22px; height: 22px; }
.show-lg { display: none; }

.nav.is-open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(10, 31, 61, 0.12);
  padding: 8px 20px 16px;
}
.nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav.is-open a:last-child { border-bottom: 0; }

@media (min-width: 640px) {
  .topbar-addr { display: inline; }
}
@media (min-width: 1000px) {
  .nav, .nav.is-open { display: flex; position: static; flex-direction: row; gap: 26px; padding: 0; box-shadow: none; border: 0; background: none; }
  .nav.is-open a { padding: 0; border: 0; }
  .menu-toggle { display: none; }
  .call-label { display: block; }
  .show-sm { display: none; }
  .show-lg { display: inline; }
}
.brand-name { white-space: nowrap; }
@media (max-width: 480px) {
  .brand-name { font-size: 1.1rem; }
  .brand svg { width: 34px; height: 34px; }
  .header-actions { gap: 8px; }
  .header-actions .header-callbtn { width: 44px; height: 44px; padding: 0; }
  .callbtn-text { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 31, 61, 0.9) 0%, rgba(10, 31, 61, 0.94) 100%);
}
.hero .wrap { display: grid; gap: 40px; padding-block: 52px 64px; }
.hero .live { margin-bottom: 18px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); padding: 7px 14px; border-radius: 999px; font-size: 0.88rem; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 4.6rem); font-weight: 800; text-transform: uppercase; margin-bottom: 0.35em; }
.hero h1 span { color: #ff6b61; }
.hero-lead { font-size: 1.14rem; color: #d7e1ee; max-width: 580px; }
.hero-checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.hero-checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.hero-checks .i { color: #4ade80; margin-top: 0.2em; stroke-width: 2.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 0.9rem; color: #aebdd1; }

@media (min-width: 1000px) {
  .hero::before { background: linear-gradient(100deg, rgba(10, 31, 61, 0.97) 0%, rgba(10, 31, 61, 0.9) 48%, rgba(10, 31, 61, 0.55) 100%); }
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; padding-block: 84px 96px; }
}

/* ---------- Hero trust card ---------- */
.trust-card {
  background: #fff; color: var(--ink);
  border-radius: 18px; border-top: 6px solid var(--red);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}
.seal { display: block; width: 150px; height: 150px; margin: 0 auto 16px; filter: drop-shadow(0 10px 18px rgba(10, 31, 61, 0.25)); }
.trust-card h2 { font-size: clamp(1.9rem, 4vw, 2.4rem); margin-bottom: 0.15em; }
.trust-card .sub { color: var(--muted); font-size: 0.98rem; max-width: 34ch; margin: 0 auto 22px; }
.badge-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }
.badge-grid li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f9fbfd; }
.badge-grid .ic { width: 40px; height: 40px; border-radius: 10px; }
.badge-grid .ic .i { width: 20px; height: 20px; }
.badge-grid strong { display: block; color: var(--navy); font-size: 0.92rem; line-height: 1.25; }
.badge-grid small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.3; }
@media (max-width: 440px) { .badge-grid { grid-template-columns: 1fr; } }

/* ---------- Icon tiles ---------- */
.ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.ic .i { width: 24px; height: 24px; }
.ic--red { background: var(--red-soft); color: var(--red); }
.trust-item strong { display: block; color: var(--navy); font-size: 0.97rem; line-height: 1.25; }
.trust-item span { font-size: 0.84rem; color: var(--muted); line-height: 1.3; display: block; }

/* ---------- Split layout ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 68px; } .split--rev .split-media { order: 2; } }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.badge-float {
  position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: max-content;
  display: flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff; font-weight: 700;
  padding: 12px 16px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.badge-float small { display: block; font-weight: 500; opacity: 0.9; font-size: 0.78rem; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 26px 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
}
.steps strong { display: block; color: var(--navy); font-size: 1.05rem; }
.steps p { margin: 2px 0 0; color: var(--muted); font-size: 0.96rem; }
.alert { display: flex; gap: 12px; align-items: flex-start; background: var(--red-soft); border: 1px solid #f6c9c6; border-left: 5px solid var(--red); border-radius: 10px; padding: 14px 16px; font-size: 0.95rem; }
.alert .i { color: var(--red); margin-top: 0.15em; }
.alert p { margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 31, 61, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { position: relative; }
.card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-tag { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card h3 { color: var(--navy); font-size: 1.6rem; margin-bottom: 0.3em; text-transform: uppercase; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 14px; }
.card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-size: 0.93rem; }
.card li { display: flex; gap: 8px; align-items: flex-start; }
.card li .i { color: var(--green); width: 1.05em; height: 1.05em; margin-top: 0.25em; stroke-width: 2.8; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); text-decoration: none; }
.card-link:hover { gap: 10px; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.process li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.process .num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--red); opacity: 0.9; margin-bottom: 10px; }
.process h3 { color: var(--navy); font-size: 1.4rem; text-transform: uppercase; margin-bottom: 0.3em; }
.process p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Why us ---------- */
.features { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: 28px 0 32px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; color: var(--navy); margin: 0 0 4px; line-height: 1.3; }
.feature p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.lead-text { color: var(--muted); font-size: 1.08rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, #b51a14 100%); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 46px; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(2rem, 4.4vw, 2.8rem); }
.cta-band p { margin: 0.35em 0 0; color: #ffe0de; font-size: 1.05rem; }
.cta-band .btn { font-family: var(--font-head); font-size: clamp(1.4rem, 3.4vw, 1.8rem); padding: 0.55em 1.1em; }

/* ---------- Service area ---------- */
.areas { display: grid; gap: 40px; }
@media (min-width: 1000px) { .areas { grid-template-columns: 1.05fr 0.95fr; align-items: start; gap: 60px; } }
.areas h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; }
.chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.42em 0.9em; font-size: 0.9rem; font-weight: 500; }
.chips--zip li { background: var(--blue-soft); border-color: transparent; color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; }
.area-note { color: var(--muted); font-size: 0.95rem; }
.map-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map { aspect-ratio: 4 / 3; background: #e5eaf0; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding: 18px 20px; }
.map-info address { font-style: normal; font-size: 0.95rem; line-height: 1.45; }
.map-info strong { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; transition: box-shadow 0.2s; }
.faq details[open] { box-shadow: 0 10px 26px rgba(10, 31, 61, 0.08); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.04rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.7rem; font-weight: 400; line-height: 1; color: var(--red); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact .section-head p { color: #b9c7d9; }
.contact-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-bottom: 36px; }
.contact-card { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius); padding: 24px; }
.contact-card .ic { background: rgba(255, 255, 255, 0.08); color: #ff6b61; margin-bottom: 14px; }
.contact-card h3 { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9fb0c6; margin: 0 0 6px; font-weight: 700; }
.contact-card p, .contact-card address { margin: 0; font-style: normal; font-size: 1.05rem; line-height: 1.5; }
.contact-card a { color: #fff; }
.contact-card .big { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; text-decoration: none; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-3); color: #9fb0c6; font-size: 0.92rem; padding-block: 52px 110px; }
@media (min-width: 1000px) { .footer { padding-bottom: 40px; } }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #dbe5f1; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.6; }
.footer-phone { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: #fff !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; }

/* ---------- Mobile call bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(10, 31, 61, 0.12);
}
.mobile-bar .btn { padding: 0.9em 0.6em; font-size: 1rem; }
@media (min-width: 1000px) { .mobile-bar { display: none; } }

/* ---------- Simple pages (privacy, 404) ---------- */
.page-hero { background: var(--navy); color: #fff; padding-block: 64px 56px; text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); text-transform: uppercase; font-weight: 800; }
.page-hero p { color: #c9d5e4; font-size: 1.1rem; max-width: 620px; margin: 0 auto; }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose p, .prose li { color: #334155; }
.center-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .btn, .card, .card-link { transition: none; }
}

/* ---------- Service pages ---------- */
.svc-hero { text-align: left; padding-block: 44px 52px; }
.svc-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.svc-hero p { margin-inline: 0; max-width: 62ch; }
.svc-hero .center-ctas { justify-content: flex-start; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: #9fb0c6; margin-bottom: 14px; }
.crumbs a { color: #dbe5f1; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.svc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 0; font-size: 0.9rem; color: #b7c4d6; }
.svc-meta .i { width: 1.05em; height: 1.05em; color: #ff6b61; }
.svc-body { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .svc-body { grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; } }
.svc-main h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.4em; }
.svc-main h2:first-of-type { margin-top: 1em; }
.svc-main p { color: #334155; }
.svc-figure { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.svc-figure img { width: 100%; height: auto; display: block; }
.check-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: #334155; }
.check-list .i { flex: none; width: 1.15em; height: 1.15em; margin-top: 0.25em; color: var(--green); stroke-width: 2.8; }
.svc-side { display: grid; gap: 18px; }
@media (min-width: 1000px) { .svc-side { position: sticky; top: 92px; } }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 30px rgba(10, 31, 61, 0.06); }
.side-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0 0 14px; }
.side-meta { margin: 12px 0 0; font-size: 0.84rem; color: var(--muted); line-height: 1.45; }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.side-links a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.side-links a:hover { color: var(--red); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--red); }
.note-line { font-size: 0.92rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 14px; }

/* ---------- Services hub grid ---------- */
.hub-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.hub-grid a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; box-shadow: 0 8px 24px rgba(10, 31, 61, 0.05); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.hub-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hub-grid strong { display: block; margin-bottom: 4px; color: var(--navy); font-family: var(--font-head); font-size: 1.3rem; line-height: 1.1; text-transform: uppercase; }
.hub-grid span { display: block; color: var(--muted); font-size: 0.92rem; }

/* ---------- Cost table ---------- */
.table-scroll { overflow-x: auto; margin: 0 0 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.cost-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: #fff; }
.cost-table th, .cost-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cost-table thead th { background: var(--bg-alt); color: var(--navy); font-weight: 700; white-space: nowrap; }
.cost-table tbody tr:last-child td { border-bottom: 0; }
.cost-table td.cost { white-space: nowrap; font-weight: 700; color: var(--navy); }
.cost-table td a { color: var(--navy); font-weight: 600; }
.source-list { margin-top: 8px; }
.source-list a { font-weight: 500; font-size: 0.92rem; }
.chips a { color: var(--navy); text-decoration: none; font-weight: 600; }
.chips a:hover { color: var(--red); text-decoration: underline; }

/* Homepage: more services links */
.more-services { margin-top: 40px; text-align: center; }
.more-services h3 { margin: 0 0 14px; font-size: 1.15rem; color: var(--navy); }
.more-services .chips { justify-content: center; margin: 0; }
