/* Layout concept: a clinic "front desk" — a deep canyon-navy band up top with a live
   "today at our clinics" panel, then calm, left-aligned content sections on a cool paper ground. */
:root {
  --paper: #fbfcfd;      /* page ground, faint blue bias */
  --sky: #eef3f8;        /* alternate band */
  --ink: #141f36;        /* body text */
  --muted: #4f5f75;      /* secondary text */
  --line: #d6dfe9;       /* hairlines */
  --navy: #1e3a6b;       /* link / accent navy */
  --band: #15213d;       /* brand navy from the logo: header and hero band */
  --band-deep: #0e172c;
  --on-band: #ffffff;
  --on-band-muted: #c3cde0;
  --sun: #f2b53f;        /* call-to-action: Arizona afternoon light */
  --sun-ink: #1d1503;
  --sage: #4f7a5f;       /* saguaro green: open-now state */
  --clay: #b5523b;       /* closed state */
  --card: #ffffff;
  --focus: #f2b53f;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --s-1: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
  --s-2: clamp(1.75rem, 1.4rem + 1.5vw, 2.4rem);
  --s-3: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  --s-4: 1.125rem;
  --radius: 10px;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1625; --sky: #102136; --ink: #e6edf6; --muted: #a3b3c7; --line: #22364f;
    --navy: #9cc1ea; --band: #121c34; --band-deep: #0b1324; --on-band: #ffffff; --on-band-muted: #b5c7de;
    --sage: #7fb08f; --clay: #e08a74; --card: #12253c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b1625; --sky: #102136; --ink: #e6edf6; --muted: #a3b3c7; --line: #22364f;
  --navy: #9cc1ea; --band: #121c34; --band-deep: #0b1324; --on-band: #ffffff; --on-band-muted: #b5c7de;
  --sage: #7fb08f; --clay: #e08a74; --card: #12253c; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: 85%; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--s-1); font-weight: 750; }
h2 { font-size: var(--s-2); font-weight: 700; }
h3 { font-size: var(--s-3); font-weight: 650; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.prose { max-width: 68ch; display: grid; gap: 1rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .35rem; }
.eyebrow { font-family: var(--f-display); font-stretch: 100%; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 650; color: var(--muted); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--sun); color: var(--sun-ink); padding: .6rem 1rem; z-index: 100; border-radius: 6px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-display); font-stretch: 95%; font-weight: 650; font-size: 1.02rem; padding: .78rem 1.2rem; border-radius: 8px; text-decoration: none; border: 2px solid transparent; line-height: 1.1; cursor: pointer; }
.btn-sun { background: var(--sun); color: var(--sun-ink); }
.btn-sun:hover { background: #f6c25e; }
.btn-ghost { border-color: currentColor; color: var(--on-band); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-line:hover { border-color: var(--navy); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Utility bar + header ---------- */
.utility { background: var(--band-deep); color: var(--on-band-muted); font-size: .9rem; }
.utility .wrap { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: space-between; padding-block: .45rem; }
.utility a { color: var(--on-band); text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility .phones { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.utility .phones span { white-space: nowrap; }
.utility .links { display: flex; gap: 1.25rem; }

.site-header { background: var(--band); color: var(--on-band); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--on-band); text-decoration: none; min-width: 0; }
.brand img { display: block; height: 62px; width: auto; }
.brand-foot img { height: 104px; }
@media (max-width: 560px) { .brand img { height: 50px; } }
.brand-name { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; text-transform: uppercase; line-height: .98; font-size: 1.12rem; letter-spacing: .02em; }
.brand-name small { display: block; font-size: .78em; font-weight: 600; letter-spacing: .06em; color: var(--on-band-muted); }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--on-band); text-decoration: none; font-family: var(--f-display); font-stretch: 90%; font-weight: 600; padding: .5rem .7rem; border-radius: 6px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.1); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sun); border-radius: 6px 6px 0 0; }
.nav .btn { margin-left: .5rem; }
.menu { display: none; }
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-display); font-weight: 650; padding: .55rem .85rem; border: 2px solid rgba(255,255,255,.35); border-radius: 8px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: rgba(255,255,255,.1); }
  .menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); background: var(--card); color: var(--ink); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(6, 20, 40, .28); padding: .5rem; display: grid; }
  .menu-panel a { color: var(--ink); text-decoration: none; padding: .7rem .85rem; border-radius: 6px; font-weight: 600; }
  .menu-panel a:hover { background: var(--sky); }
  .menu-panel .btn { margin-top: .4rem; justify-content: center; }
}
@media (max-width: 560px) { .utility .links { display: none; } .brand-name { font-size: 1rem; } }

/* ---------- Hero ---------- */
.hero { background: var(--band); color: var(--on-band); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(7rem, 13vw, 10rem); }
.hero h1 { color: var(--on-band); max-width: 15ch; }
.hero .lede { color: var(--on-band-muted); margin-top: 1.1rem; }
.hero .eyebrow { color: var(--sun); margin-bottom: 1rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-note { margin-top: 1.25rem; font-size: .95rem; color: var(--on-band-muted); }
.hero-note a { color: var(--on-band); }
.landscape { position: absolute; inset: auto 0 0 0; width: 100%; height: clamp(110px, 16vw, 210px); z-index: 0; pointer-events: none; }
.page-hero { background: var(--band); color: var(--on-band); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(4.5rem, 9vw, 6.5rem); display: grid; gap: .9rem; }
.page-hero h1 { color: var(--on-band); font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.3rem); max-width: 22ch; }
.page-hero .lede { color: var(--on-band-muted); }
.page-hero .landscape { height: clamp(60px, 9vw, 110px); opacity: .9; }
.crumbs { font-size: .9rem; color: var(--on-band-muted); }
.crumbs a { color: var(--on-band-muted); }

/* Today panel */
.today { background: var(--card); color: var(--ink); border-radius: 14px; padding: 1.25rem 1.25rem .5rem; box-shadow: 0 24px 50px rgba(3, 14, 30, .35); }
.today-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.today-head h2 { font-size: 1.2rem; }
.today-head .az { font-size: .82rem; color: var(--muted); }
.clinic-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding-block: .9rem; border-bottom: 1px solid var(--line); }
.clinic-row:last-child { border-bottom: 0; }
.clinic-row h3 { font-size: 1.1rem; }
.clinic-row h3 a { color: var(--ink); text-decoration: none; }
.clinic-row h3 a:hover { text-decoration: underline; }
.clinic-row .addr { font-size: .92rem; color: var(--muted); grid-column: 1; }
.clinic-row .tel { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; text-decoration: none; }
.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; grid-column: 1; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.open { color: var(--sage); } .status.open::before { background: var(--sage); }
.status.closed { color: var(--clay); } .status.closed::before { background: var(--clay); }
.status.soon { color: var(--muted); }

/* ---------- Sections ---------- */
section.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
section.band.alt { background: var(--sky); }
.section-head { display: grid; gap: .6rem; margin-bottom: 2rem; max-width: 64ch; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.quick { margin-top: calc(-1 * clamp(3rem, 6vw, 4.5rem)); position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(10, 30, 60, .10); overflow: hidden; }
.quick-grid a { display: grid; gap: .3rem; padding: 1.3rem 1.3rem 1.2rem; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); }
.quick-grid a:last-child { border-right: 0; }
.quick-grid a:hover { background: var(--sky); }
.quick-grid svg { width: 28px; height: 28px; color: var(--navy); margin-bottom: .3rem; }
.quick-grid strong { font-family: var(--f-display); font-stretch: 90%; font-size: 1.15rem; }
.quick-grid span { font-size: .93rem; color: var(--muted); }
@media (max-width: 820px) { .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quick-grid a:nth-child(2) { border-right: 0; } .quick-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split.wide-left { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }

.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.service-list > div { padding: 1.4rem 1.4rem 1.5rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.service-list > div:not(:nth-child(3n+1)) { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.service-list h3 { font-size: 1.25rem; }
.service-list p, .service-list li { color: var(--muted); font-size: .98rem; }
.service-list ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .2rem; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.stats div { border-top: 3px solid var(--navy); padding-top: .8rem; }
.stats strong { display: block; font-family: var(--f-display); font-stretch: 80%; font-size: 2.3rem; font-weight: 750; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats span { font-size: .95rem; color: var(--muted); }

.callout { background: var(--band); color: var(--on-band); border-radius: 16px; padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 1.5rem; align-items: center; }
.callout h2 { color: var(--on-band); }
.callout p { color: var(--on-band-muted); margin-top: .6rem; max-width: 58ch; }

/* Location cards */
.loc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.loc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .8rem; align-content: start; }
.loc h3 a { color: var(--ink); text-decoration: none; }
.loc h3 a:hover { text-decoration: underline; }
.loc .meta { display: grid; gap: .2rem; color: var(--muted); font-size: .97rem; }
.loc .meta a { font-weight: 600; }
.loc .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
.loc .actions .btn { font-size: .92rem; padding: .55rem .85rem; }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .97rem; }
.hours th, .hours td { text-align: left; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; width: 45%; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--navy); font-weight: 700; }

/* Providers */
.provider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.provider { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; }
.avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--sky); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--f-display); font-stretch: 80%; font-weight: 700; font-size: 1.6rem; color: var(--navy); }
.provider h3 { font-size: 1.3rem; }
.provider .role { font-size: .95rem; color: var(--muted); font-weight: 600; margin-top: .2rem; }
.provider p { margin-top: .6rem; font-size: .98rem; }

/* Team row */
.team-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.team { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: .9rem; align-items: center; padding: .9rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.team:hover { border-color: var(--navy); }
.team .avatar { width: 56px; height: 56px; font-size: 1.2rem; }
.team strong { display: block; font-family: var(--f-display); font-stretch: 90%; font-size: 1.05rem; }
.team span span { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .team-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .team-row { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: .6rem; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-family: var(--f-display); font-stretch: 92%; font-weight: 650; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--navy); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.2rem 1.1rem; color: var(--muted); display: grid; gap: .6rem; }

/* Sliding fee */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; display: grid; gap: 1rem; }
.calc .fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.calc label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.calc select, .calc input { font: inherit; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%; }
.calc-result { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .35rem; }
.calc-result .tier { font-family: var(--f-display); font-stretch: 85%; font-size: 1.5rem; font-weight: 700; }
.calc-result .fee { font-size: 1rem; color: var(--muted); }
.calc-result .fee strong { color: var(--ink); }
.calc small { color: var(--muted); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.fee-table { border-collapse: collapse; width: 100%; min-width: 640px; font-variant-numeric: tabular-nums; font-size: .95rem; }
.fee-table th, .fee-table td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.fee-table thead th { background: var(--sky); font-family: var(--f-display); font-stretch: 90%; font-weight: 650; }
.fee-table tbody th { font-weight: 600; }
.fee-table tr:last-child td, .fee-table tr:last-child th { border-bottom: 0; }

.steps { counter-reset: step; display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .8rem; align-items: start; }
.steps li::before { content: counter(step); width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); color: var(--paper); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; }

.notice { border-left: 4px solid var(--sun); background: var(--sky); padding: 1rem 1.2rem; border-radius: 0 8px 8px 0; }

/* Footer */
.site-footer { background: var(--band-deep); color: var(--on-band-muted); padding-block: 3.5rem 2rem; font-size: .96rem; margin-top: 0; }
.site-footer a { color: var(--on-band); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot-grid h2 { font-size: 1rem; color: var(--on-band); text-transform: uppercase; letter-spacing: .1em; font-stretch: 100%; margin-bottom: .8rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot-brand { display: grid; gap: .9rem; align-content: start; }
.foot-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: .6rem; font-size: .88rem; }
.emergency { color: var(--on-band); font-weight: 600; }

@media (max-width: 900px) {
  .hero .wrap, .split, .split.wide-left { grid-template-columns: minmax(0, 1fr); }
  .loc-grid { grid-template-columns: minmax(0, 1fr); }
  .service-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .service-list > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .service-list > div:nth-child(2n) { padding-left: 1.4rem; border-left: 1px solid var(--line); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .callout { grid-template-columns: minmax(0, 1fr); }
  .provider-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .service-list { grid-template-columns: minmax(0, 1fr); }
  .service-list > div:nth-child(2n) { padding-left: 0; border-left: 0; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .calc .fields { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .provider { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .quick-grid a, .nav a { transition: background-color .15s ease, border-color .15s ease; }
}

/* =====================================================================
   v2 — warmer, friendlier, bolder. Sunset light over the high desert,
   sand and sage accents beside the brand navy, rounder cards.
   ===================================================================== */
:root {
  --sand: #f6efe4; --sand-ink: #7a4f1d; --sage-soft: #e5efe7; --sunset: #e8894a;
  --radius: 16px;
  --s-1: clamp(2.6rem, 1.4rem + 4.6vw, 4.9rem);
  --s-2: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --shadow: 0 1px 2px rgba(20, 31, 54, .05), 0 10px 28px rgba(20, 31, 54, .07);
  --shadow-lift: 0 2px 4px rgba(20, 31, 54, .06), 0 18px 40px rgba(20, 31, 54, .12);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --sand: #1c1a17; --sand-ink: #eac79b; --sage-soft: #15241b; --shadow: 0 0 0 1px rgba(255,255,255,.02); --shadow-lift: 0 0 0 1px rgba(255,255,255,.06); }
}
:root[data-theme="dark"] { --sand: #1c1a17; --sand-ink: #eac79b; --sage-soft: #15241b; --shadow: 0 0 0 1px rgba(255,255,255,.02); --shadow-lift: 0 0 0 1px rgba(255,255,255,.06); }

h1 { font-weight: 800; letter-spacing: -.025em; }
h2 { font-weight: 750; letter-spacing: -.018em; }
section.band { padding-block: clamp(4rem, 9vw, 7rem); }
section.band.alt { background: var(--sand); }
.section-head { margin-bottom: 2.5rem; }
.section-head .eyebrow::before, .hero .eyebrow::before { content: ""; display: inline-block; width: 24px; height: 3px; border-radius: 2px; background: var(--sunset); vertical-align: middle; margin-right: .6rem; }
.btn { border-radius: 10px; padding: .85rem 1.3rem; }
@media (prefers-reduced-motion: no-preference) {
  .btn-sun, .svc, .team, .loc, .provider { transition: transform .2s ease, box-shadow .2s ease, background-color .15s ease, border-color .15s ease; }
  .btn-sun:hover, .svc:hover, .team:hover { transform: translateY(-2px); }
}

/* Photo heroes: real local landscape under sunset light */
.has-photo { isolation: isolate; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 40%; z-index: -2; filter: saturate(1.1) sepia(.2) brightness(1); }
.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(90% 80% at 88% 4%, rgba(245, 150, 70, .62), rgba(245, 150, 70, 0) 58%),
  linear-gradient(90deg, rgba(21, 33, 61, .96) 0%, rgba(21, 33, 61, .84) 38%, rgba(21, 33, 61, .38) 70%, rgba(21, 33, 61, .12) 100%),
  linear-gradient(180deg, rgba(21, 33, 61, .15) 40%, rgba(14, 23, 44, .7) 100%); }
.page-hero.has-photo::before { background:
  radial-gradient(70% 120% at 92% 0%, rgba(245, 150, 70, .5), rgba(245, 150, 70, 0) 60%),
  linear-gradient(90deg, rgba(21, 33, 61, .96) 0%, rgba(21, 33, 61, .8) 55%, rgba(21, 33, 61, .55) 100%); }
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: 1.22rem; color: #dbe3ef; }
.today { border-radius: 18px; }
@media (max-width: 900px) {
  .has-photo::before { background:
    radial-gradient(90% 60% at 90% 0%, rgba(245, 150, 70, .5), rgba(245, 150, 70, 0) 60%),
    linear-gradient(180deg, rgba(21, 33, 61, .9), rgba(21, 33, 61, .94)); }
}

/* Quick tasks */
.quick-grid { border-radius: 18px; box-shadow: var(--shadow-lift); }
.quick-grid svg { width: 26px; height: 26px; padding: 9px; box-sizing: content-box; border-radius: 12px; background: var(--sky); }

/* Service cards with icon chips */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.7rem; display: grid; gap: .65rem; align-content: start; box-shadow: var(--shadow); }
.svc:hover { box-shadow: var(--shadow-lift); }
.svc .chip { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--sand-ink); margin-bottom: .35rem; }
.svc:nth-child(3n+2) .chip { background: var(--sage-soft); color: var(--sage); }
.svc:nth-child(3n) .chip { background: var(--sky); color: var(--navy); }
.svc .chip svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.3rem; }
.svc p { color: var(--muted); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* Softer cards everywhere */
.loc, .provider, .team, .calc, .faq details, .table-scroll { border-radius: var(--radius); box-shadow: var(--shadow); }
.service-list { border-top: 0; gap: 1.25rem; }
.service-list > div, .service-list > div:not(:nth-child(3n+1)), .service-list > div:nth-child(2n) { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.stats div { border-top-color: var(--sunset); }
.callout { border-radius: 22px; background: radial-gradient(80% 140% at 100% 0%, rgba(245, 150, 70, .4), rgba(245, 150, 70, 0) 60%), var(--band); }

/* Provider photos */
img.avatar { object-fit: cover; padding: 0; display: block; }
.avatar { background: linear-gradient(140deg, var(--sky), var(--sand)); }
.avatar-lg { width: 112px; height: 112px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--f-display); font-stretch: 80%; font-weight: 700; font-size: 2rem; color: var(--navy); background: linear-gradient(140deg, var(--sky), var(--sand)); }
img.avatar-lg { object-fit: cover; display: block; }
.provider { grid-template-columns: 112px minmax(0, 1fr); gap: 1.4rem; padding: 1.6rem; }
.team { grid-template-columns: 64px minmax(0, 1fr); }
.team .avatar { width: 64px; height: 64px; }

/* About photo + footer membership */
.about-side { display: grid; gap: 1.75rem; align-content: start; }
.photo-card { margin: 0; }
.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow-lift); }
.member { display: grid; gap: .5rem; justify-items: start; margin-top: .4rem; font-size: .85rem; }
.member img { width: 168px; height: auto; background: #fff; padding: .45rem .65rem; border-radius: 10px; }

.status.later { color: var(--navy); } .status.later::before { background: var(--navy); opacity: .55; }
@media (max-width: 560px) {
  .clinic-row { grid-template-columns: minmax(0, 1fr); }
  .clinic-row .tel { grid-column: 1; grid-row: auto; order: 4; }
}

/* Homepage announcement */
.announce { margin-top: 1.75rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem 1.25rem; align-items: center; background: var(--sage-soft); border: 1px solid color-mix(in srgb, var(--sage) 25%, transparent); border-radius: var(--radius); padding: 1rem 1.25rem; }
.announce-label { font-family: var(--f-display); font-stretch: 100%; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; color: #fff; background: var(--sage); padding: .3rem .6rem; border-radius: 999px; white-space: nowrap; }
.announce p { color: var(--ink); }
.announce-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.announce-link:hover { text-decoration: underline; }
.announce-link svg { width: 16px; height: 16px; }
@media (max-width: 700px) { .announce { grid-template-columns: minmax(0, 1fr); justify-items: start; } }

.staff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.staff-link { text-decoration: none; color: var(--ink); }
.staff-link h3 { color: var(--navy); }
@media (max-width: 1000px) { .staff-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .staff-grid { grid-template-columns: minmax(0, 1fr); } }

.prose > h2:not(:first-child) { margin-top: 1.5rem; }
.split .prose > h2 { font-size: var(--s-3); }

/* Careers: apply card overlapping the hero */
.apply-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lift); padding: 1.6rem 1.75rem; display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center; }
.apply-head h2 { font-size: var(--s-3); margin-top: .35rem; }
.apply-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.apply-steps li { counter-increment: step; display: grid; gap: .25rem; padding-left: 3rem; position: relative; }
.apply-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--sun); color: var(--sun-ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 750; }
.apply-steps strong { font-family: var(--f-display); font-stretch: 92%; font-size: 1.08rem; }
.apply-steps span { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
@media (max-width: 900px) { .apply-card { grid-template-columns: minmax(0, 1fr); } .apply-steps { grid-template-columns: minmax(0, 1fr); } }
.apply-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); }
.apply-steps span a { white-space: nowrap; }
@media (max-width: 900px) { .apply-steps { grid-template-columns: minmax(0, 1fr); } }
.apply-steps li { align-content: start; }

/* About: stats over faded clinic photo */
.photo-stats { position: relative; isolation: isolate; overflow: hidden; align-self: stretch; display: flex; align-items: center; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.photo-stats img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; }
.photo-stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 23, 44, .70), rgba(14, 23, 44, .86)); }
.photo-stats .stats { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; margin: 0; width: 100%; }
.photo-stats .stats strong { color: #fff; font-size: 2.8rem; }
.photo-stats .stats span { color: #dbe3f0; }
