*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold:        #b8860b;
  --gold-hover:  #c9960e;
  --gold-light:  #d4a017;
  --gold-pale:   #fdf6e3;
  --gold-border: #e8d5a0;
  --dark:        #1c1c1c;
  --text:        #555;
  --nav-h:       68px;
  --shadow:      0 4px 28px rgba(0,0,0,.09);
  --radius:      12px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--dark); background: #fff; overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.gold       { color: var(--gold-light); }
.label-gold { color: var(--gold-light); font-size: .8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #fff;
  padding: 12px 26px; border-radius: 30px;
  font-weight: 600; font-size: .88rem; border: none; cursor: pointer;
  transition: background .22s, transform .18s, box-shadow .22s;
  box-shadow: 0 4px 16px rgba(184,134,11,.32);
}
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-2px); }

/* Sections */
.sec { padding: 80px 0; position: relative; overflow: hidden; }
.sec-head { text-align: center; margin-bottom: 50px; }
.sec-head h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; margin-bottom: 14px; }
.sec-head p  { color: var(--text); font-size: .93rem; max-width: 540px; margin: 0 auto; line-height: 1.7; }
.loader { text-align: center; padding: 40px; color: var(--gold); font-size: 1.6rem; grid-column: 1/-1; }

/* Dental decorations */
.leaf-deco {
  position: absolute; width: 180px; height: 180px;
  opacity: .2; pointer-events: none; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: 'Font Awesome 6 Free';
}
.leaf-deco::before {
  content: '\f5c9';
  font-size: 126px; font-weight: 900;
}
.leaf-tl { top: -20px; left: -30px; transform: rotate(-30deg); }
.leaf-br { bottom: -20px; right: -30px; transform: rotate(150deg); }

/* ══════════ NAVBAR ══════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
  height: var(--nav-h); display: flex; align-items: center; gap: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 36px; height: 36px; object-fit: contain; }
.logo-name { display: block; font-size: .98rem; font-weight: 700; color: var(--gold); line-height: 1.2; }
.logo-sub  { display: block; font-size: .58rem; color: #aaa; letter-spacing: .4px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: .84rem; font-weight: 500; color: #444; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: 16px; }
.btn-book {
  background: var(--gold); color: #fff;
  padding: 9px 20px; border-radius: 30px;
  font-size: .8rem; font-weight: 600; white-space: nowrap;
  transition: background .2s;
}
.btn-book:hover { background: var(--gold-hover); }
.nav-phone { font-size: .78rem; color: #555; white-space: nowrap; }
.nav-phone i { color: var(--gold); margin-right: 4px; }
.nav-burger { display: none; background: none; border: none; font-size: 1.3rem; cursor: pointer; margin-left: auto; }
.nav-drawer {
  display: none; flex-direction: column; gap: 2px;
  background: #fff; padding: 10px 28px 18px;
  border-top: 1px solid #f0e8d0;
}
.nav-drawer.open { display: flex; }
.nav-drawer a { padding: 8px 0; font-size: .88rem; font-weight: 500; border-bottom: 1px solid #f5f0e8; }
.nav-drawer a:last-child { border: none; }
.nav-drawer .btn-book { margin-top: 8px; text-align: center; border: none; border-radius: 30px; }

/* ══════════ HERO ══════════ */
.hero {
  margin-top: var(--nav-h);
  width: 100%;
  background: #fff;
}

/* Full-width banner with foreground copy */
.hero-main {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 52vw, 680px);
}

.hero-left {
  width: min(62%, 760px);
  margin-left: clamp(24px, 7vw, 100px);
  padding: 36px 0;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.hero-left::after {
  display: none;
}

.hero-eyebrow { font-size: .7rem; letter-spacing: 2.5px; color: #999; margin-bottom: 16px; font-weight: 500; }
.hero-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.13; font-weight: 700; margin-bottom: 16px;
  animation: fadeInLeft .7s ease both;
}
.hero-desc { font-size: .9rem; color: var(--text); line-height: 1.7; margin-bottom: 28px; animation: fadeInLeft .7s .1s ease both; }
.hero-btns { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; animation: fadeInLeft .7s .2s ease both; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .86rem; font-weight: 500; color: var(--dark); transition: color .2s;
}
.btn-ghost:hover { color: var(--gold); }
.play-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; transition: all .2s;
}
.btn-ghost:hover .play-btn { border-color: var(--gold); background: var(--gold); color: #fff; }

.hero-right {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.18) 76%, transparent 100%);
  pointer-events: none;
}
.hero-right > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Script text over photo */
.hero-script {
  position: absolute;
  right: clamp(24px, 6vw, 84px); bottom: 24px;
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.15rem; color: var(--gold); line-height: 1.55;
  text-align: right; pointer-events: none; z-index: 2;
  text-shadow: 0 1px 8px rgba(255,255,255,.8);
  animation: fadeIn 1s .4s ease both;
}

/* Badge: right-center of photo */
.hero-badge {
  position: absolute;
  top: 50%; right: 28px;
  transform: translateY(-50%);
  background: rgba(255,255,255,.93); border-radius: 14px;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 6px 28px rgba(0,0,0,.15);
  font-size: .82rem; font-weight: 600; color: var(--dark);
  backdrop-filter: blur(6px); z-index: 4; line-height: 1.4;
  animation: fadeIn 1s .5s ease both;
}
.badge-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--gold-pale); border: 1.5px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.15rem; flex-shrink: 0;
}

/* Scroll Down: bottom-right */
.hero-scroll {
  position: absolute;
  bottom: 20px; right: 28px;
  font-size: .76rem; color: #fff;
  display: flex; align-items: center; gap: 6px;
  z-index: 4; font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  animation: fadeIn 1s .6s ease both;
}

/* Stats bar — full width below hero-main */
.hero-stats {
  width: 100%;
  background: var(--gold-pale);
  border-top: 1px solid var(--gold-border);
  display: flex; align-items: center;
  padding: 22px 60px; gap: 0;
  overflow: hidden;
}
.stat { display: flex; align-items: center; gap: 12px; flex: 1; opacity: 0; transform: translateY(14px); animation: statReveal .65s ease forwards; }
.stat:nth-of-type(1) { animation-delay: .08s; }.stat:nth-of-type(3) { animation-delay: .22s; }.stat:nth-of-type(5) { animation-delay: .36s; }.stat:nth-of-type(7) { animation-delay: .5s; }
.stat i { font-size: 1.4rem; color: var(--gold); transform: scale(.75); animation: statIcon .55s .35s ease forwards; }
.stat strong { display: block; font-size: .92rem; font-weight: 700; min-width: 62px; }
.stat span   { display: block; font-size: .72rem; color: #888; }
.stat-sep { width: 1px; height: 38px; background: var(--gold-border); margin: 0 16px; transform: scaleY(0); transform-origin: center; animation: statDivider .5s .45s ease forwards; }

/* ══════════ SERVICES HEAD ANIMATION ══════════ */
.svc-head-anim { overflow: hidden; }

.svc-head-eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 18px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s .1s ease, transform .6s .1s ease;
}
.svc-head-line {
  display: block; height: 1.5px; width: 0;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transition: width .7s .4s ease;
  flex: 0 0 60px;
}
.svc-head-eyebrow i {
  color: var(--gold); font-size: 1.1rem;
  transform: scale(0) rotate(-180deg);
  display: inline-block;
  transition: transform .8s .5s cubic-bezier(.34,1.56,.64,1);
}

.svc-head-anim h2 {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s .25s ease, transform .65s .25s ease;
}
.svc-head-anim p {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s .4s ease, transform .6s .4s ease;
}

.svc-head-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-top: 20px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s .55s ease, transform .6s .55s ease;
}

/* triggered state */
.svc-head-anim.svc-head-visible .svc-head-eyebrow { opacity: 1; transform: translateY(0); }
.svc-head-anim.svc-head-visible .svc-head-line    { width: 60px; }
.svc-head-anim.svc-head-visible .svc-head-eyebrow i { transform: scale(1) rotate(0deg); }
.svc-head-anim.svc-head-visible h2  { opacity: 1; transform: translateY(0); }
.svc-head-anim.svc-head-visible p   { opacity: 1; transform: translateY(0); }
.svc-head-anim.svc-head-visible .svc-head-tags { opacity: 1; transform: translateY(0); }

/* ══════════ SERVICES ══════════ */
.services-sec { background: #fff; }
.tooth-watermark {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  opacity: .07; pointer-events: none; z-index: 0;
}
.tooth-watermark img { width: 200px; }
.svc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; position: relative; z-index: 1;
}
.svc-card {
  background: #fff; border: 1.5px solid #f0e8d0;
  border-radius: var(--radius); padding: 28px 18px 22px;
  text-align: center; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
  opacity: 0; animation: fadeUp .5s ease forwards;
}
.svc-card:hover { transform: translateY(-6px); background: #fffdf7; box-shadow: 0 10px 36px rgba(184,134,11,.18); border-color: var(--gold-border); }
.svc-icon {
  width: 62px; height: 62px; border-radius: 14px;
  background: var(--gold-pale); margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.55rem;
  border: 1px solid rgba(184,134,11,.14);
  transition: transform .25s, background .25s, color .25s;
}
.svc-card:hover .svc-icon { transform: translateY(-3px) scale(1.08); background: var(--gold); color: #fff; }
.svc-card h3 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.svc-card p  { font-size: .76rem; color: #888; line-height: 1.5; }
.svc-card:nth-child(1){animation-delay:.04s}.svc-card:nth-child(2){animation-delay:.09s}
.svc-card:nth-child(3){animation-delay:.14s}.svc-card:nth-child(4){animation-delay:.19s}
.svc-card:nth-child(5){animation-delay:.24s}.svc-card:nth-child(6){animation-delay:.29s}
.svc-card:nth-child(7){animation-delay:.34s}.svc-card:nth-child(8){animation-delay:.39s}

/* ══════════ ADVANCED TECHNOLOGY ══════════ */
.tech-sec { background: #fff; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative; z-index: 1;
}
.tech-card {
  position: relative;
  background: #fff;
  border: 1.5px solid #f0e8d0;
  border-radius: 16px;
  padding: 32px 24px 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease, box-shadow .25s, border-color .25s;
}
.tech-card.tech-visible { opacity: 1; transform: translateY(0); }
.tech-card:hover { box-shadow: 0 12px 40px rgba(184,134,11,.18); border-color: var(--gold-border); }
.tech-card:nth-child(1){ transition-delay:.05s }
.tech-card:nth-child(2){ transition-delay:.12s }
.tech-card:nth-child(3){ transition-delay:.19s }
.tech-card:nth-child(4){ transition-delay:.26s }
.tech-card:nth-child(5){ transition-delay:.33s }
.tech-card:nth-child(6){ transition-delay:.40s }

.tech-icon-wrap {
  position: relative;
  width: 68px; height: 68px;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.tech-icon-wrap i {
  font-size: 1.8rem;
  color: var(--gold);
  position: relative; z-index: 2;
  transition: transform .3s ease;
}
.tech-card:hover .tech-icon-wrap i { transform: scale(1.15) rotate(-6deg); }
.tech-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 1.5px solid var(--gold-border);
  animation: techPulse 2.6s ease-in-out infinite;
}
.tech-card:hover .tech-pulse { animation-duration: 1.2s; }
@keyframes techPulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.18); opacity: .55; }
}

.tech-body h3 { font-size: .96rem; font-weight: 700; margin-bottom: 8px; }
.tech-body p  { font-size: .8rem; color: var(--text); line-height: 1.65; }

.tech-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 14px;
  border-radius: 30px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* shimmer line across top of card on hover */
.tech-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transition: left .55s ease;
}
.tech-card:hover::before { left: 140%; }

@media (max-width: 860px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .tech-grid { grid-template-columns: 1fr; } }

/* ══════════ DOCTOR ══════════ */
.doctor-sec { background: var(--gold-pale); }
.doctor-wrap {
  display: grid; grid-template-columns: 300px 1fr 220px;
  gap: 48px; align-items: center; position: relative; z-index: 1;
}
.doc-photo-frame { position: relative; }
.doc-photo-frame img {
  width: 100%; height: 460px; object-fit: cover; object-position: top;
  border-radius: 18px; box-shadow: var(--shadow);
}
.doc-badge-pill {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  padding: 9px 18px; border-radius: 30px;
  font-size: .75rem; font-weight: 600; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(184,134,11,.4);
}
.doc-h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; margin-bottom: 14px; }
.doc-p  { font-size: .9rem; color: var(--text); line-height: 1.75; margin-bottom: 18px; }
.doc-sig  { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.6rem; color: var(--gold); }
.doc-role { font-size: .78rem; color: #888; margin: 4px 0 22px; }
.doc-stats-col { display: flex; flex-direction: column; gap: 22px; }
.doc-stat { display: flex; align-items: center; gap: 12px; }
.doc-stat i { color: var(--gold); font-size: 1.2rem; width: 22px; }
.doc-stat strong { display: block; font-size: .88rem; font-weight: 700; }
.doc-stat span   { font-size: .74rem; color: #888; }

/* ══════════ BEFORE / AFTER ══════════ */
.ba-sec { background: #f5f0e8; }
.ba-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }

.ba-card {
  background: #fff; border-radius: 18px;
  overflow: hidden; box-shadow: 0 6px 32px rgba(0,0,0,.10);
  transition: transform .25s, box-shadow .25s;
}
.ba-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,.15); }

.ba-slider {
  position: relative; height: 340px;
  overflow: hidden; cursor: col-resize; user-select: none;
}
/* BEFORE: left image */
.ba-img-before {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block; z-index: 1;
}
/* AFTER clip */
.ba-after-clip {
  position: absolute; inset: 0;
  width: 50%; overflow: hidden; z-index: 2;
}
.ba-img-after {
  position: absolute; top: 0; left: 0;
  height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block;
  width: var(--slider-w, 100%);
}
.ba-line {
  position: absolute; top: 0; left: 50%;
  width: 2px; height: 100%;
  background: #fff; transform: translateX(-50%);
  z-index: 3; pointer-events: none;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; color: #333;
  pointer-events: none; letter-spacing: -1px;
}
.ba-lbl {
  position: absolute; bottom: 14px; z-index: 4;
  padding: 5px 18px; border-radius: 30px;
  font-size: .78rem; font-weight: 700;
}
.ba-lbl-l { left: 14px;  background: rgba(30,30,30,.65); color: #fff; }
.ba-lbl-r { right: 14px; background: var(--gold);        color: #fff; }

.ba-info {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-top: 1px solid #f0e8d0;
}
.ba-icon {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-pale); border: 1.5px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem;
}
.ba-info strong { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 2px; }
.ba-info p { font-size: .76rem; color: #888; margin: 0; }

@media (max-width: 1024px) { .ba-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .ba-grid { grid-template-columns: 1fr; } .ba-slider { height: 280px; } }

/* ══════════ TESTIMONIALS ══════════ */
.testi-sec { background: #fff; }
.testi-row { display: flex; align-items: center; gap: 16px; }
.testi-viewport { flex: 1; overflow: hidden; }
.testi-track { display: flex; gap: 20px; transition: transform .4s ease; }
.testi-card {
  flex: 0 0 calc(33.333% - 14px);
  background: #fff; border: 1.5px solid #f0e8d0;
  border-radius: var(--radius); padding: 24px 22px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.testi-card::before {
  content: '\201C';
  position: absolute; top: 14px; left: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; color: var(--gold-border);
  line-height: 1; pointer-events: none;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(184,134,11,.15); }
.testi-quote { font-size: .86rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 18px; padding-top: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid #f0e8d0; padding-top: 14px; }
.testi-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-border); }
.testi-name  { font-size: .86rem; font-weight: 700; display: block; }
.testi-city  { font-size: .72rem; color: #aaa; }
.testi-stars { color: var(--gold); font-size: .82rem; margin-top: 2px; letter-spacing: 1px; }

/* slider nav buttons — shared by testimonials */
.circle-btn {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem;
  box-shadow: 0 4px 16px rgba(184,134,11,.35);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.circle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(184,134,11,.5);
  background: linear-gradient(135deg, var(--gold), #a07008);
}

/* ══════════ WHAT WE DO ══════════ */
.whatwedo-sec { background: #fbfbfb; border-top: 1px solid #ececec; }
.wwd-head { margin-bottom: 34px; }
.wwd-head h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; margin-top: 8px; }
.wwd-grid { display: flex; justify-content: center; align-items: stretch; width: 100%; max-width: 1160px; min-height: 440px; padding: 24px 0; overflow: visible; }
.wwd-card {
  position: relative; width: 178px; height: 420px; flex-shrink: 0; overflow: hidden;
  padding: 30px 22px; display: flex; flex-direction: column; justify-content: flex-end;
  background: #fff; border: 1.5px solid #e4e4e4; border-radius: 12px;
  box-shadow: -14px 0 35px rgba(0,0,0,.08), 0 8px 30px rgba(0,0,0,.02);
  cursor: pointer; opacity: 0; transform: translateY(40px);
  transition: opacity .6s ease, transform .6s ease, margin-left .16s cubic-bezier(.25,1,.5,1), box-shadow .16s ease, border-color .16s ease;
}
.wwd-card.wwd-visible { opacity: 1; transform: translateY(0); }
.wwd-card + .wwd-card { margin-left: -42px; }
.wwd-card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: linear-gradient(270deg, #fff5d6, #fffaf0, #f5f9ff, #fff5d6); background-size: 400% 400%; transition: opacity .16s ease; }
.wwd-card:hover::after { opacity: 1; animation: wwdGlow 3.5s ease infinite; }
.wwd-card:hover { transform: translateY(-20px) rotate(2deg) scale(1.05); box-shadow: -15px 20px 48px rgba(184,134,11,.18), 0 0 0 2px var(--gold); border-color: var(--gold); z-index: 10; }
.wwd-card.wwd-active { width: 280px; background: #fffaf0; border-color: var(--gold); box-shadow: 0 10px 28px rgba(184,134,11,.22); z-index: 8; }
.wwd-card.wwd-active .wwd-image { opacity: .08; }
.wwd-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; filter: grayscale(1); transition: opacity .3s ease, transform .5s ease; }
.wwd-card:hover .wwd-image { opacity: .28; transform: scale(1.08); }
.wwd-card.is-zoomed .wwd-image { opacity: .38; transform: scale(1.18); }
.wwd-icon { position: absolute; top: 28px; left: 22px; z-index: 2; color: #777; font-size: 1.7rem; opacity: .7; transition: color .16s ease, transform .16s ease; }
.wwd-card:hover .wwd-icon { color: var(--gold); opacity: 1; transform: scale(1.12); }
.wwd-vertical-title { position: absolute; bottom: 38px; left: 28px; z-index: 2; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .67rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #777; opacity: .7; transition: opacity .16s ease, transform .16s ease; }
.wwd-info { position: relative; z-index: 2; }
.wwd-info h3 { font-size: 1.45rem; line-height: 1.12; font-weight: 700; color: #222; opacity: 0; transform: translateY(12px); transition: opacity .16s ease, transform .16s ease, color .16s ease; }
.wwd-active .wwd-info h3 { opacity: 1; transform: none; color: var(--gold); font-size: 1.8rem; }
.wwd-review { position: relative; z-index: 2; margin: auto -6px 20px; padding: 6px; color: #444; background: rgba(255,255,255,.72); border: 1px solid rgba(184,134,11,.18); border-radius: 6px; font-size: .58rem; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.wwd-active .wwd-review, .wwd-card:hover .wwd-review { opacity: 1; transform: none; }
.wwd-review strong, .wwd-review span { display: block; }
.wwd-review span { color: #f2b01e; letter-spacing: 1px; margin: 4px 0; }
.wwd-review > img { display: block; width: 100%; height: auto; max-height: 145px; object-fit: contain; margin: 0 auto; background: #fff; }
.wwd-review > img + img { margin-top: 8px; }
.wwd-card:hover .wwd-vertical-title { opacity: 0; transform: rotate(180deg) translateY(-10px); }
.wwd-card.wwd-active .wwd-vertical-title { opacity: 0; transform: rotate(180deg) translateY(-10px); }
.wwd-card:hover .wwd-info h3 { opacity: 1; transform: translateY(0); color: var(--gold); }
.wwd-card:hover + .wwd-card { margin-left: -10px; }
.wwd-grid.fan-out .wwd-card + .wwd-card { animation: wwdFan 2.2s cubic-bezier(.25,1,.5,1); }
@keyframes wwdGlow { 0% { background-position: 0 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@keyframes wwdFan { 0%, 100% { margin-left: -78px; } 35%, 65% { margin-left: -48px; } }

/* ══════════ INSTAGRAM PORTFOLIO ══════════ */
.insta-sec { background: #0a0a0a; }
.insta-head { text-align: center; margin-bottom: 40px; }
.insta-sub { font-size: .78rem; letter-spacing: 2px; color: #888; text-transform: uppercase; margin-bottom: 10px; display: block; }
.insta-head h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; color: #fff; margin-bottom: 8px; }
.insta-tagline { font-size: 1rem; color: #888; font-style: italic; }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
.insta-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
  background: #000;
  display: block;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px) scale(.97);
  transition: opacity .65s ease, transform .65s ease, box-shadow .3s ease;
}
.insta-item.insta-visible { opacity: 1; transform: none; }
.insta-item.insta-visible:hover { box-shadow: 0 12px 28px rgba(184,134,11,.28); }
.insta-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  pointer-events: none;
  transition: transform .55s cubic-bezier(.2,.75,.25,1), filter .35s ease;
}
.insta-item:hover .insta-thumb, .insta-item:focus-visible .insta-thumb { transform: scale(1.08); filter: saturate(1.15); }
.insta-play {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; z-index: 2;
}
.insta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  display: flex; align-items: flex-end;
  padding: 16px;
  opacity: 0; transition: opacity .3s;
  z-index: 2;
}
.insta-item:hover .insta-overlay { opacity: 1; }
.insta-overlay span { color: #fff; font-size: .8rem; font-weight: 600; }
.insta-item:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.insta-cta { text-align: center; }
.btn-insta {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff; padding: 14px 32px; border-radius: 30px;
  font-weight: 600; font-size: .9rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(220,39,67,.35);
}
.btn-insta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(220,39,67,.5); }

/* Dental video lightbox */
.video-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(7,7,7,.82); backdrop-filter: blur(8px); }
.video-modal-panel { position: relative; z-index: 1; width: min(820px, 100%); padding: 12px; background: #161616; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; box-shadow: 0 24px 80px rgba(0,0,0,.45); transform: translateY(24px) scale(.96); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.video-modal.is-open .video-modal-panel { transform: none; }
.video-modal video { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: #000; border-radius: 8px; }
.video-modal-close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 38px; height: 38px; border: 2px solid #fff; border-radius: 50%; background: var(--gold); color: #fff; cursor: pointer; font-size: 1rem; transition: transform .2s, background .2s; }
.video-modal-close:hover { transform: rotate(90deg) scale(1.08); background: var(--gold-hover); }
.video-modal-caption { color: #ddd; font-size: .82rem; text-align: center; padding: 10px 4px 2px; }

@media (max-width: 860px) {
  .wwd-grid { flex-direction: column; align-items: center; gap: 10px; max-width: 292px; min-height: 0; margin: 0 auto; padding: 12px 10px; border: 3px solid var(--gold); border-radius: 18px; background: #fffdf7; box-shadow: 0 8px 26px rgba(184,134,11,.16); }
  .wwd-card, .wwd-card + .wwd-card, .wwd-card.wwd-active { width: 100%; height: 188px; margin-left: 0; padding: 20px 86px 48px 54px; display: block; background: #202126; border: 0; border-radius: 0; box-shadow: none; }
  .wwd-card:hover { transform: translateY(-2px); box-shadow: none; }
  .wwd-card::after { background: linear-gradient(135deg, rgba(247,48,123,.18), rgba(32,33,38,0)); opacity: 1; }
  .wwd-image { left: auto; right: 10px; top: 10px; width: 64px; height: 64px; border-radius: 50%; opacity: .9; filter: none; border: 2px solid rgba(255,255,255,.7); z-index: 2; transform: scale(1); }
  .wwd-card.is-zoomed .wwd-image, .wwd-card:focus-within .wwd-image { transform: scale(1.55); opacity: 1; z-index: 3; box-shadow: 0 5px 18px rgba(0,0,0,.35); }
  .wwd-icon { top: 18px; left: 18px; width: 25px; height: 25px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f4317c; color: #fff; font-size: .7rem; opacity: 1; }
  .wwd-vertical-title { position: static; display: block; writing-mode: horizontal-tb; transform: none; color: #fff; opacity: .9; font-size: .72rem; letter-spacing: 1.2px; }
  .wwd-info { margin-top: 10px; }
  .wwd-info { position: static; }
  .wwd-info h3, .wwd-card:hover .wwd-info h3 { display: block; position: absolute; left: 54px; right: 82px; bottom: 12px; color: #fff; opacity: 1; transform: none; font-size: 1rem; line-height: 1.12; }
  .wwd-active .wwd-info h3 { color: #fff; font-size: 1rem; }
  .wwd-review { margin: 10px 0 0; padding: 0; background: transparent; border: 0; font-size: .66rem; line-height: 1.4; opacity: 1; transform: none; }
  .wwd-review span { margin: 3px 0; }
  .wwd-review p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; color: #dedee2; }
  .wwd-card:hover .wwd-vertical-title { opacity: .9; transform: none; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: row; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 28px; }
  .insta-item { border-radius: 6px; height: 220px; }
  .insta-play { top: 6px; right: 6px; width: 25px; height: 25px; font-size: .72rem; }
  .insta-overlay { padding: 7px; }
  .insta-overlay span { font-size: .56rem; line-height: 1.2; }
  .insta-head { margin-bottom: 24px; }
  .insta-sub { font-size: .62rem; letter-spacing: 1.3px; }
  .insta-tagline { font-size: .82rem; }
  .video-modal { padding: 18px; }
  .video-modal-panel { padding: 8px; border-radius: 10px; }
  .video-modal-close { top: -10px; right: -8px; width: 34px; height: 34px; }
  .video-modal-caption { font-size: .72rem; }
}


/* Horizontal treatment slider on tablet and mobile */
@media (max-width: 860px) {
  .wwd-grid {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    max-width: none;
    min-height: 0;
    margin-left: 0;
    padding: 20px 14px 28px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .wwd-grid::-webkit-scrollbar { display: none; }
  .wwd-card,
  .wwd-card + .wwd-card,
  .wwd-card.wwd-active {
    flex: 0 0 190px;
    width: 190px;
    height: 360px;
    margin-left: 0;
    padding: 24px 18px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    scroll-snap-align: start;
    background: #fffaf0;
    border: 1.5px solid var(--gold-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(184,134,11,.12);
  }
  .wwd-card.wwd-active { flex-basis: 250px; width: 250px; }
  .wwd-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(184,134,11,.18); }
  .wwd-image { inset: 0; width: 100%; height: 100%; border-radius: 0; opacity: .1; filter: grayscale(1); transform: none; }
  .wwd-card:hover .wwd-image, .wwd-card.wwd-active .wwd-image { opacity: .08; transform: none; }
  .wwd-icon { top: 24px; left: 18px; width: auto; height: auto; margin: 0; background: transparent; color: var(--gold); font-size: 1.5rem; }
  .wwd-vertical-title { position: absolute; left: 20px; bottom: 42px; display: block; writing-mode: vertical-rl; transform: rotate(180deg); color: #888; opacity: .7; font-size: .64rem; letter-spacing: 1.8px; }
  .wwd-card.wwd-active .wwd-vertical-title, .wwd-card:hover .wwd-vertical-title { opacity: 0; }
  .wwd-info { position: relative; z-index: 2; margin: 0; }
  .wwd-info h3, .wwd-card:hover .wwd-info h3, .wwd-active .wwd-info h3 { position: static; display: block; color: var(--gold); opacity: 1; transform: none; font-size: 1.5rem; line-height: 1.12; }
  .wwd-card:not(.wwd-active) .wwd-info h3 { opacity: 0; }
  .wwd-review { margin: 0 0 16px; padding: 6px; background: rgba(255,255,255,.72); border: 1px solid rgba(184,134,11,.18); border-radius: 6px; font-size: .58rem; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
  .wwd-card.wwd-active .wwd-review { opacity: 1; transform: none; }
  .review-item + .review-item { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.14); }
  .wwd-review p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; color: #dedee2; }
}

@media (max-width: 600px) {
  .wwd-grid { padding-left: 10px; padding-right: 10px; scroll-padding-left: 10px; }
  .wwd-card, .wwd-card + .wwd-card { flex-basis: 178px; width: 178px; height: 330px; }
  .wwd-card.wwd-active { flex-basis: 238px; width: 238px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-modal, .video-modal-panel, .video-modal-close { transition: none; }
}
.appt-sec {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: stretch;
}
/* single full-width background image */
.appt-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--gold-pale);
}
.appt-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  display: block;
}
/* gradient overlay: opaque cream on left, transparent on right */
.appt-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(253,246,227,.97) 0%,
    rgba(253,246,227,.95) 40%,
    rgba(253,246,227,.6)  60%,
    rgba(253,246,227,0)   75%
  );
}
/* leaf decorations above bg */
.appt-sec .leaf-deco { z-index: 1; }
/* form content */
.appt-left {
  position: relative; z-index: 2;
  width: 52%;
  padding: 60px 56px 60px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.appt-eyebrow { font-size: .88rem; color: var(--text); margin-bottom: 6px; }
.appt-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.3; margin-bottom: 28px;
}
.appt-form { margin-bottom: 16px; }
.appt-fields { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.appt-fields input, .appt-fields select {
  flex: 1 1 140px; padding: 12px 16px;
  border: 1.5px solid var(--gold-border); border-radius: 8px;
  font-size: .86rem; background: #fff; outline: none;
  transition: border-color .2s; font-family: 'Inter', sans-serif;
  color: #333;
}
.appt-fields input:focus, .appt-fields select:focus { border-color: var(--gold); }
.phone-err {
  display: none; color: #e53935; font-size: .76rem;
  flex: 1 1 100%; padding: 4px 4px 0;
}
.phone-err {
  display: none; color: #e53935;
  font-size: .76rem; margin-top: -6px;
  flex: 1 1 100%; padding-left: 4px;
}
.htmx-indicator { display: none; color: var(--gold); }
.htmx-request .htmx-indicator { display: inline; }
.appt-perks { display: flex; gap: 20px; flex-wrap: wrap; font-size: .8rem; color: var(--text); margin-top: 4px; }
.appt-perks span { display: flex; align-items: center; gap: 6px; }
.appt-perks i { color: var(--gold); }

/* ══════════ FOOTER ══════════ */
.footer { background: #120d00; color: #bbb; }
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 56px 28px 36px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand .logo-name { color: var(--gold-light); }
.footer-brand .logo-sub  { color: #666; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #2a2000; display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: .78rem;
  transition: background .2s, color .2s, border-color .2s;
}
.socials a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.footer-col h4 { color: #fff; font-size: .88rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; font-size: .8rem; display: flex; align-items: flex-start; gap: 8px; }
.footer-col ul li i { color: var(--gold); margin-top: 2px; width: 14px; flex-shrink: 0; }
.footer-col a { color: #bbb; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bar {
  border-top: 1px solid #1e1600;
  max-width: 1160px; margin: 0 auto; padding: 16px 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .74rem; color: #555;
}

/* Footer — dual location cards */
.footer-loc {
  background: rgba(184,134,11,.06);
  border: 1px solid rgba(184,134,11,.16);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 12px;
  transition: background .2s, transform .2s;
}
.footer-loc:hover { background: rgba(184,134,11,.13); transform: translateX(3px); }
.footer-loc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.footer-loc-head i { color: var(--gold-light); font-size: .82rem; flex-shrink: 0; }
.footer-loc-head strong { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .3px; }
.footer-loc-tag {
  margin-left: auto; font-size: .56rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--gold-light);
  border: 1px solid rgba(184,134,11,.45); border-radius: 20px;
  padding: 2px 8px; background: rgba(184,134,11,.14); flex-shrink: 0;
}
.footer-loc-addr {
  display: block; color: #a89f8d; font-size: .76rem; line-height: 1.65;
  text-decoration: none; transition: color .2s;
}
.footer-loc-addr:hover { color: var(--gold-light); }
.footer-loc-meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .7rem; color: #8d8060; }
.footer-loc-meta i { color: var(--gold); font-size: .72rem; }

/* Locations row spans full footer width, cards side-by-side */
.footer-locations {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  border-top: 1px solid #1e1600;
  padding-top: 28px; margin-top: 4px;
}
.footer-locations > h4 { grid-column: 1 / -1; margin-bottom: 0; }
@media (max-width: 640px) {
  .footer-locations { grid-template-columns: 1fr; gap: 12px; }
}

/* Floating WhatsApp contact */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1500;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.36);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: whatsappPulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover { color: #fff; transform: translateY(-4px) scale(1.08); box-shadow: 0 12px 30px rgba(37,211,102,.48); }
@keyframes whatsappPulse { 0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.36); } 50% { box-shadow: 0 8px 24px rgba(37,211,102,.36), 0 0 0 10px rgba(37,211,102,.12); } }

/* Persistent quick-action bar */
.quick-actions {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1400;
  display: flex;
  align-items: stretch;
  width: min(720px, calc(100% - 150px));
  min-height: 76px;
  transform: translateX(-50%);
  padding: 10px 8px;
  background: rgba(255,247,235,.96);
  border: 1px solid #efd8ba;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(92,61,20,.16);
  backdrop-filter: blur(10px);
  transition: transform .3s ease, opacity .3s ease;
}
.quick-actions.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, calc(100% + 30px)); }
.quick-action {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  color: #27231f;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: left;
  transition: color .2s, transform .2s;
}
.quick-action + .quick-action { border-left: 1px solid #cfc7bf; }
.quick-action i { color: var(--gold); font-size: 1.65rem; flex-shrink: 0; transition: transform .2s; }
.quick-action:hover { color: var(--gold); transform: translateY(-3px); }
.quick-action:hover i { transform: scale(1.12); }

/* ══════════ ANIMATIONS ══════════ */
@keyframes fadeInLeft { from { opacity:0; transform:translateX(-36px); } to { opacity:1; transform:none; } }
@keyframes fadeIn     { from { opacity:0; } to { opacity:1; } }
@keyframes fadeUp     { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes statReveal { to { opacity: 1; transform: translateY(0); } }
@keyframes statIcon { to { transform: scale(1); } }
@keyframes statDivider { to { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  .stat, .stat i, .stat-sep { animation: none; opacity: 1; transform: none; }
}

/* ══════════ SERVICES HEADING — WORD-BY-WORD SCROLL REVEAL (scoped to this block only) ══════════ */
.sec-head-svc .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(32px) scale(.94);
  filter: blur(8px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1), filter .65s ease;
  transition-delay: calc(var(--w, 0) * 90ms);
  will-change: opacity, transform, filter;
}
.sec-head-svc.is-revealed .word { opacity: 1; transform: none; filter: blur(0); }

/* Gold shimmer sweep on "Dental Care" */
.sec-head-svc .word.gold {
  background: linear-gradient(110deg, var(--gold-light) 35%, #f7dd8a 50%, var(--gold-light) 65%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sec-head-svc.is-revealed .word.gold { animation: svcGoldShimmer 3.6s ease-in-out 1.3s infinite; }
@keyframes svcGoldShimmer {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

/* Gold shimmer utility — shared by the other section headings */
.gold-shimmer {
  background: linear-gradient(110deg, var(--gold-light) 35%, #f7dd8a 50%, var(--gold-light) 65%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: svcGoldShimmer 3.6s ease-in-out infinite;
}

/* Paragraph fades up after the heading settles */
.sec-head-svc p {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease .6s, transform .8s cubic-bezier(.22,1,.36,1) .6s;
}
.sec-head-svc.is-revealed p { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .sec-head-svc .word, .sec-head-svc p { transition: none; opacity: 1; transform: none; filter: none; }
  .sec-head-svc .word.gold, .gold-shimmer { animation: none; }
}

/* ══════════ SERVICE CARD ANIMATED SVG ICONS (GIF-style line icons) ══════════ */
.svc-icon .svi {
  width: 58%; height: 58%; display: block;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}
.svc-icon .svi-acc { stroke: var(--gold-light); transition: stroke .25s; }
.svc-card:hover .svc-icon .svi-acc { stroke: #fff; }
.svi [class^="svi-"], .svi [class*=" svi-"] { transform-box: fill-box; }

.svi-float { animation: sviFloat 3.2s ease-in-out infinite; }
.svi-bite  { animation: sviBite 1.9s ease-in-out infinite; }
.svi-seat  { animation: sviSeat 2.4s ease-in-out infinite; }
.svi-pulse { animation: sviPulse 1.9s ease-in-out infinite; }
.svi-flow  { stroke-dasharray: 3 4; animation: sviFlow 1.1s linear infinite; }
.svi-snapL { transform-origin: 50% 0; animation: sviSnapL 1.7s ease-in-out infinite; }
.svi-snapR { transform-origin: 50% 0; animation: sviSnapR 1.7s ease-in-out infinite; }
.svi-tw    { transform-origin: center; animation: sviTwinkle 1.8s ease-in-out infinite; }

@keyframes sviFloat   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }
@keyframes sviBite    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(2.2px); } }
@keyframes sviSeat    { 0%,100% { transform: translateY(-1.6px); } 60% { transform: translateY(0); } }
@keyframes sviTwinkle { 0%,100% { transform: scale(.45); opacity: .2; } 50% { transform: scale(1); opacity: 1; } }
@keyframes sviFlow    { to { stroke-dashoffset: -7; } }
@keyframes sviPulse   { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes sviSnapL   { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(5deg); } }
@keyframes sviSnapR   { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(-5deg); } }

@media (prefers-reduced-motion: reduce) {
  .svi [class^="svi-"], .svi [class*=" svi-"] { animation: none !important; }
}

/* ── Same animated icons inside What-We-Do cards ── */
.wwd-icon .svi {
  width: 32px; height: 32px; display: block;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}
.wwd-icon .svi-acc { stroke: var(--gold-light); transition: stroke .16s ease; }
.wwd-card:hover .wwd-icon .svi-acc { stroke: var(--gold); }

@media (max-width: 860px) {
  .wwd-icon .svi { width: 14px; height: 14px; stroke-width: 2.6; }
  .wwd-icon .svi-acc, .wwd-card:hover .wwd-icon .svi-acc { stroke: #fff; }
}

/* ══════════ APPOINTMENT FORM — OPTIONAL PHOTO UPLOAD ══════════ */
.appt-upload-row { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; }
.appt-upload {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 12px 16px; border: 1.5px dashed var(--gold-border); border-radius: 8px;
  background: rgba(255,255,255,.65); font-size: .84rem; color: var(--text);
  transition: border-color .2s, background .2s;
}
.appt-upload:hover, .appt-upload.dragover { border-color: var(--gold); background: #fffdf7; }
.appt-upload i { color: var(--gold); font-size: 1.05rem; }
.appt-upload em { font-style: normal; color: #999; font-size: .78rem; }
.appt-previews { display: flex; gap: 8px; flex-wrap: wrap; }
.appt-previews img {
  width: 46px; height: 46px; object-fit: cover; border-radius: 8px;
  border: 1.5px solid var(--gold-border);
}

/* ── Same animated icons inside Before/After ("Real Smiles") cards ── */
.ba-icon .svi {
  width: 26px; height: 26px; display: block;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}
.ba-icon .svi-acc { stroke: var(--gold-light); }

/* Self-drawing smile (Smile Makeover icon) */
.svi-draw { stroke-dasharray: 16; animation: sviDraw 2.2s ease infinite; }
@keyframes sviDraw { 0% { stroke-dashoffset: 16; } 55%, 100% { stroke-dashoffset: 0; } }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1024px) {
  .doctor-wrap { grid-template-columns: 260px 1fr; }
  .doc-stats-col { display: none; }
  .appt-left { width: 65%; padding: 48px 40px; }
}
@media (max-width: 860px) {
  .hero-main { min-height: 540px; }
  .hero-left { width: min(76%, 620px); margin-left: 28px; }
  .hero-right::after { background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.72) 68%, rgba(255,255,255,.28)); }
  .hero-stats { padding: 18px 28px; flex-wrap: wrap; gap: 14px; }
  .stat-sep { display: none; }
  .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); gap: 12px; }
  .doctor-wrap { grid-template-columns: 1fr; }
  .doc-photo-frame img { height: 340px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .testi-card { flex: 0 0 calc(50% - 10px); }
  .appt-left { width: 100%; padding: 40px 28px; }
  .appt-bg::after { background: rgba(253,246,227,.92); }
  .appt-fields { flex-direction: column; }
  .appt-fields input, .appt-fields select, .appt-fields button { width: 100%; flex: 1 1 100%; }
}
@media (max-width: 600px) {
  .nav-links, .nav-right { display: none; }
  .hero-main { min-height: 560px; }
  .hero-left { width: auto; margin: 0 20px; padding: 24px 0; }
  .hero-right > img { object-position: 58% center; }
  .hero-right::after { background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.78)); }
  .hero-script { right: 20px; bottom: 16px; font-size: .95rem; }
  .nav-burger { display: block; }
  .hero-left h1 { font-size: 2.2rem; }
  .services-sec .container { padding-left: 16px; padding-right: 16px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); gap: 10px; }
  .svc-card { min-height: 132px; padding: 18px 8px 14px; border-radius: 9px; }
  .svc-icon { width: 48px; height: 48px; margin-bottom: 10px; border-radius: 11px; font-size: 1.15rem; }
  .svc-card h3 { min-height: 2.1em; margin-bottom: 3px; font-size: .72rem; line-height: 1.15; }
  .svc-card p { min-height: 2.2em; font-size: .62rem; line-height: 1.3; }
  .testi-card { flex: 0 0 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; gap: 6px; text-align: center; }
  .appt-left { padding: 28px 18px; }
  .appt-fields { flex-direction: column; }
  .appt-fields input, .appt-fields select, .appt-fields button { width: 100%; flex: 1 1 100%; }
  .appt-perks { flex-direction: column; gap: 10px; }
  .whatsapp-float { right: 16px; bottom: 92px; width: 50px; height: 50px; font-size: 1.55rem; }
  .quick-actions { left: 12px; right: 12px; bottom: 12px; width: auto; min-height: 68px; padding: 8px 4px; border-radius: 18px; transform: none; }
  .quick-actions.is-hidden { transform: translateY(calc(100% + 30px)); }
  .quick-action { gap: 5px; font-size: .58rem; text-align: center; flex-direction: column; }
  .quick-action i { font-size: 1.25rem; }
  .quick-action + .quick-action { border-left: 1px solid #d8cec4; }
  .quick-action span { display: block; }
}
