/* ===========================================================
   Saanvi DENTAL — Design System
   Colors extracted directly from the brand logo.
   =========================================================== */

:root{
  /* Brand palette — fresh mint/dental-hygiene theme.
     The real Saanvi DENTAL logo mark itself (maroon + teal + olive leaf)
     is untouched — this palette governs the site's UI (buttons, sections,
     dark bands), not the fixed logo image. */
  --color-primary:#0B6E5B;
  --color-primary-dark:#084D40;
  --color-primary-tint:#E8F7F3;
  --color-secondary:#14C8A6;
  --color-secondary-dark:#0EA089;
  --color-secondary-tint:#DFFBF4;
  --color-accent:#8FBF3F;
  --color-accent-tint:#F1F8E4;
  --color-whatsapp:#25D366;

  --color-bg:#FFFFFF;
  --color-bg-alt:#F2FAF8;
  --color-bg-deep:#052922;
  --color-text:#16221D;
  --color-text-muted:#57655F;
  --color-text-inverse:#F4FFFC;
  --color-border:#DFEBE7;

  --font-heading:'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body:'Inter', 'Segoe UI', sans-serif;
  --font-script:'Caveat', cursive;

  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --radius-pill:999px;

  --shadow-sm:0 2px 8px rgba(5,41,34,0.07);
  --shadow-md:0 10px 28px rgba(5,41,34,0.12);
  --shadow-lg:0 20px 48px rgba(5,41,34,0.18);

  --container:1280px;
  --space-section:104px;
}

@media (max-width:768px){
  :root{ --space-section:64px; }
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--color-text);
  background:var(--color-bg);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-heading); color:var(--color-primary); margin:0 0 .5em; line-height:1.18; letter-spacing:-0.01em; }
h1{ font-size:clamp(1.9rem,3.9vw,3.05rem); }
h2{ font-size:clamp(1.6rem,3vw,2.4rem); }
h3{ font-size:clamp(1.15rem,1.6vw,1.4rem); }
p{ margin:0 0 1em; color:var(--color-text-muted); }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
section{ padding:var(--space-section) 0; }
.section-alt{ background:var(--color-bg-alt); }
.text-center{ text-align:center; }
.visually-hidden{ position:absolute; width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap; }

/* -------- Eyebrow / kicker -------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  color:var(--color-secondary-dark);
  background:var(--color-secondary-tint);
  padding:7px 16px; border-radius:var(--radius-pill);
  margin-bottom:18px;
}
.section-head{ max-width:680px; margin:0 auto 52px; text-align:center; }
.section-head.left{ margin:0 0 44px; text-align:left; }

/* -------- Buttons -------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-heading); font-weight:600; font-size:.96rem;
  padding:14px 26px; border-radius:var(--radius-pill);
  border:2px solid transparent; cursor:pointer; white-space:nowrap;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  min-height:48px;
}
.btn svg{ width:18px; height:18px; flex:none; }
.btn-primary{ background:var(--color-secondary); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--color-secondary-dark); transform:translateY(-2px) scale(1.015); box-shadow:var(--shadow-md); }
.btn-outline{ background:transparent; color:var(--color-primary); border-color:var(--color-primary); }
.btn-outline:hover{ background:var(--color-primary); color:#fff; transform:translateY(-2px); }
.btn-ghost-light{ background:rgba(255,255,255,.12); color:#fff; border-color:rgba(255,255,255,.5); }
.btn-ghost-light:hover{ background:#fff; color:var(--color-primary); }
.btn-whatsapp{ background:var(--color-whatsapp); color:#fff; }
.btn-whatsapp:hover{ background:#1DA851; transform:translateY(-2px); }
.btn-sm{ padding:10px 18px; font-size:.85rem; min-height:40px; }
.btn-block{ width:100%; }
.btn:focus-visible{ outline:3px solid var(--color-secondary); outline-offset:2px; }

/* -------- Top utility bar -------- */
.topbar{
  background:var(--color-bg-deep); color:#DCF4EE; font-size:.82rem;
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:9px; padding-bottom:9px; flex-wrap:wrap; }
.topbar-left{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.topbar a, .topbar span{ display:inline-flex; align-items:center; gap:6px; color:#DCF4EE; }
.topbar a:hover{ color:var(--color-secondary); }
.topbar svg{ width:14px; height:14px; color:var(--color-secondary); flex:none; }
.topbar-right{ display:flex; align-items:center; gap:18px; }
.topbar-right a{ font-weight:600; }

/* -------- Header / nav -------- */
header.site-header{
  position:sticky; top:0; z-index:60;
  background:#fff; border-bottom:1px solid var(--color-border);
  transition:background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
header.site-header.scrolled{
  background:var(--color-primary); border-color:var(--color-primary-dark); box-shadow:var(--shadow-md);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:12px; padding-bottom:12px; }
.brand{ display:flex; align-items:center; gap:10px; min-width:0; flex:none; }
.brand img{ height:46px; width:46px; flex:none; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; min-width:0; }
.brand-text .name{ font-family:var(--font-heading); font-weight:700; font-size:1.34rem; color:var(--color-primary); white-space:nowrap; }
.brand-text .name span{ color:var(--color-secondary); }
header.site-header.scrolled .brand-text .name{ color:#fff; }
header.site-header.scrolled .brand-text .name span{ color:#8FE3E9; }
.brand-text .tag{ font-size:.68rem; color:var(--color-text-muted); white-space:nowrap; }
header.site-header.scrolled .brand-text .tag{ color:#BFEAE0; }

nav.main-nav{ display:flex; align-items:center; gap:2px; flex:1 1 auto; min-width:0; justify-content:center; flex-wrap:nowrap; overflow:visible; }
nav.main-nav a{
  font-size:.85rem; font-weight:600; color:var(--color-text); padding:8px 8px; border-radius:8px;
  white-space:nowrap; position:relative;
}
nav.main-nav a:hover, nav.main-nav a.active{ color:var(--color-secondary-dark); }
header.site-header.scrolled nav.main-nav a{ color:#EAF7F4; }
header.site-header.scrolled nav.main-nav a:hover, header.site-header.scrolled nav.main-nav a.active{ color:#fff; }
header.site-header.scrolled nav.main-nav a.active::after{ background:#8FE3E9; }
nav.main-nav a.active::after{ content:""; position:absolute; left:10px; right:10px; bottom:1px; height:2px; background:var(--color-secondary); border-radius:2px; }

.nav-drop{ position:relative; }
.nav-drop > button{ font:inherit; background:none; border:0; cursor:pointer; display:inline-flex; align-items:center; gap:4px; padding:8px 8px; border-radius:8px; color:var(--color-text); font-weight:600; font-size:.85rem; }
header.site-header.scrolled .nav-drop > button{ color:#EAF7F4; }
.nav-drop svg{ width:14px; height:14px; }
.nav-drop .dropdown{
  position:absolute; top:calc(100% + 10px); left:50%; transform:translateX(-50%);
  background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); min-width:240px; padding:8px; display:none; z-index:80;
}
.nav-drop:hover .dropdown, .nav-drop.open .dropdown{ display:block; }
.dropdown a{ display:block; padding:10px 12px; border-radius:8px; font-size:.86rem; color:var(--color-text); font-weight:500; }
.dropdown a:hover{ background:var(--color-secondary-tint); color:var(--color-secondary-dark); }

.nav-actions{ display:flex; align-items:center; gap:8px; flex:none; }
.nav-call-btn{ padding:0; width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; flex:none; }
.hamburger{ display:none; background:none; border:0; cursor:pointer; padding:8px; color:var(--color-primary); }
header.site-header.scrolled .hamburger{ color:#fff; }
.hamburger svg{ width:26px; height:26px; }

@media (max-width:1180px){
  nav.main-nav{ display:none; }
  .nav-call-btn{ display:none; }
  .hamburger{ display:inline-flex; }
}
@media (max-width:520px){
  .brand-text .tag{ display:none; }
  .brand img{ height:36px; width:36px; }
  .brand-text .name{ font-size:1.06rem; }
  /* Below this width the header keeps just the logo + menu button; Book/Call/WhatsApp
     are always reachable via the fixed bottom action bar (.mobile-tabbar) instead,
     so the header never has to squeeze a full-width CTA button in. */
  .nav-book-btn{ display:none; }
}

/* Mobile drawer */
.mobile-drawer{
  position:fixed; inset:0; z-index:120; display:none;
}
.mobile-drawer.open{ display:block; }
.drawer-backdrop{ position:absolute; inset:0; background:rgba(36,21,18,.55); }
.drawer-panel{
  position:absolute; top:0; right:0; height:100%; width:min(340px,86vw);
  background:#fff; box-shadow:var(--shadow-lg); padding:20px; overflow-y:auto;
  display:flex; flex-direction:column; gap:4px;
}
.drawer-panel .drawer-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.drawer-panel .drawer-top button{ background:none;border:0;cursor:pointer;color:var(--color-primary); }
.drawer-panel .drawer-top svg{ width:26px;height:26px; }
.drawer-panel a{ padding:13px 10px; font-weight:600; border-bottom:1px solid var(--color-border); font-size:1rem; }
.drawer-panel .drawer-cta{ margin-top:16px; display:flex; flex-direction:column; gap:10px; }
.drawer-sub{ padding-left:16px !important; font-weight:500 !important; font-size:.92rem !important; color:var(--color-text-muted); }

/* Clinic address/hours — shown inside the mobile menu instead of a
   permanent top bar, so the first screen on a phone isn't dominated by it. */
.drawer-info{
  margin-top:14px; padding:14px 10px; background:var(--color-bg-alt); border-radius:var(--radius-md);
  display:flex; flex-direction:column; gap:10px; font-size:.86rem; color:var(--color-text-muted);
}
.drawer-info a, .drawer-info span{ display:flex; align-items:flex-start; gap:8px; }
.drawer-info svg{ width:16px; height:16px; color:var(--color-secondary-dark); flex:none; margin-top:1px; }
.drawer-info a{ color:var(--color-text-muted); font-weight:500; }
.drawer-info a:hover{ color:var(--color-secondary-dark); }

/* On phones, the address/hours bar moves into the menu (above) and the
   fixed bottom action bar covers Call/WhatsApp/Book instead of a bar
   pinned to the very top of the screen. */
@media (max-width:768px){
  .topbar{ display:none; }
}

/* -------- Hero -------- */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg,var(--color-bg-alt) 0%, #fff 100%);
  padding:72px 0 var(--space-section);
}
.tooth-watermark{ position:absolute; pointer-events:none; opacity:.06; width:480px; height:480px; z-index:0; }
.hero .tooth-watermark{
  position:absolute; right:-140px; top:-120px; width:640px; height:640px;
  opacity:.05; pointer-events:none; color:var(--color-primary);
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; position:relative; z-index:1; }
@media (max-width:960px){ .hero-grid{ grid-template-columns:1fr; } }

.hero-copy h1{ margin-bottom:20px; }
.hero-copy h1 .accent{ color:var(--color-secondary); display:block; }
.hero-copy p.lead{ font-size:1.08rem; max-width:52ch; }
.hero-doctors{ display:flex; gap:14px; margin:26px 0; flex-wrap:wrap; }
.doc-chip{
  display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--color-border);
  padding:9px 14px 9px 9px; border-radius:var(--radius-pill); box-shadow:var(--shadow-sm);
}
.doc-chip .avatar{ width:34px;height:34px;border-radius:50%; }
.doc-chip .info{ line-height:1.3; display:flex; flex-direction:column; }
.doc-chip .info .n{ font-weight:700; font-size:.82rem; color:var(--color-primary); display:block; }
.doc-chip .info .r{ font-size:.72rem; color:var(--color-text-muted); display:block; }
.hero-cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:26px; }
.trust-strip{ display:flex; gap:10px; flex-wrap:wrap; }
.trust-badge{
  display:inline-flex; align-items:center; gap:7px; font-size:.78rem; font-weight:600;
  background:var(--color-accent-tint); color:#5B6415; padding:8px 13px; border-radius:var(--radius-pill);
}
.trust-badge svg{ width:15px;height:15px; }

.hero-visual{ position:relative; }
.hero-visual .ring-frame{
  position:relative; border-radius:28px; overflow:hidden; border:3px solid var(--color-secondary);
  box-shadow:var(--shadow-lg); background:var(--color-secondary-tint);
  aspect-ratio:4/4.6;
}
.hero-visual .ring-frame img,.hero-visual .ring-frame svg{ width:100%; height:100%; object-fit:cover; }
.hero-visual .floating-card{
  position:absolute; left:-26px; bottom:22px; background:#fff; border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); padding:14px 18px; display:flex; align-items:center; gap:12px; max-width:230px;
}
@media (max-width:960px){ .hero-visual .floating-card{ left:14px; } }
.floating-card .icon-badge{ background:var(--color-secondary-tint); color:var(--color-secondary-dark); border-radius:50%; width:40px; height:40px; display:flex; align-items:center; justify-content:center; flex:none; }
.floating-card .icon-badge svg{ width:20px;height:20px; }
.floating-card .txt strong{ display:block; font-size:.85rem; color:var(--color-primary); }
.floating-card .txt span{ font-size:.72rem; color:var(--color-text-muted); }

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

.card{
  background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-md);
  padding:30px 26px; box-shadow:var(--shadow-sm); transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  height:100%; display:flex; flex-direction:column;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:var(--color-secondary); }
.icon-tile{
  width:54px; height:54px; border-radius:16px; background:var(--color-secondary-tint); color:var(--color-secondary-dark);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; flex:none;
}
.icon-tile svg{ width:26px; height:26px; }
.card h3{ margin-bottom:8px; }
.card p{ margin-bottom:16px; flex:1; }
.card .card-link{ font-weight:700; font-size:.86rem; color:var(--color-secondary-dark); display:inline-flex; align-items:center; gap:6px; }
.card .card-link svg{ width:15px;height:15px; transition:transform .18s ease; }
.card:hover .card-link svg{ transform:translateX(4px); }

.specialty-card{ border-top:4px solid var(--color-secondary); }
.specialty-card.alt{ border-top-color:var(--color-primary); }

/* -------- Wave divider -------- */
.wave-divider{ display:block; width:100%; height:60px; margin-top:-1px; }

/* -------- Doctors -------- */
.doctor-card{
  background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-sm); display:flex; flex-direction:column;
}
.doctor-photo{ position:relative; aspect-ratio:1/1; background:var(--color-secondary-tint); padding:26px; }
.doctor-photo svg{ width:100%; height:100%; }
.doctor-body{ padding:26px 26px 30px; }
.doctor-body .role{ color:var(--color-secondary-dark); font-weight:700; font-size:.82rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px; }
.doctor-body h3{ margin-bottom:4px; }
.doctor-body .cred{ color:var(--color-text-muted); font-size:.85rem; margin-bottom:14px; }

/* -------- CTA band -------- */
.cta-band{ background:var(--color-primary); color:#fff; text-align:center; position:relative; overflow:hidden; }
.cta-band h2{ color:#fff; }
.cta-band p{ color:#D7F3EC; max-width:56ch; margin-left:auto; margin-right:auto; }
.cta-band .btn-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:24px; }
.cta-band .tooth-watermark{
  position:absolute; left:50%; bottom:-180px; transform:translateX(-50%);
  width:480px; height:480px; opacity:.07; color:#fff; pointer-events:none;
}

/* -------- Testimonials -------- */
.testi-card{ background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-md); padding:28px; box-shadow:var(--shadow-sm); }
.testi-card .stars{ color:#E7A319; display:flex; gap:3px; margin-bottom:14px; }
.testi-card .stars svg{ width:16px;height:16px; }
.testi-card p{ color:var(--color-text); font-style:italic; }
.testi-who{ display:flex; align-items:center; gap:10px; margin-top:16px; }
.testi-who .initials{ width:38px;height:38px;border-radius:50%; background:var(--color-primary-tint); color:var(--color-primary); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.8rem; }
.testi-who strong{ display:block; font-size:.88rem; color:var(--color-primary); }
.testi-who span{ font-size:.74rem; color:var(--color-text-muted); }

/* -------- Timeline / process -------- */
.timeline{ position:relative; padding-left:34px; border-left:2px dashed var(--color-border); }
.timeline-step{ position:relative; padding-bottom:34px; }
.timeline-step:last-child{ padding-bottom:0; }
.timeline-step::before{ content:""; position:absolute; left:-42px; top:2px; width:18px;height:18px;border-radius:50%; background:var(--color-secondary); border:4px solid var(--color-secondary-tint); }
.timeline-step h4{ font-family:var(--font-heading); color:var(--color-primary); margin:0 0 4px; font-size:1.02rem; }

/* -------- FAQ -------- */
.faq-item{ border-bottom:1px solid var(--color-border); }
.faq-item summary{ cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 4px; font-weight:700; color:var(--color-primary); font-family:var(--font-heading); }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary svg{ width:18px;height:18px; color:var(--color-secondary); transition:transform .2s ease; flex:none; }
.faq-item[open] summary svg{ transform:rotate(45deg); }
.faq-item .faq-a{ padding:0 4px 20px; color:var(--color-text-muted); }

/* -------- Forms -------- */
.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-weight:600; font-size:.86rem; margin-bottom:6px; color:var(--color-primary); }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:13px 14px; border-radius:10px; border:1.5px solid var(--color-border);
  font-family:var(--font-body); font-size:.95rem; background:#fff; color:var(--color-text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:none; border-color:var(--color-secondary); box-shadow:0 0 0 3px var(--color-secondary-tint);
}
.form-row-2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:600px){ .form-row-2{ grid-template-columns:1fr; } }
.form-note{ font-size:.78rem; color:var(--color-text-muted); margin-top:10px; }
.form-success{
  display:none; background:var(--color-accent-tint); border:1px solid var(--color-accent); color:#4B5416;
  padding:18px; border-radius:var(--radius-md); align-items:center; gap:12px; margin-bottom:20px;
}
.form-success.show{ display:flex; }
.form-success svg{ width:24px;height:24px; color:var(--color-accent); flex:none; }

/* -------- Footer -------- */
footer.site-footer{ background:var(--color-bg-deep); color:#B9D6CC; padding-top:72px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.1); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand .name{ color:#fff; font-family:var(--font-heading); font-weight:700; font-size:1.15rem; }
.footer-brand .name span{ color:#5CD3DF; }
.footer-tag{ font-family:var(--font-script); font-size:1.3rem; color:#8FE3E9; margin-bottom:10px; }
footer h4{ color:#fff; font-family:var(--font-heading); font-size:.86rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:18px; }
footer ul li{ margin-bottom:11px; font-size:.9rem; }
footer ul li a:hover{ color:#5CD3DF; }
.footer-contact li{ display:flex; align-items:flex-start; gap:10px; }
.footer-contact svg{ width:17px;height:17px; color:#5CD3DF; flex:none; margin-top:2px; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:38px;height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background:var(--color-secondary); }
.footer-social svg{ width:17px;height:17px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding:22px 0; font-size:.8rem; color:#8FA69E; }
.footer-bottom .legal-links{ display:flex; gap:18px; flex-wrap:wrap; }
.footer-bottom a:hover{ color:#fff; }
.footer-cta-buttons{ display:flex; gap:10px; margin-top:20px; }

/* -------- Floating WhatsApp + sticky mobile bar -------- */
.float-whatsapp{
  position:fixed; right:22px; bottom:26px; z-index:90; width:60px; height:60px; border-radius:50%;
  background:var(--color-whatsapp); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(37,211,102,.45); animation:pulse-wa 2.6s infinite;
}
.float-whatsapp svg{ width:30px;height:30px; }
@keyframes pulse-wa{
  0%{ box-shadow:0 10px 26px rgba(37,211,102,.45),0 0 0 0 rgba(37,211,102,.55);}
  70%{ box-shadow:0 10px 26px rgba(37,211,102,.45),0 0 0 16px rgba(37,211,102,0);}
  100%{ box-shadow:0 10px 26px rgba(37,211,102,.45),0 0 0 0 rgba(37,211,102,0);}
}
.mobile-tabbar{ display:none; }
@media (max-width:768px){
  .mobile-tabbar{
    display:grid; grid-template-columns:1fr 1fr 1fr; position:fixed; left:0; right:0; bottom:0; z-index:95;
    background:#fff; border-top:1px solid var(--color-border); box-shadow:0 -6px 20px rgba(5,41,34,.08);
  }
  .mobile-tabbar a{ display:flex; flex-direction:column; align-items:center; gap:3px; padding:10px 4px 12px; font-size:.68rem; font-weight:700; color:var(--color-primary); }
  .mobile-tabbar a svg{ width:20px;height:20px; }
  .mobile-tabbar a.book{ color:var(--color-secondary-dark); }
  .float-whatsapp{ right:14px; bottom:78px; width:52px; height:52px; }
  .float-whatsapp svg{ width:26px;height:26px; }
  body{ padding-bottom:64px; }
}

/* -------- Scroll reveal -------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .55s ease, transform .55s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* -------- Breadcrumb / page hero (inner pages) -------- */
.page-hero{ background:var(--color-primary); color:#fff; padding:64px 0 56px; position:relative; overflow:hidden; }
.page-hero .tooth-watermark{ position:absolute; left:-100px; bottom:-120px; width:460px; height:460px; opacity:.08; color:#fff; }
.page-hero .eyebrow{ background:rgba(255,255,255,.14); color:#fff; }
.page-hero h1{ color:#fff; margin-bottom:14px; }
.page-hero p{ color:#D7F3EC; max-width:60ch; }
.breadcrumb{ display:flex; gap:8px; align-items:center; font-size:.82rem; color:#BFEAE0; margin-bottom:18px; }
.breadcrumb a:hover{ color:#fff; }
.breadcrumb svg{ width:13px;height:13px; }

/* -------- Badges / misc -------- */
.pill-list{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{ background:var(--color-secondary-tint); color:var(--color-secondary-dark); font-size:.82rem; font-weight:600; padding:8px 14px; border-radius:var(--radius-pill); }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .two-col{ grid-template-columns:1fr; } }
.divider-line{ height:1px; background:var(--color-border); border:0; margin:0; }
.note-box{ background:var(--color-accent-tint); border:1px solid var(--color-accent); border-radius:var(--radius-md); padding:18px 20px; display:flex; gap:12px; color:#4B5416; font-size:.88rem; }
.note-box svg{ width:20px;height:20px; color:var(--color-accent); flex:none; }
/* Warning boxes stay a deliberate warm caution color regardless of the
   site's mint theme, so safety notices still read as "pay attention". */
.warn-box{ background:#FDF1EC; border:1px solid #E9C3B9; border-radius:var(--radius-md); padding:18px 20px; display:flex; gap:12px; color:#7A2E1E; font-size:.88rem; }
.warn-box svg{ width:20px;height:20px; color:#B5502E; flex:none; }

/* Before/after slider */
.ba-slider{ position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); aspect-ratio:16/10; }
.ba-slider .ba-after, .ba-slider .ba-before{ position:absolute; inset:0; }
.ba-slider .ba-after{ clip-path:inset(0 50% 0 0); }
.ba-slider input[type=range]{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:ew-resize; }
.ba-handle{ position:absolute; top:0; bottom:0; left:50%; width:3px; background:#fff; transform:translateX(-50%); pointer-events:none; box-shadow:0 0 0 3000px rgba(0,0,0,0); }
.ba-handle::after{ content:"↔"; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:42px;height:42px; background:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--color-primary); font-weight:700; box-shadow:var(--shadow-md); }
.ba-tag{ position:absolute; top:14px; background:rgba(5,33,27,.72); color:#fff; font-size:.72rem; font-weight:700; padding:5px 12px; border-radius:var(--radius-pill); letter-spacing:.04em; text-transform:uppercase; }
.ba-tag.before{ left:14px; }
.ba-tag.after{ right:14px; }

/* Blog */
.blog-card{ background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; height:100%; }
.blog-thumb{ aspect-ratio:16/10; background:var(--color-secondary-tint); display:flex; align-items:center; justify-content:center; }
.blog-thumb svg{ width:52px;height:52px; color:var(--color-secondary); }
.blog-body{ padding:22px 22px 26px; display:flex; flex-direction:column; flex:1; }
.blog-meta{ font-size:.74rem; color:var(--color-text-muted); text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px; font-weight:700; }
.blog-body h3{ margin-bottom:10px; }
.blog-body p{ flex:1; }
article.post{ max-width:760px; margin:0 auto; }
article.post h2{ margin-top:1.4em; }
article.post p{ color:var(--color-text); font-size:1.02rem; }
article.post ul{ margin:0 0 1.2em; padding-left:1.2em; list-style:disc; color:var(--color-text); }
article.post li{ margin-bottom:.5em; }

/* Map */
.map-frame{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); border:1px solid var(--color-border); }
.map-frame iframe{ width:100%; height:420px; border:0; display:block; }

/* Table (treatments overview) */
.table-wrap{ overflow-x:auto; border-radius:var(--radius-md); border:1px solid var(--color-border); }
table.tx-table{ width:100%; border-collapse:collapse; min-width:640px; }
table.tx-table th{ background:var(--color-primary-tint); color:var(--color-primary); text-align:left; padding:14px 18px; font-family:var(--font-heading); font-size:.86rem; }
table.tx-table td{ padding:14px 18px; border-top:1px solid var(--color-border); font-size:.92rem; color:var(--color-text-muted); }
table.tx-table tr:hover td{ background:var(--color-bg-alt); }

/* Utility spacing */
.mt-0{ margin-top:0 !important; }
.mb-0{ margin-bottom:0 !important; }
.stack-16>*+*{ margin-top:16px; }
.stack-24>*+*{ margin-top:24px; }
