/* Riverbend Physical Therapy: large type, calm blue, warm yellow, simple paths for older adults */
:root {
  --blue: #1e5a8a;
  --blue-dark: #153f61;
  --blue-ink: #0f2f4a;
  --ink: #1b2733;
  --muted: #45525f;
  --sky: #eaf3fa;
  --sky-2: #d3e5f3;
  --line: #c9dbe9;
  --yellow: #f4b942;
  --yellow-soft: #fdf1d6;
  --green: #17663f;
  --green-bg: #e2f3e9;
  --red: #9b2f22;
  --red-bg: #fbe9e6;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -14px rgba(15, 47, 74, .28);
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 32px);
  --font: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 100%; scroll-padding-top: 110px; }
html[data-text="large"] { font-size: 112.5%; }
html[data-text="largest"] { font-size: 125%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
address { font-style: normal; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 1.25rem; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 2px; }
a:hover { color: var(--blue-dark); }
p, h1, h2, h3, h4, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; color: var(--blue-ink); text-wrap: balance; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -90px; z-index: 100; background: var(--blue-ink); color: var(--white); padding: 12px 18px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; color: var(--white); }

/* Type */
.h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.25rem, 1.8vw, 1.45rem); color: var(--muted); max-width: 40ch; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 600; color: var(--blue); }
.kicker::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-soft); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 28px; border-radius: var(--radius); border: 2px solid transparent; font: 600 1.15rem/1.1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .15s; }
.btn svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline { background: var(--white); color: var(--blue-ink); border-color: var(--blue); }
.btn-outline:hover { background: var(--sky); color: var(--blue-ink); }
.btn-yellow { background: var(--yellow); color: var(--blue-ink); }
.btn-yellow:hover { background: #e9a925; color: var(--blue-ink); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Top bar */
.topbar { background: var(--blue-ink); color: var(--white); font-size: 1rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 52px; flex-wrap: wrap; padding-block: 6px; }
.topbar a { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar .hours { color: #d6e4f0; }
.textsize { display: inline-flex; align-items: center; gap: 6px; }
.textsize span { color: #d6e4f0; margin-right: 4px; }
.textsize button { min-width: 44px; min-height: 40px; border-radius: 8px; border: 2px solid rgba(255,255,255,.35); background: transparent; color: var(--white); font: 600 1rem var(--font); cursor: pointer; padding: 0 8px; }
.textsize button:nth-of-type(2) { font-size: 1.15rem; }
.textsize button:nth-of-type(3) { font-size: 1.3rem; }
.textsize button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--blue-ink); }
@media (max-width: 760px) { .topbar .hours { display: none; } }


/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px -14px rgba(15,47,74,.4); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue-ink); min-height: 48px; }
.brand:hover { color: var(--blue-ink); }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { display: flex; flex-direction: column; font-weight: 700; font-size: 1.45rem; line-height: 1; letter-spacing: -0.01em; }
.brand-name span { font-weight: 500; font-size: 0.9rem; color: var(--muted); margin-top: 5px; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; font-size: 1.1rem; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: 10px; }
.nav a:not(.btn):hover { background: var(--sky); color: var(--blue-ink); }
.nav a[aria-current="page"]:not(.btn) { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 10px; }
.nav .btn { margin-left: 10px; min-height: 52px; font-size: 1.05rem; padding: 0 20px; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: var(--radius); border: 2px solid var(--blue); background: var(--white); color: var(--blue-ink); font: 600 1.1rem var(--font); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.menu-btn[aria-expanded="true"] { background: var(--sky); }
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; left: 0; right: 0; top: var(--nav-top, 136px); bottom: 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px var(--gutter) 32px; background: var(--white); overflow-y: auto; display: none; border-top: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { min-height: 64px; font-size: 1.3rem; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 6px; }
  .nav a[aria-current="page"]:not(.btn) { text-underline-offset: 8px; }
  .nav .btn { margin: 20px 0 0; min-height: 64px; font-size: 1.2rem; }
}
@media (max-width: 420px) { .brand-name { font-size: 1.25rem; } .brand svg { width: 40px; height: 40px; } .menu-btn { padding: 0 14px; } }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }
.bg-sky { background: var(--sky); }
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.head.center { margin-inline: auto; justify-items: center; }

/* Hero */
.hero { background: var(--sky); padding-block: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(28px, 4.5vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.reassure { display: grid; gap: 12px; margin-top: 4px; }
.reassure li { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 500; }
.reassure li::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317663f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 5 / 4; object-fit: cover; }
.hero-note { position: absolute; left: -24px; bottom: 28px; background: var(--white); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); max-width: 290px; display: flex; gap: 14px; align-items: center; font-size: 1rem; line-height: 1.4; }
.hero-note svg { width: 40px; height: 40px; flex: none; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; background: var(--yellow-soft); border-radius: 12px; padding: 8px; }
.hero-note b { display: block; color: var(--blue-ink); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 16 / 10; object-position: 50% 30%; }
  .hero-note { left: 16px; bottom: 16px; }
}
@media (max-width: 520px) { .hero-note { position: static; margin-top: -40px; margin-inline: 16px; position: relative; } .actions .btn { width: 100%; } }

/* Path cards */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 700px) { .paths { grid-template-columns: 1fr; } }
.path { display: grid; grid-template-columns: 1fr; gap: 10px; align-content: start; padding: 28px; border: 2px solid var(--line); border-radius: var(--radius-lg); background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.path:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.path .icon { width: 64px; height: 64px; margin-bottom: 4px; border-radius: 18px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.path .icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.path h3 { font-size: 1.45rem; }
.path p { color: var(--muted); font-size: 1.1rem; }
.path .go { color: var(--blue); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.path .go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* Steps */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: st; }
@media (max-width: 700px) { .steps3 { grid-template-columns: 1fr; } }
.step { background: var(--white); border-radius: var(--radius-lg); padding: 30px 28px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow); }
.step::before { counter-increment: st; content: counter(st); width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--blue-ink); display: grid; place-items: center; font-weight: 700; font-size: 1.4rem; }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--muted); font-size: 1.12rem; }

/* Location cards */
.locs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 960px) { .locs { grid-template-columns: 1fr; } }
.loc { border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 12px; align-content: start; background: var(--white); }
.loc h3 { font-size: 1.45rem; }
.loc address { font-style: normal; font-size: 1.12rem; }
.loc .phone { font-weight: 600; font-size: 1.2rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.loc .phone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.status { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 38px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 1rem; background: var(--sky); color: var(--blue-ink); }
.status::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.status.open { background: var(--green-bg); color: var(--green); }
.status.closed { background: var(--red-bg); color: var(--red); }
.loc .meta { display: grid; gap: 6px; font-size: 1.05rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.loc .meta li { display: flex; gap: 10px; align-items: flex-start; }
.loc .meta svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Insurance strip */
.strip { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--yellow-soft); border: 2px solid #f1d58f; border-radius: var(--radius-lg); padding: 28px 32px; }
.strip svg.big { width: 56px; height: 56px; color: var(--blue-ink); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.strip h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.strip p { color: var(--ink); margin-top: 4px; font-size: 1.12rem; }
@media (max-width: 820px) { .strip { grid-template-columns: 1fr; text-align: left; } }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--white); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.quote blockquote { font-size: 1.35rem; line-height: 1.5; color: var(--blue-ink); font-weight: 500; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--yellow); font-weight: 700; margin-bottom: 8px; }
.quote cite { font-style: normal; color: var(--muted); font-size: 1.05rem; }
.quote cite b { color: var(--ink); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } }
.therapist { display: grid; gap: 14px; align-content: start; }
.therapist img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; background: var(--sky); }
.therapist h3 { font-size: 1.4rem; }
.therapist .cred { color: var(--blue); font-weight: 600; font-size: 1.05rem; }
.therapist p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 600px) { .therapist { grid-template-columns: 120px 1fr; gap: 6px 18px; } .therapist img { grid-row: span 3; aspect-ratio: 1; } }

/* CTA */
.cta { background: var(--blue); color: var(--white); }
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; padding-block: clamp(52px, 7vw, 88px); }
.cta h2 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.cta p { color: #e4eef7; font-size: 1.25rem; margin-top: 10px; max-width: 46ch; }
.cta .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.cta .btn-outline:hover { background: rgba(255,255,255,.1); color: var(--white); }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* Page hero */
.page-hero { background: var(--sky); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: clamp(44px, 6vw, 80px); display: grid; gap: 16px; }
.page-hero .lead { max-width: 52ch; }
.crumbs { font-size: 1.05rem; color: var(--muted); }
.crumbs a { font-weight: 500; }

/* Conditions finder */
.finder { display: grid; gap: 20px; margin-bottom: 32px; }
.search { position: relative; max-width: 640px; }
.search label { display: block; font-weight: 600; font-size: 1.2rem; margin-bottom: 10px; color: var(--blue-ink); }
.search input { width: 100%; min-height: 64px; padding: 0 20px 0 60px; border: 2px solid var(--blue); border-radius: 14px; font: 500 1.25rem var(--font); color: var(--ink); background: var(--white); }
.search input::placeholder { color: #66727e; }
.search input:focus { outline: 3px solid var(--yellow); outline-offset: 2px; }
.search svg { position: absolute; left: 20px; bottom: 20px; width: 26px; height: 26px; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 52px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink); font: 600 1.1rem var(--font); cursor: pointer; }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.count { font-size: 1.1rem; color: var(--muted); }
.cond-groups { display: grid; gap: 40px; }
.cond-group[hidden] { display: none; }
.cond-group h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.cond-group h2 svg { width: 40px; height: 40px; padding: 7px; border-radius: 12px; background: var(--sky); color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cond-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .cond-list { grid-template-columns: 1fr; } }
.cond { border: 2px solid var(--line); border-radius: 16px; padding: 20px 22px; background: var(--white); }
.cond[hidden] { display: none; }
.cond h3 { font-size: 1.3rem; margin-bottom: 6px; }
.cond p { color: var(--muted); font-size: 1.1rem; }
.empty { border: 2px dashed var(--blue); border-radius: var(--radius-lg); padding: 28px; background: var(--sky); font-size: 1.2rem; }
.empty[hidden] { display: none; }

/* First visit timeline */
.timeline { display: grid; gap: 0; max-width: 860px; }
.timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 34px; }
.timeline li::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 3px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 56px; height: 56px; border-radius: 50%; background: var(--sky); border: 3px solid var(--blue); color: var(--blue-ink); display: grid; place-items: center; font-weight: 700; font-size: 1.4rem; }
.timeline .when { font-size: 1rem; font-weight: 600; color: var(--blue); margin-top: 2px; }
.timeline h3 { font-size: 1.4rem; margin: 2px 0 6px; }
.timeline p { color: var(--muted); }
.bring { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .bring { grid-template-columns: 1fr; } }
.bring li { display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: 16px; padding: 18px 20px; font-size: 1.2rem; font-weight: 500; box-shadow: 0 1px 0 var(--line); border: 2px solid var(--line); }
.bring svg { width: 34px; height: 34px; flex: none; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 900px; }
.faq details { border: 2px solid var(--line); border-radius: 16px; background: var(--white); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 14px 22px; font-weight: 600; font-size: 1.25rem; color: var(--blue-ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 1.6rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; background: var(--blue); color: var(--white); }
.faq details p { padding: 0 22px 22px; color: var(--ink); max-width: 68ch; }

/* Map + full location cards */
.map-card { background: var(--sky); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 28px); margin-bottom: 36px; }
.map-card svg { width: 100%; height: auto; }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 12px; font-size: 1.05rem; color: var(--muted); }
.loc-full { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "info hours" "act act"; gap: 24px 40px; border: 2px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); background: var(--white); }
.loc-full + .loc-full { margin-top: 24px; }
.loc-full h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.loc-full .info { display: grid; gap: 14px; align-content: start; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 1.12rem; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 500; color: var(--muted); }
.hours-table td { text-align: right; font-weight: 600; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--blue-ink); font-weight: 700; }

@media (max-width: 860px) { .loc-full { grid-template-columns: 1fr; } }

/* Insurance */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 2px solid var(--line); border-radius: 18px; padding: 24px; background: var(--white); display: grid; gap: 8px; align-content: start; }
.plan svg { width: 40px; height: 40px; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan h3 { font-size: 1.3rem; }
.plan p { color: var(--muted); font-size: 1.08rem; }
.terms { display: grid; gap: 16px; }
.term { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 18px 0; border-bottom: 2px solid var(--line); }
.term dt { font-weight: 700; color: var(--blue-ink); font-size: 1.25rem; }
.term dd { color: var(--ink); }
@media (max-width: 620px) { .term { grid-template-columns: 1fr; gap: 4px; } }
.note { display: flex; gap: 16px; align-items: flex-start; background: var(--yellow-soft); border-radius: 16px; padding: 20px 22px; font-size: 1.12rem; }
.note svg { width: 30px; height: 30px; flex: none; color: var(--blue-ink); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.price-card { display: grid; gap: 12px; background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.price-card dl { display: grid; }
.price-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
.price-card dd { font-weight: 700; color: var(--blue-ink); }

/* Appointment form */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.card-form { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); display: grid; gap: 26px; }
.field { display: grid; gap: 10px; }
.field > label, .field legend { font-weight: 600; font-size: 1.2rem; color: var(--blue-ink); padding: 0; }
.field .hint { color: var(--muted); font-size: 1.02rem; margin-top: -4px; }
.field input[type="text"], .field input[type="tel"], .field select { width: 100%; min-height: 62px; padding: 0 18px; border: 2px solid #7f95a8; border-radius: 12px; font: 500 1.2rem var(--font); color: var(--ink); background: var(--white); }
.field input:focus, .field select:focus { outline: 3px solid var(--yellow); outline-offset: 2px; border-color: var(--blue); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); background: var(--red-bg); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radios { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 12px; }
@media (max-width: 620px) { .radios { grid-template-columns: 1fr; } }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio .box { display: flex; align-items: center; gap: 14px; min-height: 62px; height: 100%; padding: 12px 18px; border: 2px solid #7f95a8; border-radius: 12px; font-weight: 500; font-size: 1.15rem; }
.radio .box::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #7f95a8; background: var(--white); }
.radio .box small { display: block; color: var(--muted); font-size: 0.98rem; }
.radio input:checked + .box { border-color: var(--blue); background: var(--sky); box-shadow: inset 0 0 0 1px var(--blue); }
.radio input:checked + .box::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px var(--white); }
.radio input:focus-visible + .box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.radios.cols-2 { --cols: 2; }
.error { color: var(--red); font-weight: 600; font-size: 1.08rem; }
.error:empty { display: none; }
.success { display: grid; gap: 16px; background: var(--green-bg); border: 2px solid #9fd3b5; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.success[hidden] { display: none; }
.success h2 { color: var(--green); }
.success svg { width: 56px; height: 56px; color: var(--green); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.aside-card { background: var(--sky); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 12px; }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h2 { font-size: 1.45rem; }
.big-phone { font-size: 1.7rem; font-weight: 700; text-decoration: none; color: var(--blue-ink); display: inline-flex; align-items: center; gap: 10px; min-height: 52px; }
.big-phone svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Footer */
.site-footer { background: var(--blue-ink); color: #dbe6ef; padding-top: clamp(52px, 6vw, 80px); font-size: 1.08rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 48px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand-name span { color: #b9cadb; }
.footer-brand .phone { font-size: 1.5rem; font-weight: 700; text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.footer-h { color: var(--white); font-size: 1.15rem; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer ul a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-demo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid #2e4d68; padding-block: 22px; font-size: 1rem; color: #b9cadb; }
.footer-demo a { margin-right: 22px; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 2px solid var(--line); box-shadow: 0 -8px 20px -16px rgba(15,47,74,.5); }
  .mobile-bar .btn { min-height: 56px; font-size: 1.1rem; padding: 0 14px; }
  body { padding-bottom: 80px; }
  .is-form .mobile-bar { display: none; }
  body.is-form { padding-bottom: 0; }
}

/* Small helpers */
.head.flush { margin: 0; }
.more-link { margin-top: 32px; text-align: center; }
.page-hero.compact .wrap { padding-block: clamp(32px, 4vw, 52px); }
.steps3.stacked { grid-template-columns: 1fr; gap: 14px; margin: 8px 0 4px; }
.steps3.stacked .step { grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px; box-shadow: none; border: 2px solid var(--line); }
.steps3.stacked .step::before { grid-row: span 2; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.12rem; }
.checks svg { width: 26px; height: 26px; flex: none; margin-top: 2px; color: var(--green); fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.more-link a, .loc > a:last-child { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.loc-full .info { grid-area: info; }
.loc-full .loc-hours { grid-area: hours; }
.loc-full .loc-act { grid-area: act; border-top: 1px solid var(--line); padding-top: 20px; }
@media (max-width: 860px) { .loc-full { grid-template-areas: "info" "hours" "act"; } }

/* Pass 2: tablet rows for path and step cards */
@media (min-width: 701px) and (max-width: 960px) {
  .paths, .steps3 { grid-template-columns: 1fr; }
  .path { grid-template-columns: 64px 1fr; column-gap: 20px; }
  .path .icon { grid-row: span 3; margin: 0; }
  .step { grid-template-columns: 52px 1fr; column-gap: 18px; padding: 22px 24px; }
  .step::before { grid-row: span 2; }
}
/* Hours: no wrapping values, today as a pill */
.hours-table td { white-space: nowrap; padding-left: 12px; }
.hours-table tr.today th::after { content: "Today"; display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--yellow-soft); color: var(--blue-ink); font-size: 0.85rem; font-weight: 600; vertical-align: 2px; }
/* Map labels in HTML so they stay readable at every size */
.map { position: relative; }
.map .pin-label { position: absolute; transform: translate(0, -50%); font-weight: 600; font-size: clamp(0.95rem, 1.6vw, 1.25rem); color: var(--blue-ink); white-space: nowrap; background: rgba(246, 250, 253, .85); padding: 0 6px; border-radius: 6px; }
.map .pin-label.left { transform: translate(-100%, -50%); }
.map .river-label { position: absolute; right: 3%; bottom: 4%; font-size: 0.95rem; font-weight: 500; color: var(--blue); }
@media (max-width: 520px) { .map .river-label { display: none; } }
/* Pass 3: larger text sizes keep the header and bars on one line each */
.nav a, .brand-name span { white-space: nowrap; }
@media (min-width: 1041px) {
  html[data-text] .header-row { flex-wrap: wrap; row-gap: 0; padding-block: 6px; }
  html[data-text] .nav { margin-left: 0; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 6px; }
}
@media (max-width: 520px) {
  .topbar > .wrap > a { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .textsize span { display: inline; }
}
.mobile-bar .btn { font-size: 18px; }
