/* ============================================================
   Moly's Dental Care — demo mini-site
   Theme: "Violet Smile" — soft violet-white base, violet→cyan
   gradients, glassy panels, tooth-shaped clip cards, sparkles.
   Fonts: Sora (headings) + DM Sans (body)
   ============================================================ */

:root {
  --bg: #faf8ff;
  --bg-2: #f1ecff;
  --panel: #ffffff;
  --line: #e6ddff;
  --text: #241b3e;
  --muted: #6b5f8a;

  --accent: #7c3aed;
  --accent-dark: #5b21b6;
  --accent-soft: #ede9fe;
  --cyan: #0891b2;
  --cyan-bright: #22d3ee;
  --cyan-soft: #cffafe;
  --spark: #f0abfc;
  --pink: #ec4899;
  --pink-soft: #fce7f3;
  --star: #f5b301;

  --grad: linear-gradient(135deg, #7c3aed 0%, #0891b2 100%);
  --grad-soft: linear-gradient(135deg, #ede9fe 0%, #cffafe 100%);
  --grad-pink: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);

  --header-bg: #2a1b54;
  --header-bg-deep: #1f1240;
  --footer-bg: #221449;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;

  --shadow: 0 16px 40px rgba(91, 33, 182, 0.14);
  --shadow-sm: 0 8px 22px rgba(91, 33, 182, 0.10);
  --radius: 20px;
  --radius-lg: 28px;
}

/* ---------- base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: "Sora", "DM Sans", sans-serif; line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.18rem; }
p  { color: var(--muted); }
a  { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
strong { color: var(--text); }

.container { width: 92%; max-width: 1150px; margin: 0 auto; }

.section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-white { background: var(--panel); }
.section-lav { background: linear-gradient(180deg, #e9e1fd 0%, #dcf3fa 100%); }

.section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-head p { margin-top: 12px; font-size: 1.04rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Sora", sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #ddd0fb; border-radius: 999px;
  padding: 6px 16px; margin-bottom: 16px;
}
.section-head .eyebrow { margin-top: 0; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.98rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative; overflow: hidden;
}
.btn-primary {
  color: #fff; background: var(--grad);
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(124, 58, 237, 0.45); }
.btn-ghost { color: var(--accent); background: transparent; border-color: #d8c9fb; }
.btn-ghost:hover { background: var(--accent-soft); transform: translateY(-3px); }
.btn-outline-light { color: #fff; background: transparent; border-color: rgba(255,255,255,0.65); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); }
.btn-call { color: #fff; background: linear-gradient(120deg, #0e9f6e, #0891b2); box-shadow: 0 10px 24px rgba(14, 159, 110, 0.35); }
.btn-call:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14, 159, 110, 0.45); }
.btn-white { color: var(--accent-dark); background: #fff; box-shadow: 0 10px 26px rgba(15, 8, 40, 0.25); }
.btn-white:hover { transform: translateY(-3px); }

/* shine sweep on hover */
.btn-primary::after, .btn-call::after, .btn-white::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-primary:hover::after, .btn-call:hover::after, .btn-white:hover::after { left: 130%; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--header-bg-deep); color: #cbbdf5;
  font-size: 0.82rem; padding: 8px 0; position: relative; z-index: 60;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar a { color: #cbbdf5; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar-contact .fb-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); border-radius: 999px; padding: 2px 12px 2px 8px;
}
.topbar-contact .fb-chip svg { width: 13px; height: 13px; fill: #8ab4ff; }
.topbar-hours { color: #a99bd6; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(120deg, var(--header-bg) 0%, #35207a 55%, #1d4e8f 130%);
  box-shadow: 0 10px 30px rgba(31, 18, 64, 0.35);
}
.nav { display: flex; align-items: center; gap: 20px; padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-right: auto; }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 4px 10px rgba(255,255,255,0.25)); }
.brand-name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.12rem; line-height: 1.1; display: flex; flex-direction: column; }
.brand-name small { font-family: "DM Sans", sans-serif; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9db9f5; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  color: #e6ddff; font-weight: 500; font-size: 0.95rem;
  padding: 9px 13px; border-radius: 999px; position: relative;
  transition: background 0.25s ease, color 0.25s ease;
}
.menu a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.menu a[aria-current="page"] { background: rgba(255,255,255,0.16); color: #fff; font-weight: 700; }

.header-cta {
  color: #fff; font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.92rem;
  background: linear-gradient(120deg, #22d3ee, #7c3aed);
  padding: 12px 24px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: ctaPulse 3.2s ease-in-out infinite;
}
.header-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 28px rgba(124, 58, 237, 0.5); }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(34, 211, 238, 0.30); }
  50% { box-shadow: 0 8px 26px rgba(124, 58, 237, 0.55); }
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 11px 10px; cursor: pointer;
}
.hamburger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform 0.3s ease, opacity 0.3s ease; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(800px 520px at -10% 30%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(600px 400px at 50% 115%, rgba(240, 171, 252, 0.18), transparent 60%),
    var(--bg);
  padding: clamp(64px, 9vw, 110px) 0 clamp(70px, 9vw, 110px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--accent-dark); font-weight: 700; font-size: 0.85rem;
  border-radius: 999px; padding: 8px 18px; margin-bottom: 22px;
}
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lead { font-size: 1.12rem; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--muted); }
.trust-item .t-ico {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); font-size: 1.1rem;
}
.trust-item strong { display: block; color: var(--text); font-family: "Sora", sans-serif; font-size: 0.98rem; }

/* hero art */
.hero-art { position: relative; min-height: 440px; }
.blob {
  position: absolute; inset: 6% 4%;
  background: var(--grad);
  border-radius: 42% 58% 55% 45% / 48% 44% 56% 52%;
  opacity: 0.95;
  animation: blobMorph 9s ease-in-out infinite;
  box-shadow: var(--shadow);
}
@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 55% 45% / 48% 44% 56% 52%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 56% 44% 42% 58% / 44% 55% 45% 56%; transform: rotate(2.5deg) scale(1.03); }
}
.mascot {
  position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%);
  width: min(330px, 68%);
  filter: drop-shadow(0 24px 40px rgba(91, 33, 182, 0.35));
  animation: mascotBob 4.5s ease-in-out infinite;
}
@keyframes mascotBob {
  0%, 100% { transform: translate(-50%, -50%) rotate(-2deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(2deg) translateY(-16px); }
}
.hero-photo {
  position: absolute; border-radius: 50%; overflow: hidden;
  border: 5px solid #fff; box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-1 { width: 148px; height: 148px; right: -6px; top: 8%; animation: floatA 6s ease-in-out infinite; }
.hero-photo-2 { width: 118px; height: 118px; left: -4px; bottom: 10%; animation: floatB 7s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(12px); } }

.sparkle { position: absolute; color: var(--spark); animation: twinkle 2.6s ease-in-out infinite; }
.sparkle.s1 { font-size: 26px; top: 2%; left: 16%; animation-delay: 0.2s; }
.sparkle.s2 { font-size: 18px; bottom: 4%; right: 18%; animation-delay: 0.9s; }
.sparkle.s3 { font-size: 21px; top: 24%; right: -2%; animation-delay: 1.5s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(24deg); }
}

/* ---------- marquee ribbon ---------- */
.marquee {
  background: var(--grad); color: #fff; overflow: hidden;
  padding: 15px 0; transform: rotate(-1.1deg) scale(1.02);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.3);
  margin: -8px 0 10px;
}
.marquee-track { display: flex; width: max-content; animation: marqueeMove 26s linear infinite; }
.marquee-track span {
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; padding: 0 26px;
  display: inline-flex; align-items: center; gap: 26px;
}
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- tooth cards (shared) ---------- */
.tooth-card {
  position: relative;
  aspect-ratio: 2 / 3;
  clip-path: url(#toothClip);
  border-radius: 26px 26px 44px 44px; /* fallback if clip-path url() unsupported */
  background: linear-gradient(165deg, #ffffff 20%, #f3edff 90%);
  padding: 26px 13% 24px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: inset 0 -3px 0 rgba(124, 58, 237, 0.08);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
  filter: drop-shadow(0 12px 22px rgba(91, 33, 182, 0.13));
}
a.tooth-card { color: inherit; cursor: pointer; }
a.tooth-card:hover { transform: translateY(-8px) rotate(-1.2deg); }
.tooth-card:hover { filter: drop-shadow(0 20px 30px rgba(91, 33, 182, 0.22)); }

.tooth-icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 14px; background: var(--grad-soft);
}
.tooth-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.tooth-card p { font-size: 0.85rem; line-height: 1.5; }

.tooth-card .price-chip {
  margin-top: 12px;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.85rem;
  color: var(--accent-dark); background: var(--accent-soft);
  border: 1px solid #ddd0fb; border-radius: 999px; padding: 5px 14px;
}
.tooth-card .more {
  margin-top: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--cyan);
}

.tooth-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; }

/* gradient variant (offers) */
.tooth-card.gradient { color: #fff; border-radius: 30px 30px 56px 56px; padding: 32px 13% 24px; }
.tooth-card.gradient h3, .tooth-card.gradient strong { color: #fff; }
.tooth-card.gradient p { color: rgba(255,255,255,0.85); }
.tooth-card.gradient .tooth-icon { background: rgba(255,255,255,0.22); }
.tooth-card.gradient .price-chip { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.35); color: #fff; font-size: 1.02rem; padding: 6px 18px; }
.tooth-card.gradient .offer-tag {
  position: absolute; top: 15%; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; background: rgba(255,255,255,0.92); color: var(--accent-dark);
  border-radius: 999px; padding: 3px 12px;
}
.tooth-card.gradient.violet { background: linear-gradient(170deg, #8b5cf6 10%, #5b21b6 95%); }
.tooth-card.gradient.cyan   { background: linear-gradient(170deg, #22d3ee 5%, #0891b2 95%); }
.tooth-card.gradient.pink   { background: linear-gradient(170deg, #f472b6 5%, #c026d3 95%); }

/* ---------- offers ---------- */
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; max-width: 880px; margin: 0 auto; }
.offers-note { text-align: center; margin-top: 34px; font-size: 0.92rem; }

/* ---------- highlights ---------- */
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.highlight {
  background: rgba(255,255,255,0.75); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow-sm); transition: transform 0.3s ease;
}
.highlight:hover { transform: translateY(-5px); }
.h-icon {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.35rem; background: var(--grad-soft);
}
.highlight h3 { font-size: 0.99rem; margin-bottom: 4px; }
.highlight p { font-size: 0.85rem; }

/* ---------- appointment band ---------- */
.appointment-band {
  background:
    radial-gradient(700px 380px at 110% 20%, rgba(34,211,238,0.25), transparent 60%),
    radial-gradient(600px 400px at -10% 90%, rgba(240,171,252,0.3), transparent 60%),
    linear-gradient(130deg, #2a1b54 0%, #3b1f8f 55%, #0e4d6e 130%);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 60px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(26px, 4vw, 56px);
  align-items: center; overflow: hidden; position: relative;
  box-shadow: 0 24px 60px rgba(31, 18, 64, 0.4);
}
.appointment-band::before {
  content: "🦷"; position: absolute; font-size: 200px; opacity: 0.07;
  right: -30px; bottom: -60px; transform: rotate(-14deg);
}
.appointment-band h2 { color: #fff; margin-bottom: 14px; }
.appointment-band p { color: #cfc3f2; margin-bottom: 24px; max-width: 480px; }
.band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.step { display: flex; gap: 12px; align-items: center; color: #e6ddff; font-size: 0.95rem; }
.step b {
  font-family: "Sora", sans-serif; width: 30px; height: 30px; flex: 0 0 auto;
  display: grid; place-items: center; border-radius: 50%; font-size: 0.82rem;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
}
.band-media { position: relative; }
.band-media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: 190px 190px 26px 26px; border: 5px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 44px rgba(0,0,0,0.35);
}
.band-badge {
  position: absolute; top: -18px; right: -10px;
  background: #fff; color: var(--accent-dark); border-radius: 999px;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.8rem;
  padding: 10px 18px; box-shadow: var(--shadow);
  animation: floatA 5s ease-in-out infinite;
}

/* ---------- services overview ---------- */
.services-grid-more { text-align: center; margin-top: 44px; }

/* ---------- why us / stats ---------- */
.why-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.why-media { position: relative; }
.why-media img {
  width: 100%; aspect-ratio: 4/4.4; object-fit: cover;
  border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow);
}
.why-media::after {
  content: "✨"; position: absolute; top: 18px; right: 6px; font-size: 34px;
  animation: twinkle 3s ease-in-out infinite;
}
.check-list { display: flex; flex-direction: column; gap: 15px; margin: 26px 0 8px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-list .tick {
  flex: 0 0 auto; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 0.8rem; font-weight: 700;
  background: var(--grad);
}
.check-list strong { display: block; color: var(--text); }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 52px;
}
.stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 14px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.stat:hover { transform: translateY(-5px) rotate(-1deg); }
.stat strong {
  display: block; font-family: "Sora", sans-serif; font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat span { font-size: 0.85rem; color: var(--muted); }

/* ---------- before / after (static pair) ---------- */
.ba-static { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 620px; margin: 0 auto; }
.ba-figure {
  position: relative; aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  background-image: url("./images/teeth-split.jpg");
  background-size: 220% 100%; background-repeat: no-repeat;
}
.ba-figure.before { background-position: 0% center; }
.ba-figure.after { background-position: 100% center; }
.ba-figure figcaption {
  position: absolute; top: 14px; left: 14px;
  font-family: "Sora", sans-serif; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(20, 10, 45, 0.65); color: #fff; padding: 6px 14px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.ba-hint { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 16px; }

/* ---------- reviews ---------- */
.rating-line { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 34px; flex-wrap: wrap; }
.rating-line .stars { color: var(--star); font-size: 1.25rem; letter-spacing: 3px; }
.rating-line strong { font-family: "Sora", sans-serif; font-size: 1.2rem; }

.slider { position: relative; }
.slider-viewport { overflow: hidden; }
.slider-track { display: flex; gap: 22px; transition: transform 0.55s cubic-bezier(.33,1,.38,1); }
.review-card {
  flex: 0 0 calc((100% - 44px) / 3);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.3s ease;
}
.review-card:hover { transform: translateY(-5px); }
.review-card .stars { color: var(--star); letter-spacing: 2px; font-size: 0.95rem; }
.review-card blockquote { color: var(--text); font-size: 0.95rem; }
.review-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.95rem;
  background: var(--grad);
}
.review-card .who b { display: block; font-size: 0.92rem; }
.review-card .who span { font-size: 0.78rem; color: var(--muted); }
.treat-tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cyan); background: var(--cyan-soft);
  border-radius: 999px; padding: 3px 12px;
}
.slider-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 30px; }
.slider-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--accent-dark); font-size: 1.1rem; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform 0.25s ease, background 0.25s ease;
}
.slider-btn:hover { background: var(--accent-soft); transform: scale(1.08); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 10px; height: 10px; border-radius: 999px; border: none; cursor: pointer;
  background: #d9cdfa; transition: width 0.3s ease, background 0.3s ease;
}
.slider-dots button.active { width: 28px; background: var(--grad); }

/* reviews page */
.reviews-summary {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px);
  align-items: center; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm);
  margin-bottom: 46px;
}
.reviews-summary .big {
  font-family: "Sora", sans-serif; font-size: 4.2rem; font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rating-bars { display: flex; flex-direction: column; gap: 9px; }
.rating-bars .row { display: grid; grid-template-columns: 42px 1fr 46px; gap: 12px; align-items: center; font-size: 0.85rem; color: var(--muted); }
.rating-bars .track { height: 9px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.rating-bars .fill { height: 100%; border-radius: 999px; background: var(--grad); width: 0; transition: width 1.2s ease; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- location ---------- */
.location-band {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.location-info { padding: clamp(26px, 4vw, 44px); }
.location-info h2 { margin-bottom: 8px; }
.loc-line { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; color: var(--muted); font-size: 0.95rem; }
.loc-line .ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 13px; background: var(--grad-soft); display: grid; place-items: center; }
.location-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.location-media { position: relative; min-height: 320px; }
.location-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame {
  position: relative; width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--bg-2);
}
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
.location-page-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: stretch; }

.hours-card { margin-top: 22px; background: var(--bg-2); border-radius: var(--radius); padding: 18px 22px; }
.hours-card h4 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.hours-card p { font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; color: #fff; border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 74px) clamp(20px, 4vw, 60px);
  background: radial-gradient(600px 300px at 15% 0%, rgba(240,171,252,0.35), transparent 60%), var(--grad);
  box-shadow: 0 24px 54px rgba(124, 58, 237, 0.4); position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content: center; margin: 0; }
.cta-band::after {
  content: "🦷"; position: absolute; font-size: 170px; opacity: 0.08;
  left: -20px; top: -40px; transform: rotate(12deg);
}

/* ---------- page hero (subpages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(700px 340px at 80% -20%, rgba(34,211,238,0.35), transparent 60%),
    radial-gradient(560px 320px at 10% 120%, rgba(240,171,252,0.3), transparent 60%),
    linear-gradient(130deg, var(--header-bg) 0%, #3b1f8f 70%, #144d76 130%);
  padding: clamp(54px, 7vw, 84px) 0;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { color: #cfc3f2; max-width: 560px; margin: 14px auto 0; }
.crumb { font-size: 0.85rem; color: #a99bd6; margin-bottom: 18px; display: inline-block; }
.crumb a { color: #cfc3f2; }

/* ---------- about page ---------- */
.story-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.story-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-media img { border-radius: var(--radius); box-shadow: var(--shadow-sm); object-fit: cover; width: 100%; height: 100%; }
.story-media img:first-child { grid-row: span 2; border-radius: var(--radius-lg); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: transform 0.3s ease;
}
.value-card:hover { transform: translateY(-6px); }
.value-card .v-ico { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; background: var(--grad-soft); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid img { border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 4/3; object-fit: cover; transition: transform 0.35s ease; }
.gallery-grid img:hover { transform: scale(1.03) rotate(1deg); }

/* ---------- services page ---------- */
.service-detail {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; padding: clamp(36px, 5vw, 56px) 0;
  border-bottom: 1px dashed #d9cdfa;
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail:nth-child(even) .sd-media { order: -1; }
.sd-icon {
  width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center;
  font-size: 1.8rem; background: var(--grad-soft); margin-bottom: 18px;
}
.service-detail h2 { margin-bottom: 12px; }
.sd-price {
  display: inline-flex; align-items: baseline; gap: 8px; margin: 6px 0 16px;
  font-family: "Sora", sans-serif;
}
.sd-price .amount {
  font-size: 1.6rem; font-weight: 800; color: var(--accent-dark);
}
.sd-price .note { font-size: 0.8rem; color: var(--muted); }
.sd-media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.sd-panel {
  min-height: 250px; border-radius: var(--radius-lg);
  background: radial-gradient(400px 200px at 85% 10%, rgba(255,255,255,0.7), transparent 60%), var(--grad-soft);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  font-size: 4.2rem;
}
.sd-panel span { font-family: "Sora", sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); }
.sd-cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.3s ease;
}
.info-card:hover { transform: translateY(-4px); }
.info-card .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 1.3rem; background: var(--grad-soft); margin-bottom: 12px; }
.info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.info-card p { font-size: 0.9rem; word-break: break-word; }

.form-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: "Sora", sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color 0.3s ease;
}
.faq.open { border-color: #c9b6f8; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; cursor: pointer; text-align: left;
  font: 700 1rem "Sora", sans-serif; color: var(--text); padding: 20px 24px;
}
.faq-question .chev {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark); transition: transform 0.35s ease;
}
.faq.open .chev { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.faq-answer p { padding: 0 24px 22px; font-size: 0.95rem; }

/* ---------- booking page ---------- */
.book-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(26px, 4vw, 48px); align-items: start; }
.step-block { margin-bottom: 30px; }
.step-title {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-family: "Sora", sans-serif; font-size: 1.02rem; font-weight: 700;
}
.step-title b {
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 0.88rem;
}
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-label {
  font-size: 0.88rem; font-weight: 700; color: var(--text);
  background: var(--accent-soft); border: 1.5px solid #ddd0fb; border-radius: 999px;
  padding: 9px 18px; cursor: pointer; transition: all 0.25s ease;
}
.slot-label:hover { border-color: var(--accent); transform: translateY(-2px); }
.slot-input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.slot-input:focus-visible + .slot-label { outline: 2px solid var(--accent); outline-offset: 2px; }
.slot-input:checked + .slot-label {
  background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.3);
}
.slot-group { margin-bottom: 14px; }
.slot-group h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

.summary-card {
  position: sticky; top: 96px;
  background: linear-gradient(165deg, #ffffff 30%, #f3edff);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.summary-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 5px;
  border-radius: 999px; background: var(--grad);
}
.summary-card h3 { margin-bottom: 6px; padding-top: 8px; }
.summary-card .sub { font-size: 0.84rem; margin-bottom: 18px; }
.summary-rows { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.summary-rows .row {
  display: flex; justify-content: space-between; gap: 14px; padding: 12px 0;
  border-bottom: 1px dashed #ddd0fb; font-size: 0.93rem;
}
.summary-rows .row span { color: var(--muted); }
.summary-rows .row b { text-align: right; }
.summary-rows .row.total b { font-size: 1.15rem; color: var(--accent-dark); }
.summary-card .btn { width: 100%; }
.summary-note { font-size: 0.78rem; text-align: center; margin-top: 14px; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: #b7a9e6; margin-top: clamp(56px, 8vw, 90px); }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px);
  padding: clamp(44px, 6vw, 64px) 0 36px;
}
.footer-brand img { width: 46px; height: 46px; margin-bottom: 14px; }
.footer-brand .fname { font-family: "Sora", sans-serif; font-weight: 700; color: #fff; font-size: 1.1rem; }
.footer-brand p { color: #b7a9e6; font-size: 0.9rem; margin-top: 10px; }
.footer-brand .fb-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.footer-brand .fb-row a {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,0.09); transition: background 0.25s ease, transform 0.25s ease;
}
.footer-brand .fb-row a:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.footer-brand .fb-row svg { width: 17px; height: 17px; fill: #fff; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col a { color: #b7a9e6; }
.footer-col a:hover { color: #fff; }
.footer-col .f-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.footer-col .f-line + .f-line { margin-top: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.84rem;
}
.footer-bottom a { color: #9db9f5; }

/* ---------- floating bits ---------- */
.demo-note {
  position: fixed; left: 16px; bottom: 16px; z-index: 80;
  background: rgba(31, 18, 64, 0.9); color: #e6ddff;
  font-size: 0.74rem; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
}
.demo-note a { color: #9db9f5; }

.to-top {
  position: fixed; right: 26px; bottom: 92px; z-index: 79;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--accent-dark);
  font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%);
  background: var(--header-bg-deep); color: #fff; z-index: 100;
  padding: 13px 26px; border-radius: 999px; font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  transition: transform 0.45s cubic-bezier(.34,1.4,.5,1); max-width: 90vw; text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.reveal-right.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tooth-grid { grid-template-columns: repeat(3, 1fr); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex-basis: calc((100% - 22px) / 2); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .menu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
    flex-direction: column; align-items: flex-start; gap: 6px;
    background: linear-gradient(160deg, var(--header-bg), var(--header-bg-deep));
    width: min(78vw, 320px); padding: 86px 26px 30px;
    box-shadow: -18px 0 44px rgba(0,0,0,0.35);
    transform: translateX(105%); transition: transform 0.4s cubic-bezier(.3,1,.4,1);
  }
  .menu.is-open { transform: translateX(0); }
  .menu a { font-size: 1.05rem; width: 100%; padding: 12px 16px; }
  .menu::before {
    content: "✕"; position: absolute; top: 24px; right: 24px;
    color: #fff; font-size: 1.2rem; cursor: pointer;
  }
  .hero-grid, .why-grid, .story-grid, .appointment-band, .contact-grid,
  .book-grid, .location-band, .service-detail, .reviews-summary, .location-page-grid { grid-template-columns: 1fr; }
  .appointment-band .band-media { max-width: 480px; margin: 0 auto; }
  .service-detail:nth-child(even) .sd-media { order: 0; }
  .hero-art { min-height: 380px; max-width: 480px; margin: 0 auto; width: 100%; }
  .summary-card { position: static; }
}

@media (max-width: 760px) {
  .tooth-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .offers-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 14px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar-hours { display: none; }
  .review-card { flex-basis: 86%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .header-cta { padding: 11px 18px; font-size: 0.85rem; }
}

@media (max-width: 560px) {
  .tooth-grid { grid-template-columns: 1fr; max-width: 290px; margin-left: auto; margin-right: auto; }
  .offers-grid { grid-template-columns: 1fr; max-width: 290px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-photo-1 { width: 108px; height: 108px; right: 0; }
  .hero-photo-2 { width: 88px; height: 88px; }
  .topbar-contact span:nth-child(2) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
