/* ==========================================================================
   Brightside Dental - shared styles for every page
   --------------------------------------------------------------------------
   REBRANDING: change the custom properties in :root below.
   - --ink / --ink-soft   main text colors (keep them dark)
   - --aqua / --aqua-dark  brand accent: buttons, links, icons
   - --sky-* / --mint-*   soft section backgrounds and highlights
   - --font-display / --font-body  heading and body fonts. If you change them,
     also update the Google Fonts <link> in the <head> of every page.
   Keep text/background pairs at 4.5:1 contrast or better.
   ========================================================================== */
:root {
  --ink: #0f3447;
  --ink-soft: #4a6676;
  --aqua: #0a7d97;
  --aqua-dark: #07627a;
  --aqua-bright: #3cc4dd;
  --sky-50: #f4fbfe;
  --sky-100: #e6f5fb;
  --sky-200: #cdeaf5;
  --mint-100: #e3f6ee;
  --mint-200: #c3ecda;
  --mint-600: #217a5b;
  --sun: #ffd98a;
  --white: #ffffff;
  --line: #dbe9ef;
  --error: #b3261e;
  --error-bg: #fdf1f0;

  --font-display: "Quicksand", "Varela Round", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(1rem, 4.5vw, 2.5rem);
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 20px 45px -25px rgba(15, 52, 71, .35);
  --shadow-sm: 0 6px 18px -10px rgba(15, 52, 71, .3);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
svg { display: block; max-width: 100%; }
a { color: var(--aqua-dark); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--aqua-bright); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: .7rem 1.1rem; border-radius: 12px; font-weight: 700; }
.skip-link:focus { top: 1rem; color: var(--white); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.75rem, 8vw, 6.5rem) 0; }
.bg-sky { background: var(--sky-50); }
.kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; padding: .3rem .85rem .3rem .4rem; border-radius: 999px; background: var(--mint-100); color: var(--mint-600); font-weight: 700; font-size: .85rem; }
.kicker::before { content: ""; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%23217a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.lead { font-size: clamp(1.08rem, 2vw, 1.22rem); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .75rem 1.45rem; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.btn svg { width: 1.1rem; height: 1.1rem; }
.btn-primary { background: var(--aqua); color: var(--white); box-shadow: 0 10px 22px -12px rgba(10, 125, 151, .8); }
.btn-primary:hover { background: var(--aqua-dark); color: var(--white); transform: translateY(-1px); }
.btn-soft { background: var(--white); color: var(--ink); border-color: var(--sky-200); }
.btn-soft:hover { border-color: var(--aqua); color: var(--ink); }
.btn-white { background: var(--white); color: var(--aqua-dark); }
.btn-white:hover { background: var(--sky-100); color: var(--ink); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #d7eaf2; font-size: .86rem; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; padding-top: .45rem; padding-bottom: .45rem; text-align: center; }
.topbar a { color: var(--white); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 2.6rem; height: 2.6rem; flex: none; }
.logo-text { font: 700 1.3rem/1 var(--font-display); letter-spacing: -.01em; }
.logo-text span { color: var(--aqua); }
.nav-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem 1rem; border-radius: 999px; border: 2px solid var(--sky-200); background: var(--white); color: var(--ink); font: 700 .95rem var(--font-body); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.1rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .75rem var(--gutter) 1.25rem; }
.site-nav a { display: block; padding: .8rem .9rem; border-radius: 12px; color: var(--ink); font-weight: 700; text-decoration: none; }
.site-nav a:hover { background: var(--sky-100); }
.site-nav a[aria-current="page"] { background: var(--sky-100); color: var(--aqua-dark); }
.site-nav .nav-cta { margin-top: .5rem; background: var(--aqua); color: var(--white); text-align: center; border-radius: 999px; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--aqua-dark); color: var(--white); }
@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; border: 0; box-shadow: none; background: none; }
  .site-nav ul { display: flex; align-items: center; gap: .35rem; padding: 0; }
  .site-nav a { padding: .55rem .95rem; font-size: .97rem; border-radius: 999px; }
  .site-nav .nav-cta { margin: 0 0 0 .6rem; padding: .7rem 1.3rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.75rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); background: linear-gradient(180deg, var(--sky-100) 0%, var(--sky-50) 70%, var(--white) 100%); }
.hero::before { content: ""; position: absolute; width: 34rem; height: 34rem; border-radius: 50%; right: -12rem; top: -14rem; background: radial-gradient(circle, rgba(195, 236, 218, .9), rgba(195, 236, 218, 0) 70%); }
.hero-grid { position: relative; display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.hero h1 { isolation: isolate; }
.hero h1 .hl { color: var(--aqua); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .22em; border-radius: 999px; background: var(--sun); opacity: .75; z-index: -1; }
.hero .lead { max-width: 33rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; font-weight: 600; }
.hero-points svg { width: 1.05rem; height: 1.05rem; color: var(--mint-600); }
.hero-visual { position: relative; width: 100%; max-width: 30rem; margin: 0 auto; }
.blob { aspect-ratio: 1 / 1; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background:
  radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .85), transparent 38%),
  linear-gradient(145deg, var(--sky-200), #a9dfee 45%, var(--mint-200)); position: relative; box-shadow: var(--shadow); }
.blob .smile { position: absolute; left: 22%; right: 22%; top: 26%; color: rgba(255, 255, 255, .9); }
.img-label { position: absolute; left: 50%; bottom: 34%; transform: translateX(-50%); background: rgba(255, 255, 255, .9); color: var(--ink); padding: .45rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.float-card { position: absolute; background: var(--white); border-radius: 18px; box-shadow: var(--shadow); padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; font-size: .88rem; line-height: 1.3; }
.float-card strong { display: block; font-size: .95rem; }
.float-card .ic { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center; background: var(--mint-100); color: var(--mint-600); }
.float-card .ic svg { width: 1.3rem; height: 1.3rem; }
.float-card.one { left: -.25rem; top: 10%; }
.float-card.two { right: -.25rem; bottom: 4%; }
.float-card.two .ic { background: var(--sky-100); color: var(--aqua-dark); }
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .float-card.one { left: -2.5rem; }
  .float-card.two { right: -1.5rem; }
}

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: linear-gradient(180deg, var(--sky-100), var(--sky-50)); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -6rem; bottom: -10rem; width: 24rem; height: 24rem; border-radius: 50%; background: radial-gradient(circle, rgba(195, 236, 218, .8), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 40rem; margin: 0; }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.6rem 1.6rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky-200); }
.card .ic { width: 3.25rem; height: 3.25rem; border-radius: 16px; display: grid; place-items: center; background: var(--sky-100); color: var(--aqua-dark); margin-bottom: 1.1rem; }
.card:nth-child(3n+2) .ic { background: var(--mint-100); color: var(--mint-600); }
.card:nth-child(3n) .ic { background: #fff4dc; color: #8a5a00; }
.card .ic svg { width: 1.7rem; height: 1.7rem; }
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.card a.more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 700; text-decoration: none; }
.card a.more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card a.more svg { width: 1rem; height: 1rem; transition: transform .2s; }
.card:hover a.more svg { transform: translateX(3px); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: step; }
.steps li { position: relative; background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem; border: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; margin-bottom: 1rem; background: var(--aqua); color: var(--white); font: 700 1.15rem var(--font-display); box-shadow: 0 0 0 6px var(--sky-100); }
.steps h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.steps-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li:not(:last-child)::after { content: ""; position: absolute; top: 2.9rem; left: 4.6rem; right: -1.1rem; border-top: 2px dashed var(--sky-200); } }

/* ---------- Insurance band ---------- */
.insurance { background: var(--ink); color: #d7eaf2; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3rem); display: grid; gap: 1.75rem; align-items: center; position: relative; overflow: hidden; }
.insurance::before { content: ""; position: absolute; right: -5rem; top: -5rem; width: 16rem; height: 16rem; border-radius: 50%; border: 30px solid rgba(60, 196, 221, .12); }
.insurance h2 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.insurance p { margin: 0; max-width: 32rem; }
.plans { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; position: relative; }
.plans li { padding: .6rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(255, 255, 255, .35); color: var(--white); font-weight: 600; font-size: .93rem; }
@media (min-width: 900px) { .insurance { grid-template-columns: 1fr 1.1fr; } }

/* ---------- Team ---------- */
.team { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; gap: 1rem; align-items: center; }
@media (min-width: 1000px) { .member { flex-direction: column; align-items: flex-start; } }
.avatar { flex: none; width: 4.25rem; height: 4.25rem; border-radius: 22px; display: grid; place-items: center; font: 700 1.35rem var(--font-display); color: var(--ink); background: linear-gradient(145deg, var(--sky-200), var(--mint-200)); }
.member:nth-child(2) .avatar { background: linear-gradient(145deg, var(--mint-200), #fbe7b5); }
.member:nth-child(3) .avatar { background: linear-gradient(145deg, #fbe7b5, var(--sky-200)); }
.member:nth-child(4) .avatar { background: linear-gradient(145deg, var(--sky-100), var(--sky-200)); }
.member h3 { font-size: 1.1rem; margin: 0 0 .15rem; }
.member p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 1.1rem; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--line); display: flex; flex-direction: column; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.review-tag { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--aqua-dark); background: var(--sky-100); padding: .3rem .65rem; border-radius: 999px; }
.stars { display: flex; gap: .15rem; color: #c98a00; }
.stars svg { width: 1rem; height: 1rem; }
.review blockquote { margin: 0 0 1.25rem; font-size: 1.05rem; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: .65rem; font-size: .92rem; color: var(--ink-soft); }
.review figcaption .dot { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--mint-100); display: grid; place-items: center; font-weight: 700; color: var(--mint-600); font-size: .85rem; }
.review figcaption strong { color: var(--ink); display: block; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Emergency strip ---------- */
.emergency { background: linear-gradient(100deg, #fff4dc, #ffeccc); border-top: 1px solid #f6d999; border-bottom: 1px solid #f6d999; }
.emergency .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.emergency-text { display: flex; gap: 1rem; align-items: center; flex: 1 1 30rem; }
.emergency-text .ic { flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: #8a5a00; }
.emergency-text .ic svg { width: 1.5rem; height: 1.5rem; }
.emergency h2 { font-size: 1.25rem; margin: 0 0 .1rem; }
.emergency p { margin: 0; color: #5a4413; font-size: .95rem; }
.emergency .btn { background: var(--ink); color: var(--white); }
.emergency .btn:hover { background: #082331; color: var(--white); }

/* ---------- Accordion ---------- */
.acc-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.acc-tools p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.link-btn { background: none; border: 0; padding: .4rem .2rem; font: 700 .95rem var(--font-body); color: var(--aqua-dark); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.accordion { display: grid; gap: .75rem; }
.acc-item { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.acc-item.is-open { border-color: var(--sky-200); box-shadow: var(--shadow-sm); }
.acc-item h3, .acc-item h2 { margin: 0; font-size: 1.12rem; }
.acc-trigger { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem; background: none; border: 0; text-align: left; font: 700 1.1rem/1.3 var(--font-display); color: var(--ink); cursor: pointer; border-radius: 20px; }
.acc-trigger:hover { background: var(--sky-50); }
.acc-trigger .ic { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--aqua-dark); }
.acc-trigger .ic svg { width: 1.4rem; height: 1.4rem; }
.acc-trigger .t { flex: 1; min-width: 0; }
.acc-trigger .t small { display: block; font: 500 .9rem/1.4 var(--font-body); color: var(--ink-soft); margin-top: .1rem; }
.acc-trigger .chev { flex: none; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--sky-200); display: grid; place-items: center; transition: transform .25s var(--ease), background-color .2s; }
.acc-trigger .chev svg { width: .9rem; height: .9rem; }
.acc-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); background: var(--aqua); border-color: var(--aqua); color: var(--white); }
.acc-panel { padding: 0 1.25rem 1.4rem; }
.acc-panel[hidden] { display: none; }
.acc-panel-inner { border-top: 1px solid var(--line); padding-top: 1.2rem; display: grid; gap: 1.25rem; }
.acc-panel p { margin: 0; color: var(--ink-soft); }
.acc-panel h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mint-600); margin: 0 0 .5rem; font-family: var(--font-body); }
.expect { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; counter-reset: ex; }
.expect li { display: flex; gap: .7rem; counter-increment: ex; }
.expect li::before { content: counter(ex); flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--mint-100); color: var(--mint-600); font-weight: 700; font-size: .82rem; display: grid; place-items: center; margin-top: .1rem; }
@media (min-width: 760px) { .acc-panel-inner { grid-template-columns: 1fr 1fr; } .acc-panel { padding-left: 5.1rem; } .acc-panel.plain { padding-left: 1.25rem; } .acc-panel.plain .acc-panel-inner { grid-template-columns: 1fr; } }
.svc-layout { display: grid; gap: 2rem; align-items: start; }
.side-card { background: var(--sky-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.side-card h2 { font-size: 1.35rem; }
.side-card ul { padding-left: 1.1rem; margin: 0 0 1.25rem; color: var(--ink-soft); }
.side-card li { margin-bottom: .35rem; }
@media (min-width: 980px) { .svc-layout { grid-template-columns: minmax(0, 1fr) 19rem; } .side-card { position: sticky; top: 6.5rem; } }

/* ---------- New patients ---------- */
.np-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .np-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2rem); }
.panel h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.progress { margin: 0 0 1.25rem; }
.progress-top { display: flex; justify-content: space-between; font-weight: 700; font-size: .92rem; margin-bottom: .45rem; }
.progress-bar { height: .65rem; border-radius: 999px; background: var(--sky-100); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--aqua-bright), var(--mint-600)); transition: width .35s var(--ease); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.check { display: flex; gap: .8rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 16px; border: 1px solid var(--line); cursor: pointer; transition: background-color .2s, border-color .2s; }
.check:hover { border-color: var(--sky-200); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 8px; border: 2px solid #8fb3c2; display: grid; place-items: center; margin-top: .05rem; background: var(--white); transition: background-color .2s, border-color .2s; }
.check .box svg { width: .95rem; height: .95rem; color: var(--white); opacity: 0; }
.check input:checked + .box { background: var(--mint-600); border-color: var(--mint-600); }
.check input:checked + .box svg { opacity: 1; }
.check input:focus-visible + .box { outline: 3px solid var(--aqua-bright); outline-offset: 2px; }
.check:has(input:checked) { background: var(--mint-100); border-color: var(--mint-200); }
.check strong { display: block; }
.check small { color: var(--ink-soft); font-size: .9rem; }
.check-done { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 14px; background: var(--mint-100); color: var(--mint-600); font-weight: 700; }
.check-done:empty { display: none; }

/* ---------- Forms ---------- */
.form-section { scroll-margin-top: 6rem; }
.appt-form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.field > label, .group-label { font-weight: 700; font-size: .95rem; }
.hint { font-size: .87rem; color: var(--ink-soft); margin: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .7rem .9rem; border-radius: 14px; border: 2px solid #c4dbe4; background: var(--white); font: inherit; font-size: 1rem; color: var(--ink); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%230f3447' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right .9rem center / 1rem no-repeat; }
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(60, 196, 221, .25); }
.field [aria-invalid="true"], fieldset.choice-group[aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"] { background-color: var(--error-bg); }
fieldset.choice-group { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.choice-group legend { padding: 0; margin-bottom: .5rem; font-weight: 700; font-size: .95rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .55rem 1rem; border-radius: 999px; border: 2px solid #c4dbe4; background: var(--white); font-weight: 600; font-size: .95rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.pill span::before { content: ""; width: .9rem; height: .9rem; border-radius: 4px; border: 2px solid #8fb3c2; flex: none; }
.pill input[type="radio"] + span::before { border-radius: 50%; }
.pill input:checked + span { background: var(--sky-100); border-color: var(--aqua); color: var(--aqua-dark); }
.pill input:checked + span::before { background: var(--aqua); border-color: var(--aqua); box-shadow: inset 0 0 0 2px var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--aqua-bright); outline-offset: 2px; }
.choice-group[aria-invalid="true"] .pill span { border-color: #e3a29d; }
.error-msg { margin: 0; color: var(--error); font-weight: 700; font-size: .88rem; }
.error-msg:empty { display: none; }
.form-alert { margin: 0; padding: .9rem 1.1rem; border-radius: 14px; background: var(--error-bg); color: var(--error); font-weight: 700; border: 1px solid #f1c7c3; }
.form-alert:empty { display: none; }
.privacy { font-size: .87rem; color: var(--ink-soft); margin: 0; }
.confirm { text-align: center; padding: clamp(1.5rem, 5vw, 2.5rem) 1rem; }
.confirm:focus { outline: none; }
.confirm .ic { width: 4.5rem; height: 4.5rem; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--mint-100); color: var(--mint-600); }
.confirm .ic svg { width: 2.2rem; height: 2.2rem; }
.confirm-list { display: inline-grid; gap: .3rem; text-align: left; margin: .5rem auto 1.5rem; padding: 1rem 1.25rem; border-radius: 16px; background: var(--sky-50); border: 1px solid var(--line); }
.confirm-list p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0b2a3a; color: #c5dbe4; padding: clamp(3rem, 7vw, 4.5rem) 0 1.75rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer .logo { color: var(--white); }
.site-footer .logo-text span { color: var(--aqua-bright); }
.site-footer h2 { font: 700 .95rem var(--font-body); color: var(--white); margin: 0 0 .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #e6f3f8; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-tag { margin: 1rem 0 0; max-width: 20rem; }
.footer-hours { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: 0; }
.footer-hours dt { color: #9fbfcc; }
.footer-hours dd { margin: 0; }
.disclaimer { margin: 1.5rem 0 0; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: .88rem; color: #d3e5ec; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.25rem; font-size: .85rem; color: #a9c6d2; }
.footer-bottom p { margin: 0; }
.built { font-size: .75rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Small helpers ---------- */
.hint.intro { margin-bottom: 1.25rem; }
.confirm h3 { font-size: clamp(1.5rem, 4vw, 1.9rem); }
.panel .accordion .acc-trigger { font-size: 1.02rem; padding: 1rem 1.1rem; }
@media (max-width: 599px) {
  .topbar .promo { display: none; }
  .hero-points li { font-size: .86rem; padding: .35rem .7rem; }
}
