/* ==========================================================
   Parkway Dental Boise — demo site styles
   ========================================================== */
:root {
  --ink: #23152a;
  --ink-2: #4b3c51;
  --muted: #726178;
  --line: #e7e4eb;
  --bg: #fffdf9;
  --tint: #f4f3f7;
  --white: #ffffff;
  --teal-50: #f3f0fa;
  --teal-100: #dad1ee;
  --teal-400: #6f42bf;
  --teal-500: #5628a4;
  --teal-600: #461e83;
  --teal-700: #3d275e;
  --teal-900: #221731;
  --sun-300: #efc05a;
  --sun-400: #eba934;
  --sun-500: #e3891d;
  --peach: #ed864a;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(35,21,42,.06), 0 2px 8px rgba(35,21,42,.04);
  --shadow: 0 4px 12px rgba(35,21,42,.05), 0 16px 40px -12px rgba(35,21,42,.12);
  --shadow-lg: 0 10px 30px rgba(35,21,42,.08), 0 30px 80px -20px rgba(35,21,42,.25);
  --font-head: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-600); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sun-400); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--white); --b-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .975rem; letter-spacing: -0.005em;
  padding: .8rem 1.3rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--b-bg); color: var(--b-fg); cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-700) 100%);
  color: #fff; box-shadow: 0 8px 20px -6px rgba(70,30,131,.55), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 28px -8px rgba(70,30,131,.6), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-ghost { background: rgba(255,255,255,.8); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--teal-700); border-color: var(--teal-100); background: #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--teal-700); }
.btn-sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,253,249,.72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(35,21,42,.18); background: rgba(255,253,249,.9); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark svg { display: block; border-radius: 12px; box-shadow: 0 6px 14px -6px rgba(61,39,94,.6); }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-text span { color: var(--teal-600); }

.nav { order: 3; }
.nav-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.nav-toggle .bar { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }
.nav-menu {
  position: absolute; left: 12px; right: 12px; top: calc(var(--header-h) - 4px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; display: grid; gap: 2px;
  opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-menu.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.nav-menu a { display: block; padding: .8rem 1rem; border-radius: 12px; color: var(--ink); font-weight: 600; font-family: var(--font-head); }
.nav-menu a:hover { background: var(--teal-50); color: var(--teal-700); }
.nav-menu .nav-cta-mobile { margin-top: 6px; }
.nav-menu .nav-cta-mobile a { color: #fff; text-align: center; display: flex; }
.header-actions { display: none; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); font-family: var(--font-head); font-size: .95rem; }
.header-phone svg { color: var(--teal-600); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 36px 0 56px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 85% -10%, #ece8f5 0%, transparent 60%), radial-gradient(900px 500px at -10% 20%, #fdf1e4 0%, transparent 55%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob-1 { width: 380px; height: 380px; background: #b9a5ea; top: -120px; right: -80px; }
.blob-2 { width: 300px; height: 300px; background: #f4d993; top: 200px; left: -120px; animation-delay: -6s; }
.blob-3 { width: 260px; height: 260px; background: #f8d1b0; bottom: -100px; right: 30%; opacity: .35; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(30px, 24px) scale(1.08); } }

.hero-grid { display: grid; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .7rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink-2); font-size: .875rem; font-weight: 500;
}
.pill:hover { color: var(--ink); border-color: var(--teal-100); }
.pill strong { color: var(--ink); }
.stars-inline { color: var(--sun-500); letter-spacing: 1px; font-size: .85rem; }
.hero h1 { font-size: clamp(2.2rem, 7.2vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; margin: 18px 0 18px; }
.grad-text { background: linear-gradient(100deg, var(--teal-600) 10%, var(--teal-400) 45%, var(--sun-500) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: var(--muted); max-width: 36rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 24px; }
.hero-ctas .btn { flex: 1 1 auto; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .925rem; color: var(--ink-2); font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.check { width: 20px; height: 20px; border-radius: 50%; background: var(--teal-100); position: relative; flex: none; }
.check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--teal-700); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.hero-visual { position: relative; padding: 0 6px 28px; }
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.2; background: var(--teal-50); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(35,21,42,.25)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.8);
  border-radius: 18px; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite;
}
.float-rating { left: -2px; bottom: 0; }
.float-appt { right: -2px; top: 22px; animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fc-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.fc-sun { background: linear-gradient(135deg, var(--sun-300), var(--peach)); color: #fff; }
.fc-teal { background: var(--teal-50); color: var(--teal-700); }
.fc-big { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.35rem; line-height: 1; }
.fc-big span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.fc-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.fc-small { font-size: .8rem; color: var(--muted); line-height: 1.3; margin-top: 3px; }

/* ---------- Stats ---------- */
.stats { padding: 0 0 24px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.stat { background: #fff; padding: 20px 16px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 4.5vw, 2rem); color: var(--ink); letter-spacing: -0.03em; line-height: 1.15; }
.stat-num small { color: var(--sun-500); font-size: .7em; margin-left: 2px; }
.stat-label { font-size: .85rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }
.section-tight { padding-top: 24px; }
.section-tint { background: linear-gradient(180deg, var(--tint) 0%, #f8f7fb 100%); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2, .about-copy h2, .appt-copy h2, .reviews-left h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100); padding: .35rem .75rem; border-radius: 999px; margin-bottom: 14px;
}
.eyebrow-light { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }

/* ---------- Cards / services ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.services-grid { display: grid; gap: 16px; }
.service { padding: 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; overflow: hidden; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.service h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.service p { color: var(--muted); margin: 0; font-size: .975rem; }
.icon-badge { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.icon-badge svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ib-teal { background: #ede8f8; color: var(--teal-700); }
.ib-sky { background: #e8f4fe; color: #7a178d; }
.ib-sun { background: #fcf2df; color: #a74916; }
.ib-violet { background: #f1edfe; color: #6d28d9; }
.ib-rose { background: #ffeceb; color: #be123c; }
.service-cta { background: linear-gradient(140deg, var(--teal-600), var(--teal-900)); border: 0; color: #e1daf1; display: flex; flex-direction: column; justify-content: center; }
.service-cta::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; top: -80px; background: radial-gradient(circle, rgba(235,169,52,.55), transparent 70%); }
.service-cta h3 { color: #fff; margin-top: 0; position: relative; }
.service-cta p { color: #d5cde9; position: relative; }
.service-cta-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; position: relative; }
.link-arrow { color: #fff; font-weight: 700; font-family: var(--font-head); }
.link-arrow:hover { color: var(--sun-300); }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 48px; align-items: center; }
.why-visual { position: relative; isolation: isolate; max-width: 520px; margin: 0 auto; width: 100%; }
.why-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 5.2; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-visual::before { content: ""; position: absolute; inset: 22px -14px -14px 22px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--sun-300), var(--peach)); opacity: .35; z-index: -1; }
.why-badge {
  position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow);
}
.why-badge-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--ink); line-height: 1; }
.why-badge-text { font-size: .9rem; color: var(--ink-2); line-height: 1.35; font-weight: 500; }
.why-list { display: grid; gap: 14px; }
.why-list li { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.why-list li:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.why-list h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.why-list p { margin: 0; color: var(--muted); font-size: .95rem; }
.why-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; box-shadow: 0 8px 16px -8px rgba(70,30,131,.7); }
.why-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 44px; align-items: center; }
.lead-sm { font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.about-copy p { color: var(--muted); }
.about-copy .lead-sm { color: var(--ink); }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; }
.values li { display: inline-flex; align-items: center; gap: 10px; padding: .55rem 1rem .55rem .55rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .95rem; box-shadow: var(--shadow-sm); }
.values li span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--sun-300), var(--peach)); color: #fff; font-size: .72rem; font-weight: 800; }
.about-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 9 / 8; }
.about-card img { width: 100%; height: 100%; object-fit: cover; }
.about-tag { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 18px; padding: 10px 18px 10px 10px; box-shadow: var(--shadow); }
.about-tag strong { display: block; font-family: var(--font-head); color: var(--ink); line-height: 1.2; }
.about-tag span:not(.avatar) { font-size: .85rem; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; font-family: var(--font-head); font-weight: 800; letter-spacing: .02em; }

/* ---------- Reviews ---------- */
.reviews-section { padding-top: 24px; }
.reviews-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 36px 24px;
  background: radial-gradient(800px 400px at 100% 0%, rgba(111,66,191,.35), transparent 60%), linear-gradient(135deg, #33224c 0%, #23152a 100%);
  color: #d9d2e6; display: grid; gap: 32px; align-items: center; box-shadow: var(--shadow-lg);
}
.reviews-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; left: -120px; bottom: -180px; background: radial-gradient(circle, rgba(235,169,52,.45), transparent 70%); }
.reviews-left, .reviews-right { position: relative; }
.reviews-left h2 { color: #fff; }
.reviews-left p { color: #cbc3dc; max-width: 30rem; margin-bottom: 24px; }
.reviews-right { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px 24px; backdrop-filter: blur(6px); }
.rating-display { text-align: center; }
.rating-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 14vw, 5.5rem); line-height: 1; color: #fff; letter-spacing: -0.04em; }
.rating-stars { position: relative; display: inline-block; font-size: 1.9rem; letter-spacing: 4px; line-height: 1; margin: 10px 0 10px; }
.stars-bg { color: rgba(255,255,255,.2); }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--sun-400); text-shadow: 0 0 18px rgba(235,169,52,.45); }
.rating-count { color: #d9d2e6; }
.rating-count strong { color: #fff; }
.rating-tiles { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rt { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 12px 14px; text-align: center; }
.rt-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #b8adce; }
.rt-val { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: #fff; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step h3 { font-size: 1.15rem; margin: 16px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: .975rem; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-family: var(--font-head); font-weight: 800; color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100); }

/* ---------- Location ---------- */
.location-grid { display: grid; gap: 20px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #ebe9ee; min-height: 320px; }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.contact-card { padding: 28px 24px; }
.contact-card h3 { font-size: 1.35rem; margin-bottom: 18px; }
.contact-list { display: grid; gap: 18px; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list a { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--teal-700); }
.contact-list address, .contact-list span:not(.ci):not(.cl-label) { color: var(--ink); }
.cl-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.ci { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); }
.ci svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions .btn { flex: 1 1 auto; }

/* ---------- Appointment ---------- */
.appt-section { background: radial-gradient(700px 400px at 0% 100%, #fcedd9 0%, transparent 60%), radial-gradient(700px 500px at 100% 0%, #e6e2f3 0%, transparent 60%); }
.appt-grid { display: grid; gap: 36px; align-items: start; }
.appt-copy p { color: var(--muted); font-size: 1.05rem; }
.appt-phone { display: inline-flex; align-items: center; gap: 14px; margin: 10px 0 22px; padding: 14px 22px 14px 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; transition: transform .2s, box-shadow .2s; }
.appt-phone:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.appt-phone small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--muted); }
.appt-phone-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; }
.appt-note { font-size: .95rem !important; padding: 14px 16px; border-radius: 14px; background: #fff7ed; border: 1px solid #f9dfc8; color: #74421a !important; }
.appt-note strong { color: #74291a; }

.form-card { padding: 24px; box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); }
.form-grid { display: grid; gap: 16px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .9rem; color: var(--ink); font-family: var(--font-head); }
.field label span[aria-hidden] { color: var(--teal-600); }
.opt { color: var(--muted); font-weight: 500; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fcfbfd;
  border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem .95rem; min-height: 50px;
  transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d747c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
textarea { resize: vertical; min-height: 96px; }
input::placeholder, textarea::placeholder { color: #aa9db0; }
input:hover, select:hover, textarea:hover { border-color: #d6d1dc; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(86,40,164,.15); }
.field.invalid input { border-color: #e11d48; box-shadow: 0 0 0 4px rgba(225,29,72,.1); }
.error { display: none; margin: 0; color: #be123c; font-size: .85rem; }
.field.invalid .error { display: block; }
.seg { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: #f3f2f5; border: 1.5px solid var(--line); }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 38px; padding: .4rem .6rem; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--sun-400); outline-offset: 1px; }
.form-fine { margin: 14px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

.thanks { text-align: center; padding: 28px 8px; animation: pop .5s cubic-bezier(.2,.9,.3,1.2); }
.thanks:focus { outline: none; }
.thanks-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); box-shadow: 0 0 0 10px var(--teal-50), 0 16px 30px -10px rgba(70,30,131,.6); }
.thanks h3 { font-size: 1.6rem; }
.thanks p { color: var(--muted); max-width: 26rem; margin-left: auto; margin-right: auto; }
.thanks-sub a { font-weight: 700; }
.thanks .btn { margin-top: 8px; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.site-footer { background: #1c1122; color: #b6acc1; padding: 60px 0 calc(104px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-text span { color: var(--teal-400); }
.footer-brand p { margin: 16px 0 12px; max-width: 22rem; }
.footer-rating { display: inline-flex; gap: 8px; align-items: center; font-size: .875rem; color: #dfd9e6; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: .4rem .8rem; border-radius: 999px; }
.footer-rating span { color: var(--sun-400); letter-spacing: 1px; }
.footer-h { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-links { display: grid; gap: 8px; }
.site-footer a { color: #dfd9e6; }
.site-footer a:hover { color: var(--sun-300); }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; padding-top: 22px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.credit { color: #81738c; font-size: .78rem; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; gap: 8px; padding: 8px; border-radius: 22px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: 0 12px 34px -8px rgba(35,21,42,.35);
  transform: translateY(0); transition: transform .3s ease;
}
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 16px; font-family: var(--font-head); font-weight: 700; }
.mc-call { flex: 1; color: #fff; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); box-shadow: 0 8px 18px -8px rgba(70,30,131,.7); }
.mc-call:hover { color: #fff; }
.mc-book { padding: 0 20px; color: var(--ink); background: #fff7e6; border: 1px solid #f7dfb6; }
.mc-book:hover { color: var(--ink); }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Breakpoints (mobile-first)
   ========================================================== */
@media (min-width: 560px) {
  .container { padding-left: 28px; padding-right: 28px; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .field.full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .why-badge { right: auto; }
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .reviews-card { padding: 48px; grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .form-card { padding: 32px; }
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .site-footer { padding-bottom: 28px; }
  .mobile-cta { display: none; }
  .nav { order: 0; }
  .nav-toggle { display: none; }
  .nav-menu { position: static; display: flex; gap: 4px; opacity: 1; transform: none; visibility: visible; pointer-events: auto; background: none; border: 0; box-shadow: none; padding: 0; }
  .nav-menu a { padding: .5rem .85rem; font-size: .95rem; color: var(--ink-2); font-weight: 600; }
  .nav-menu .nav-cta-mobile { display: none; }
  .header-actions { display: flex; }
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 64px; }
  .hero-visual { padding: 0 0 28px; }
  .float-rating { left: -36px; bottom: 34px; }
  .float-appt { right: -28px; top: 40px; }
  .section { padding: 104px 0; }
  .section-tight { padding-top: 40px; }
  .reviews-section { padding-top: 40px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .service { padding: 30px; }
  .why-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .location-grid { grid-template-columns: 1.4fr 1fr; gap: 24px; }
  .map-wrap, .map-wrap iframe { min-height: 460px; }
  .contact-card { padding: 34px; }
  .appt-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .appt-copy { position: sticky; top: calc(var(--header-h) + 32px); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; }
}

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


/* ===== Variant layer (per-practice) ===== */
.pill-dot { width: 9px; height: 9px; border-radius: 50%; background: #5628a4; box-shadow: 0 0 0 4px #dad1ee; }
/* shapes */
.theme-soft { --radius-sm: 8px; --radius: 14px; --radius-lg: 18px; }
.theme-soft .btn { border-radius: 12px; }
.theme-sharp { --radius-sm: 4px; --radius: 6px; --radius-lg: 8px; }
.theme-sharp .btn, .theme-sharp .pill, .theme-sharp .eyebrow, .theme-sharp .values li, .theme-sharp .footer-rating { border-radius: 4px; }
.theme-sharp .mobile-cta, .theme-sharp .mobile-cta a, .theme-sharp .icon-badge, .theme-sharp .why-icon, .theme-sharp .ci, .theme-sharp .step-num, .theme-sharp .float-card, .theme-sharp .why-badge, .theme-sharp .about-tag, .theme-sharp .appt-phone, .theme-sharp .nav-toggle { border-radius: 6px; }
.theme-sharp input, .theme-sharp select, .theme-sharp textarea, .theme-sharp .seg, .theme-sharp .seg span { border-radius: 6px; }
.theme-sharp .eyebrow { background: none; border: 0; padding: 0; border-left: 3px solid #5628a4; padding-left: 10px; border-radius: 0; }
/* reverse hero: image left on desktop */
@media (min-width: 1024px) {
  .hero-reverse .hero-grid { grid-template-columns: .92fr 1.08fr; }
  .hero-reverse .hero-visual { order: -1; }
  .hero-reverse .float-rating { left: auto; right: -30px; bottom: 34px; }
  .hero-reverse .float-appt { right: auto; left: -28px; }
}
/* overlay hero: full-bleed photo */
.hero-overlay { padding: 72px 0 80px; color: #ece8f5; isolation: isolate; min-height: min(78vh, 760px); display: flex; align-items: center; }
@media (max-width: 1023px) { .hero-overlay::before { background: linear-gradient(180deg, rgba(35,21,42,.80) 0%, rgba(35,21,42,.88) 100%) !important; } }
.hero-overlay .hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-overlay .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(35,21,42,.92) 0%, rgba(35,21,42,.78) 45%, rgba(35,21,42,.35) 100%); }
.hero-overlay .hero-grid { grid-template-columns: 1fr !important; }
.hero-overlay .hero-copy { max-width: 640px; }
.hero-overlay h1 { color: #fff; }
.hero-overlay .lead { color: #d9d2e6; }
.hero-overlay .hero-points { color: #ece8f5; }
.hero-overlay .grad-text { background: linear-gradient(100deg, #6f42bf 10%, #efc05a 90%); -webkit-background-clip: text; background-clip: text; }
.hero-overlay .pill { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #ece8f5; box-shadow: none; }
.hero-overlay .pill strong { color: #fff; }
.hero-overlay .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.hero-overlay .btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.hero-v-overlay .stats { padding-top: 0; margin-top: -36px; position: relative; z-index: 2; }

