@import "tailwindcss";

/* ════════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ════════════════════════════════════════════════════════════════ */
:root {
  /* Brand palette */
  --si-brand:        #005ca8;
  --si-brand-dark:   #00457e;
  --si-brand-mid:    #1577c8;
  --si-accent:       #00a7a0;
  --si-accent-dark:  #008f89;

  /* Backgrounds */
  --si-bg:           #ffffff;
  --si-bg-soft:      #f4f9ff;
  --si-bg-softer:    #eef5fc;
  --si-surface:      #ffffff;

  /* Text */
  --si-ink:          #0f2a3d;
  --si-ink-muted:    #3c5c74;
  --si-ink-faint:    #6b8fa8;

  /* Borders & shadows */
  --si-border:       #dce8f3;
  --si-border-soft:  #eaf3fb;
  --si-shadow-sm:    0 2px 8px rgba(15,42,61,.06);
  --si-shadow:       0 8px 28px rgba(15,42,61,.09);
  --si-shadow-lg:    0 16px 48px rgba(15,42,61,.13);

  /* Shape */
  --si-radius:       14px;
  --si-radius-sm:    8px;
  --si-radius-lg:    20px;

  /* Layout */
  --si-max:          1120px;
  --si-section:      5rem;
  --header-h:        76px;
  --si-gutter:       clamp(1rem, 4vw, 2rem); /* responsive side gutter — 16px min on mobile */

  /* Line-height scale */
  --si-lh-heading: 1.15;
  --si-lh-body:    1.65;
  --si-lh-loose:   1.7;
}

/* ════════════════════════════════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; /* 17px — larger default for senior audience */
  color: var(--si-ink);
  background: var(--si-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* prevent horizontal scroll from 100vw full-bleed sections */
}

img, svg { display: block; max-width: 100%; }
a { color: var(--si-brand); }

/* ────── Typography ────── */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.06; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.2rem); }
p  { color: var(--si-ink-muted); line-height: 1.65; }

/* ────── Layout helpers ────── */
.shell {
  width: min(var(--si-max), calc(100vw - 2 * var(--si-gutter)));
  margin-inline: auto;
}

/* Scale section padding down on mobile */
@media (max-width: 760px) {
  :root { --si-section: 3.5rem; }
}

.section-full {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

/* ════════════════════════════════════════════════════════════════
   SKIP TO MAIN CONTENT  (accessibility — keyboard users)
   ════════════════════════════════════════════════════════════════ */
.skip-to-main {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--si-brand);
  color: white;
  padding: .75rem 1.5rem;
  border-radius: 0 0 var(--si-radius-sm) 0;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}

.skip-to-main:focus {
  left: 0;
}

/* ════════════════════════════════════════════════════════════════
   BACK TO TOP  (fixed button, appears after scrolling)
   ════════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 35;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--si-brand);
  color: white;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0,92,168,.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, box-shadow .18s;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 6px 20px rgba(0,92,168,.55);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .back-to-top {
    bottom: 5.5rem; /* clear the floating call button */
    right: 1rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   FLASH MESSAGES
   ════════════════════════════════════════════════════════════════ */
.flash-bar {
  width: 100%;
  padding: .85rem 0;
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
  position: relative;
}

.flash-bar-notice {
  background: #e8f7f0;
  border-bottom: 1px solid #b2dfc8;
  color: #1a6b45;
}

.flash-bar-alert {
  background: #fff1f0;
  border-bottom: 1px solid #fcc;
  color: #9b2c2c;
}

.flash-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 0 1rem;
}

.flash-bar-inner svg { flex-shrink: 0; }

.flash-dismiss {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  opacity: .5;
  color: inherit;
  padding: .25rem;
  line-height: 1;
}

.flash-dismiss:hover { opacity: 1; }

/* ════════════════════════════════════════════════════════════════
   TOPBAR
   ════════════════════════════════════════════════════════════════ */
.topbar {
  background: linear-gradient(135deg, var(--si-brand) 0%, var(--si-brand-mid) 100%);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .01em;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 1rem;
}

.topbar-location {
  display: flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-divider { flex: 1; }

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.topbar-link:hover { color: #fff; text-decoration: underline; }

.topbar-hours {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
  color: rgba(255,255,255,.7);
}

@media (max-width: 760px) {
  .topbar-location   { display: none; }
  .topbar-link-email { display: none; }
  .topbar-hours      { display: none; }
  .topbar-inner      { justify-content: center; }
}

/* At 480px only the phone link remains (email/hours/location hidden by 760px rule).
   Keep the topbar visible so the number is always reachable on mobile. */
@media (max-width: 480px) {
  .topbar-inner { height: 32px; }
}

/* ════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.98); /* solid fallback for older/low-end devices */
  border-bottom: 1px solid var(--si-border-soft);
  box-shadow: 0 1px 16px rgba(15,42,61,.05);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--si-ink);
  flex-shrink: 0;
}

.brand img  { height: 52px; width: auto; }
.brand strong { font-size: .97rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }

.brand-mark {
  display: block;
  font-size: .67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--si-accent);
  margin-top: .1rem;
}

/* ── Nav links ── */
.site-nav { display: flex; align-items: center; gap: .15rem; }

.nav-link {
  padding: .44rem .78rem;
  text-decoration: none;
  color: var(--si-ink-muted);
  font-weight: 600;
  font-size: .93rem;
  border-radius: var(--si-radius-sm);
  transition: color .15s, background .15s;
}

.nav-link:hover  { color: var(--si-brand); background: rgba(0,92,168,.07); }
.nav-link.nav-active { color: var(--si-brand); font-weight: 700; }

/* ── Services dropdown ── */
.nav-has-dropdown { position: relative; }

.nav-link-dropdown { display: flex; align-items: center; gap: .28rem; cursor: pointer; }

.nav-chevron { transition: transform .2s; flex-shrink: 0; color: var(--si-ink-muted); }
.nav-link-dropdown[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: white;
  border: 1px solid var(--si-border-soft);
  border-radius: var(--si-radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  padding: .5rem;
  z-index: 100;
}

.nav-dropdown.is-open { display: block; }

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem .8rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--si-ink);
  transition: background .15s;
}

.nav-dropdown-item:hover { background: var(--si-bg-soft); }

.nav-dropdown-all { align-items: center; }
.nav-dropdown-all .nav-dropdown-label { font-weight: 700; color: var(--si-brand); }

.nav-dropdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: .35rem;
  transform: rotate(45deg);
}

.nav-dropdown-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--si-ink);
  line-height: 1.2;
}

.nav-dropdown-sub {
  display: block;
  font-size: .76rem;
  color: var(--si-ink-muted);
  margin-top: .1rem;
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--si-border-soft);
  margin: .4rem .6rem;
}

/* ── Floating call button (mobile only) ── */
.float-call-btn {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--si-brand), var(--si-brand-mid));
  color: white;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  padding: .75rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0,92,168,.45);
  white-space: nowrap;
  letter-spacing: .01em;
}

@media (max-width: 760px) {
  .float-call-btn { display: flex; }
  .nav-dropdown { left: 0; transform: none; min-width: 100%; position: static; box-shadow: none; border: none; border-top: 1px solid var(--si-border-soft); border-radius: 0; padding: .25rem 0; margin-top: .5rem; }
  .nav-dropdown.is-open { display: block; }
  .nav-has-dropdown { flex-direction: column; align-items: stretch; }
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: 1rem;
  padding: .5rem 1.15rem .5rem 1.25rem;
  background: linear-gradient(135deg, var(--si-brand) 0%, var(--si-brand-mid) 100%);
  color: white;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  letter-spacing: .01em;
  box-shadow: 0 2px 10px rgba(0,92,168,.28);
  transition: box-shadow .18s, transform .15s, opacity .15s;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  box-shadow: 0 4px 18px rgba(0,92,168,.38);
  transform: translateY(-1px);
  opacity: 1;
}

.nav-cta-btn svg { flex-shrink: 0; transition: transform .15s; }
.nav-cta-btn:hover svg { transform: translateX(2px); }

/* ── Services Dropdown ── */
.nav-has-dropdown { position: relative; }

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  padding: .4rem .5rem;
}

.nav-chevron {
  transition: transform .2s ease;
  flex-shrink: 0;
}
.nav-link-dropdown.dropdown-open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  background: #fff;
  border: 1px solid var(--si-border);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(15,42,61,.14), 0 4px 12px rgba(15,42,61,.06);
  padding: .75rem;
  z-index: 200;
  animation: dropdownIn .18s ease;
}
.nav-dropdown.is-open { display: block; }

@keyframes dropdownIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* All Services row */
.nav-dropdown-all {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .85rem;
  border-radius: 9px;
  text-decoration: none;
  color: var(--si-ink);
  background: var(--si-surface);
  transition: background .15s;
}
.nav-dropdown-all:hover { background: #eef4fb; }

.nav-dropdown-all-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--si-brand) 0%, var(--si-brand-mid) 100%);
  color: white;
  flex-shrink: 0;
}

.nav-dropdown-all-text { flex: 1; }

.nav-dropdown-arrow {
  color: var(--si-muted);
  flex-shrink: 0;
  transition: transform .15s;
}
.nav-dropdown-all:hover .nav-dropdown-arrow { transform: translateX(3px); color: var(--si-brand); }

/* Divider */
.nav-dropdown-divider {
  height: 1px;
  background: var(--si-border);
  margin: .55rem .1rem;
}

/* Service items grid — 2 columns */
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem;
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .65rem .8rem;
  border-radius: 9px;
  text-decoration: none;
  color: var(--si-ink);
  transition: background .15s;
}
.nav-dropdown-item:hover { background: #eef4fb; }
.nav-dropdown-item:hover .nav-dropdown-label { color: var(--si-brand); }

.nav-dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--icon-bg, var(--si-brand));
  color: white;
  flex-shrink: 0;
  margin-top: 1px;
}

.nav-dropdown-text { display: flex; flex-direction: column; gap: 2px; }

.nav-dropdown-label {
  font-size: .84rem;
  font-weight: 700;
  color: var(--si-ink);
  line-height: 1.2;
  transition: color .15s;
}

.nav-dropdown-sub {
  font-size: .75rem;
  color: var(--si-muted);
  line-height: 1.3;
}

/* Mobile: flatten dropdown into nav */
@media (max-width: 760px) {
  .nav-has-dropdown { width: 100%; }
  .nav-link-dropdown {
    width: 100%;
    justify-content: space-between;
    padding: .8rem 1rem;
    font-size: 1rem;
  }
  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: none;
    background: var(--si-surface);
    padding: .4rem .5rem .6rem;
    animation: none;
    margin-top: .25rem;
  }
  .nav-dropdown-grid { grid-template-columns: 1fr; }
  .nav-dropdown-all { background: transparent; }
}

/* ── Hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--si-border);
  border-radius: var(--si-radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--si-ink);
  border-radius: 2px;
  transition: transform .22s, opacity .2s;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--si-surface);
    border-bottom: 1px solid var(--si-border);
    box-shadow: 0 12px 32px rgba(15,42,61,.1);
    padding: .75rem 1.25rem 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .nav-link { padding: .8rem 1rem; font-size: 1rem; }
  .nav-cta-btn { margin-left: 0; margin-top: .75rem; justify-content: center; padding: .85rem 1.25rem; border-radius: 10px; }
  .brand strong { font-size: .88rem; }
  /* brand-mark (Dignity • Safety • Connection) kept visible — core trust signal */
  .brand-mark { font-size: .6rem; }
}

@media (max-width: 380px) {
  /* Only hide tagline on very small screens where layout breaks */
  .brand-mark { display: none; }
}

/* Mobile body clearance for the fixed floating call button */
@media (max-width: 760px) {
  body { padding-bottom: 5rem; }
}

/* ════════════════════════════════════════════════════════════════
   BUTTONS  (global)
   ════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: opacity .18s, transform .14s, box-shadow .18s;
  white-space: nowrap;
}

.btn-lg { padding: .88rem 1.65rem; font-size: 1rem; }

.btn:hover  { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 1; }

.btn-primary {
  background: linear-gradient(130deg, var(--si-brand), var(--si-brand-mid));
  color: white;
  box-shadow: 0 4px 18px rgba(0,92,168,.28);
}

.btn-secondary {
  background: white;
  color: var(--si-brand);
  border: 1.5px solid var(--si-border);
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); opacity: 1; }

.btn-white {
  background: white;
  color: var(--si-brand-dark);
  box-shadow: var(--si-shadow);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); opacity: 1; }

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.25);
  font-size: .88rem;
  padding: .6rem 1.2rem;
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); opacity: 1; }

/* Focus rings */
.btn:focus-visible,
.nav-link:focus-visible,
.brand:focus-visible,
.service-link:focus-visible,
.footer-nav a:focus-visible,
.footer-contact-link:focus-visible {
  outline: 2.5px solid var(--si-accent);
  outline-offset: 3px;
}

/* ════════════════════════════════════════════════════════════════
   EYEBROW  (reusable label above headings)
   ════════════════════════════════════════════════════════════════ */
.eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--si-brand);
  margin-bottom: .65rem;
}
.eyebrow-hero  { color: var(--si-accent); text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.eyebrow-teal  { color: rgba(255,255,255,.65); }

/* ════════════════════════════════════════════════════════════════
   LEDE  (introductory paragraph, larger than body)
   ════════════════════════════════════════════════════════════════ */
.lede {
  font-size: 1.1rem;
  line-height: var(--si-lh-loose);
  color: var(--si-ink-muted);
}

/* ════════════════════════════════════════════════════════════════
   SECTION INTRO  (heading + lede above any grid)
   ════════════════════════════════════════════════════════════════ */
.section-intro { max-width: 44rem; margin-bottom: 3rem; }
.section-intro.centered { text-align: center; margin-inline: auto; }
.section-intro h2 { margin-block: .5rem .8rem; color: var(--si-ink); }
.section-lede { color: var(--si-ink-muted); font-size: 1.075rem; line-height: var(--si-lh-body); }

/* ════════════════════════════════════════════════════════════════
   1. HERO COVER
   ════════════════════════════════════════════════════════════════ */
.hero-cover {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  min-height: min(90vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Background image delivered as <img> for fetchpriority + preload support */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

.hero-cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle, rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(
      105deg,
      rgba(4,18,36,.92) 0%,
      rgba(0,44,82,.78) 45%,
      rgba(0,80,130,.38) 100%
    );
  background-size: 26px 26px, 100% 100%;
}

.hero-cover-content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 5rem;
  max-width: 660px;
  color: white;
}

.hero-cover-content h1 {
  color: white;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
  margin-bottom: 1.25rem;
}

.lede-hero {
  color: rgba(255,255,255,.82);
  font-size: 1.1rem;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0,0,0,.2);
  margin-bottom: 0;
}

.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}
.hero-trust-strip span { display: flex; align-items: center; gap: .35rem; }
.hero-trust-strip svg { color: var(--si-accent); flex-shrink: 0; }

.hero-scroll-hint {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: .55;
  animation: si-bounce 2.2s ease-in-out infinite;
}
@keyframes si-bounce {
  0%,100% { transform: translateX(-50%) translateY(0);    }
  50%      { transform: translateX(-50%) translateY(7px); }
}

@media (max-width: 680px) {
  .hero-cover         { min-height: min(78vh, 600px); }
  .hero-cover-content { padding: 4rem 0 2.5rem; }
  .hero-actions       { flex-direction: column; align-items: flex-start; }
  .hero-trust-strip   { gap: .9rem; }
}

@media (max-width: 420px) {
  .hero-cover-content { padding: 3rem 0 2rem; }
}

/* ════════════════════════════════════════════════════════════════
   2. STATS BAND  — light strip between Trust and CTA
   ════════════════════════════════════════════════════════════════ */
.stats-band {
  background: var(--si-bg-soft);
  border-block: 1px solid var(--si-border-soft);
}

.stats-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: .75rem 3rem;
}

.stat-n {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--si-brand);
  line-height: 1;
}

.stat-l {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--si-ink-faint);
  margin-top: .35rem;
}

.stat-divider {
  width: 1px;
  height: 2.4rem;
  background: var(--si-border);
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 640px) {
  .stat-item    { padding: .65rem 1.6rem; }
  .stat-divider { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   3. PILLARS  — soft gradient background
   ════════════════════════════════════════════════════════════════ */
.pillars-section {
  background: linear-gradient(180deg, var(--si-bg-soft) 0%, #edfaf9 100%);
  border-block: 1px solid var(--si-border-soft);
  padding: var(--si-section) 0;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
}

.pillar-card {
  background: white;
  border: 1px solid var(--si-border-soft);
  border-radius: var(--si-radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--si-shadow-sm);
  transition: box-shadow .22s, transform .22s;
}
.pillar-card:hover { box-shadow: var(--si-shadow); transform: translateY(-3px); }
.pillar-card h3    { margin-block: .85rem .5rem; font-size: 1.15rem; color: var(--si-ink); }
.pillar-card p     { font-size: .925rem; line-height: var(--si-lh-body); }

.pillar-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--icon-color, var(--si-brand));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

@media (max-width: 860px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   4. JOURNEY / HOW IT WORKS  — interactive steps
   ════════════════════════════════════════════════════════════════ */
.journey-section {
  background: var(--si-bg);
  padding: var(--si-section) 0;
}

/* ── Step indicator row ── */
.steps-nav {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}

.step-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 1.5rem;
  position: relative;
}

.step-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--si-border);
  color: var(--si-ink-faint);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  display: grid;
  place-items: center;
  transition: background .22s, border-color .22s, color .22s, box-shadow .22s;
  position: relative;
  z-index: 1;
}

.step-lbl {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--si-ink-faint);
  transition: color .22s;
  white-space: nowrap;
}

.step-trigger:hover:not(.is-active) .step-num {
  border-color: var(--si-brand);
  color: var(--si-brand);
}

.step-trigger.is-active .step-num {
  background: linear-gradient(135deg, var(--si-brand), var(--si-brand-mid));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 18px rgba(0,92,168,.35);
}

.step-trigger.is-active .step-lbl { color: var(--si-brand); }

.step-trigger:focus-visible { outline: none; }
.step-trigger:focus-visible .step-num {
  outline: 2.5px solid var(--si-accent);
  outline-offset: 3px;
}

/* connector line between steps */
.step-connector {
  flex: 1;
  max-width: 9rem;
  min-width: 0;
  height: 2px;
  background: var(--si-border);
  margin-top: 1.5rem; /* centres on the 3rem circle */
}

/* ── Detail panel ── */
.steps-body { position: relative; }

.step-panel {
  display: none;
}

.step-panel.is-active {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: flex-start;
  background: var(--si-bg-soft);
  border: 1px solid var(--si-border-soft);
  border-radius: var(--si-radius-lg);
  padding: 2.5rem;
  animation: step-in .28s ease;
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-panel-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--si-radius);
  background: var(--sp-color, var(--si-brand));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  flex-shrink: 0;
}

.step-panel-body h3 {
  font-size: 1.25rem;
  color: var(--si-ink);
  margin-bottom: .6rem;
}

.step-panel-body > p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.step-checklist {
  list-style: none;
  margin-bottom: 1.6rem;
}

.step-checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .4rem 0;
  font-size: .94rem;
  color: var(--si-ink-muted);
  border-bottom: 1px solid var(--si-border-soft);
}

.step-checklist li:last-child { border-bottom: none; }

.step-checklist li::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 2px;
  background: var(--si-accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: .44rem;
}

/* shared section footer link */
.section-foot-link {
  margin-top: 2rem;
  text-align: center;
}

.section-foot-link a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--si-brand);
  text-decoration: none;
  transition: opacity .18s;
}

.section-foot-link a:hover { opacity: .7; }

@media (max-width: 640px) {
  .step-trigger  { padding: 0 .75rem; }
  .step-connector{ max-width: 4rem; }
  .step-lbl      { font-size: .7rem; }

  .step-panel.is-active {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   5. SERVICES  — soft blue background
   ════════════════════════════════════════════════════════════════ */
.services-section {
  background: var(--si-bg-soft);
  border-block: 1px solid var(--si-border-soft);
  padding: var(--si-section) 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: white;
  border: 1px solid var(--si-border-soft);
  border-radius: var(--si-radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--si-shadow-sm);
  transition: box-shadow .22s, transform .22s, border-color .22s;
  position: relative;
}

.service-card:hover {
  box-shadow: var(--si-shadow);
  border-color: rgba(0,92,168,.2);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--si-bg-soft);
  border: 1px solid var(--si-border-soft);
  display: grid;
  place-items: center;
  color: var(--si-brand);
  margin-bottom: 1.1rem;
  transition: background .2s;
}

.service-card:hover .service-icon {
  background: rgba(0,92,168,.08);
}

.service-card h3 { font-size: 1.05rem; color: var(--si-ink); margin-bottom: .5rem; }
.service-card p  { flex: 1; font-size: .925rem; line-height: var(--si-lh-body); }

.service-link {
  margin-top: 1.1rem;
  font-weight: 700;
  font-size: .88rem;
  color: var(--si-brand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: gap .18s;
}
.service-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--si-radius-lg);
}
.service-link:hover { gap: .5rem; }

/* Featured card */
.service-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #f0f7ff 0%, #eafcfb 100%);
  border-color: rgba(0,167,160,.2);
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.service-card-featured .service-icon {
  background: rgba(0,167,160,.1);
  border-color: rgba(0,167,160,.2);
  color: var(--si-accent);
}

.service-card-featured h3  { font-size: 1.15rem; }

.service-featured-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--si-accent-dark);
  background: rgba(0,167,160,.12);
  border: 1px solid rgba(0,167,160,.2);
  border-radius: 999px;
  padding: .22rem .6rem;
}

.service-icon-featured { flex-shrink: 0; }

@media (max-width: 960px) {
  .service-grid         { grid-template-columns: 1fr 1fr; }
  .service-card-featured{ grid-column: span 2; flex-direction: column; }
}

@media (max-width: 600px) {
  .service-grid         { grid-template-columns: 1fr; }
  .service-card-featured{ grid-column: auto; }
}

/* ════════════════════════════════════════════════════════════════
   6. TRUST / TESTIMONIAL  — dark background
   ════════════════════════════════════════════════════════════════ */
.trust-section {
  background: var(--si-ink);
  padding: var(--si-section) 0;
}

.trust-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.trust-stars {
  display: flex;
  gap: .25rem;
  color: #f5c518;
  margin-bottom: 1.25rem;
}

/* Quote column */
.trust-quote-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quote-glyph { color: rgba(255,255,255,.08); flex-shrink: 0; }

.trust-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.trust-quote p {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  line-height: 1.65;
  font-weight: 500;
  color: rgba(232,242,250,.92);
}

.trust-quote footer {
  margin-top: .9rem;
  font-size: .85rem;
  color: rgba(232,242,250,.5);
}

/* Stats column */
.trust-stats { list-style: none; display: flex; flex-direction: column; gap: .9rem; }

.trust-stat {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--si-radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

.trust-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,167,160,.15);
  border: 1px solid rgba(0,167,160,.2);
  display: grid;
  place-items: center;
  color: var(--si-accent);
  flex-shrink: 0;
}

.trust-stat strong {
  display: block;
  font-size: .97rem;
  color: var(--si-accent);
  margin-bottom: .18rem;
}

.trust-stat span { font-size: .86rem; color: rgba(232,242,250,.65); }

@media (max-width: 860px) {
  .trust-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ════════════════════════════════════════════════════════════════
   8. FINAL CTA  — brand blue gradient
   ════════════════════════════════════════════════════════════════ */
.cta-section {
  background:
    radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(135deg, var(--si-brand-dark) 0%, #0070c4 100%);
  background-size: 26px 26px, 100% 100%;
  padding: var(--si-section) 0;
  position: relative;
}

.cta-inner {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.cta-inner h2 {
  color: white;
  margin-block: .5rem 1rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.cta-inner p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 0; }

.cta-reassurance {
  margin-top: 1.4rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .02em;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 480px) { .cta-actions { flex-direction: column; align-items: center; } }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.site-footer-full {
  background:
    radial-gradient(circle, rgba(255,255,255,.025) 1px, transparent 1px),
    #0a1f30;
  background-size: 26px 26px, 100% 100%;
  color: #c8dde9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 3rem;
  padding: 4.5rem 0 3.5rem;
}

.footer-brand img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .8;
}

.footer-tagline {
  margin-block: 1.1rem .8rem;
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(200,221,233,.7);
  max-width: 28ch;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .83rem;
  color: rgba(200,221,233,.5);
}

.footer-location svg { flex-shrink: 0; opacity: .6; }

.footer-heading {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--si-accent);
  margin-bottom: 1rem;
  display: block;
}

.footer-nav,
.footer-services,
.footer-contact { display: flex; flex-direction: column; gap: .05rem; }

.footer-nav a,
.footer-services a {
  color: rgba(200,221,233,.7);
  text-decoration: none;
  font-size: .88rem;
  padding: .33rem 0;
  transition: color .15s;
}

.footer-nav a:hover,
.footer-services a:hover { color: white; }

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(200,221,233,.7);
  text-decoration: none;
  font-size: .88rem;
  padding: .33rem 0;
  transition: color .15s;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.footer-contact-link:hover { color: white; }
.footer-contact-link svg   { flex-shrink: 0; opacity: .55; }

.footer-cta {
  margin-top: 1.2rem;
  font-size: .86rem;
  padding: .6rem 1.1rem;
  align-self: flex-start;
}

.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); }

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1.2rem 0;
  font-size: .8rem;
  color: rgba(200,221,233,.38);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 48ch; }
}

@media (max-width: 640px) {
  /* Brand spans full width; Navigate + Services sit side-by-side; Contact spans full width */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
    padding: 2.5rem 0 2rem;
  }
  .footer-brand   { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-tagline { max-width: none; font-size: .85rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════════════════════════════
   INNER PAGES  (About, Services, Contact, etc.)
   ════════════════════════════════════════════════════════════════ */
.section { padding: 3.5rem 0; }

/* scroll-margin for sticky header on all anchored sections */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* ════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.about-hero-wrap {
  background-color: #f0f7ff;
  background-image: radial-gradient(circle, rgba(0,92,168,.09) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

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

.about-hero h1 { color: var(--si-ink); }

.about-lede {
  color: var(--si-ink-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 52ch;
  margin-top: .8rem;
}

.about-hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--si-radius-lg);
  box-shadow: var(--si-shadow-lg);
}

@media (max-width: 820px) {
  .about-hero { grid-template-columns: 1fr; gap: 2rem; }
  .about-hero-media { order: -1; }
  .about-hero-media img { height: 280px; }
}

.about-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.6rem;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--si-bg-soft);
  border: 1px solid var(--si-border);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--si-ink-muted);
}

.about-tag svg { color: var(--si-brand); flex-shrink: 0; }

/* ── Story ── */
.about-story {
  background-color: var(--si-bg-soft);
  background-image: radial-gradient(circle, rgba(0,92,168,.065) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  border-block: 1px solid var(--si-border-soft);
  padding: var(--si-section) 0;
}

.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-story-media { position: relative; }

.about-story-media img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--si-radius-lg);
  border: 1px solid var(--si-border-soft);
  box-shadow: var(--si-shadow-lg);
}

.about-story-pill {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: white;
  color: var(--si-ink-muted);
  font-size: .81rem;
  font-weight: 700;
  padding: .45rem .9rem;
  border-radius: 999px;
  box-shadow: var(--si-shadow);
  border: 1px solid var(--si-border-soft);
}

.about-story-copy h2  { margin-block: .5rem 1rem; }
.about-story-copy > p { margin-bottom: .75rem; }

@media (max-width: 820px) {
  .about-story-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-story-media img { max-height: 340px; }
}

/* ── Values ── */
.about-values {
  background-color: white;
  background-image:
    linear-gradient(rgba(0,92,168,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,92,168,.045) 1px, transparent 1px);
  background-size: 40px 40px;
  border-bottom: 1px solid var(--si-border-soft);
  padding: var(--si-section) 0;
}

/* ── Team ── */
.about-team {
  padding: var(--si-section) 0;
  background-color: #eaf9f8;
  background-image: radial-gradient(circle, rgba(0,167,160,.1) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin-inline: auto;
}

.team-card {
  background: white;
  border: 1px solid var(--si-border-soft);
  border-radius: var(--si-radius-lg);
  padding: 2rem;
  box-shadow: var(--si-shadow-sm);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.team-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--si-brand), var(--si-accent));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.team-initials {
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  letter-spacing: -.02em;
}

.team-info h3 { font-size: 1.1rem; color: var(--si-ink); margin-bottom: .25rem; }

.team-role {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--si-accent-dark);
  margin-bottom: .75rem !important;
}

.team-info p { font-size: .925rem; line-height: var(--si-lh-body); }

@media (max-width: 560px) {
  .team-card { flex-direction: column; gap: 1rem; }
}

/* ── Credentials band ── */
.about-creds {
  background: var(--si-ink);
  padding: 2.5rem 0;
}

.about-creds-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.about-cred-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .75rem 2.5rem;
  color: rgba(232,242,250,.88);
}

.about-cred-item strong {
  display: block;
  font-size: .95rem;
  color: white;
  margin-bottom: .15rem;
}

.about-cred-item span { font-size: .82rem; color: rgba(232,242,250,.55); }

.about-cred-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0,167,160,.15);
  border: 1px solid rgba(0,167,160,.2);
  display: grid;
  place-items: center;
  color: var(--si-accent);
  flex-shrink: 0;
}

.about-cred-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 860px) {
  .about-cred-item   { padding: .65rem 1.5rem; }
  .about-cred-divider{ display: none; }
}

/* ════════════════════════════════════════════════════════════════
   SERVICES PAGE
   ════════════════════════════════════════════════════════════════ */

.svc-hero {
  background: var(--si-bg);
  border-bottom: 1px solid var(--si-border);
}

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

.svc-hero-copy h1 { color: var(--si-ink); margin-top: .2rem; }

.svc-hero-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--si-radius);
  box-shadow: var(--si-shadow-lg);
}

.svc-section { padding: var(--si-section) 0; }

.svc-section-soft {
  background: var(--si-bg-soft);
  border-block: 1px solid var(--si-border-soft);
}

.svc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.svc-inner-reverse .svc-content   { order: 2; }
.svc-inner-reverse .svc-icon-col,
.svc-inner-reverse .svc-stat-panel { order: 1; }

.svc-content h2 { margin: .4rem 0 1rem; }
.svc-content p  { color: var(--si-ink-muted); line-height: 1.65; margin: 0 0 .9rem; }

.svc-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .8rem;
}

.svc-icon-block {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--si-shadow);
}

.svc-icon-brand   { background: linear-gradient(145deg, var(--si-brand), var(--si-brand-mid)); }
.svc-icon-accent  { background: linear-gradient(145deg, var(--si-accent), var(--si-accent-dark)); }
.svc-icon-dark    { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }

.svc-icon-label {
  font-weight: 700;
  font-size: .95rem;
  color: var(--si-ink);
}

.svc-icon-label-light { color: rgba(255,255,255,.9); }

.svc-icon-tag {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--si-accent-dark);
  background: rgba(0,167,160,.1);
  border-radius: 999px;
  padding: .28rem .75rem;
}

.svc-icon-tag-light {
  color: var(--si-accent);
  background: rgba(0,167,160,.18);
  border: 1px solid rgba(0,167,160,.3);
}

.svc-address-note {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: rgba(200,221,233,.65);
  margin-top: .2rem;
  font-style: normal;
}

.svc-featured { background: var(--si-ink); }
.svc-featured h2 { color: white; }
.svc-featured .svc-content p { color: rgba(200,221,233,.82); }
.svc-featured-checklist li { color: rgba(200,221,233,.8); }
.svc-featured-checklist li::before { background: var(--si-accent); }
.svc-eyebrow-light { color: var(--si-accent) !important; }

.svc-badge {
  display: inline-block;
  background: var(--si-accent);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  border-radius: 999px;
  padding: .3rem .8rem;
}

.pillars-inner { padding: var(--si-section) 0; }

/* ── Gradient stat panels (service sections) ── */
.svc-stat-panel {
  background: linear-gradient(135deg, var(--panel-from), var(--panel-to));
  border-radius: var(--si-radius-lg);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}

.svc-panel-num {
  position: absolute;
  top: -0.12em;
  right: -0.04em;
  font-size: clamp(7rem, 14vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,.08);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  font-variant-numeric: tabular-nums;
}

.svc-panel-tag {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
  margin: 0 0 1.2rem;
}

.svc-panel-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.2rem;
}

.svc-panel-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 0 .75rem;
}

.svc-panel-stat:first-child { padding-left: 0; }
.svc-panel-stat:not(:first-child) { border-left: 1px solid rgba(255,255,255,.12); }

.svc-panel-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -.02em;
}

.svc-panel-lbl {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.55);
}

.svc-panel-address {
  font-size: .8rem;
  font-style: normal;
  color: rgba(255,255,255,.5);
  margin-top: .9rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.svc-stat-panel-dark .svc-panel-tag { color: rgba(200,221,233,.55); }

@media (max-width: 860px) {
  .svc-hero-inner { grid-template-columns: 1fr; padding: 3.5rem 0 3rem; gap: 2.5rem; }
  .svc-hero-img img { height: 320px; }
  .svc-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-inner-reverse .svc-content    { order: 1; }
  .svc-inner-reverse .svc-icon-col,
  .svc-inner-reverse .svc-stat-panel { order: 2; }
  .svc-stat-panel { min-height: 260px; }
}

@media (max-width: 600px) {
  .svc-section { padding: 3.5rem 0; }
  .svc-icon-block { width: 90px; height: 90px; border-radius: 20px; }
  .svc-stat-panel { min-height: 220px; padding: 1.75rem 1.5rem 1.5rem; }
  .svc-panel-val { font-size: 1.15rem; }
}

/* ════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════════ */

.contact-hero {
  background: var(--si-ink);
  padding: 5rem 0 4.5rem;
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-hero-copy h1 { color: white; margin: .4rem 0 1rem; }

.contact-lede {
  color: rgba(200,221,233,.78);
  font-size: 1.05rem;
  line-height: 1.65;
}

.contact-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.6rem;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(200,221,233,.75);
}

.contact-trust-strip span { display: flex; align-items: center; gap: .4rem; }
.contact-trust-strip svg  { color: var(--si-accent); flex-shrink: 0; }

.contact-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--si-radius-sm);
  padding: 1rem 1.1rem;
}

.contact-info-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0,167,160,.15);
  color: var(--si-accent);
}

.contact-info-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--si-accent);
  margin: 0 0 .25rem;
}

.contact-info-value {
  font-size: .95rem;
  color: rgba(200,221,233,.9);
  text-decoration: none;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

a.contact-info-value:hover { color: white; text-decoration: underline; }
.contact-info-closed { color: rgba(200,221,233,.45); font-size: .88em; }

/* Form section */
.contact-grid-section {
  background: white;
  padding: var(--si-section) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: start;
}

.why-reach-out h2 { margin: .4rem 0 .8rem; }

.why-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-step { display: flex; gap: 1.1rem; align-items: flex-start; }

.why-step-num {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--si-brand), var(--si-brand-mid));
  color: white;
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,92,168,.28);
}

.why-step-body strong { display: block; font-size: 1rem; margin-bottom: .3rem; color: var(--si-ink); }
.why-step-body p      { margin: 0; font-size: .925rem; color: var(--si-ink-muted); line-height: var(--si-lh-body); }

.contact-form-wrap {
  background: white;
  border: 1px solid var(--si-border);
  border-radius: var(--si-radius);
  padding: 2rem 2rem 2.2rem;
  box-shadow: var(--si-shadow);
}

.contact-form-title { font-size: 1.2rem; color: var(--si-ink); margin: 0 0 .3rem; }

.contact-form-note {
  font-size: .85rem;
  color: var(--si-ink-muted);
  margin: 0 0 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--si-border);
}

.form-group { margin-bottom: 1.2rem; position: relative; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row .form-group { margin-bottom: 1.2rem; }

.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--si-ink);
  margin-bottom: .4rem;
}

.form-required {
  position: absolute;
  right: 0;
  top: 0;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--si-accent-dark);
}

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: .65rem .85rem;
  background: white;
  border: 1.5px solid var(--si-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--si-ink);
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--si-ink-faint); opacity: .8; }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--si-brand);
  box-shadow: 0 0 0 3px rgba(0,92,168,.12);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233c5c74' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-textarea { resize: vertical; min-height: 120px; }
.form-submit-group { margin-top: .5rem; margin-bottom: 0; }

/* Honeypot — visually hidden from real users */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: .85rem 1.4rem;
  font-size: 1rem;
}

/* Location section */
.location-section {
  background: var(--si-bg);
  padding: var(--si-section) 0;
  border-top: 1px solid var(--si-border-soft);
}

.location-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.location-card {
  background: white;
  border: 1px solid var(--si-border);
  border-radius: var(--si-radius);
  padding: 2rem;
  box-shadow: var(--si-shadow-sm);
}

.location-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,92,168,.08);
  color: var(--si-brand);
  border-radius: 14px;
  margin-bottom: 1.1rem;
}

.location-card h3   { margin: 0 0 .75rem; font-size: 1.15rem; color: var(--si-ink); }
.location-address   { font-size: 1rem; color: var(--si-ink); line-height: 1.6; margin: 0 0 .7rem; font-style: normal; }
.location-sub       { font-size: .88rem; color: var(--si-ink-muted); line-height: 1.55; margin: .5rem 0 1.2rem; }

.location-map-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  padding: .55rem 1.1rem;
}

.hours-table { width: 100%; border-collapse: collapse; margin: 0 0 .5rem; }

.hours-table th,
.hours-table td {
  padding: .4rem 0;
  font-size: .93rem;
  text-align: left;
  border-bottom: 1px solid var(--si-border-soft);
}

.hours-table th   { font-weight: 600; color: var(--si-ink); padding-right: 1.5rem; }
.hours-table td   { color: var(--si-ink-muted); }
.hours-closed th,
.hours-closed td  { opacity: .5; }

/* "Prefer to call?" strip */
.contact-cta-strip {
  background: var(--si-bg-soft);
  border-block: 1px solid var(--si-border-soft);
  padding: 2.5rem 0;
}

.contact-cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-cta-headline { font-size: 1.4rem; font-weight: 700; color: var(--si-ink); margin: 0 0 .25rem; }
.contact-cta-sub      { font-size: .9rem; color: var(--si-ink-muted); margin: 0; }
.contact-cta-btn      { display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0; }

@media (max-width: 900px) {
  .contact-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; }
  .contact-grid       { grid-template-columns: 1fr; gap: 3rem; }
  .location-cards     { grid-template-columns: 1fr; }
}

/* Drop contact info cards to 1-col earlier so email addresses don't overflow */
@media (max-width: 700px) {
  .contact-info-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .contact-hero     { padding: 3.5rem 0 3rem; }
  .contact-trust-strip { flex-direction: column; gap: .8rem; }
  .form-row         { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap{ padding: 1.4rem 1.2rem 1.6rem; }
  .location-card    { padding: 1.4rem; }
}

@media (max-width: 560px) {
  .contact-cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .contact-cta-btn  { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════
   SERVICE DETAIL PAGES
   ════════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.svc-breadcrumb {
  background: var(--si-bg-soft);
  border-bottom: 1px solid var(--si-border-soft);
  padding: .7rem 0;
}

.svc-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .84rem;
  color: var(--si-ink-muted);
}

.svc-breadcrumb-inner a {
  color: var(--si-brand);
  text-decoration: none;
  font-weight: 600;
}

.svc-breadcrumb-inner a:hover { text-decoration: underline; }

/* ── Hero ── */
.svc-detail-hero {
  background: linear-gradient(155deg, #eef6ff 0%, #e4f0fa 55%, #e8f7f5 100%);
  border-bottom: 1px solid var(--si-border-soft);
}

.svc-detail-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 4.5rem 0 4rem;
}

.svc-detail-copy h1 { margin: .3rem 0 1rem; }
.svc-detail-copy .lede { color: var(--si-ink-muted); line-height: 1.7; }

.svc-detail-panel { min-height: 320px; }

/* ── Features grid ── */
.svc-detail-features {
  background: white;
  padding: var(--si-section) 0;
}

.svc-detail-features .section-intro { margin-bottom: 0; }

.svc-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.svc-feature-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #f5f9ff;
  border: 1px solid #daeaf8;
  border-radius: var(--si-radius-lg);
  padding: 1.6rem;
  transition: border-color .2s, box-shadow .2s;
}

.svc-feature-card:hover {
  border-color: rgba(0,92,168,.25);
  box-shadow: 0 4px 16px rgba(0,92,168,.08);
}

.svc-feature-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--dot-color, var(--si-brand));
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: .35rem;
}

.svc-feature-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: .1rem;
}

.svc-feature-card h3 { font-size: 1.05rem; color: var(--si-ink); margin-bottom: .4rem; }
.svc-feature-card p  { font-size: .925rem; color: var(--si-ink-muted); line-height: var(--si-lh-body); margin: 0; }

/* ── How It Works steps ── */
.svc-detail-steps {
  background: linear-gradient(180deg, #f0f7ff 0%, #e8f5f4 100%);
  border-block: 1px solid #d6e8f5;
  padding: var(--si-section) 0;
}

.svc-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 680px;
  margin: 2.5rem auto 0;
  list-style: none;
  counter-reset: none;
}

.svc-step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.svc-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--step-color, var(--si-brand));
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.svc-step-body h3 { font-size: 1.05rem; color: var(--si-ink); margin-bottom: .35rem; }
.svc-step-body p  { font-size: .925rem; color: var(--si-ink-muted); line-height: var(--si-lh-body); margin: 0; }

/* ── FAQ ── */
.svc-detail-faq {
  background: white;
  padding: var(--si-section) 0;
}

.faq-list {
  max-width: 720px;
  margin: 2.5rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--si-border-soft);
}

.faq-item:first-child { border-top: 1px solid var(--si-border-soft); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--si-ink);
  font-family: inherit;
}

.faq-question:hover { color: var(--si-brand); }

.faq-icon {
  flex-shrink: 0;
  transition: transform .22s ease;
  color: var(--si-ink-muted);
}

.faq-item.is-open .faq-icon { transform: rotate(180deg); color: var(--si-brand); }

.faq-answer {
  padding: 0 0 1.2rem;
}

.faq-answer p {
  font-size: .95rem;
  line-height: var(--si-lh-loose);
  color: var(--si-ink-muted);
  margin: 0;
}

.faq-footer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: .92rem;
  color: var(--si-ink-muted);
}

.faq-footer a {
  color: var(--si-brand);
  font-weight: 600;
  text-decoration: none;
}

.faq-footer a:hover { text-decoration: underline; }

/* ── Other services ── */
.svc-detail-others {
  background: var(--si-bg-soft);
  border-top: 1px solid var(--si-border-soft);
  padding: var(--si-section) 0;
}

.svc-others-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.svc-other-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--si-radius-lg);
  overflow: hidden;
  border: 1px solid var(--si-border-soft);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--si-shadow-sm);
}

.svc-other-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--si-shadow);
}

.svc-other-panel {
  background: linear-gradient(135deg, var(--panel-from), var(--panel-to));
  height: 80px;
  position: relative;
  overflow: hidden;
}

.svc-other-num {
  position: absolute;
  bottom: -0.15em;
  right: .2rem;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.12);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
}

.svc-other-body {
  padding: 1rem;
  background: white;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svc-other-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--si-ink);
  margin: 0 0 .25rem;
  line-height: 1.3;
}

.svc-other-sub {
  font-size: .78rem;
  color: var(--si-ink-muted);
  line-height: 1.45;
  margin: 0 0 .75rem;
  flex: 1;
}

.svc-other-link {
  font-size: .78rem;
  font-weight: 700;
  color: var(--si-brand);
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .svc-detail-hero-inner { grid-template-columns: 1fr; padding: 3.5rem 0 3rem; gap: 2.5rem; }
  .svc-feature-grid      { grid-template-columns: 1fr; }
  .svc-others-grid       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .svc-others-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .svc-other-panel { height: 60px; }
  .svc-other-num   { font-size: 3.5rem; }
  .svc-detail-panel { min-height: 240px; }
}

@media (max-width: 380px) {
  .svc-others-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE POLISH  — small-screen fixes across all pages
   ════════════════════════════════════════════════════════════════ */

/* Buttons: full-width stacking on very narrow screens */
@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .cta-actions  { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; justify-content: center; }
}

/* Pillar cards: tighten padding on phones */
@media (max-width: 480px) {
  .pillar-card { padding: 1.4rem 1.2rem; }
  .pillar-icon-wrap { width: 44px; height: 44px; border-radius: 11px; margin-bottom: .9rem; }
}

/* About story & values: reduce section padding on phones */
@media (max-width: 600px) {
  .about-hero   { padding: 3rem 0 2.5rem; }
  .about-hero-media img { height: 220px; }
}

@media (max-width: 760px) {
  .about-story  { padding: var(--si-section) 0; } /* inherits 3.5rem from :root override */
  .about-values { padding: var(--si-section) 0; }
  .about-team   { padding: var(--si-section) 0; }
}

/* Services featured (Kane Homestead) dark section: lighter padding on phones */
@media (max-width: 600px) {
  .svc-featured .svc-inner { gap: 2rem; }
  .svc-panel-stats { gap: 0; }
  .svc-panel-stat  { padding: 0 .5rem; }
  .svc-panel-stat:first-child { padding-left: 0; }
}

/* Why Choose Us pillars on services page */
@media (max-width: 520px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

/* Flash bar: ensure dismiss button doesn't overlap on small screens */
@media (max-width: 480px) {
  .flash-bar-inner { padding: 0 3rem 0 1rem; }
  .flash-dismiss   { right: .75rem; }
}

/* ════════════════════════════════════════════════════════════════
   FORM VALIDATION  — inline field feedback
   ════════════════════════════════════════════════════════════════ */

.form-input.is-valid,
.form-textarea.is-valid {
  border-color: #22c55e;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: #ef4444;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
}

.form-error {
  display: block;
  font-size: .78rem;
  color: #dc2626;
  margin-top: .3rem;
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════
   TESTIMONIALS PAGE
   ════════════════════════════════════════════════════════════════ */

.tm-hero {
  background: linear-gradient(135deg, var(--si-ink) 0%, #0d3a5c 100%);
  padding: 4.5rem 0;
}

.tm-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.tm-hero-copy h1 { color: white; margin: .3rem 0 1rem; }
.tm-hero-copy .lede { color: rgba(200,221,233,.8); line-height: 1.7; max-width: 52ch; }

.tm-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--si-radius-lg);
  padding: 1.5rem 2rem;
}

.tm-stat { text-align: center; padding: 0 1.5rem; }
.tm-stat-n { display: block; font-size: 1.6rem; font-weight: 800; color: white; line-height: 1; }
.tm-stat-l { display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: rgba(200,221,233,.55); margin-top: .3rem; }
.tm-stat-divider { width: 1px; height: 2.5rem; background: rgba(255,255,255,.15); flex-shrink: 0; }

/* Featured */
.tm-featured {
  background: var(--si-bg-soft);
  border-bottom: 1px solid var(--si-border-soft);
  padding: var(--si-section) 0;
}

.tm-featured-card {
  max-width: 760px;
  margin: 0 auto;
  background: white;
  border-radius: var(--si-radius-lg);
  padding: 3rem;
  box-shadow: var(--si-shadow);
  border-left: 4px solid var(--si-brand);
}

.tm-featured-card blockquote p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--si-ink);
  font-style: italic;
  margin: 1rem 0 1.5rem;
}

/* Grid */
.tm-grid-section {
  background: white;
  padding: var(--si-section) 0;
}

.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tm-card {
  background: var(--si-bg-soft);
  border: 1px solid var(--si-border-soft);
  border-radius: var(--si-radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow .2s, transform .2s;
}

.tm-card:hover { box-shadow: var(--si-shadow); transform: translateY(-2px); }

.tm-stars { display: flex; gap: .2rem; }

.tm-card blockquote p {
  font-size: .925rem;
  line-height: var(--si-lh-loose);
  color: var(--si-ink-muted);
  font-style: italic;
  margin: 0;
  flex: 1;
}

.tm-attribution {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
}

.tm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--si-brand), var(--si-brand-mid));
  color: white;
  font-size: .85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tm-attribution strong { display: block; font-size: .88rem; color: var(--si-ink); }
.tm-attribution span   { font-size: .78rem; color: var(--si-ink-muted); }

.tm-service-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--tag-color, var(--si-brand));
  background: color-mix(in srgb, var(--tag-color, var(--si-brand)) 12%, transparent);
  border-radius: 999px;
  padding: .25rem .7rem;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .tm-hero-inner    { grid-template-columns: 1fr; gap: 2.5rem; }
  .tm-hero-stats    { justify-content: center; }
  .tm-grid          { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .tm-hero          { padding: 3.5rem 0; }
  .tm-featured-card { padding: 1.75rem 1.5rem; }
  .tm-featured-card blockquote p { font-size: 1.05rem; }
  .tm-grid          { grid-template-columns: 1fr; }
  .tm-stat          { padding: 0 1rem; }
}

/* Allow testimonial stats strip to wrap on very small screens */
@media (max-width: 480px) {
  .tm-hero-stats    { flex-wrap: wrap; gap: .5rem; padding: 1.25rem 1.5rem; }
  .tm-stat-divider  { display: none; }
  .tm-stat          { flex: 1 1 auto; padding: .25rem .75rem; }
}

/* ════════════════════════════════════════════════════════════════
   REVEAL (scroll-in animations)
   ════════════════════════════════════════════════════════════════ */
.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-done {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-pending { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   FAQ PAGE
   ════════════════════════════════════════════════════════════════ */
.faq-hero {
  background: var(--si-bg-soft);
  border-bottom: 1px solid var(--si-border-soft);
  padding: 4rem 0;
}

.faq-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.faq-hero-copy h1 { margin-bottom: .75rem; }
.faq-hero-copy .lede { max-width: 46ch; }

.faq-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  flex-shrink: 0;
}

.faq-hero-cta p {
  font-size: .88rem;
  font-weight: 600;
  color: var(--si-ink-muted);
}

.faq-body {
  padding: 3.5rem 0 5rem;
}

.faq-category {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--si-border-soft);
}

.faq-category:last-child { border-bottom: none; margin-bottom: 0; }

.faq-cat-heading {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--si-ink);
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}

.faq-cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cat-color) 12%, transparent);
  color: var(--cat-color);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .faq-hero-inner   { flex-direction: column; align-items: flex-start; gap: 1.75rem; }
  .faq-hero-cta     { flex-direction: row; flex-wrap: wrap; }
}

/* ════════════════════════════════════════════════════════════════
   MAP SECTION
   ════════════════════════════════════════════════════════════════ */
.map-section { padding: 0; }

.map-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.map-frame-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 0;
  overflow: hidden;
  background: var(--si-bg-soft);
}

.map-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-overlay-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--si-bg-soft);
  border: 1px solid var(--si-border-soft);
  border-top: none;
  padding: 1rem 1.25rem;
}

.map-address {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--si-ink-muted);
}

.map-address svg { flex-shrink: 0; color: var(--si-brand); }

@media (max-width: 600px) {
  .map-frame-wrap     { height: 260px; }
  .map-overlay-cta    { justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════
   SERVICE CHOOSER
   ════════════════════════════════════════════════════════════════ */
.chooser-section {
  background: var(--si-bg-soft);
  border-top: 1px solid var(--si-border-soft);
  border-bottom: 1px solid var(--si-border-soft);
  padding: var(--si-section) 0;
}

.chooser-widget {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.chooser-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.chooser-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  padding: 1.4rem 1rem;
  background: white;
  border: 2px solid var(--si-border-soft);
  border-radius: var(--si-radius);
  cursor: pointer;
  text-align: center;
  transition: border-color .18s, box-shadow .18s, transform .15s;
  font-family: inherit;
}

.chooser-option:hover {
  border-color: var(--si-brand);
  box-shadow: var(--si-shadow);
  transform: translateY(-2px);
}

.chooser-option.is-active {
  border-color: var(--si-brand);
  background: color-mix(in srgb, var(--si-brand) 6%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--si-brand) 18%, transparent);
}

.chooser-opt-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--opt-color) 12%, transparent);
  color: var(--opt-color);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chooser-option strong {
  font-size: .88rem;
  font-weight: 700;
  color: var(--si-ink);
  line-height: 1.3;
}

.chooser-option span {
  font-size: .78rem;
  color: var(--si-ink-muted);
  line-height: 1.4;
}

.chooser-result {
  background: white;
  border: 2px solid var(--si-brand);
  border-radius: var(--si-radius-lg);
  box-shadow: var(--si-shadow);
  overflow: hidden;
  animation: chooser-slide-in .3s ease;
}

@keyframes chooser-slide-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chooser-result-inner {
  padding: 2.25rem 2.5rem;
}

.chooser-result-inner h3 {
  font-size: 1.35rem;
  color: var(--si-ink);
  margin: .5rem 0 .85rem;
}

.chooser-result-inner p {
  max-width: 56ch;
  margin-bottom: 1.5rem;
}

.chooser-result-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}

.chooser-reset {
  background: none;
  border: none;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--si-ink-muted);
  cursor: pointer;
  padding: .35rem 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color .15s, text-decoration-color .15s;
  margin-top: .75rem;
  display: block;
}

.chooser-reset:hover {
  color: var(--si-brand);
  text-decoration-color: var(--si-brand);
}

@media (max-width: 1000px) {
  .chooser-options { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .chooser-options        { grid-template-columns: 1fr 1fr; }
  .chooser-result-inner   { padding: 1.5rem; }
  .chooser-result-inner h3 { font-size: 1.1rem; }
}

@media (max-width: 440px) {
  .chooser-options { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   GALLERY (Kane Homestead)
   ════════════════════════════════════════════════════════════════ */
.svc-gallery-section {
  background: var(--si-bg-soft);
  border-top: 1px solid var(--si-border-soft);
  padding: var(--si-section) 0;
}

.svc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-top: 2rem;
}

.svc-gallery-thumb {
  position: relative;
  border-radius: var(--si-radius);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  aspect-ratio: 4/3;
}

.svc-gallery-thumb-featured {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  aspect-ratio: 16/9;
}

.svc-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.svc-gallery-thumb:hover img { transform: scale(1.04); }

.svc-gallery-zoom {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15,42,61,.5);
  color: white;
  opacity: 0;
  transition: opacity .2s;
}

.svc-gallery-thumb:hover .svc-gallery-zoom,
.svc-gallery-thumb:focus-visible .svc-gallery-zoom {
  opacity: 1;
}

/* Lightbox */
.svc-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.88);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.svc-gallery-lightbox-img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  border-radius: var(--si-radius);
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  object-fit: contain;
}

.svc-gallery-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,.12);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s;
}

.svc-gallery-close:hover { background: rgba(255,255,255,.25); }

@media (max-width: 760px) {
  .svc-gallery-grid         { grid-template-columns: 1fr 1fr; }
  .svc-gallery-thumb-featured { grid-column: 1 / 3; }
}

@media (max-width: 480px) {
  .svc-gallery-grid { grid-template-columns: 1fr; }
  .svc-gallery-thumb-featured { grid-column: auto; aspect-ratio: 4/3; }
}

/* ════════════════════════════════════════════════════════════════
   LEGAL PAGES (Privacy, Terms)
   ════════════════════════════════════════════════════════════════ */
.legal-hero {
  background: var(--si-bg-soft);
  border-bottom: 1px solid var(--si-border-soft);
  padding: 3.5rem 0 3rem;
}

.legal-hero-inner { max-width: 740px; }
.legal-hero-inner h1 { margin: .5rem 0 .75rem; }

.legal-meta {
  font-size: .85rem;
  color: var(--si-ink-faint);
  font-weight: 500;
}

.legal-body {
  padding: 3.5rem 0 5rem;
}

.legal-content {
  max-width: 740px;
}

.legal-intro {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--si-border-soft);
}

.legal-intro p { font-size: 1rem; line-height: 1.7; }

.legal-section {
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--si-border-soft);
}

.legal-section:last-of-type { border-bottom: none; }

.legal-section h2 {
  font-size: 1.15rem;
  color: var(--si-ink);
  margin-bottom: .85rem;
}

.legal-section h3 {
  font-size: .95rem;
  color: var(--si-ink);
  margin: 1.25rem 0 .4rem;
  font-weight: 700;
}

.legal-section p {
  font-size: .94rem;
  line-height: 1.75;
  color: var(--si-ink-muted);
  margin-bottom: .75rem;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-list {
  margin: .75rem 0 .75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.legal-list li {
  font-size: .93rem;
  color: var(--si-ink-muted);
  line-height: 1.6;
}

.legal-address {
  margin-top: .75rem;
  font-size: .93rem;
  color: var(--si-ink-muted);
  line-height: 1.8;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--si-border-soft);
}

.legal-nav-link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--si-brand);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER LEGAL LINKS
   ════════════════════════════════════════════════════════════════ */
.footer-legal-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .15s;
}

.footer-legal-links a:hover { color: rgba(255,255,255,.9); }

@media (max-width: 640px) {
  .footer-bottom-inner { flex-direction: column; gap: .5rem; text-align: center; }
  .footer-legal-links  { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .5rem; }
}

