/* Bright Smile Family Dentistry — sample site styles. Calm blues & teals, friendly and trustworthy. */
:root {
  --ink: #12303f;
  --ink-soft: #3f5b6a;
  --muted: #5b7482;
  --teal: #0b7a8a;
  --teal-dark: #075a68;
  --teal-deep: #06384a;
  --blue: #2a6fb0;
  --aqua: #e6f6f8;
  --mint: #e3f5f0;
  --bg: #f6fbfc;
  --card: #ffffff;
  --line: #d3e4ea;
  --warn-bg: #fff4d6;
  --warn-ink: #5a4300;
  --err: #b3261e;
  --err-bg: #fdecea;
  --ok: #1b7a4b;
  --sun: #f2a900;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(6,56,74,.06), 0 8px 24px rgba(6,56,74,.08);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6rem; color: var(--teal-deep); font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.2rem; }
.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.narrow-lg { width: min(900px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; margin-top: 2rem; }
.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; }
.muted { color: var(--muted); }
.muted-sm { color: var(--muted); font-size: .9rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: .5rem; background: var(--teal-deep); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: .5rem; }

/* demo banner */
.demo-banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.demo-banner .dodo-credit { display: inline-block; white-space: normal; }
.demo-banner { background: var(--warn-bg); color: var(--warn-ink); text-align: center; font-size: .9rem; padding: .5rem 1rem; border-bottom: 1px solid #f0dc9a; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--teal-deep); }
.brand .logo { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-top { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.brand-sub { font-size: .78rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; }
.brand--light { color: #fff; } .brand--light .brand-sub { color: #9fe3ea; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: .55rem .9rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem; }
.nav-list a:hover { background: var(--aqua); color: var(--teal-dark); }
.nav-list a[aria-current="page"] { background: var(--aqua); color: var(--teal-dark); }
.nav-list .nav-cta a { background: var(--teal); color: #fff; margin-left: .5rem; padding-inline: 1.2rem; }
.nav-list .nav-cta a:hover { background: var(--teal-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: var(--teal-deep); border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
.nav-toggle .bars::before { position: absolute; top: -7px; } .nav-toggle .bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  nav[aria-label="Primary"] { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .js .nav-list { display: none; flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; }
  .js .nav-list.open { display: flex; }
  .nav-list .nav-cta a { margin: .5rem 0 0; text-align: center; }
  .no-js .nav-list { flex-wrap: wrap; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 800; padding: .75rem 1.4rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, color .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: #fff; } .btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--teal-dark); border-color: var(--teal); } .btn--outline:hover { background: var(--aqua); color: var(--teal-deep); }
.btn--ghost { background: transparent; color: var(--teal-dark); border-color: var(--line); } .btn--ghost:hover { background: var(--aqua); color: var(--teal-deep); }
.btn--light { background: #fff; color: var(--teal-deep); } .btn--light:hover { background: var(--aqua); color: var(--teal-deep); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); } .btn--ghost-light:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn--lg { padding: .95rem 1.8rem; font-size: 1.1rem; }
.btn--sm { padding: .5rem 1rem; font-size: .92rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--teal-dark); text-decoration: underline; cursor: pointer; font-weight: 700; }
.link-btn:hover { color: var(--blue); }

/* eyebrow, sample pill */
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); margin-bottom: .5rem; }
.eyebrow--light { color: #a6ecf2; }
.sample-pill { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--warn-bg); color: var(--warn-ink); border: 1px solid #f0dc9a; padding: .1rem .55rem; border-radius: 999px; vertical-align: middle; margin-left: .35rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* hero */
.hero { background-size: cover; background-position: center right; color: #fff; padding: clamp(3.5rem, 9vw, 7rem) 0; }
.hero h1 { color: #fff; max-width: 15ch; font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.hero .lead { color: #e3f6f9; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.open-now { font-weight: 700; color: #cdf3f7; display: flex; align-items: center; gap: .5rem; margin: 0; min-height: 1.6rem; }
.open-now .dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.open-now .dot.closed { background: #fca5a5; box-shadow: 0 0 0 4px rgba(252,165,165,.25); }

/* trust */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.trust-list li { display: flex; gap: .7rem; align-items: center; }
.trust-list .icon { color: var(--teal); flex: none; }
.trust-list strong { display: block; font-size: .98rem; line-height: 1.2; }
.trust-list small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.3; margin-top: .15rem; }
@media (max-width: 1000px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-list { grid-template-columns: 1fr; } }

/* sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--tint { background: linear-gradient(180deg, var(--aqua), #f1fafb); }
.section-head { max-width: 46rem; margin: 0 auto 2.2rem; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split--rev > :first-child { order: 0; }
.split-media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: auto; }
.media-badge { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: rgba(255,255,255,.95); border-radius: 14px; padding: .6rem .9rem; font-weight: 700; font-size: .92rem; display: flex; gap: .5rem; align-items: center; color: var(--teal-deep); }
.media-badge .icon { color: var(--teal); flex: none; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card.pad, .pad { padding: 1.25rem; }
.card.pad-lg, .pad-lg { padding: clamp(1.25rem, 3vw, 2rem); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.svc-card:hover { transform: translateY(-3px); border-color: var(--teal); color: var(--ink); }
.svc-card h3 { margin-top: .9rem; }
.svc-card p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.svc-more { font-weight: 800; color: var(--teal-dark); font-size: .95rem; }
.svc-icon { display: inline-flex; width: 54px; height: 54px; border-radius: 16px; background: var(--aqua); color: var(--teal); align-items: center; justify-content: center; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

.why-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1.1rem; }
.why-list li { display: flex; gap: .9rem; align-items: flex-start; }
.why-list h3 { margin-bottom: .15rem; font-size: 1.08rem; } .why-list p { margin: 0; color: var(--ink-soft); }
.icon--check { color: #fff; background: var(--teal); border-radius: 50%; padding: 4px; flex: none; margin-top: .15rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team-card-body { padding: 1rem 1.1rem 1.2rem; } .team-card h3 { margin-bottom: .1rem; }
.role { color: var(--teal-dark); font-weight: 700; margin-bottom: .2rem; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.quote-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote-card blockquote { margin: .6rem 0 1.2rem; flex: 1; } .quote-card blockquote p { margin: 0; }
.quote-card figcaption { display: flex; gap: .8rem; align-items: center; } .quote-card small { display: block; color: var(--muted); }
.stars { display: flex; gap: 2px; } .icon--star { color: var(--sun); fill: var(--sun); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; flex: none; }
.avatar--teal { background: var(--teal); } .avatar--blue { background: var(--blue); } .avatar--mint { background: #2e8b6e; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

.chips { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-weight: 700; font-size: .92rem; color: var(--teal-deep); }
.hours-card { padding: 1.5rem; }
.hours-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
.hours-table th, .hours-table td { text-align: left; padding: .5rem .25rem; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours-table th { font-weight: 700; width: 38%; }
.hours-table tr.today th, .hours-table tr.today td { background: var(--aqua); color: var(--teal-deep); font-weight: 800; }
.hours-table tr.today th { padding-left: .6rem; border-radius: 8px 0 0 8px; } .hours-table tr.today td { border-radius: 0 8px 8px 0; }
h3 .icon { vertical-align: -5px; color: var(--teal); margin-right: .3rem; }

.cta-band > .container { width: min(1160px, 100% - 2.5rem); }
.cta-band { background-size: cover; background-position: center 22%; color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; min-height: 220px; display: flex; align-items: center; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; } .cta-band p { margin: 0; max-width: 36rem; color: #e3f6f9; }

/* page hero */
.page-hero { background: linear-gradient(135deg, var(--teal-deep), #0b6a82 60%, #1d86a0); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page-hero h1 { color: #fff; } .page-hero .lead { color: #d8f3f6; max-width: 44rem; margin: 0; }
.jump-nav ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.jump-nav a { display: inline-block; background: rgba(255,255,255,.14); color: #fff; text-decoration: none; padding: .35rem .9rem; border-radius: 999px; font-weight: 700; font-size: .92rem; border: 1px solid rgba(255,255,255,.3); }
.jump-nav a:hover { background: #fff; color: var(--teal-deep); }

/* services detail */
.svc-section { scroll-margin-top: 80px; }
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.svc-detail--rev .svc-media { order: 2; }
.svc-media img { border-radius: 22px; box-shadow: var(--shadow); width: 100%; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; } .check-list .icon { flex: none; margin-top: .2rem; }
.svc-facts { display: grid; gap: .6rem; margin: 0 0 1.2rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.svc-facts div { display: flex; gap: .8rem; flex-wrap: wrap; } .svc-facts dt { font-weight: 800; color: var(--teal-deep); min-width: 8.5rem; } .svc-facts dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail--rev .svc-media { order: 0; } }

/* callouts */
.callout { background: var(--aqua); border: 1px solid #b9dde5; border-left: 5px solid var(--teal); border-radius: 12px; padding: .9rem 1.1rem; margin: 0 0 1.2rem; font-size: .98rem; }
.callout p:last-child { margin-bottom: 0; }
.callout--warn { background: var(--warn-bg); border-color: #f0dc9a; border-left-color: var(--sun); color: var(--warn-ink); }
.callout--privacy { background: #eef4ff; border-color: #c9d9f5; border-left-color: var(--blue); }
.callout--info { background: var(--mint); border-color: #b9e0d2; border-left-color: #2e8b6e; }

/* team page */
.bio-list { display: grid; gap: 2.5rem; margin-top: 1.5rem; }
.bio { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem; box-shadow: var(--shadow); }
.bio-photo img { border-radius: 16px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.tag-line { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .75rem; margin: 0 0 .2rem; }
@media (max-width: 720px) { .bio { grid-template-columns: 1fr; } .bio-photo { max-width: 320px; } }

/* new patients */
.bring-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.bring-item { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; } .bring-item .icon { color: var(--teal); flex: none; margin-top: .2rem; }
.bring-item h3 { margin-bottom: .1rem; font-size: 1.05rem; } .bring-item p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.split--media-right { align-items: start; }
.steps-list { padding-left: 1.2rem; display: grid; gap: .7rem; } .steps-list li::marker { font-weight: 800; color: var(--teal); }
.doc-card { display: flex; align-items: center; gap: 1.2rem; background: #fff; border: 1px dashed var(--teal); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.doc-icon { width: 64px; height: 76px; background: var(--aqua); color: var(--teal); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; font-size: .72rem; letter-spacing: .08em; }
.doc-text { flex: 1; min-width: 14rem; } .doc-text h3 { margin-bottom: .2rem; }
.doc-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; margin: .5rem 0 1.4rem; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-h { margin: 0; font-size: 1.05rem; }
.acc-btn { width: 100%; text-align: left; background: #fff; border: 0; font: inherit; font-weight: 800; color: var(--teal-deep); padding: 1.05rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; }
.acc-btn:hover { background: var(--aqua); }
.acc-ic { display: inline-flex; transition: transform .2s; color: var(--teal); flex: none; }
.acc-btn[aria-expanded="true"] .acc-ic { transform: rotate(180deg); }
.acc-panel { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); } .acc-panel p { margin: 0; }
.js .acc-panel[hidden] { display: none; }

/* forms */
.form-card { margin-top: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem; }
.form-grid--addr { grid-template-columns: 2fr 1fr 1fr; }
.form-grid--addr .field--wide { grid-column: 1 / -1; }
.field--wide { grid-column: 1 / -1; }
.field { margin-bottom: 1rem; }
.form-grid .field { margin-bottom: 0; }
label, legend { font-weight: 700; display: block; margin-bottom: .3rem; }
legend { padding: 0; }
.req { color: var(--err); } .optional { color: var(--muted); font-weight: 600; font-size: .88rem; }
input[type=text], input[type=tel], input[type=email], input[type=date], select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #b7cfd8; border-radius: 12px; padding: .7rem .9rem; min-height: 46px; }
textarea { min-height: 96px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--teal); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(42,111,176,.45); outline-offset: 0; border-color: var(--blue); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); background: #fffafa; }
.error, .field-error { color: var(--err); font-size: .9rem; font-weight: 700; margin: .3rem 0 0; min-height: 0; }
.error:empty, .field-error:empty { display: none; }
.error::before, .field-error:not(:empty)::before { content: "\26A0\FE0E  "; }
.form-section { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem 1.2rem; margin: 0 0 1.2rem; }
.form-section legend { font-weight: 800; color: var(--teal-deep); padding: 0 .4rem; font-size: 1.05rem; }
.fieldset-radio { border: 0; padding: 0; margin: 0 0 1rem; }
.fieldset-radio legend { margin-bottom: .4rem; }
.radio, .checkbox { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; margin: 0 0 .4rem; cursor: pointer; }
.radio { display: inline-flex; margin-right: 1.4rem; }
input[type=radio], input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--teal); flex: none; margin: .15rem 0 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .3rem 1rem; }
.form-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1rem; }
.error-summary { background: var(--err-bg); border: 1px solid #f3b8b3; border-left: 5px solid var(--err); border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem; color: #7a1b15; }
.error-summary ul { margin: .4rem 0 0 1.1rem; padding: 0; } .error-summary a { color: inherit; }
.success-box { text-align: center; max-width: 640px; margin: 1rem auto 0; border-color: #a9dcc3; background: #f3fcf8; }
.conf-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .8rem; }
.conf-badge .icon { stroke-width: 2.6; }
.alert { border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem; font-weight: 700; }
.alert--error { background: var(--err-bg); border: 1px solid #f3b8b3; color: #7a1b15; }
.alert--ok { background: #e7f7ef; border: 1px solid #a9dcc3; color: #14573a; }
.alert[hidden] { display: none; }

/* contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: 1rem; } .info-list .icon { color: var(--teal); flex: none; margin-top: .2rem; }
.info-list strong { display: block; } address { font-style: normal; }
.map-card { overflow: hidden; } .map-frame { width: 100%; height: 340px; border: 0; display: block; }
.map-photo { width: 100%; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .form-grid, .form-grid--addr, .check-grid { grid-template-columns: 1fr; } }

/* ===== scheduler ===== */
.sched { padding-top: 2rem; }
.sched-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; }
.sched-main { padding: clamp(1rem, 3vw, 2rem); }
.stepper { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; gap: .4rem; counter-reset: s; }
.stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .3rem; position: relative; color: var(--muted); font-weight: 700; font-size: .85rem; text-align: center; }
.stepper li::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper .num { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.stepper li.done { color: var(--teal-dark); } .stepper li.done .num { background: var(--teal); border-color: var(--teal); color: #fff; } .stepper li.done::before, .stepper li.current::before { background: var(--teal); }
.stepper li.current { color: var(--teal-deep); } .stepper li.current .num { border-color: var(--teal); color: var(--teal-deep); box-shadow: 0 0 0 4px rgba(11,122,138,.18); }
@media (max-width: 480px) { .stepper .lbl { font-size: .72rem; } .stepper .num { width: 30px; height: 30px; } .stepper li::before { top: 14px; } }
.step h3 { font-size: 1.4rem; margin-bottom: .8rem; } .step h3:focus { outline: none; }
.step[hidden], #wizard[hidden], #confirmation[hidden] { display: none; }
.choice-grid { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; min-width: 0; }
.choice-card { display: block; cursor: pointer; margin: 0; position: relative; }
.choice-card input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.choice-body { display: flex; gap: .8rem; align-items: center; border: 2px solid var(--line); border-radius: 14px; padding: .8rem .9rem; background: #fff; transition: border-color .15s, background .15s; height: 100%; }
.choice-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--aqua); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.choice-text strong { display: block; line-height: 1.2; color: var(--teal-deep); } .choice-text small { color: var(--muted); font-size: .85rem; font-weight: 600; } .choice-text em { font-style: normal; }
.choice-card:hover .choice-body { border-color: var(--teal); }
.choice-card input:checked + .choice-body { border-color: var(--teal); background: var(--aqua); box-shadow: 0 0 0 3px rgba(11,122,138,.18); }
.choice-card input:checked + .choice-body .choice-icon { background: var(--teal); color: #fff; }
.choice-card input:focus-visible + .choice-body { outline: 3px solid var(--blue); outline-offset: 2px; }
.dentist-pick { border: 0; padding: 0; margin: 1.2rem 0 0; min-width: 0; } .dentist-pick legend { font-size: 1.05rem; color: var(--teal-deep); font-weight: 800; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-radio { position: relative; }
.pill-radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill-radio span { display: inline-block; padding: .5rem 1rem; border: 2px solid var(--line); border-radius: 999px; font-weight: 700; background: #fff; }
.pill-radio input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.pill-radio input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.pill-radio input:disabled + span { opacity: .45; }
.pill-radio:hover input:not(:disabled):not(:checked) + span { border-color: var(--teal); }

.cal { border: 1px solid var(--line); border-radius: 16px; padding: 1rem; background: #fcfeff; max-width: 560px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.cal-head h4 { margin: 0; font-size: 1.15rem; }
.cal-nav { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--teal-dark); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cal-nav:hover:not(:disabled) { background: var(--aqua); border-color: var(--teal); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.icon--prev { transform: rotate(90deg); } .icon--next { transform: rotate(-90deg); }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal-grid th { font-size: .8rem; text-transform: uppercase; color: var(--muted); font-weight: 800; padding: .25rem 0; text-align: center; }
.cal-grid abbr { text-decoration: none; }
.cal-grid td { padding: 0; text-align: center; }
.cal-day { width: 100%; aspect-ratio: 1 / 1; min-height: 44px; border-radius: 12px; border: 2px solid #bfe0e6; background: #fff; font: inherit; font-weight: 800; color: var(--teal-deep); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 0; position: relative; }
.cal-day:hover:not([aria-disabled="true"]) { background: var(--aqua); border-color: var(--teal); }
.cal-day .tag { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: 2px; display: none; }
@media (min-width: 560px) { .cal-day .tag { display: block; } }
.cal-day.sat { border-color: #f1cd72; } .cal-day.sat::after { content: ""; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--blue); }
.cal-day[aria-disabled="true"] { cursor: not-allowed; color: #8aa0aa; border-color: #dfe8ec; border-style: dashed; background: repeating-linear-gradient(135deg, #f1f5f7 0 6px, #e7edf0 6px 8px); font-weight: 600; }
.cal-day[aria-disabled="true"] .tag { color: #8aa0aa; }
.cal-day[aria-disabled="true"] .num-d { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.cal-day[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 0 0 3px rgba(11,122,138,.25); }
.cal-day[aria-pressed="true"] .tag { color: #d8f3f6; } .cal-day[aria-pressed="true"]::after { background: #fff; }
.cal-day:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; z-index: 2; }
.cal-legend { list-style: none; padding: 0; margin: .8rem 0 .4rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--ink-soft); }
.cal-legend li { display: flex; align-items: center; gap: .4rem; }
.sw { width: 18px; height: 18px; border-radius: 5px; border: 2px solid #bfe0e6; background: #fff; display: inline-block; flex: none; }
.sw--sat { border-color: #f1cd72; position: relative; } .sw--sat::after { content: ""; position: absolute; top: 2px; right: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--sun); }
.sw--sel { background: var(--teal); border-color: var(--teal); }
.sw--off { border: 2px dashed #dfe8ec; background: repeating-linear-gradient(135deg, #f1f5f7 0 4px, #e0e8ec 4px 6px); }

.slot-group { margin-bottom: 1.2rem; border: 0; padding: 0; min-width: 0; }
.slot-group legend { font-weight: 800; color: var(--teal-deep); margin-bottom: .5rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: .5rem; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot label { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; min-height: 48px; border: 2px solid #bfe0e6; border-radius: 12px; background: #fff; font-weight: 800; color: var(--teal-deep); cursor: pointer; padding: .3rem; line-height: 1.15; text-align: center; }
.slot label small { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.slot input:hover:not(:disabled) + label { background: var(--aqua); border-color: var(--teal); }
.slot input:checked + label { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 0 0 3px rgba(11,122,138,.25); } .slot input:checked + label small { color: #d8f3f6; }
.slot input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.slot input:disabled + label { cursor: not-allowed; color: #8aa0aa; border: 2px dashed #dfe8ec; background: repeating-linear-gradient(135deg, #f1f5f7 0 6px, #e7edf0 6px 8px); font-weight: 600; }
.slot input:disabled + label .t { text-decoration: line-through; }
.no-slots { background: var(--warn-bg); border: 1px solid #f0dc9a; color: var(--warn-ink); padding: .9rem 1rem; border-radius: 12px; }

.wizard-nav { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.wizard-nav .spacer { flex: 1; }
.wizard-nav [hidden] { display: none; }
.review { margin: 0 0 1rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.review > div { display: grid; grid-template-columns: 9rem 1fr auto; gap: .8rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); align-items: start; }
.review > div:last-child { border-bottom: 0; } .review dt { font-weight: 800; color: var(--teal-deep); } .review dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.review .edit { font-size: .9rem; }
@media (max-width: 520px) { .review > div { grid-template-columns: 1fr auto; } .review dt { grid-column: 1 / -1; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); } }
.confirmation { text-align: center; } .confirmation h3 { font-size: 1.8rem; } .confirmation h3:focus { outline: none; }
.conf-code { display: inline-block; font-size: 2rem; font-weight: 800; letter-spacing: .14em; color: var(--teal-deep); background: var(--aqua); border: 2px dashed var(--teal); border-radius: 14px; padding: .4rem 1.4rem; margin: .2rem 0 1.2rem; }
.confirmation .review { text-align: left; }
.conf-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin: 1.2rem 0; }
.confirmation .callout { text-align: left; }
.sched-side { display: grid; gap: 1.2rem; position: sticky; top: 92px; }
.side-summary { padding: 1.2rem; } .side-summary dl { margin: 0; display: grid; gap: .6rem; } .side-summary dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.side-summary dl div:last-child { border-bottom: 0; } .side-summary dt { color: var(--muted); font-weight: 700; } .side-summary dd { margin: 0; font-weight: 800; text-align: right; color: var(--teal-deep); }
.side-photo { overflow: hidden; } .side-photo p { margin-bottom: .5rem; }
.plain-list { padding-left: 1.1rem; display: grid; gap: .5rem; margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 980px) { .sched-layout { grid-template-columns: minmax(0, 1fr); } .sched-side { position: static; } }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.resched-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .resched-banner[hidden] { display: none; }
.resched-banner p { margin: 0; }

.appt-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; }
.appt-card { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--teal); border-radius: 14px; padding: 1rem 1.2rem; display: grid; grid-template-columns: 1fr auto; gap: .6rem 1.2rem; align-items: center; box-shadow: var(--shadow); }
.appt-card.past { border-left-color: #9fb5be; opacity: .85; }
.appt-card h3 { margin: 0 0 .2rem; font-size: 1.15rem; } .appt-meta { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.appt-code { font-weight: 800; letter-spacing: .08em; color: var(--teal-deep); background: var(--aqua); padding: .05rem .5rem; border-radius: 6px; font-size: .9rem; }
.appt-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.appt-confirm { grid-column: 1 / -1; background: var(--err-bg); border: 1px solid #f3b8b3; border-radius: 12px; padding: .7rem 1rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.appt-confirm[hidden] { display: none; } .appt-confirm p { margin: 0; flex: 1; font-weight: 700; min-width: 12rem; }
.btn--danger { background: var(--err); color: #fff; } .btn--danger:hover { background: #8f1d17; color: #fff; }
.empty { color: var(--muted); background: #fff; border: 1px dashed var(--line); padding: 1.2rem; border-radius: 12px; text-align: center; }
.empty[hidden] { display: none; }
@media (max-width: 640px) { .appt-card { grid-template-columns: 1fr; } .appt-actions { justify-content: flex-start; } }

/* credits */
.table-wrap { overflow-x: auto; margin-bottom: 2rem; }
.credits-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: .95rem; min-width: 640px; }
.credits-table th, .credits-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.credits-table thead th { background: var(--aqua); color: var(--teal-deep); }
.credits-table img { border-radius: 8px; max-width: 96px; }

/* footer */
.site-footer { background: var(--teal-deep); color: #cfe9ee; padding: 3rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; } .site-footer a:hover { color: #9fe3ea; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr; gap: 2rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.footer-blurb { margin-top: 1rem; }
.sample-notice { margin-top: 2rem; padding: 1rem 1.2rem; background: rgba(255,244,214,.12); border: 1px solid rgba(255,230,150,.45); border-radius: 12px; font-size: .9rem; color: #fff3cf; }
.copyright { text-align: center; font-size: .85rem; margin: 1.2rem 0 0; color: #9fc4cc; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* print: intake form */
@media print {
  .demo-banner, .site-header, .site-footer, .skip-link, .nav-toggle { display: none !important; }
  body.print-intake main > section:not(#intake), body.print-intake #intake .section-head, body.print-intake .doc-card, body.print-intake .callout, body.print-intake .form-actions, body.print-intake #intake-success, body.print-intake #intake-saved { display: none !important; }
  body.print-intake #intake-form { box-shadow: none; border: 0; }
  input, select, textarea { border: 0 !important; border-bottom: 1px solid #333 !important; border-radius: 0 !important; }
  body { background: #fff; }
}
.page-hero .eyebrow { color: #a6ecf2; }
@media (max-width: 480px) {
  .container, .narrow, .narrow-lg { width: calc(100% - 1.5rem); }
  .sched-main { padding: .9rem .7rem; }
  .cal { padding: .6rem .4rem; }
  .cal-grid { border-spacing: 3px; }
  .cal-day { border-radius: 10px; }
}
@media (max-width: 480px) { .wizard-nav { flex-wrap: wrap; } .wizard-nav .btn { padding: .7rem 1.1rem; } .wizard-nav .spacer { display: none; } .wizard-nav #btn-next, .wizard-nav #btn-confirm { margin-left: auto; } }
.cal + p { margin-top: 1rem; }
.step h3, #conf-title, #my-title, [id^="h-step"] { scroll-margin-top: 96px; }
