/* =============================================================
   2 Good Plumbers LLC — Design System
   "Deep Water + Copper"  |  Vanilla CSS, no build step
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — Deep Water */
  --navy:        #0A2540;
  --blue-800:    #0E4D7B;
  --blue-500:    #1E88C7;
  --blue-50:     #E6F2FA;
  /* Brand — Copper (primary CTA) */
  --copper:      #F26B21;
  --copper-700:  #D4551A;
  /* Status + ink */
  --success:     #1FA971;
  --ink:         #11212E;
  --ink-600:     #3D4F5C;
  --ink-400:     #6B7B86;
  --line:        #DDE6ED;
  --white:       #FFFFFF;
  --bg:          #FFFFFF;
  --bg-soft:     #F5F9FC;

  /* Typography */
  --font-head: "Sora", "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Fluid type scale (~1.25) */
  --fs-xs:   0.8rem;
  --fs-sm:   0.9rem;
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-md:   clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
  --fs-lg:   clamp(1.4rem, 1.2rem + 0.9vw, 1.85rem);
  --fs-xl:   clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem);
  --fs-2xl:  clamp(2.3rem, 1.7rem + 2.9vw, 3.7rem);

  /* Spacing + shape */
  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(10,37,64,.08), 0 1px 2px rgba(10,37,64,.06);
  --shadow:    0 10px 30px -12px rgba(10,37,64,.22);
  --shadow-lg: 0 24px 60px -20px rgba(10,37,64,.32);
  --maxw: 1180px;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-800); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2rem; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
p  { max-width: 70ch; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #E7EEF5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: var(--fs-xs);
  color: var(--blue-500);
  margin-bottom: .6rem;
}
.section--navy .eyebrow { color: #6FC0EE; }
.lead { font-size: var(--fs-md); color: var(--ink-600); max-width: 60ch; }
.section--navy .lead { color: #C5D6E4; }
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Skip link + focus ---------- */
.skip-link {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(-150%);
  top: 8px; background: var(--navy); color: #fff; padding: .65rem 1.1rem;
  border-radius: 8px; z-index: 1000; transition: transform .2s;
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--copper); color: #fff; box-shadow: 0 8px 18px -8px rgba(242,107,33,.7); }
.btn--primary:hover { background: var(--copper-700); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(242,107,33,.8); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-800); background: var(--blue-50); transform: translateY(-2px); }
.btn--on-navy { background: #fff; color: var(--navy); }
.btn--on-navy:hover { background: var(--blue-50); transform: translateY(-2px); }
.btn--text { background: transparent; color: var(--navy); border-color: transparent; padding-inline: .4rem; }
.btn--text:hover { color: var(--copper-700); }
.btn--lg { min-height: 54px; padding: 1rem 1.9rem; font-size: 1.08rem; }
.btn--full { width: 100%; }
.btn--emergency { background: #C92A2A; color:#fff; box-shadow: 0 8px 18px -8px rgba(201,42,42,.7); }
.btn--emergency:hover { background:#A81F1F; transform: translateY(-2px); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--navy); color: #DCE8F2; font-size: var(--fs-sm);
  text-align: center; padding: .5rem var(--gutter);
}
.announce strong { color: #fff; }
.announce a { color: #8FD0F4; font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header { background: #fff; }
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); background: rgba(255,255,255,.95); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.18rem; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand small { display:block; font-size:.62rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color: var(--ink-400); }
.nav__links { display: flex; align-items: center; gap: .35rem; margin-left: auto; list-style: none; padding: 0; }
.nav__links a { color: var(--ink); font-weight: 500; padding: .55rem .7rem; border-radius: 8px; font-size: .96rem; }
.nav__links a:hover { background: var(--blue-50); color: var(--blue-800); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--blue-800); font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: .6rem; margin-left: .6rem; }
.nav__phone { display:inline-flex; align-items:center; gap:.4rem; font-family:var(--font-head); font-weight:700; color: var(--navy); white-space: nowrap; }
.nav__phone:hover { color: var(--copper-700); text-decoration: none; }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 10px; align-items: center; justify-content: center; }
.nav__toggle span { position: relative; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav__toggle span::before, .nav__toggle span::after { content:""; position:absolute; left:0; width:22px; height:2px; background: var(--navy); border-radius:2px; transition:.25s; }
.nav__toggle span::before { top:-7px; } .nav__toggle span::after { top:7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top:0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top:0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  /* Drop the header's backdrop-filter on mobile so it doesn't become the containing
     block for the fixed menu. Solid header instead. */
  .site-header,
  .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }

  /* Brand + hamburger stay above the open menu so the logo and the X are always tappable */
  .brand { position: relative; z-index: 60; }
  .nav__phone--header { display: inline-flex; margin-left: auto; }
  .nav__toggle { display: inline-flex; margin-left: .45rem; position: relative; z-index: 60; }
  .nav__links, .nav__cta { display: none; }

  /* Full-screen slide-in panel — anchored to the viewport, not the header */
  .nav__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: #fff;
    margin: 0;
    list-style: none;
    padding: calc(var(--header-h) + 3.5rem) var(--gutter) 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu a:not(.btn) {
    display: block;
    padding: .95rem .4rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
    border-radius: 0;
    color: var(--ink);
  }
  .nav__menu a:not(.btn)[aria-current="page"] { color: var(--blue-800); font-weight: 600; }
  .nav__menu .nav__cta {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin-top: 1.1rem;
  }
  .nav__menu .nav__cta a:not(.btn) { border-bottom: 0; }
  .nav__menu .nav__cta .btn--primary { color: #fff; }
  .nav__menu .nav__cta .nav__phone {
    display: flex;
    justify-content: center;
    padding: .7rem;
    font-size: 1.15rem;
    color: var(--navy);
  }
  .nav__menu .nav__cta .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-block: .9rem;
  }
}
@media (min-width: 941px) { .nav__phone--header { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background:
   radial-gradient(1100px 500px at 80% -10%, rgba(30,136,199,.18), transparent 60%),
   linear-gradient(180deg, var(--blue-50), #fff 70%);
   overflow: hidden; }
.hero__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 880px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--blue-800); }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.3rem; }
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .8rem; font-size: var(--fs-sm); font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.pill svg { width: 1.05em; height: 1.05em; color: var(--success); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__reassure { margin-top: 1rem; font-size: var(--fs-sm); color: var(--ink-600); display:flex; align-items:center; gap:.45rem; }
.hero__reassure svg { width: 1.1em; color: var(--blue-500); flex:none; }
.hero__media { position: relative; }
.hero__card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid var(--line);
}
.hero__img-ph {
  aspect-ratio: 4 / 3; display: grid; place-content: center; gap:.4rem; text-align:center;
  background: linear-gradient(135deg, var(--blue-800), var(--navy));
  color: #BFE0F4; padding: 2rem;
}
.hero__img-ph svg { width: 64px; height: 64px; margin-inline:auto; opacity:.85; }
.hero__img-ph span { font-size: var(--fs-sm); }
.hero__float {
  position: absolute; left: -14px; bottom: -14px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .8rem 1rem; display:flex; align-items:center; gap:.7rem;
  border: 1px solid var(--line); max-width: 80%;
}
.hero__float .stars { color: #F5A623; font-size: 1rem; letter-spacing: 1px; }
.hero__float strong { font-family: var(--font-head); color: var(--navy); }
.hero__float small { color: var(--ink-400); display:block; font-size:.78rem; }

/* ---------- Trust badge bar ---------- */
.trustbar { background: #fff; border-block: 1px solid var(--line); }
.trustbar__row { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem 1rem; padding-block: 1.6rem; }
@media (min-width: 760px) { .trustbar__row { grid-template-columns: repeat(4,1fr); } }
.trustbar__item { display: flex; align-items: center; gap: .7rem; justify-content: center; text-align:left; }
.trustbar__item svg { width: 30px; height: 30px; color: var(--blue-500); flex: none; }
.trustbar__item strong { display:block; font-family: var(--font-head); color: var(--navy); font-size: 1rem; line-height:1.15; }
.trustbar__item small { color: var(--ink-400); font-size:.8rem; }

/* ---------- Cards / Services ---------- */
.cards { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C5D8E8; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-50); color: var(--blue-800);
  display: grid; place-content: center; margin-bottom: 1rem; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--fs-md); margin-bottom: .4rem; }
.card p { color: var(--ink-600); font-size: var(--fs-sm); flex: 1; }
.card__link { margin-top: 1rem; font-family: var(--font-head); font-weight: 600; color: var(--blue-800); display:inline-flex; align-items:center; gap:.35rem; }
.card__link svg { width: 1em; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(4px); }
.card--emergency { background: linear-gradient(160deg, #FFF4F0, #fff); border-color: #F4C9B8; }
.card--emergency .card__icon { background: #FCE3D8; color: var(--copper-700); }

/* ---------- Value props ---------- */
.values { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); }
.value { display: flex; gap: .9rem; }
.value__ic { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--navy); color:#fff; display:grid; place-content:center; }
.value__ic svg { width: 22px; }
.value h3 { font-size: var(--fs-md); margin-bottom: .25rem; }
.value p { font-size: var(--fs-sm); color: var(--ink-600); }

/* ---------- Stat band ---------- */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(2,1fr); text-align:center; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem,1.4rem+2.4vw,3rem); color: #fff; line-height:1; }
.stat__num .suffix { color: var(--copper); }
.stat__label { color:#B7CADA; font-size: var(--fs-sm); margin-top:.4rem; }

/* ---------- About teaser ---------- */
.about-teaser { display: grid; gap: clamp(1.5rem,4vw,3rem); align-items:center; }
@media (min-width: 860px){ .about-teaser { grid-template-columns: .9fr 1.1fr; } }
.portrait-ph { aspect-ratio: 1/1; border-radius: var(--radius-lg); background: linear-gradient(135deg,var(--blue-500),var(--navy)); color:#cfe7f7;
  display:grid; place-content:center; text-align:center; gap:.5rem; padding:2rem; box-shadow: var(--shadow); }
.portrait-ph svg { width: 70px; margin-inline:auto; opacity:.85; }
.portrait-ph span { font-size: var(--fs-sm); }
.sig { font-family: "Sora", cursive; font-style: italic; color: var(--blue-800); font-weight:600; }

/* ---------- Process / steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.step { position: relative; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.4rem; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 1.4rem;
  width: 38px; height: 38px; border-radius: 50%; background: var(--copper); color:#fff; font-family:var(--font-head); font-weight:700;
  display:grid; place-content:center; box-shadow: 0 6px 14px -6px rgba(242,107,33,.8); }
.step h3 { font-size: var(--fs-md); margin:.6rem 0 .3rem; }
.step p { font-size: var(--fs-sm); color: var(--ink-600); }

/* ---------- Before / After ---------- */
.gallery { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.ba { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); }
.ba__imgs { display: grid; grid-template-columns: 1fr 1fr; }
.ba__ph { aspect-ratio: 4/3; display:grid; place-content:center; gap:.3rem; text-align:center; font-size:.72rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; }
.ba__ph svg { width: 30px; margin-inline:auto; opacity:.7; }
.ba__ph--before { background: #ECEFF2; color: var(--ink-400); }
.ba__ph--after { background: var(--blue-50); color: var(--blue-800); }
.ba__cap { padding: .9rem 1.1rem; font-size: var(--fs-sm); color: var(--ink-600); }
.ba__cap strong { color: var(--navy); font-family: var(--font-head); display:block; }
.ba__half { position:relative; }
.ba__half img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.ba__tag { position:absolute; top:.5rem; left:.5rem; background:rgba(10,37,64,.82); color:#fff; font-family:var(--font-head); font-weight:600; font-size:.66rem; letter-spacing:.06em; text-transform:uppercase; padding:.22rem .55rem; border-radius:6px; }
.ba__half--after .ba__tag { background: var(--success); }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.review { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; }
.review .stars { color:#F5A623; letter-spacing:2px; margin-bottom:.6rem; }
.review p { font-size: var(--fs-base); color: var(--ink); flex:1; }
.review__who { margin-top: 1rem; display:flex; align-items:center; gap:.7rem; }
.avatar { width:42px; height:42px; border-radius:50%; background: var(--blue-800); color:#fff; display:grid; place-content:center; font-family:var(--font-head); font-weight:700; flex:none; }
.review__who strong { color: var(--navy); font-family: var(--font-head); font-size:.95rem; }
.review__who small { color: var(--ink-400); display:block; font-size:.8rem; }
.rating-summary { display:flex; flex-wrap:wrap; gap:1.5rem; align-items:center; justify-content:center; }
.rating-summary .blk { text-align:center; }
.rating-summary .score { font-family:var(--font-head); font-weight:800; font-size:2.4rem; color:var(--navy); line-height:1; }
.rating-summary .stars { color:#F5A623; letter-spacing:2px; }

/* ---------- Service areas + map ---------- */
.areas { display:grid; gap: clamp(1.5rem,4vw,2.5rem); align-items:start; }
@media (min-width:820px){ .areas { grid-template-columns: 1fr 1fr; } }
.area-chips { display:flex; flex-wrap:wrap; gap:.55rem; }
.area-chips a { background:#fff; border:1px solid var(--line); border-radius:999px; padding:.5rem .95rem; font-weight:600; font-size:var(--fs-sm); color:var(--navy); }
.area-chips a:hover { border-color: var(--blue-500); background: var(--blue-50); color:var(--blue-800); text-decoration:none; }
.map-embed { border:0; width:100%; aspect-ratio: 4/3; border-radius: var(--radius); box-shadow: var(--shadow-sm); filter: saturate(1.05); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline:auto; }
.acc { border:1px solid var(--line); border-radius: var(--radius); background:#fff; overflow:hidden; margin-bottom:.8rem; box-shadow: var(--shadow-sm); }
.acc__btn { width:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem; text-align:left;
  padding: 1.1rem 1.3rem; background:transparent; border:0; font-family:var(--font-head); font-weight:600; font-size:var(--fs-md); color:var(--navy); }
.acc__btn:hover { color: var(--blue-800); }
.acc__icon { flex:none; width:24px; height:24px; position:relative; transition: transform .25s; }
.acc__icon::before, .acc__icon::after { content:""; position:absolute; top:50%; left:50%; width:13px; height:2px; background:var(--copper); transform:translate(-50%,-50%); border-radius:2px; }
.acc__icon::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .25s; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: translate(-50%,-50%) rotate(0); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__panel-inner { padding: 0 1.3rem 1.2rem; color: var(--ink-600); }
.acc__panel-inner p { font-size: var(--fs-base); }

/* ---------- CTA band ---------- */
.ctaband { background:
   radial-gradient(800px 400px at 15% 120%, rgba(242,107,33,.22), transparent 60%),
   linear-gradient(120deg, var(--navy), var(--blue-800)); color:#fff; }
.ctaband__inner { display:grid; gap:1.5rem; align-items:center; }
@media (min-width:780px){ .ctaband__inner { grid-template-columns: 1.4fr auto; } }
.ctaband h2 { color:#fff; }
.ctaband p { color:#C5D6E4; }
.ctaband__actions { display:flex; flex-wrap:wrap; gap:.8rem; }

/* ---------- Forms ---------- */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.4rem,3vw,2.2rem); }
.field { margin-bottom: 1.1rem; }
.field label { display:block; font-family:var(--font-head); font-weight:600; font-size:.92rem; color:var(--navy); margin-bottom:.4rem; }
.field .req { color: var(--copper-700); }
.field input, .field select, .field textarea {
  width:100%; padding:.8rem .9rem; font:inherit; color:var(--ink);
  border:1.5px solid var(--line); border-radius: var(--radius-sm); background:#fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(30,136,199,.16); }
.field textarea { min-height: 120px; resize: vertical; }
.field--error input, .field--error select, .field--error textarea { border-color:#C92A2A; }
.field__err { display:none; color:#C92A2A; font-size:.82rem; margin-top:.35rem; }
.field--error .field__err { display:block; }
.form-row { display:grid; gap:1.1rem; }
@media (min-width:560px){ .form-row { grid-template-columns: 1fr 1fr; } }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-note { font-size:.82rem; color:var(--ink-400); display:flex; gap:.45rem; align-items:flex-start; margin-top:.6rem; }
.form-note svg { width:1.05em; flex:none; color:var(--blue-500); margin-top:.15rem; }
.form-success { background:#E9F8F1; border:1px solid #9FE0C4; color:#0B6B47; padding:1rem 1.1rem; border-radius:var(--radius-sm); font-weight:600; display:none; }
.form-success.show { display:block; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: var(--fs-sm); color: var(--ink-400); padding-top: 1.2rem; }
.crumbs ol { list-style:none; display:flex; flex-wrap:wrap; gap:.4rem; padding:0; margin:0; }
.crumbs li::after { content:"\203A"; margin-left:.4rem; color:var(--line); }
.crumbs li:last-child::after { content:""; }
.crumbs a { color: var(--ink-600); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background:
   radial-gradient(900px 400px at 90% -20%, rgba(30,136,199,.16), transparent 60%),
   linear-gradient(180deg, var(--blue-50), #fff); }
.page-hero__inner { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2rem,5vw,3.5rem); display:grid; gap:2rem; align-items:center; }
@media (min-width:880px){ .page-hero--split .page-hero__inner { grid-template-columns: 1.1fr .9fr; } }
.page-hero h1 { margin-bottom: .8rem; }

/* ---------- Symptom list ---------- */
.symptoms { display:grid; gap:.8rem; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); list-style:none; padding:0; }
.symptoms li { display:flex; gap:.7rem; background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); padding:.9rem 1.1rem; box-shadow: var(--shadow-sm); }
.symptoms svg { width:22px; flex:none; color: var(--copper); }
.checklist { list-style:none; padding:0; display:grid; gap:.7rem; }
.checklist li { display:flex; gap:.6rem; align-items:flex-start; }
.checklist svg { width:22px; flex:none; color: var(--success); margin-top:.1rem; }

/* ---------- Related links ---------- */
.related { display:grid; gap:1rem; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); }
.related a { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:1.1rem 1.2rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; font-family:var(--font-head); font-weight:600; color:var(--navy); box-shadow:var(--shadow-sm); transition: transform .2s, border-color .2s; }
.related a:hover { transform: translateY(-3px); border-color: var(--blue-500); text-decoration:none; }
.related svg { width:1.1em; color: var(--copper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color:#AEC2D4; padding-block: clamp(2.5rem,5vw,4rem) 1.5rem; }
.footer__grid { display:grid; gap:2rem; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
.footer__grid h4 { color:#fff; font-size:1rem; margin-bottom: .9rem; }
.site-footer a { color:#AEC2D4; }
.site-footer a:hover { color:#fff; }
.footer__list { list-style:none; padding:0; display:grid; gap:.5rem; font-size:var(--fs-sm); }
.footer__brand .brand { color:#fff; }
.footer__brand .brand small { color:#7E96AC; }
.footer__brand p { font-size: var(--fs-sm); color:#90A6BA; margin-top:.8rem; }
.footer__nap { font-style: normal; font-size: var(--fs-sm); line-height:1.7; }
.footer__nap a { font-weight:600; color:#fff; }
.footer__badges { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:1rem; }
.lic-badge { border:1px solid #2C4A66; border-radius:8px; padding:.4rem .7rem; font-size:.76rem; color:#CFE0EF; }
.footer__bottom { border-top:1px solid #1E3A57; margin-top:2.2rem; padding-top:1.3rem; display:flex; flex-wrap:wrap; gap:.6rem 1.2rem; justify-content:space-between; font-size:.82rem; color:#7E96AC; }
.footer__bottom a { color:#7E96AC; }

/* ---------- Mobile sticky action bar ---------- */
.mobilebar {
  position: fixed; left:0; right:0; bottom:0; z-index: 90; display:none;
  grid-template-columns: 1fr 1fr 1fr; gap:1px; background: var(--line);
  box-shadow: 0 -6px 20px -8px rgba(10,37,64,.25);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobilebar a { background:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.18rem;
  padding:.6rem .3rem; font-family:var(--font-head); font-weight:600; font-size:.74rem; color:var(--navy); min-height:58px; }
.mobilebar a:hover { text-decoration:none; }
.mobilebar a svg { width:20px; height:20px; }
.mobilebar a.call { background: var(--copper); color:#fff; }
.mobilebar a.text { background: var(--navy); color:#fff; }
@media (max-width: 940px) { .mobilebar { display:grid; } body { padding-bottom: 64px; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity:0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.reveal.is-visible { opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:.08s; }
.reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration:.001ms !important; transition-duration:.001ms !important; }
  .reveal { opacity:1 !important; transform:none !important; }
}

/* ---------- Real photos ---------- */
.hero__card img { display:block; width:100%; height:auto; }
.portrait-img { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow); display:block; border:1px solid var(--line); }
.shot { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.shot__cap { padding:.9rem 1.1rem; font-size:var(--fs-sm); color:var(--ink-600); }
.shot__cap strong { color:var(--navy); font-family:var(--font-head); display:block; }
.banner-photo { width:100%; border-radius:var(--radius-lg); box-shadow:var(--shadow); display:block; aspect-ratio:16/5; object-fit:cover; border:1px solid var(--line); }
.contact-headshot { width:100%; max-width:320px; border-radius:var(--radius); box-shadow:var(--shadow-sm); display:block; margin-bottom:1.2rem; }

/* ---------- Utility ---------- */
.prose p { margin-bottom: 1rem; }
.prose h2 { margin: 2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .5rem; font-size: var(--fs-md); }
.prose ul { margin-bottom: 1rem; }
.prose li { margin-bottom: .35rem; }
.tag { display:inline-block; background:var(--blue-50); color:var(--blue-800); font-weight:600; font-size:.78rem; padding:.25rem .6rem; border-radius:6px; }
.muted { color: var(--ink-400); }
.nowrap { white-space: nowrap; }

/* ---------- Mobile: horizontal scroll for services + reviews (<=640px only) ---------- */
@media (max-width: 640px) {
  .cards,
  .reviews {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: .9rem;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--gutter) * -1);
    padding: .5rem var(--gutter) 1.1rem;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .cards { grid-auto-columns: min(80%, 290px); }
  .reviews { grid-auto-columns: min(86%, 320px); }
  .cards > *,
  .reviews > * { scroll-snap-align: start; }
  .cards::-webkit-scrollbar,
  .reviews::-webkit-scrollbar { height: 6px; }
  .cards::-webkit-scrollbar-thumb,
  .reviews::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
  /* keep the heading-to-scroller gap tidy */
  .cards.mt-3 { margin-top: 1.4rem; }
  .reviews.mt-3 { margin-top: 1.4rem; }
}

/* ---------- Mobile: lift hero imagery above the copy so the first screen isn't all text ---------- */
@media (max-width: 879px) {
  /* Home hero — photo first, then the headline + text */
  .hero__media { order: -1; margin-bottom: .25rem; }
  .hero__float {
    position: absolute;
    left: 12px;
    bottom: 12px;
    margin: 0;
    max-width: calc(100% - 24px);
  }
  /* About hero (split layout) — portrait above the copy */
  .page-hero--split .page-hero__inner > .reveal:has(.portrait-img) { order: -1; }
}
