:root {
  --red: #e3262b;
  --red-dark: #b81a1f;
  --ink: #23252b;
  --grey: #5f6168;
  --soft: #f6f3f1;
  --mint: #dff5f0;
  --line: #ebe6e2;
  --radius: 22px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; width: 100%; }
body { font-family: var(--sans); color: var(--ink); background: #fffdfb; line-height: 1.6; overflow-x: hidden; max-width: 100%; width: 100%; position: relative; }
main { overflow-x: hidden; max-width: 100%; width: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; color: var(--red); font-weight: 400; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.hidden { display: none; }
.muted { color: var(--grey); }

.cursor-glow {
  position: fixed; width: 440px; height: 440px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(227, 38, 43, .10), transparent 65%);
  transform: translate(-50%, -50%); left: 50%; top: 30%;
  transition: opacity .4s ease; will-change: left, top;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600;
  border: 0; cursor: pointer; font: 600 1rem var(--sans); position: relative; overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(227, 38, 43, .6); transition: transform .25s, box-shadow .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(227, 38, 43, .7); }
.btn:hover::after { transform: translateX(120%); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: fixed; inset: 1rem 1rem auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: .55rem .7rem .55rem 1rem; border-radius: 999px; max-width: 1200px; margin: 0 auto;
  background: rgba(255, 253, 251, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,0,0,.05); transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 10px 40px -20px rgba(0,0,0,.25); }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { letter-spacing: .12em; font-size: 1.05rem; color: var(--grey); }
.brand small { font-size: .7rem; color: var(--grey); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; font-weight: 500; font-size: .95rem; }
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 6px auto; transition: .3s; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
  max-width: 1200px; margin: 0 auto; padding: 8rem 1.5rem 4rem; overflow: hidden;
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
.b1 { width: 420px; height: 420px; background: #ffd9da; top: 8%; right: 4%; }
.b2 { width: 320px; height: 320px; background: var(--mint); bottom: 6%; right: 32%; animation-delay: -4s; }
.b3 { width: 260px; height: 260px; background: #fff0e0; top: 20%; left: -6%; animation-delay: -8s; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.12); } }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.eyebrow.light { color: #ffb3b5; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); margin-bottom: 1.4rem; }
.hero h1 .line { display: block; }
.lead { font-size: 1.15rem; color: var(--grey); max-width: 34rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }
.stats { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.stats strong { font-family: var(--serif); font-size: 2.2rem; display: block; line-height: 1; }
.stats span { font-size: .85rem; color: var(--grey); }

.hero-visual { position: relative; height: 560px; display: grid; place-items: center; perspective: 900px; }
.tooth-wrap { position: relative; width: min(330px, 70vw); animation: float 6s ease-in-out infinite; transform-style: preserve-3d; transition: transform .2s ease-out; }
.tooth { width: 100%; filter: drop-shadow(0 40px 40px rgba(227, 38, 43, .22)); overflow: visible; }
.tooth-body { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.2s .3s ease forwards; }
.tooth-shine { animation: shine 3.8s 1.6s ease-in-out infinite; }
.face { transform-origin: 100px 105px; animation: blink 5s 2.4s infinite; }
@keyframes float { 0%,100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -22px; rotate: 3deg; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes shine { 0% { transform: skewX(-20deg) translateX(0); } 45%,100% { transform: skewX(-20deg) translateX(420px); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }

.sparkle { position: absolute; color: var(--red); font-size: 1.6rem; animation: twinkle 2.4s ease-in-out infinite; }
.s1 { top: -4%; right: 6%; }
.s2 { top: 38%; left: -12%; font-size: 1.1rem; animation-delay: .6s; color: #f2b632; }
.s3 { bottom: 10%; right: -10%; font-size: 2rem; animation-delay: 1.2s; }
.s4 { top: 6%; left: 8%; font-size: .9rem; animation-delay: 1.8s; color: #3cbfa4; }
@keyframes twinkle { 0%,100% { transform: scale(.4) rotate(0); opacity: .2; } 50% { transform: scale(1.2) rotate(90deg); opacity: 1; } }

.orbit { position: absolute; border: 1.5px dashed rgba(227, 38, 43, .25); border-radius: 50%; animation: spin 22s linear infinite; }
.o1 { width: 440px; height: 440px; }
.o2 { width: 540px; height: 540px; animation-duration: 34s; animation-direction: reverse; border-color: rgba(60, 191, 164, .25); }
.orbit span { position: absolute; top: -12px; left: 50%; color: var(--red); }
.o2 span { color: #3cbfa4; top: auto; bottom: -12px; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border-radius: 18px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.9);
  animation: bob 5s ease-in-out infinite;
}
.float-card .ic { font-size: 1.5rem; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); }
.float-card strong { display: block; font-size: .95rem; }
.float-card small { color: var(--grey); font-size: .78rem; }
.c1 { top: 12%; left: 0; }
.c2 { bottom: 16%; left: 4%; animation-delay: -1.6s; }
.c3 { top: 44%; right: -2%; animation-delay: -3.2s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.bubbles i { position: absolute; bottom: 0; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(60, 191, 164, .5); background: rgba(223, 245, 240, .5); animation: rise 7s linear infinite; opacity: 0; }
.bubbles i:nth-child(1) { left: 20%; animation-delay: 0s; }
.bubbles i:nth-child(2) { left: 35%; width: 9px; height: 9px; animation-delay: 1.4s; }
.bubbles i:nth-child(3) { left: 55%; width: 20px; height: 20px; animation-delay: 2.6s; }
.bubbles i:nth-child(4) { left: 70%; animation-delay: 3.8s; }
.bubbles i:nth-child(5) { left: 82%; width: 8px; height: 8px; animation-delay: 5s; }
.bubbles i:nth-child(6) { left: 45%; animation-delay: 6s; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-520px) translateX(20px); opacity: 0; } }

/* Marquee */
.marquee { background: var(--ink); color: #fff; padding: 1.1rem 0; overflow: hidden; transform: rotate(-1.5deg); margin: 1.5rem 0; width: 100%; max-width: 100%; }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: marquee 30s linear infinite; font-family: var(--serif); font-size: 1.5rem; white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 6rem 1.5rem; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem;
  transition: transform .25s ease-out, box-shadow .3s, border-color .3s; transform-style: preserve-3d; will-change: transform;
}
.card:hover { box-shadow: 0 30px 60px -30px rgba(227, 38, 43, .35); border-color: #ffd0d1; }
.card-ic { font-size: 2rem; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; background: var(--soft); margin-bottom: 1.2rem; transition: transform .4s; }
.card:hover .card-ic { transform: translateZ(30px) rotate(-8deg) scale(1.1); background: #ffe4e5; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--grey); font-size: .93rem; }

/* Smile slider */
.smile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.smile h2 { margin-bottom: 1rem; }
.checks { list-style: none; margin-top: 1.5rem; display: grid; gap: .7rem; }
.checks li { padding-left: 2rem; position: relative; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--mint); color: #1f8c74; display: grid; place-items: center; font-size: .8rem; }
.compare { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #ffe9e6; box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); }
.compare-side { position: absolute; inset: 0; display: grid; place-items: center; padding: 2rem; }
.compare-side svg { width: 90%; }
.before { background: linear-gradient(160deg, #f5e6d7, #ead2bd); --gum: #d88a8a; --tooth: #e6cf92; --tooth-edge: #c9ad6a; }
.after { background: linear-gradient(160deg, #fff, #ffe9ea); --gum: #f08f95; --tooth: #ffffff; --tooth-edge: #e3e8f0; clip-path: inset(0 0 0 var(--pos)); }
.after svg { filter: drop-shadow(0 0 18px rgba(255,255,255,.9)); }
.tag { position: absolute; bottom: 1rem; padding: .35rem .9rem; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: .8rem; font-weight: 600; }
.before .tag { left: 1rem; }
.after .tag { right: 1rem; background: var(--red); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--red); font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.why { padding: 2rem 1.5rem; border-radius: var(--radius); background: var(--soft); position: relative; overflow: hidden; }
.why .num { font-family: var(--serif); font-size: 3rem; color: rgba(227, 38, 43, .2); line-height: 1; display: block; margin-bottom: .8rem; }
.why h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.why p { color: var(--grey); font-size: .93rem; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
blockquote { font-family: var(--serif); font-size: 1.15rem; padding: 1.8rem; border-left: 3px solid var(--red); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: 0 20px 40px -30px rgba(0,0,0,.3); }
blockquote cite { display: block; margin-top: 1rem; font: 500 .85rem var(--sans); color: var(--grey); font-style: normal; }

/* Booking */
.book { max-width: none; background: var(--ink); color: #fff; border-radius: 40px; margin: 2rem 1rem; overflow: hidden; }
.book::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 38, 43, .35), transparent 70%); top: -200px; left: -200px; animation: drift 12s ease-in-out infinite alternate; }
.book-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; position: relative; }
.book-info h2 { margin-bottom: 1rem; }
.book-info > p { color: #c9cbd1; margin-bottom: 2rem; }
.info-list { display: grid; gap: .9rem; }
.info-list a, .info-list span { padding: 1rem 1.2rem; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); transition: background .3s, transform .3s; }
.info-list a:hover { background: rgba(255,255,255,.12); transform: translateX(6px); }
.info-list small { color: #ffb3b5; }
.book-form { background: #fff; color: var(--ink); padding: 2.2rem; border-radius: 28px; display: grid; gap: 1rem; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.book-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.book-form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; }
.book-form input, .book-form select, .book-form textarea {
  font: 400 1rem var(--sans); padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--line); background: #fdfbfa; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 38, 43, .12); }
.book-form input.invalid, .book-form select.invalid, .book-form textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 38, 43, .18); background: #fff8f8; }

/* Phone input with country code (Modern Stripe / Razorpay style) */
.phone-input-wrap {
  display: flex; align-items: center; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fdfbfa; transition: border-color .2s, box-shadow .2s, background-color .2s;
  overflow: hidden; position: relative;
}
.phone-input-wrap:focus-within {
  border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 38, 43, .12); background: #ffffff;
}
.phone-input-wrap.invalid {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 38, 43, .18); background: #fff8f8;
}
.phone-prefix {
  display: inline-flex; align-items: center; gap: .45rem; padding-left: 1rem;
  user-select: none; flex-shrink: 0;
}
.phone-flag {
  display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); flex-shrink: 0;
}
.phone-code {
  font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--ink);
  letter-spacing: .01em;
}
.phone-divider {
  width: 1px; height: 22px; background: #e2e8f0; margin: 0 .75rem 0 .65rem; flex-shrink: 0;
}
.phone-input-wrap input {
  border: none !important; background: transparent !important; box-shadow: none !important;
  padding: .85rem 1rem .85rem 0 !important; font: 400 1rem var(--sans) !important; color: var(--ink) !important;
  width: 100% !important; outline: none !important; letter-spacing: .03em;
}
.phone-input-wrap input::placeholder {
  color: #a0a6b5; font-weight: 400;
}

.form-note { font-size: .82rem; color: var(--grey); text-align: center; }
.form-note.ok { color: #1f8c74; font-weight: 600; }
.form-note.err { color: var(--red); font-weight: 600; }

/* Visit */
.branches-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.branch-card {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 2rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  box-shadow: 0 20px 45px -25px rgba(0,0,0,.12); transition: transform .25s ease, box-shadow .25s ease;
}
.branch-card:hover { transform: translateY(-3px); box-shadow: 0 28px 60px -25px rgba(227, 38, 43, .18); }
.branch-info h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.branch-badge {
  display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--red); background: var(--soft); padding: .3rem .75rem;
  border-radius: 50px; margin-bottom: .8rem;
}
.branch-card .address { color: var(--grey); font-size: .95rem; line-height: 1.5; margin-bottom: 1.2rem; }
.branch-card .btn { width: fit-content; }
.branch-map { border-radius: 20px; overflow: hidden; height: 260px; box-shadow: 0 10px 25px -15px rgba(0,0,0,.25); }
.branch-map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.footer {
  background: #15171d; color: #fff; padding: 4.5rem 1.5rem 2rem; margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,.08); position: relative;
}
.footer-wrap { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.35fr 1.25fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); }
.footer-brand strong { display: block; font-size: 1.2rem; letter-spacing: .08em; color: #fff; }
.footer-brand small { display: block; font-size: .72rem; color: #ff9da1; }
.footer-desc { color: #a4a7b4; font-size: .9rem; line-height: 1.6; margin-bottom: 1.3rem; }
.footer-contacts { display: flex; flex-direction: column; gap: .55rem; font-size: .88rem; }
.footer-contacts a { color: #d1d4dc; display: inline-flex; align-items: center; gap: .5rem; transition: color .2s, transform .2s; }
.footer-contacts a:hover { color: var(--red); transform: translateX(3px); }
.footer-col h4 {
  font-family: var(--sans); font-size: .98rem; font-weight: 700; color: #fff;
  margin-bottom: 1.2rem; letter-spacing: .02em;
}
.footer-col h4::after {
  content: ""; display: block; width: 26px; height: 2px; background: var(--red);
  margin-top: .45rem; border-radius: 2px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; font-size: .88rem; }
.footer-links a { color: #a4a7b4; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.branch-box { margin-bottom: 1.1rem; padding-bottom: .9rem; border-bottom: 1px dashed rgba(255,255,255,.1); }
.branch-box:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.branch-box strong { display: block; color: #fff; font-size: .9rem; margin-bottom: .25rem; }
.branch-box p { color: #a4a7b4; font-size: .82rem; line-height: 1.45; margin-bottom: .35rem; }
.branch-box a { font-size: .78rem; color: #ff8a8d; font-weight: 600; transition: color .2s; }
.branch-box a:hover { color: #fff; }
.hours-badge {
  background: rgba(227, 38, 43, .12); border: 1px solid rgba(227, 38, 43, .3);
  padding: .7rem .9rem; border-radius: 12px; font-size: .83rem; color: #ffd9da;
  margin-bottom: 1rem; line-height: 1.5;
}
.hours-badge strong { display: block; color: #fff; margin-bottom: .15rem; }
.footer-btn {
  display: inline-block; background: var(--red); color: #fff !important;
  padding: .65rem 1.2rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  box-shadow: 0 8px 20px -6px rgba(227, 38, 43, .6); transition: transform .2s, box-shadow .2s;
}
.footer-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 25px -6px rgba(227, 38, 43, .8); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 1rem; padding-top: 2rem; font-size: .82rem; color: #7b7e8c;
}
.footer-bottom a { color: #a4a7b4; transition: color .2s; }
.footer-bottom a:hover { color: #fff; }

/* Floating Actions (Move to Top & WhatsApp) */
.floating-actions { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.top-float {
  width: 46px; height: 46px; border-radius: 50%; background: #ffffff; color: var(--ink); border: 1.5px solid var(--line);
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px -6px rgba(0,0,0,.22);
  transition: opacity .3s ease, transform .3s ease, background .2s, color .2s, border-color .2s;
  opacity: 0; pointer-events: none; transform: translateY(10px);
}
.top-float.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.top-float:hover { background: var(--red); color: #ffffff; border-color: var(--red); transform: translateY(-2px); box-shadow: 0 10px 25px -5px rgba(227, 38, 43, .45); }
.wa-float { width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); position: relative; transition: transform .25s ease; }
.wa-float:hover { transform: scale(1.05); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: ping 2s infinite; z-index: -1; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.hero h1.reveal .line { opacity: 0; transform: translateY(100%); transition: opacity .8s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.hero h1.reveal.in .line { opacity: 1; transform: none; }
.hero h1.reveal.in .line:nth-child(2) { transition-delay: .12s; }
.hero h1.reveal.in .line:nth-child(3) { transition-delay: .24s; }

/* Thank-you page */
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.thanks .tooth-wrap { width: 160px; margin: 0 auto 1.5rem; }
.thanks h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.thanks p { color: var(--grey); max-width: 30rem; margin: 0 auto 2rem; }

/* Responsive */
@media (max-width: 1000px) {
  .cards, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .cursor-glow { width: 290px; height: 290px; background: radial-gradient(circle, rgba(227, 38, 43, .13), transparent 65%); }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: calc(100% + .6rem); left: 0; right: 0; flex-direction: column; padding: 1.5rem; border-radius: 24px; background: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .3s; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav.open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; padding-top: 7rem; text-align: left; }
  .hero-visual { height: 420px; order: -1; max-width: 100%; width: 100%; }
  .o1 { width: 280px; height: 280px; } .o2 { width: 340px; height: 340px; }
  .tooth-wrap { width: 200px; }
  .c1 { left: 2%; }
  .c2 { left: 2%; }
  .c3 { right: 2%; }
  .smile-grid, .book-wrap, .branches-grid { grid-template-columns: 1fr; gap: 2rem; }
  .book { border-radius: 28px; margin: 1rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
  .hero { padding: 6.5rem 1rem 3rem; }
  .hero-visual { height: 350px; }
  .o1 { width: 220px; height: 220px; }
  .o2 { width: 270px; height: 270px; }
  .tooth-wrap { width: 160px; }
  .float-card { padding: .5rem .75rem; gap: .5rem; border-radius: 14px; }
  .float-card .ic { width: 34px; height: 34px; font-size: 1.15rem; border-radius: 10px; }
  .float-card strong { font-size: .82rem; }
  .float-card small { font-size: .7rem; }
  .c1 { top: 6%; left: 0; }
  .c2 { bottom: 8%; left: 0; }
  .c3 { top: 44%; right: 0; }
  .marquee { transform: none; margin: 1.2rem 0; }
  .cards, .why-grid { grid-template-columns: 1fr; }
  .book-form { padding: 1.3rem 1rem; }
  .book-form .row { grid-template-columns: 1fr; }
  .stats { gap: 1.3rem; }
  .brand small { display: none; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .footer { padding: 3rem 1rem 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .hero h1.reveal .line { opacity: 1; transform: none; }
}

/* Legal Pages (Privacy Policy & Terms of Service) */
.legal-header {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.legal-header-wrap {
  max-width: 900px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.legal-main {
  padding: 3.5rem 1.5rem 5rem;
  max-width: 860px;
  margin: 0 auto;
}
.legal-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.legal-main h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.legal-meta {
  color: var(--grey);
  font-size: 0.92rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.legal-section {
  margin-bottom: 2.2rem;
}
.legal-section h2 {
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.legal-section p, .legal-section li {
  color: #4b4f5a;
  line-height: 1.75;
  font-size: 0.98rem;
  margin-bottom: 0.85rem;
}
.legal-section ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.legal-section li {
  margin-bottom: 0.4rem;
}
.legal-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.legal-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.legal-card p {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}
.footer-legal-links {
  display: flex; gap: 0.85rem; align-items: center; flex-wrap: wrap; justify-content: center;
}
.footer-legal-links a {
  color: #a4a7b4; font-size: 0.82rem; text-decoration: none; transition: color 0.2s;
}
.footer-legal-links a:hover {
  color: #ffffff; text-decoration: underline;
}
.footer-legal-sep {
  color: #555866; font-size: 0.75rem;
}
.form-note a {
  color: var(--red); text-decoration: underline; font-weight: 500;
}
