/* ==========================================================================
   Prodigy Plumbing — Perris, CA
   Flat CSS, no build step. Mobile-first.

   Palette (teal family sampled directly from assets/logo.png pixels — H186° S~40%):
     --teal        #3e8f98   brand accent — icons, graphics, large display text
     --teal-ink    #2b676e   buttons, links, small accent text (6.4:1 on white)
     --teal-deep   #1e4d52   hover states (9.4:1 on white)
     --ink         #0D0D0D   headings, dark bands
     --mint        #EAF6F6   alternating section backgrounds
     --grey        #4A4A4A   body text
   ========================================================================== */

:root {
  --teal: #3e8f98;
  --teal-ink: #2b676e;
  --teal-deep: #1e4d52;
  --ink: #0D0D0D;
  --ink-2: #171d1d;
  --white: #ffffff;
  --mint: #EAF6F6;
  --mint-deep: #d3e9e9;
  --grey: #4A4A4A;
  --line: #e1ecec;
  --font-head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 8px 28px rgba(30, 77, 82, 0.12);
  --shadow-sm: 0 2px 10px rgba(30, 77, 82, 0.1);
  --header-h: 66px;
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

/* Room for the fixed call/text bar on phones */
@media (max-width: 899px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 6.4vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: 0.03em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

ul { margin: 0; padding: 0; }

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 1.75rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: var(--white); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.45rem;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}
.btn svg { flex: none; width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn--teal { background: var(--teal-ink); color: var(--white); }
.btn--teal:hover { background: var(--teal-deep); color: var(--white); }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; color: var(--white); }

.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn--white { background: var(--white); color: var(--teal-deep); }
.btn--white:hover { background: var(--mint); color: var(--teal-deep); }

.btn--outline-white { border-color: rgba(255, 255, 255, 0.65); color: var(--white); background: transparent; }
.btn--outline-white:hover { background: var(--white); color: var(--ink); }

.btn--lg { min-height: 56px; padding: 0.95rem 1.9rem; font-size: 1.06rem; border-radius: 12px; }
.btn--sm { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.92rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* dark, matching the footer — the wordmark badge sits directly on it.
     (solid on purpose: backdrop-filter here would trap the fixed mobile nav drawer) */
  background: #0a0f0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  margin-right: auto;
  min-width: 0;
}
/* Wordmark badge sits on a dark chip (the logo is drawn for dark grounds).
   Hidden until the image actually loads; the droplet + text lockup is the fallback. */
.brand-badge {
  display: none;
  align-items: center;
  flex: none;
}
.brand-logo { display: block; height: 44px; width: auto; }
.brand.has-logo .brand-badge { display: inline-flex; }
.brand.has-logo .brand-mark,
.brand.has-logo .brand-name { display: none; }
/* with the wordmark badge in place, the header brand is the badge alone;
   the license line stays visible in the footer, hero badges, and CTA bands */
.site-header .brand.has-logo .brand-sub { display: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }

.site-footer .brand-logo { height: 48px; }
/* footer: license line sits under the badge, full width, never truncated */
.site-footer .brand.has-logo { flex-direction: column; align-items: flex-start; gap: 0.55rem; }

.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-name b { color: #6fc8d2; font-weight: 700; }
.brand-sub {
  margin-top: 0.28rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compact brand lockup on small phones so the header never overflows */
@media (max-width: 480px) {
  .header-inner { gap: 0.7rem; }
  .brand { gap: 0.5rem; }
  .site-header .brand-logo { height: 34px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.02rem; }
  .brand-sub { font-size: 0.55rem; letter-spacing: 0.09em; }
}
@media (max-width: 350px) {
  .brand-name { font-size: 0.92rem; }
  .brand-sub { display: none; }
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 19px; height: 19px; color: #6fc8d2; }
.header-phone:hover { color: #6fc8d2; }

.header-phone--mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--teal-ink);
  color: var(--white);
}
.header-phone--mobile svg { width: 21px; height: 21px; }
.header-phone--mobile:hover { background: var(--teal-deep); color: var(--white); }

.header-quote { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  flex: none;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  background: #0c1313;
  padding: 0.75rem clamp(1.1rem, 4vw, 1.75rem) 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.site-nav ul { list-style: none; }
.site-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.site-nav a.nav-link {
  display: block;
  padding: 1rem 0.25rem;
  font-size: 1.12rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}
.site-nav a.nav-link:hover { color: var(--white); }
.site-nav a.nav-link[aria-current="page"] { color: #6fc8d2; }

.nav-cta-group {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
/* the drawer is dark — ghost buttons switch to their white-outline form */
.nav-cta-group .btn--ghost { border-color: rgba(255, 255, 255, 0.65); color: var(--white); }
.nav-cta-group .btn--ghost:hover { background: var(--white); color: var(--ink); }

body.nav-locked { overflow: hidden; }

@media (min-width: 980px) {
  .nav-toggle,
  .header-phone--mobile { display: none; }

  .site-nav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    overflow: visible;
    background: transparent;
  }
  .site-nav ul { display: flex; gap: clamp(1rem, 2vw, 1.9rem); }
  .site-nav li { border: none; }
  .site-nav a.nav-link {
    padding: 0.45rem 0.1rem;
    font-size: 0.98rem;
    border-bottom: 2px solid transparent;
  }
  .site-nav a.nav-link:hover { border-bottom-color: rgba(111, 200, 210, 0.65); }
  .site-nav a.nav-link[aria-current="page"] { border-bottom-color: var(--teal); }
  .nav-cta-group { display: none; }

  .header-phone { display: inline-flex; }
  .header-quote { display: inline-flex; }
}

/* No-JS fallback: keep the menu usable without the toggle */
.no-js .nav-toggle { display: none; }
.no-js .site-nav {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: transparent;
  padding: 0;
}
@media (max-width: 979px) {
  .no-js .header-inner { flex-wrap: wrap; padding-block: 0.6rem; }
  .no-js .site-nav { width: 100%; }
  .no-js .site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
  .no-js .site-nav li { border: none; }
  .no-js .site-nav a.nav-link { padding: 0.4rem 0; font-size: 0.95rem; }
  .no-js .nav-cta-group { display: none; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.6rem, 8vw, 5.75rem); }
.section--mint { background: var(--mint); }
.section--dark { background: var(--ink); color: var(--white); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lede { color: var(--grey); font-size: 1.05rem; }
.section--dark .section-head .lede { color: rgba(255, 255, 255, 0.78); }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 0.85rem;
}
.section--dark .eyebrow { color: #6fc8d2; }

/* ---------- Hero (homepage) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(rgba(62, 143, 152, 0.14) 1.5px, transparent 1.6px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--white) 25%, var(--mint) 100%);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.25rem, 7vw, 5.5rem);
}

.hero-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--grey);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--grey);
}
.hero-hours svg { width: 17px; height: 17px; flex: none; color: var(--teal-ink); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.1rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--mint-deep);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.trust-badge svg { width: 16px; height: 16px; flex: none; color: var(--teal-ink); }

.hero-art { width: 100%; max-width: 540px; margin-inline: auto; }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-art--photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-art--photo img { width: 100%; height: auto; display: block; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
}

/* ---------- Emergency strip ---------- */

.emergency {
  background: var(--ink);
  color: var(--white);
  padding-block: 0.9rem;
}
.emergency-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  text-align: center;
}
.emergency p { margin: 0; font-weight: 600; font-size: 0.98rem; }
.emergency .chip {
  display: inline-block;
  background: var(--teal-ink);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: 6px;
  padding: 0.12em 0.5em;
  margin-right: 0.35rem;
}
.emergency .btn { min-height: 44px; }

@media (min-width: 760px) {
  .emergency-inner { justify-content: space-between; text-align: left; }
}

/* ---------- How it works ---------- */

.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.6rem 1.6rem;
  overflow: hidden;
}
.step::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.24;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--mint);
  margin-bottom: 1.1rem;
}
.step-icon svg { width: 30px; height: 30px; }
.step h3 { margin-bottom: 0.4em; }
.step p { color: var(--grey); font-size: 0.97rem; }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
}

/* ---------- Services preview: 3 featured photo cards ---------- */

.svc-feature-grid { display: grid; gap: 1.1rem; }
.svc-feature-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.svc-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
  color: var(--ink);
}
.svc-feature-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mint);
}
.svc-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.svc-feature-card:hover .svc-feature-photo img { transform: scale(1.045); }
.svc-feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.4rem 1.4rem 1.5rem;
  flex: 1;
}
.svc-feature-body h3 { font-size: 1.2rem; margin: 0; }
.svc-feature-body p { color: var(--grey); font-size: 0.95rem; margin: 0; }
.svc-feature-body .svc-more {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-ink);
}
.svc-feature-card:hover .svc-more { text-decoration: underline; text-underline-offset: 3px; }

.svc-viewall { text-align: center; margin: clamp(2rem, 5vw, 2.75rem) 0 0; }

@media (min-width: 760px) { .svc-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; } }

.badge-specialty {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.32em 0.7em;
}
.badge-specialty svg { width: 11px; height: 11px; color: #ffd166; }

.badge-specialty--inline { position: static; vertical-align: middle; margin-left: 0.6rem; transform: translateY(-3px); }

/* ---------- Specialty callout ---------- */

.specialty-grid { display: grid; gap: 1.25rem; }
.specialty-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.05rem;
}
.specialty-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.09) 1.5px, transparent 1.6px) 0 0 / 24px 24px;
  pointer-events: none;
}
.specialty-card--teal { background: linear-gradient(135deg, var(--teal-ink) 0%, #073a40 100%); }
.specialty-card--ink { background: linear-gradient(135deg, #222a2a 0%, var(--ink) 100%); }
.specialty-card > * { position: relative; }
.specialty-card .badge-specialty {
  position: static;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.specialty-card h3 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 0; }
.specialty-card p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 44rem; }
.specialty-card .specialty-icon { width: 64px; height: 64px; }
.specialty-card .btn { margin-top: 0.4rem; }

@media (min-width: 900px) { .specialty-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- Stats ---------- */

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem 1rem 1.4rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 3.1rem);
  line-height: 1;
  color: var(--teal-ink);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--grey);
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; } }

/* ---------- Why choose us ---------- */

.why-grid { display: grid; gap: 2.5rem; align-items: start; }
.why-list { list-style: none; display: grid; }
.why-item {
  display: flex;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.why-item:last-child { border-bottom: none; }
.why-check {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  margin-top: 0.15rem;
}
.why-check svg { width: 16px; height: 16px; color: var(--teal-deep); }
.why-item b { display: block; font-size: 1.02rem; }
.why-item span { color: var(--grey); font-size: 0.95rem; }

@media (min-width: 900px) {
  .why-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}

/* ---------- Testimonials ---------- */

.testi-grid { display: grid; gap: 1rem; max-width: 960px; margin-inline: auto; }
.testi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.6rem;
}
.testi-card .quote-mark { width: 34px; height: 34px; color: var(--teal); opacity: 0.4; }
.testi-tag {
  align-self: flex-start;
  display: inline-block;
  background: var(--mint);
  border: 1px dashed var(--teal);
  border-radius: 6px;
  padding: 0.3em 0.7em;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.testi-card blockquote { margin: 0; font-style: italic; color: var(--grey); font-size: 0.97rem; }
.testi-card figcaption { font-weight: 600; font-size: 0.9rem; margin-top: auto; }
.testi-source {
  position: absolute;
  top: 1.15rem;
  right: 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-ink);
  background: rgba(62, 143, 152, 0.12);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

.testi-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.9rem;
}

@media (min-width: 760px) { .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; } }
@media (min-width: 1080px) { .testi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }

/* ---------- Service area ---------- */

.area-note {
  text-align: center;
  color: var(--grey);
  margin-top: 1.6rem;
  font-size: 0.97rem;
}

/* ---------- Final CTA band ---------- */

.cta-band { text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band .lede {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 1.9rem;
}
.cta-band .hero-ctas { justify-content: center; }
.cta-license {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.9rem;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.65);
}
.cta-license svg { width: 16px; height: 16px; flex: none; color: #6fc8d2; }

/* ---------- Footer ---------- */

.site-footer { background: #0a0f0f; color: rgba(255, 255, 255, 0.75); }
.footer-grid {
  display: grid;
  gap: 2.4rem;
  padding-block: clamp(2.8rem, 6vw, 4rem) 2.4rem;
}
.footer-brand .brand { color: var(--white); margin: 0 0 1rem; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.55); }
.footer-brand p { font-size: 0.93rem; max-width: 30rem; }

.finance-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--teal-ink);
  font-size: 0.97rem;
}
.finance-note svg { width: 19px; height: 19px; flex: none; }

/* ---------- Slogan ---------- */
.slogan {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-ink);
}
.footer-brand .slogan { color: #6fc8d2; margin: -0.35rem 0 1.1rem; font-size: 1.02rem; max-width: none; }

.footer-brand .bca-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  margin-top: 1.2rem;
}
.footer-brand .bca-badge img { display: block; height: 42px; width: auto; }
.notfound .slogan { margin-top: 2.4rem; opacity: 0.9; }

.social { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.social a:hover { background: var(--teal-ink); border-color: var(--teal-ink); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

.footer-h {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 0.9rem;
}
.footer-col ul { list-style: none; }
.footer-col a {
  display: inline-block;
  padding: 0.32rem 0;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.94rem;
}
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-col li { padding: 0; }

.footer-contact p { margin: 0 0 0.7rem; font-size: 0.94rem; display: flex; gap: 0.55rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 0.22rem; color: #6fc8d2; }
.footer-contact a { color: var(--white); font-weight: 600; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom p { margin: 0 0 0.35rem; }
.footer-bottom p:last-child { margin: 0; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover, .footer-bottom a:focus { color: var(--white); }

/* ---------- Legal / policy pages ---------- */

.legal { max-width: 46rem; }
.legal .effective-date { color: var(--teal-ink); font-weight: 600; font-size: 0.95rem; margin-bottom: 1.4rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 0.75rem; }
.legal p, .legal ul { color: var(--grey); margin: 0 0 1rem; }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: 0.5rem; }
.legal b { color: var(--ink); }
.legal a { color: var(--teal-ink); }

@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1020px) {
  .footer-grid { grid-template-columns: 1.6fr 0.9fr 1fr 1.2fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Sticky mobile call/text bar ---------- */

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
}
.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 62px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
}
.mobile-cta svg { width: 21px; height: 21px; }
.mobile-cta--call { background: var(--teal-ink); }
.mobile-cta--call:hover, .mobile-cta--call:focus { background: var(--teal-deep); color: var(--white); }
.mobile-cta--text { background: var(--ink); }
.mobile-cta--text:hover, .mobile-cta--text:focus { background: #000; color: var(--white); }

@media (min-width: 900px) { .mobile-cta-bar { display: none; } }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background:
    radial-gradient(rgba(62, 143, 152, 0.13) 1.5px, transparent 1.6px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--white) 30%, var(--mint) 100%);
  padding-block: clamp(2.9rem, 6vw, 4.5rem);
}
.page-hero h1 { font-size: clamp(2rem, 5.4vw, 3rem); }
.page-hero .lede { color: var(--grey); font-size: 1.06rem; max-width: 42rem; }
.page-hero .hero-ctas { margin-top: 1.5rem; }

/* ---------- Services page ---------- */

.svc-subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.svc-subnav-track {
  display: flex;
  gap: 0.45rem;
  padding-block: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.svc-subnav-track::-webkit-scrollbar { display: none; }
.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.pill:hover { background: var(--mint-deep); color: var(--ink); }
.pill.is-active { background: var(--teal-ink); color: var(--white); }

.svc-row {
  padding-block: clamp(3.2rem, 7vw, 4.6rem);
  /* anchor jumps must clear the sticky header + pill bar */
  scroll-margin-top: calc(var(--header-h) + 64px);
}
.svc-row:nth-of-type(even) { background: var(--mint); }

.svc-row-grid { display: grid; gap: 2rem; align-items: center; }
.svc-art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--mint);
  overflow: hidden;
}
.svc-art--photo { display: block; }
.svc-art--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-row:nth-of-type(even) .svc-art { background: var(--white); }
.svc-art svg { width: min(58%, 220px); height: auto; }

.svc-row h2 { scroll-margin-top: calc(var(--header-h) + 78px); }
.svc-row .svc-anchor { scroll-margin-top: calc(var(--header-h) + 78px); }
.svc-row p.svc-desc { color: var(--grey); }

.signs {
  margin-top: 1.3rem;
  background: var(--white);
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--grey);
  box-shadow: var(--shadow-sm);
}
.signs b { color: var(--ink); display: block; margin-bottom: 0.25rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.svc-row:nth-of-type(even) .signs { background: var(--white); }

.svc-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

@media (min-width: 880px) {
  .svc-row-grid { grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 5vw, 4rem); }
  .svc-row:nth-of-type(even) .svc-art { order: 2; }
}

/* ---------- FAQ accordion ---------- */

.faq { max-width: 800px; margin-inline: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-x {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mint);
}
.faq-x::before,
.faq-x::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--teal-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-x::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 1.35rem 1.3rem; color: var(--grey); font-size: 0.97rem; }

/* ---------- About page ---------- */

.about-grid { display: grid; gap: 2.75rem; align-items: center; }
.about-art {
  display: grid;
  place-items: center;
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.5rem 1.5rem;
}
.about-art svg { width: min(78%, 340px); height: auto; }
.about-art--photo {
  display: block;
  background: none;
  border: none;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-art--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-copy p { color: var(--grey); }
.about-copy p b { color: var(--ink); }

@media (min-width: 900px) { .about-grid { grid-template-columns: 6fr 6fr; gap: 4rem; } }

.cred-band { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
@media (min-width: 480px) { .cred-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cred {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.1rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.cred svg { width: 26px; height: 26px; flex: none; color: var(--teal-ink); }
@media (min-width: 880px) { .cred-band { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; gap: 1rem; }
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem;
}
.contact-card--primary { border: 2px solid var(--teal); background: var(--mint); }
.contact-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--mint);
  color: var(--teal-deep);
}
.contact-card--primary .contact-icon { background: var(--white); }
.contact-icon svg { width: 28px; height: 28px; }
.contact-card h2 { font-size: 1.3rem; margin: 0; }
.contact-card p { color: var(--grey); font-size: 0.95rem; margin: 0; }
.contact-card .btn { margin-top: 0.5rem; align-self: stretch; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }

.info-grid { display: grid; gap: 1rem; }
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.6rem;
}
.info-card h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 0.55rem; }
.info-card h2 svg { width: 21px; height: 21px; flex: none; color: var(--teal-ink); }

.hours { display: grid; margin: 0; }
.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
.hours > div:last-of-type { border-bottom: none; }
.hours dt { font-weight: 600; margin: 0; }
.hours dd { margin: 0; color: var(--grey); text-align: right; }

.hours-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1rem;
  background: var(--mint);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}
.hours-note svg { width: 18px; height: 18px; flex: none; color: var(--teal-deep); margin-top: 0.15rem; }

.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: clamp(300px, 45vw, 420px);
}
.map-consent {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  height: 100%;
  background: var(--mint);
  text-align: center;
  padding: 1.5rem;
}
.map-consent p { color: var(--grey); font-size: 0.93rem; max-width: 26rem; margin: 0; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-note { font-size: 0.85rem; color: var(--grey); margin-top: 0.8rem; text-align: center; }

@media (min-width: 860px) { .info-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; } }

/* ---------- 404 ---------- */

.notfound { text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.notfound .hero-ctas { justify-content: center; }

/* ---------- Reveal-on-scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .svc-feature-card, .social a { transition: none; }
  .btn:hover, .svc-feature-card:hover { transform: none; }
  .svc-feature-card:hover .svc-feature-photo img { transform: none; }
}
