/* =====================================================================
   Smile'n'Care Dental Clinic — stylesheet
   ===================================================================== */

:root {
  --primary: #0fb3c4;
  --primary-dark: #0b8a99;
  --primary-darker: #075f6b;
  --primary-light: #e2f7f9;
  --primary-tint: #f1fbfc;
  --cyan: #22d3ee;        /* bright dental cyan */
  --mint: #6ee7d6;        /* fresh mint */
  --aqua: #2dd4bf;        /* aqua-teal */
  --pink: #ff7eb0;        /* soft rose accent */
  --pink-soft: #ffe3ee;   /* pale pink wash */
  --accent: #ff7a59;
  --accent-dark: #ef5f3c;
  --ink: #0c2a31;
  --body: #33484f;
  --muted: #5f7a83;
  --bg: #ffffff;
  --bg-soft: #ecf8fb;     /* cooler */
  --border: #d4e7ea;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(8, 60, 70, .06), 0 2px 8px rgba(8, 60, 70, .05);
  --shadow-md: 0 10px 28px rgba(8, 60, 70, .12);
  --shadow-lg: 0 24px 56px rgba(8, 60, 70, .17);
  --glow: 0 10px 30px rgba(15, 179, 196, .35);
  /* dental gradients */
  --grad-brand: linear-gradient(135deg, var(--cyan), var(--primary) 55%, var(--primary-dark));
  --grad-deep: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
  --grad-soft: linear-gradient(155deg, #f4fcfd 0%, #eaf7fa 52%, #fdeef4 100%);
  /* faint tooth + sparkle motif (used as subtle section background) */
  --dental-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230fb3c4' stroke-opacity='0.06' stroke-width='2'%3E%3Cpath d='M30 22c-4 0-6 2.5-9 2.5S15 22 11 22c-4 0-6 3.5-6 8 0 3 .8 5.6 1.6 8.8.6 2.5 1 5.3 2.6 5.3 1.6 0 1.9-2 2.4-4.2.5-2.2.8-5 2.8-5s2.3 2.8 2.8 5c.5 2.2.8 4.2 2.4 4.2 1.6 0 2-2.8 2.6-5.3.8-3.2 1.6-5.8 1.6-8.8 0-4.5-2-8-6-8-3 0-3.6 2.5-7 2.5'/%3E%3Cpath d='M92 78c-4 0-6 2.5-9 2.5S77 78 73 78c-4 0-6 3.5-6 8 0 3 .8 5.6 1.6 8.8.6 2.5 1 5.3 2.6 5.3 1.6 0 1.9-2 2.4-4.2.5-2.2.8-5 2.8-5s2.3 2.8 2.8 5c.5 2.2.8 4.2 2.4 4.2 1.6 0 2-2.8 2.6-5.3.8-3.2 1.6-5.8 1.6-8.8 0-4.5-2-8-6-8-3 0-3.6 2.5-7 2.5'/%3E%3C/g%3E%3Cg fill='%2322d3ee' fill-opacity='0.07'%3E%3Cpath d='M95 20l1.6 4.4L101 26l-4.4 1.6L95 32l-1.6-4.4L89 26l4.4-1.6z'/%3E%3Cpath d='M25 90l1.2 3.3L29.5 95l-3.3 1.2L25 99.5l-1.2-3.3L20.5 95l3.3-1.2z'/%3E%3C/g%3E%3C/svg%3E");
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --container: 1140px;
  --header-h: 72px;
  --font-head: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------------------------- base ---------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary-darker); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft {
  background-color: var(--bg-soft);
  background-image: radial-gradient(700px 320px at 100% -8%, rgba(255,126,176,.12), transparent 60%), var(--dental-motif);
  background-size: auto, 260px; background-repeat: no-repeat, repeat;
}
.section--tint {
  background-color: var(--primary-tint);
  background-image: radial-gradient(700px 320px at 0% -8%, rgba(255,126,176,.12), transparent 60%), var(--dental-motif);
  background-size: auto, 260px; background-repeat: no-repeat, repeat;
}

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-dark); margin-bottom: .65rem;
}
.eyebrow::before { content: "\2726"; margin-right: .5em; color: var(--cyan); font-size: .9em; }
.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.lead { font-size: 1.15rem; color: var(--body); }
.text-muted { color: var(--muted); }
/* teal highlighter marker for key names */
.hl {
  font-weight: 600; color: var(--primary-darker);
  background: linear-gradient(180deg, transparent 58%, rgba(34,211,238,.32) 58%);
  padding: 0 .16em; border-radius: 4px;
}
.center { text-align: center; }

/* ---------------------------- buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn { position: relative; overflow: hidden; }
/* moving sheen on solid buttons */
.btn-primary::after, .btn-accent::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::after, .btn-accent:hover::after { left: 130%; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 32px rgba(15,179,196,.5); transform: translateY(-2px); filter: brightness(1.06); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; box-shadow: 0 10px 24px rgba(255, 122, 89, .4); }
.btn-accent:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.04); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.35); }
.btn-wa:hover { background: #1ebe5d; color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--primary-dark); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------------------------- header -------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  background: var(--grad-brand);
  border-radius: 12px; box-shadow: var(--glow);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.05; display: flex; flex-direction: column; }
.brand-name small { font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a { font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--ink); }
.nav-links a:not(.btn):hover { color: var(--primary-dark); }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--primary-dark); }
.nav-links a[aria-current="page"]:not(.btn)::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--primary); margin-top: 3px;
}
.nav-cta { color: #fff !important; padding: .55rem 1.25rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border);
  background: #fff; border-radius: 12px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 14px 20px 22px; box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .7rem .4rem; font-size: 1.05rem; }
  .nav-links a[aria-current="page"]:not(.btn)::after { display: none; }
  .nav-cta { margin-top: .5rem; }
}

/* ---------------------------- hero ---------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(34,211,238,.20), transparent 60%),
    radial-gradient(820px 460px at -8% 108%, rgba(255,126,176,.20), transparent 58%),
    var(--dental-motif),
    var(--grad-soft);
  background-size: auto, auto, 300px, auto;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(64px);
  opacity: .55; z-index: 0; pointer-events: none;
}
.hero::before { width: 340px; height: 340px; right: -60px; top: -90px; background: radial-gradient(circle, rgba(34,211,238,.55), transparent 70%); }
.hero::after  { width: 320px; height: 320px; left: -90px; bottom: -110px; background: radial-gradient(circle, rgba(255,126,176,.5), transparent 70%); }
.hero .container { position: relative; z-index: 1; }

/* tooth-scallop divider — the dental "row of teeth" signature edge */
.tooth-divider {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 22px; z-index: 3; pointer-events: none;
  background: url("../images/tooth-scallop.svg") repeat-x left bottom; background-size: 48px 22px;
  filter: drop-shadow(0 -2px 2px rgba(8, 60, 70, .07));
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: clamp(48px, 7vw, 88px) 0;
}
.hero h1 { margin-bottom: .35em; }
.hero .lead { max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero-trust { display: flex; gap: 1.6rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--primary); }

.hero-card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px; overflow: hidden;
}
.hero-visual {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid; place-items: center; color: #fff; position: relative;
}
.hero-visual svg { width: 46%; opacity: .95; }
.hero-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.hero-badge { display: flex; gap: .65rem; align-items: center; background: var(--primary-tint); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .7rem .8rem; }
.hero-badge .ico { width: 34px; height: 34px; flex: none; border-radius: 9px; background: #fff; display: grid; place-items: center; color: var(--primary-dark); box-shadow: var(--shadow-sm); }
.hero-badge .ico svg { width: 18px; height: 18px; }
.hero-badge b { font-family: var(--font-head); font-size: .92rem; color: var(--ink); display: block; line-height: 1.1; }
.hero-badge small { color: var(--muted); font-size: .78rem; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero .lead { max-width: 48ch; margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
}

/* ---------------------------- stats --------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 22px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--primary-dark); line-height: 1; }
.stat .label { color: var(--muted); font-size: .9rem; margin-top: .35rem; }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------------------------- cards / grids ------------------------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--radius) var(--radius) 0 0; background: var(--grad-brand);
  opacity: 0; transition: opacity .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(15,179,196,.35); }
.card:hover::before { opacity: 1; }
.card .card-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e0f7f9, #c9eff2); color: var(--primary-dark); margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(15,179,196,.14);
}
.card .card-ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* feature list inside service cards */
.svc-card ul { margin-top: .8rem; display: grid; gap: .45rem; }
.svc-card li { position: relative; padding-left: 1.5rem; color: var(--body); font-size: .95rem; }
.svc-card li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--primary);
}
.svc-card { display: flex; flex-direction: column; }

/* ---------------------------- gallery ------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }
.tile {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  display: grid; place-items: center; text-align: center; color: #fff;
}
.tile::after { content: "Photo placeholder"; position: absolute; bottom: 10px; left: 0; right: 0; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.tile .tile-inner { z-index: 1; display: grid; gap: .4rem; justify-items: center; padding: 0 14px; }
.tile svg { width: 40px; height: 40px; opacity: .95; }
.tile b { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.tile.g1 { background: linear-gradient(135deg,#0ea5b7,#0b7c8a); }
.tile.g2 { background: linear-gradient(135deg,#19b5a6,#0e8f9b); }
.tile.g3 { background: linear-gradient(135deg,#3aa0c9,#2176a8); }
.tile.g4 { background: linear-gradient(135deg,#ff9a76,#ef5f3c); }
.tile.g5 { background: linear-gradient(135deg,#4cc0c0,#178a8a); }
.tile.g6 { background: linear-gradient(135deg,#6aa9e9,#3f7fd0); }
.tile.photo { display: block; padding: 0; }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; }
.tile.photo::after { content: none; }
.tile.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  background: linear-gradient(transparent, rgba(8,48,55,.82));
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 26px 14px 12px; text-align: left;
}

/* ---------------------------- contact ------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.contact-item .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--primary-light); color: var(--primary-dark); display: grid; place-items: center; }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-item .val { font-family: var(--font-head); font-weight: 600; color: var(--ink); word-break: break-word; }
.map-embed { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ---------------------------- booking ------------------------------- */
.booking-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.booking-wrap > * { min-width: 0; } /* let the date strip scroll inside the panel instead of stretching it */
@media (max-width: 920px) { .booking-wrap { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(20px, 3vw, 30px); }
.panel h3 { margin-bottom: .25rem; }
.panel .step { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-dark); font-weight: 600; }

.mode-pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; margin-left: auto; }
.mode-pill.demo { background: #fff4e8; color: #b05a12; border: 1px solid #f6d4ad; }
.mode-pill.live { background: #e6f9ef; color: #11804a; border: 1px solid #b6e8cc; }
.mode-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.panel-head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }

/* date strip */
.date-strip-wrap { display: flex; align-items: center; gap: 8px; }
.date-strip { flex: 1 1 auto; min-width: 0; display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-behavior: smooth; }
.date-strip::-webkit-scrollbar { height: 7px; }
.date-strip::-webkit-scrollbar-track { background: var(--bg-soft); border-radius: 6px; }
.date-strip::-webkit-scrollbar-thumb { background: rgba(15,179,196,.45); border-radius: 6px; }
.date-strip::-webkit-scrollbar-thumb:hover { background: var(--primary); }
.date-strip { scrollbar-color: rgba(15,179,196,.55) var(--bg-soft); scrollbar-width: thin; }
.date-nav {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border);
  background: #fff; color: var(--primary-dark); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: border-color .15s ease, background .15s ease, transform .12s ease, opacity .15s ease;
}
.date-nav:hover:not(:disabled) { border-color: var(--primary); background: var(--primary-light); transform: translateY(-1px); }
.date-nav:disabled { opacity: .3; cursor: default; box-shadow: none; }
.date-nav svg { width: 18px; height: 18px; }
.date-chip {
  flex: none; width: 74px; padding: 12px 6px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: #fff; cursor: pointer; text-align: center;
  transition: border-color .15s ease, background .15s ease, transform .12s ease; font-family: var(--font-head);
}
.date-chip:hover { border-color: var(--primary); transform: translateY(-2px); }
.date-chip .dow { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.date-chip .dnum { font-size: 1.4rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.date-chip .mon { font-size: .72rem; color: var(--muted); }
.date-chip.active { background: var(--primary); border-color: var(--primary); }
.date-chip.active .dow, .date-chip.active .dnum, .date-chip.active .mon { color: #fff; }

/* time slots */
.slots-session + .slots-session { margin-top: 1.1rem; }
.slots-session h4 { font-family: var(--font-head); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; display: flex; align-items: center; gap: .5rem; }
.slots-session h4 svg { width: 16px; height: 16px; color: var(--primary); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot {
  padding: .6rem .4rem; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: #fff; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--ink); transition: all .14s ease; text-align: center;
}
.slot:hover:not(:disabled) { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }
.slot.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.slot:disabled { background: #f3f5f6; color: #b3c0c4; cursor: not-allowed; text-decoration: line-through; border-color: #eceff0; }

.muted-note { color: var(--muted); font-size: .9rem; }
.empty-slots { text-align: center; padding: 28px 12px; color: var(--muted); }
.empty-slots svg { width: 36px; height: 36px; color: var(--border); margin-bottom: .4rem; }

/* form */
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .35rem; }
.field .req { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,183,.15); }
.field textarea { resize: vertical; min-height: 84px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.selected-summary { background: var(--primary-tint); border: 1px dashed var(--primary); border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: 1rem; font-size: .95rem; color: var(--ink); display: none; }
.selected-summary.show { display: block; }
.selected-summary b { font-family: var(--font-head); }

.form-alert { border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .94rem; margin-bottom: 1rem; display: none; }
.form-alert.show { display: block; }
.form-alert.error { background: #fdecec; color: #b3261e; border: 1px solid #f6c6c2; }
.form-alert.success { background: #e6f9ef; color: #11804a; border: 1px solid #b6e8cc; }

/* booking success screen */
.booking-done { text-align: center; padding: 10px 6px; }
.booking-done .check { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; background: #e6f9ef; color: #11804a; display: grid; place-items: center; }
.booking-done .check svg { width: 38px; height: 38px; }
.summary-table { text-align: left; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.2rem 0; display: grid; gap: .5rem; }
.summary-table .row { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.summary-table .row span:first-child { color: var(--muted); }
.summary-table .row span:last-child { font-family: var(--font-head); font-weight: 600; color: var(--ink); text-align: right; }

/* ---------------------------- CTA band ------------------------------ */
.cta-band {
  background: var(--grad-deep);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 220px at 82% -25%, rgba(34,211,238,.40), transparent 60%),
    radial-gradient(540px 210px at 6% 125%, rgba(255,126,176,.34), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin: 0 auto 1.6rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------------------------- page banner --------------------------- */
.page-banner {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(34,211,238,.18), transparent 60%),
    var(--dental-motif),
    var(--grad-soft);
  background-size: auto, 280px, auto;
  padding: clamp(40px, 6vw, 72px) 0; text-align: center; border-bottom: 0;
  position: relative; overflow: hidden;
}
.page-banner p { color: var(--muted); max-width: 60ch; margin: .5rem auto 0; font-size: 1.08rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.crumbs a { color: var(--muted); }

/* ---------------------------- footer -------------------------------- */
.site-footer { background: var(--ink); color: #c8d6da; padding: clamp(44px, 6vw, 68px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #c8d6da; }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: .6rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #8aa3aa; }
.footer-brand p { color: #9fb4ba; font-size: .95rem; max-width: 34ch; }
.foot-contact { display: grid; gap: .65rem; }
.foot-contact a, .foot-contact span { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.foot-contact svg { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 3px; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--primary); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: #8aa3aa; }

/* ---------------------------- reveal anim --------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------- utilities ----------------------------- */
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }
.mt-2 { margin-top: 2rem; } .mt-1 { margin-top: 1rem; }
.about-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .about-cols { grid-template-columns: 1fr; } }
.check-list { display: grid; gap: .7rem; margin-top: 1rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--body); }
.check-list svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 2px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .55rem 0; border-bottom: 1px solid var(--border); font-size: .96rem; }
.hours-table td:last-child { text-align: right; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.hours-table tr:last-child td { border-bottom: 0; }

/* ---------------------------- photos -------------------------------- */
.hero-photo-wrap { position: relative; }
.hero-photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero-float {
  position: absolute; left: -16px; bottom: 22px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 12px 16px; display: flex; gap: .7rem; align-items: center; max-width: 240px;
}
.hero-float .ico { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--primary-light); color: var(--primary-dark); display: grid; place-items: center; }
.hero-float .ico svg { width: 20px; height: 20px; }
.hero-float b { font-family: var(--font-head); font-size: .95rem; color: var(--ink); display: block; line-height: 1.15; }
.hero-float small { color: var(--muted); font-size: .78rem; }
@media (max-width: 880px) {
  .hero-photo { aspect-ratio: 4/5; }
  .hero-float { left: 12px; bottom: 12px; }
}

.about-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.media-strip {
  display: inline-flex; align-items: center; gap: .7rem; background: var(--primary-tint);
  border: 1px solid var(--border); border-radius: 999px; padding: .5rem 1rem; margin-bottom: 1.1rem;
  font-size: .9rem; color: var(--ink);
}
.media-strip svg { width: 18px; height: 18px; color: var(--accent-dark); }
.media-strip b { font-family: var(--font-head); }

/* photo feature cards (image on top) */
.photo-card { padding: 0; overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.photo-card .photo-body { padding: 20px 22px 24px; }
.photo-card h3 { margin-bottom: .35rem; }
.photo-card p { color: var(--muted); margin: 0; font-size: .95rem; }
/* let CSS aspect-ratio govern height (override the img width/height attributes) */
.hero-photo, .about-img, .doctor-photo, .photo-card img { height: auto; }

/* testimonial */
.testi-card { display: flex; gap: 16px; align-items: flex-start; }
.testi-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.testi-card .stars { color: #f5b53d; letter-spacing: 2px; font-size: 1rem; }
.testi-card .who { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-top: .4rem; }

/* doctor / founder block */
.doctor-cols { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .doctor-cols { grid-template-columns: 1fr; } }
.doctor-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
@media (max-width: 820px) { .doctor-photo { aspect-ratio: 4/3; } }

/* responsive YouTube embed */
.video-wrap { position: relative; width: 100%; max-width: 880px; margin: 1.4rem auto 0; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* home page "find us" map */
.home-map { width: 100%; aspect-ratio: 21/9; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
@media (max-width: 700px) { .home-map { aspect-ratio: 4/3; } }

/* subtle Indian tricolour accent */
.tricolor { display: inline-block; width: 44px; height: 5px; border-radius: 3px; vertical-align: middle; margin-left: .55rem;
  background: linear-gradient(90deg, #ff9933 0 33.3%, #ffffff 33.3% 66.6%, #138808 66.6% 100%); box-shadow: 0 0 0 1px var(--border); }

/* booking CTA section with hours */
.book-cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
@media (max-width: 760px) { .book-cta-grid { grid-template-columns: 1fr; } }
.book-cta-main { background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker)); color: #fff; padding: clamp(30px, 4vw, 48px); }
.book-cta-main h2 { color: #fff; }
.book-cta-main p { color: rgba(255,255,255,.9); }
.book-cta-side { background: #fff; padding: clamp(24px, 3vw, 36px); }
.book-cta-side h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.book-cta-side h3 svg { width: 20px; height: 20px; color: var(--primary); }
