/* Grand Bend Dental & Health Centre — site styles (mobile-first) */

:root {
  --navy: #14395a;
  --deep: #0f2e4a;
  --blue: #2e6fa3;
  --blue-light: #9cc3e3;
  --sky: #eaf3fa;
  --page: #f7fafd;
  --white: #fff;
  --text: #33465a;
  --muted: #5f7184;
  --line: #dce6ef;
  --gold: #e8a23a;
  --success: #1f6b3a;
  --danger: #b3261e;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", "Brush Script MT", cursive;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20, 57, 90, 0.06), 0 8px 24px rgba(20, 57, 90, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 57, 90, 0.16);
  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --sticky-h: 76px;
}

[hidden] { display: none !important; }

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--sticky-h);
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--deep); }
h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.icon { flex-shrink: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 840px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.lead { font-size: 1.075rem; }
@media (min-width: 760px) { .lead { font-size: 1.15rem; } }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.stack-xl { display: flex; flex-direction: column; gap: 56px; }
.center.stack { align-items: center; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }

.eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.eyebrow-light { color: var(--blue-light); }
.script { font-family: var(--script); font-weight: 600; color: var(--blue); line-height: 1; font-size: 2rem; }
.script-light { color: #fff; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 0.95rem; line-height: 1.2; text-align: center;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--deep); color: #fff; box-shadow: 0 6px 18px rgba(20, 57, 90, .25); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--sky); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.btn .icon { transition: transform .18s; }
.btn:hover .icon:last-child { transform: translateX(2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; color: var(--blue); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .18s; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linklike:hover { color: var(--navy); }

/* ------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.logo img { height: 46px; width: auto; }
.nav-desktop { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--navy); font-weight: 700; }
.header-phone span { display: none; }
.header-book { display: none; }
.nav-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--navy); cursor: pointer; border-radius: 10px; }

.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; display: flex; flex-direction: column; z-index: 49; }
.mobile-nav nav { padding: 8px var(--gutter) 20px; }
.mobile-links { list-style: none; }
a[href^="tel:"] { white-space: nowrap; }
.mobile-links a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 1.25rem; font-weight: 700; }
.mobile-links a[aria-current="page"] { color: var(--blue); }
.mobile-label { margin: 20px 0 10px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.mobile-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 600; font-size: .9rem; }
.mobile-nav-foot { margin-top: auto; padding: 16px var(--gutter) calc(20px + env(safe-area-inset-bottom)); background: var(--page); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
body.nav-open { overflow: hidden; }
body.nav-open .sticky-cta { display: none; }

@media (min-width: 600px) {
  .header-book { display: inline-flex; }
}
@media (min-width: 1100px) {
  :root { --header-h: 92px; }
  .logo img { height: 58px; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .nav-desktop { display: block; }
  .nav-desktop > ul { list-style: none; display: flex; gap: 4px; align-items: center; }
  .nav-desktop > ul > li { position: relative; }
  .nav-desktop > ul > li > a { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 10px 9px; color: var(--text); font-weight: 600; font-size: .92rem; border-radius: 8px; }
  .nav-desktop > ul > li > a:hover { color: var(--navy); background: var(--sky); }
  .nav-desktop > ul > li > a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
  .menu { position: absolute; left: -12px; top: 100%; width: 560px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; }
  .has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
  .menu ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  .menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--navy); font-weight: 600; font-size: .9rem; }
  .menu li a:hover { background: var(--sky); }
  .menu li a .icon { color: var(--blue); }
  .menu-all { display: flex; align-items: center; gap: 8px; margin: 8px 12px 2px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
  .header-phone { width: auto; height: auto; background: none; padding: 8px; }
  .header-phone span { display: inline; }
}
@media (min-width: 1100px) and (max-width: 1299px) { .header-phone span { display: none; } .header-phone { width: 44px; height: 44px; background: var(--sky); } .nav-desktop > ul { gap: 0; } }
@media (min-width: 1300px) { .nav-desktop > ul { gap: 6px; } }

/* ------------------------------------------------------------ sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 57, 90, .08); backdrop-filter: blur(10px); }
.sticky-cta .btn { min-height: 50px; padding: 0 12px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ------------------------------------------------------------ hero (home) */
.hero { position: relative; background: #eef4f9; overflow: hidden; }
.hero-media img { width: 100%; height: 44vh; min-height: 280px; max-height: 460px; object-fit: cover; object-position: 50% 78%; }
.hero-media::after { content: ""; position: absolute; left: 0; right: 0; top: calc(min(max(44vh, 280px), 460px) - 70px); height: 70px; background: linear-gradient(180deg, rgba(238, 244, 249, 0), #eef4f9); pointer-events: none; }
.hero-inner { position: relative; }
.hero-text { display: flex; flex-direction: column; gap: 16px; padding: 4px 0 36px; }
.hero h1 { font-size: clamp(2.6rem, 11vw, 4.9rem); line-height: .98; letter-spacing: -0.035em; }
.hero-script { font-size: clamp(2rem, 8vw, 3.2rem); }
.hero .btn-row .btn { flex: 1 1 100%; }
.hero-points { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.hero-points li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: .78rem; line-height: 1.25; }
.hero-points .icon { stroke-width: 1.5; }

@media (min-width: 1024px) {
  .hero { min-height: 620px; display: flex; align-items: center; background: #f4f8fb; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media img { height: 100%; max-height: none; object-position: 62% 60%; }
  .hero-media::after { top: 0; bottom: 0; height: auto; background: linear-gradient(90deg, rgba(246, 249, 252, .97) 0%, rgba(246, 249, 252, .9) 38%, rgba(246, 249, 252, 0) 64%); }
  .hero-text { max-width: 560px; padding: 72px 0; gap: 20px; }
  .hero .btn-row .btn { flex: 0 0 auto; }
  .hero-points { display: flex; gap: 32px; }
  .hero-points li { flex-direction: row; text-align: left; font-size: .85rem; gap: 10px; }
}
@media (min-width: 1100px) { .hero { min-height: 680px; } .hero-media img { object-position: 50% 62%; } }

/* ------------------------------------------------------------ sections */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-tint { background: var(--sky); }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.section-head.split { gap: 16px; }
@media (min-width: 900px) { .section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; } .section-head.split > div { display: flex; flex-direction: column; gap: 10px; max-width: 760px; } }
.section-head .lead { margin-top: 2px; }

/* ------------------------------------------------------------ service cards */
.service-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: none; }
.service-grid::-webkit-scrollbar { display: none; }
.service-grid > * { scroll-snap-align: start; }
@media (min-width: 600px) { .service-grid { grid-auto-columns: 42%; } }
@media (min-width: 900px) { .service-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 18px; } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(5, 1fr); } }

.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.service-card-media { position: relative; aspect-ratio: 10 / 8; overflow: hidden; background: var(--sky); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card-media img { transform: scale(1.04); }
.service-card-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 12px 20px; flex-grow: 1; }
.service-card-icon { color: var(--navy); }
.service-card h3 { font-size: 1rem; }
.service-card p { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.service-card-cta { background: var(--navy); border-color: var(--navy); color: #fff; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 28px 20px; }
.service-card-cta:hover { color: #fff; }
.service-card-cta .script { font-size: 1.9rem; }
.service-card-cta p { color: #d7e5f1; font-size: .92rem; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--deep); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.badge-inline { position: static; align-self: flex-start; }

/* ------------------------------------------------------------ technology band */
.tech-band { display: grid; background: var(--navy); color: #fff; }
.tech-copy { display: flex; flex-direction: column; gap: 16px; padding: 44px var(--gutter); }
.tech-copy h2 { color: #fff; }
.tech-copy p { color: #d7e5f1; }
.tech-copy .btn { align-self: flex-start; }
.tech-media img { width: 100%; height: 100%; min-height: 260px; max-height: 420px; object-fit: cover; object-position: 50% 30%; }
.tech-list { list-style: none; display: grid; gap: 18px; padding: 36px var(--gutter) 44px; background: var(--deep); }
.tech-list li { display: flex; align-items: center; gap: 16px; }
.tech-list strong { display: block; font-size: .98rem; }
.tech-list span:not(.ring) { font-size: .85rem; color: #b9cfe2; }
.ring { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (min-width: 760px) { .tech-band { grid-template-columns: 1fr 1fr; } .tech-list { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .tech-band { grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr) 400px; min-height: 480px; }
  .tech-copy { padding: 56px 48px 56px max(48px, calc((100vw - var(--wrap)) / 2)); justify-content: center; }
  .tech-media img { max-height: none; }
  .tech-list { grid-column: auto; grid-template-columns: 1fr; align-content: center; padding: 40px; }
}

/* ------------------------------------------------------------ about / split */
.about-grid { display: grid; gap: 32px; align-items: center; }
.about-media img, .rounded-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--blue); margin-top: 2px; }
@media (min-width: 700px) { .checks.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; } }
@media (min-width: 960px) { .about-grid { grid-template-columns: 460px 1fr; gap: 64px; } .about-media img { aspect-ratio: 1 / 1; } }
.two-col { display: grid; gap: 40px; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

/* ------------------------------------------------------------ visit / map */
.visit-grid { display: grid; gap: 24px; }
.visit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.visit-card h2 { font-size: 1.6rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; background: #dce9f3; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.map.tall, .map.tall iframe { min-height: 420px; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 440px 1fr; } }
.footer-line { display: flex; gap: 10px; align-items: flex-start; }
.footer-line .icon { color: var(--blue); margin-top: 3px; }
.big-phone { display: inline-flex; align-items: center; gap: 12px; font-size: 1.7rem; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.big-phone.light { color: #fff; }

.hours { display: grid; gap: 4px; font-size: .92rem; margin: 0; }
.hours div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 2px 6px; margin: 0 -6px; border-radius: 6px; }
.hours dt { font-weight: 700; color: var(--navy); }
.hours dd { margin: 0; }
.hours .today { background: var(--sky); }
.site-footer .hours .today { background: rgba(46, 111, 163, .1); }
.open-status { font-size: .9rem; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.open-status:empty { display: none; }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.open-status.is-open { color: var(--success); }

/* ------------------------------------------------------------ CTA band */
.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 340px; padding: 56px var(--gutter); text-align: center; background: var(--deep); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 46, 74, .55), rgba(15, 46, 74, .45)); z-index: 1; }
.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 640px; }
.cta-inner h2 { color: #fff; }
.cta-inner .script { font-size: 2rem; }
.cta-sub { color: #eaf3fa; margin-bottom: 8px; }
@media (min-width: 900px) { .cta-band { min-height: 360px; } }

/* ------------------------------------------------------------ page hero */
.page-hero { background: linear-gradient(180deg, var(--sky), var(--page)); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; gap: 28px; padding-top: 32px; padding-bottom: 40px; align-items: center; }
.page-hero-text { display: flex; flex-direction: column; gap: 12px; }
.page-hero .lead { color: var(--muted); max-width: 640px; }
.page-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (min-width: 960px) { .page-hero-grid { padding-top: 48px; padding-bottom: 56px; } .page-hero.has-image .page-hero-grid { grid-template-columns: 1fr 540px; gap: 56px; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }

/* ------------------------------------------------------------ service pages */
.service-hero { background: #fff; border-bottom: 1px solid var(--line); }
.service-hero-grid { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 44px; align-items: center; }
.service-hero-text { display: flex; flex-direction: column; gap: 14px; }
.service-script { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.service-hero-media { order: -1; }
.service-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.service-hero .btn-row .btn { flex: 1 1 100%; }
@media (min-width: 600px) { .service-hero .btn-row .btn { flex: 0 0 auto; } }
@media (min-width: 960px) { .service-hero-grid { grid-template-columns: 1fr 520px; gap: 56px; padding-top: 48px; padding-bottom: 64px; } .service-hero-media { order: 0; } }

.with-aside { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .with-aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } .with-aside.wide-aside { grid-template-columns: minmax(0, 1fr) 380px; } }
.aside { display: flex; flex-direction: column; gap: 16px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.aside-card h2 { font-size: 1.3rem; }
.aside-card.dark { background: var(--navy); border-color: var(--navy); color: #d7e5f1; }
.aside-card.dark h2 { color: #fff; }
.aside-card.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card.emergency { background: #fff8ec; border-color: #f3dcb2; }
.aside-card.emergency strong { display: flex; gap: 8px; align-items: center; color: var(--navy); }
.aside-card.emergency span { font-size: .9rem; }
.aside-label { display: flex; align-items: center; gap: 8px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.aside-label.light { color: var(--blue-light); }
.aside-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.aside-phone:hover { color: var(--blue-light); }
.related { list-style: none; display: flex; flex-direction: column; }
.related a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
.related li:last-child a { border-bottom: 0; }
.related .icon { color: var(--blue); }

.benefits { display: grid; gap: 14px; }
@media (min-width: 700px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.benefit .icon { color: var(--blue); }
.benefit strong { color: var(--navy); }
.benefit span { font-size: .9rem; color: var(--muted); }

.steps { list-style: none; counter-reset: step; display: grid; gap: 12px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .with-aside .steps { grid-template-columns: repeat(4, 1fr); } .two-col .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--sky); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.section-tint .steps li { background: #fff; }
.steps li::before { content: counter(step); width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.steps strong { color: var(--navy); }
.steps span { font-size: .9rem; color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; cursor: pointer; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq-a { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }

/* ------------------------------------------------------------ emergency: first aid + warning signs */
.urgent-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .urgent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .urgent-grid { grid-template-columns: repeat(4, 1fr); } }
.urgent-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--gold); }
.urgent-card h3 { font-size: 1.02rem; color: var(--navy); }
.urgent-card p { font-size: .9rem; color: var(--muted); }

.urgent-cta { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.urgent-cta p { color: var(--muted); max-width: 54ch; }

.alert { margin-top: 26px; background: #fdf0ef; border: 1px solid #f0cbc7; border-left: 4px solid var(--danger); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.alert-head { display: flex; gap: 10px; align-items: flex-start; color: var(--danger); }
.alert-head .icon { flex: none; margin-top: 2px; }
.alert-head strong { color: var(--danger); }
.alert ul { list-style: none; display: grid; gap: 7px; }
.alert li { position: relative; padding-left: 18px; font-size: .92rem; }
.alert li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }
.alert .small { color: var(--muted); }

/* ------------------------------------------------------------ areas we serve */
.areas-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
.area-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.section-tint .area-group { background: #fff; }
.area-group h3 { display: flex; gap: 8px; align-items: center; font-size: .95rem; color: var(--navy); }
.area-group h3 .icon { color: var(--blue); flex: none; }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.area-list li { font-size: .86rem; color: var(--muted); background: var(--sky); border-radius: 999px; padding: 5px 11px; }
.section-tint .area-list li { background: var(--page); }

/* ------------------------------------------------------------ services index */
.service-list { display: grid; gap: 16px; }
@media (min-width: 700px) { .service-list { grid-template-columns: 1fr 1fr; } }
.service-row { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: box-shadow .2s, transform .2s; }
.service-row:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--text); }
.service-row-media { position: relative; }
.service-row-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.service-row-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.service-row-body h2 { font-size: 1.2rem; }
.service-row-body p { font-size: .92rem; color: var(--muted); }
.service-row-body .link-arrow { margin-top: auto; padding-top: 4px; }

/* ------------------------------------------------------------ info cards */
.info-cards { display: grid; gap: 16px; }
@media (min-width: 800px) { .info-cards { grid-template-columns: repeat(3, 1fr); } }
.info-cards.three { width: 100%; margin-top: 16px; text-align: left; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.info-card h2 { font-size: 1.2rem; }
.info-card p { color: var(--muted); font-size: .95rem; }
.info-card .link-arrow { margin-top: auto; }
.info-card.link:hover { box-shadow: var(--shadow-lg); color: var(--text); }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--sky); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }

/* ------------------------------------------------------------ technology page */
.tech-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
.tech-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tech-card .ring { border-color: var(--line); color: var(--navy); background: var(--sky); }
.tech-card h2 { font-size: 1.25rem; }
.tech-card p { color: var(--muted); }
.tech-card.featured { background: var(--navy); border-color: var(--navy); color: #d7e5f1; }
.tech-card.featured h2 { color: #fff; }
.tech-card.featured p { color: #d7e5f1; }
.tech-card.featured .ring { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
@media (min-width: 1000px) { .tech-card.featured { grid-row: span 2; justify-content: center; } }

/* ------------------------------------------------------------ team */
.team-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-photo { aspect-ratio: 4 / 4.2; background: linear-gradient(135deg, #e3eef7, #cfe0ee); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.team-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.team-body h2 { font-size: 1.15rem; }
.team-role { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--blue); }
.team-body p:last-child { color: var(--muted); font-size: .92rem; }

/* ------------------------------------------------------------ forms */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 700px) { .form { padding: 32px; } }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 700; color: var(--navy); padding: 0; margin-bottom: 0; }
.optional { font-weight: 500; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--text); width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235f7184' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46, 111, 163, .15); }
.invalid input, .invalid select, input.invalid { border-color: var(--danger); }
.field.invalid label { color: var(--danger); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; color: var(--navy); cursor: pointer; background: #fff; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; flex-shrink: 0; margin-top: 1px; accent-color: var(--navy); padding: 0; }
.check.invalid { color: var(--danger); }
.hp { position: absolute; left: -9999px; }
.form-error { color: var(--danger); font-weight: 700; }
.book-section { padding-top: 36px; }

/* ------------------------------------------------------------ thanks / prose */
.thanks { padding: 80px 0 96px; }
.thanks-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--sky); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.thanks .script { font-size: 2.4rem; }
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 16px; }
.prose ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.note { display: flex; gap: 10px; align-items: flex-start; background: #fff8ec; border: 1px solid #f3dcb2; border-radius: 12px; padding: 14px 16px; font-size: .9rem; }
.note .icon { color: #9a6a12; margin-top: 2px; }

/* ------------------------------------------------------------ footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 120px; width: auto; align-self: flex-start; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 320px; }
.social { display: flex; gap: 6px; }
.social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sky); color: var(--navy); }
.social a:hover { background: var(--navy); color: #fff; }
.footer-h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.site-footer .footer-line { margin-bottom: 10px; font-size: .95rem; }
.site-footer .footer-line a { color: var(--text); font-weight: 600; }
.footer-links { list-style: none; display: flex; flex-direction: column; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text); }
.footer-links a:hover { color: var(--navy); }
.footer-bottom { border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-bottom a { color: var(--muted); }
@media (min-width: 760px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ------------------------------------------------------------ consent */
.consent { position: fixed; left: 0; right: 0; bottom: var(--sticky-h); z-index: 60; background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20, 57, 90, .08); padding: 12px var(--gutter); display: flex; flex-direction: column; gap: 10px; font-size: .82rem; line-height: 1.45; color: var(--text); }
.consent p { max-width: 70ch; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent-actions .btn { flex: 1; min-height: 40px; padding: 0 18px; font-size: .85rem; }
@media (min-width: 900px) {
  .consent { bottom: 0; flex-direction: row; align-items: center; justify-content: center; gap: 28px; padding: 12px max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
  .consent p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: none; min-width: 0; }
  .consent-actions .btn { flex: 0 0 auto; }
}

/* ------------------------------------------------------------ reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ team & forms */
.dentist-card { display: grid; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.dentist-photo { background: linear-gradient(135deg, #e3eef7, #cfe0ee); overflow: hidden; }
.dentist-photo img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: 50% 20%; }
.dentist-body { padding: 0 24px 28px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) { .dentist-card { grid-template-columns: 360px 1fr; } .dentist-photo { min-height: 100%; } .dentist-photo img { min-height: 100%; object-position: 50% 16%; } .dentist-body { padding: 40px 44px 40px 0; } }
.staff-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.staff-card-media { aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(135deg, #e3eef7, #cfe0ee); display: flex; align-items: center; justify-content: center; }
.staff-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; display: block; }
.staff-monogram { font-size: 3.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--navy); opacity: .5; }
.staff-card-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 14px 20px; }
.staff-card-body h3 { font-size: 1.05rem; }
.staff-card-body .team-role { font-size: .72rem; }
.hours .appt { font-size: .8rem; color: var(--muted); }
.forms-list { list-style: none; display: grid; gap: 10px; }
@media (min-width: 700px) { .forms-list { grid-template-columns: 1fr 1fr; } }
.forms-list a, .forms-list .form-na { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); font-weight: 700; }
.forms-list a:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--navy); }
.forms-list .icon { color: var(--blue); }
.forms-list small { margin-left: auto; font-weight: 600; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.forms-list .form-na { color: var(--text); font-weight: 600; }
