/* ==========================================================================
   Khushi Dental Care — Homepage
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root{
  --navy:#021522;
  --navy-2:#031523;
  --teal-900:#04373d;
  --teal-800:#053c42;
  --teal-700:#0f5460;
  --teal-500:#1e7383;

  --ink:#0a1524;
  --body:#4a5560;
  --muted:#8b959e;

  --gold:#c89355;
  --gold-2:#ba9462;
  --gold-soft:#d8ab74;

  --beige:#faf7f4;
  --panel:#f7f5f2;
  --cyan:#def9fd;
  --line:#e9ecef;
  --line-2:#eff1f3;
  --white:#fff;

  --wa:#25d366;

  /* Sampled from images/logo.png so the wordmark matches the artwork. */
  --serif:"Playfair Display",Georgia,serif;
  --logo-teal:#0d3f40;
  --logo-ink:#101616;
  --logo-rule:#7fb0a4;

  --container:1440px;
  --gut:clamp(24px,2.8vw,54px);
  --r-sm:8px;
  --r-md:12px;
  --r-lg:16px;
  --r-xl:20px;

  --shadow-sm:0 2px 10px rgba(10,21,36,.05);
  --shadow-md:0 12px 34px rgba(10,21,36,.09);
  --shadow-lg:0 24px 60px rgba(10,21,36,.14);

  --ease:cubic-bezier(.22,.68,.36,1);
}

/* --- Reset ---------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:100px}
body{
  margin:0;
  font-family:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:15px;
  line-height:1.65;
  color:var(--body);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
ul,ol{margin:0;padding:0;list-style:none}
p{margin:0}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit;color:inherit}
h1,h2,h3,h4{margin:0;color:var(--ink);line-height:1.22;font-weight:600}

:focus-visible{outline:2px solid var(--teal-500);outline-offset:3px;border-radius:4px}

/* --- Layout --------------------------------------------------------------- */
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:var(--gut)}
.section{padding:52px 0}
.center{text-align:center}

.section-head{text-align:center;max-width:720px;margin:0 auto 28px}
.section-head h2{
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(28px,3.2vw,42px);
  font-weight:600;
  letter-spacing:-.01em;
}
.eyebrow{
  font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--teal-700);margin-bottom:8px;
}
.eyebrow-gold{color:var(--gold)}

/* Left-aligned variant with the eyebrow shown as a pill badge (matching the
   "OUR SPECIALIZATIONS" chip higher up the homepage) instead of the plain
   small gold caps. */
.section-head--feature{text-align:left;max-width:none;margin:0 0 28px}
.section-head--feature .eyebrow{
  display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;
  color:#053c42;background:#def9fd;border-radius:999px;padding:8px 16px;
  margin-bottom:14px;
}

/* Screen-reader-only text: keeps a real heading in the outline without drawing it. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Location line inside a page's <h1> ("in Bhagalpur"): smaller, teal, same reveal as the title lines. */
.h1-loc{font-size:.5em;font-weight:500;letter-spacing:0;color:var(--teal-700);line-height:1.3;padding-top:.3em}
/* Role/keyword line inside a person heading ("Dentist & Maxillofacial Surgeon in Bhagalpur"). */
.h-role{display:block;font-family:"Poppins",system-ui,sans-serif;font-size:14px;font-weight:500;letter-spacing:.01em;color:var(--teal-700);margin-top:8px;line-height:1.4}

/* Serif heading with a short teal rule beneath — shared page furniture */
.ruled{
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(22px,2.3vw,29px);font-weight:600;letter-spacing:-.01em;
  margin-bottom:16px;
}
.ruled::after{
  content:"";display:block;width:44px;height:3px;border-radius:2px;
  background:var(--teal-800);margin-top:8px;
}
.js .ruled::after{transform:scaleX(0);transform-origin:left center}
.js .ruled.is-in::after,
.js .is-in .ruled::after{transform:scaleX(1);transition:transform .65s var(--ease) .18s}

/* --- Icons ---------------------------------------------------------------- */
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.icon{
  width:1.25em;height:1.25em;flex:none;
  fill:none;stroke:currentColor;stroke-width:1.5;
  stroke-linecap:round;stroke-linejoin:round;
}
.icon .dot{fill:currentColor;stroke:none}
.icon-google{width:1.55em;height:1.55em;stroke:none}

/* --- Buttons -------------------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:11px 20px;border:1px solid transparent;border-radius:var(--r-sm);
  font-size:14px;font-weight:500;cursor:pointer;
  transition:background .25s var(--ease),color .25s var(--ease),
             border-color .25s var(--ease),transform .25s var(--ease),box-shadow .25s var(--ease);
}
.btn .icon{width:1.2em;height:1.2em;stroke-width:2.2;transition:transform .3s var(--ease)}
.btn:hover .icon{transform:translateX(3px)}
.btn-lg{padding:14px 26px;font-size:15px}
.btn-block{width:100%}

.btn-primary{background:var(--teal-800);color:#fff}
.btn-primary:hover{background:#075158;transform:translateY(-2px);box-shadow:0 10px 24px rgba(5,60,66,.28)}

.btn-ghost{background:transparent;color:var(--teal-800);border-color:#b7d2d3}
.btn-ghost:hover{background:#f2f8f8;border-color:var(--teal-800);transform:translateY(-2px)}

.btn-gold{background:var(--gold-2);color:#fff;font-weight:600}
.btn-gold:hover{background:var(--gold-soft);transform:translateY(-2px);box-shadow:0 10px 24px rgba(186,148,98,.32)}

.btn-outline-gold{background:transparent;color:var(--gold-soft);border-color:rgba(200,147,85,.55)}
.btn-outline-gold:hover{background:rgba(200,147,85,.12);border-color:var(--gold);color:#e8c294}

.btn-white{background:#fff;color:#14324d;font-weight:600;border-color:var(--line)}
.btn-white:hover{background:#eaf1f6;transform:translateY(-2px);box-shadow:0 10px 24px rgba(2,21,34,.25)}

.btn-outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.32)}
.btn-outline-light:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.6)}
.btn-outline-light:hover .icon{transform:none}
.icon-wa{color:var(--wa);width:1.35em;height:1.35em}

/* Pill buttons with a circular icon "dot" at the trailing edge, as in the
   hero mockup — the dot swaps fill/icon colour depending on the button. */
.btn-pill{border-radius:999px;padding-right:8px;gap:14px}
.btn-pill.btn-lg{padding-right:8px}
.btn-dot{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:30px;height:30px;border-radius:50%;background:#fff;color:var(--teal-800);
  transition:transform .3s var(--ease);
}
.btn-pill:hover .btn-dot{transform:translateX(3px)}
.btn-pill .icon{transform:none!important}
.btn-pill:hover .icon{transform:none}
.btn-ghost .btn-dot{background:var(--teal-800);color:#fff}
.btn-dot-dark{background:var(--teal-800);color:#fff}

/* --- Header --------------------------------------------------------------- */
.site-header{
  position:sticky;top:0;z-index:60;background:#fff;
  border-bottom:1px solid transparent;
  transition:box-shadow .3s var(--ease),border-color .3s var(--ease);
}
.site-header.is-stuck{box-shadow:0 4px 24px rgba(10,21,36,.07);border-bottom-color:var(--line-2)}
.header-inner{display:flex;align-items:center;gap:24px;height:92px}

.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink)}
.brand-mark{width:46px;height:46px;object-fit:contain;flex:none}
/* Wordmark set to match the logo artwork: a high-contrast serif title over a
   letterspaced sub-line flanked by dotted rules. Colours are sampled straight
   from images/logo.png so the type and the mark read as one lockup. */
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-text strong{
  font-family:var(--serif);font-size:22px;font-weight:700;letter-spacing:.005em;
  color:var(--logo-teal);white-space:nowrap;
}
.brand-sub{
  display:flex;align-items:center;gap:6px;margin-top:4px;
  font-family:var(--serif);font-size:8.5px;font-weight:400;letter-spacing:.15em;
  color:var(--logo-ink);white-space:nowrap;
}
/* The thin teal rule with a dot on its outer end, as drawn in the logo. */
.brand-sub::before,.brand-sub::after{
  content:"";flex:1 1 auto;min-width:9px;height:4px;
  background-repeat:no-repeat;
  background-image:
    radial-gradient(circle at center,var(--logo-rule) 1.7px,transparent 1.9px),
    linear-gradient(var(--logo-rule),var(--logo-rule));
  background-size:4px 4px,100% 1px;
}
.brand-sub::before{background-position:left center,center}
.brand-sub::after{background-position:right center,center}

.nav{display:flex;align-items:center;gap:46px;margin-inline:auto}
.nav-link{
  position:relative;font-size:14.5px;font-weight:500;color:#2b3742;padding:6px 0;
  transition:color .2s var(--ease);
}
.nav-link::after{
  content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;
  background:var(--teal-800);transform:scaleX(0);transform-origin:center;
  transition:transform .28s var(--ease);
}
.nav-link:hover{color:var(--teal-800)}
.nav-link:hover::after,.nav-link.is-active::after{transform:scaleX(1)}
.nav-link.is-active{color:var(--teal-800);font-weight:600}
.nav-cta-mobile{display:none}
/* Drawer-only furniture — desktop never sees these */
.drawer-head,.drawer-foot{display:none}
.nav-ico,.nav-go{display:none}

.nav-toggle{
  display:none;width:44px;height:44px;align-items:center;justify-content:center;
  background:transparent;border:1px solid var(--line);border-radius:var(--r-sm);
  color:var(--ink);cursor:pointer;
}
.nav-toggle .icon{width:22px;height:22px}
.nav-toggle .icon-close{display:none}
.nav-toggle[aria-expanded="true"] .icon-open{display:none}
.nav-toggle[aria-expanded="true"] .icon-close{display:block}

.nav-scrim{position:fixed;inset:0;background:rgba(2,21,34,.45);z-index:55;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}

/* --- Treatments mega-menu -------------------------------------------------
   .nav-has-mega stays static so the panel's containing block is the sticky
   header, letting it span the full header width rather than the nav item. */
.nav-has-mega{position:static;display:flex;align-items:center}
.nav-mega-toggle{
  display:inline-flex;align-items:center;gap:5px;
  background:none;border:0;padding:6px 0;cursor:pointer;font:inherit;
}
.nav-chev{width:13px;height:13px;transition:transform .3s var(--ease)}
.nav-has-mega.is-open .nav-chev{transform:rotate(180deg)}
.nav-has-mega.is-open .nav-mega-toggle{color:var(--teal-800)}
.nav-has-mega.is-open .nav-mega-toggle::after{transform:scaleX(1)}

.mega{
  position:absolute;left:0;right:0;top:100%;z-index:59;
  background:#fff;border-top:1px solid var(--line-2);
  box-shadow:0 24px 48px rgba(10,21,36,.13);
  animation:megaIn .26s var(--ease);
}
.mega[hidden]{display:none}
@keyframes megaIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.mega-inner{
  max-width:var(--container);margin-inline:auto;
  padding:24px var(--gut) 28px;
  display:grid;grid-template-columns:1fr 1fr;gap:32px;
}
.mega-head{
  display:flex;align-items:center;gap:12px;margin-bottom:12px;
  padding:12px 14px;border-radius:var(--r-md);background:var(--beige);
  transition:background .25s var(--ease);
}
.mega-head:hover{background:#f3ede4}
.mega-head-icon{
  width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:10px;
  background:var(--teal-800);color:#fff;
}
.mega-head-icon .icon{width:19px;height:19px}
.mega-head-text b{display:block;font-size:14.5px;font-weight:600;color:var(--ink)}
.mega-head-text small{font-size:11.5px;color:var(--muted)}
.mega-go{width:16px;height:16px;margin-left:auto;color:var(--teal-800);transition:transform .28s var(--ease)}
.mega-head:hover .mega-go{transform:translateX(4px)}

.mega-list{display:grid;grid-template-columns:1fr 1fr;gap:1px 8px}
.mega-list a{
  display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:7px;
  font-size:12.5px;line-height:1.35;color:#4c5761;
  transition:background .2s var(--ease),color .2s var(--ease);
}
.mega-list a:hover{background:var(--beige);color:var(--teal-800)}
.mega-list a.is-current{background:var(--teal-800);color:#fff;font-weight:500}
.mega-list a.is-current .icon{color:#fff}
.mega-list .icon{width:17px;height:17px;flex:none;color:var(--teal-700);stroke-width:1.35}

/* --- Hero ----------------------------------------------------------------- */
.hero{position:relative;background:#fff;overflow:hidden}
/* overflow:hidden is load-bearing — the drift animation scales the photo to
   1.055, and without clipping it spills ~20px past this box while .hero-fade
   (inset:0 here) only covers the box, leaving a hard un-faded seam. */
.hero-media{position:absolute;inset:0 0 0 auto;width:56%;overflow:hidden;border-radius:0 0 0 28px}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center center;position:relative;z-index:1}
/* Soft teal blob peeking from behind the photo's bottom-left corner */
.hero-blob{
  position:absolute;z-index:0;left:-70px;bottom:-70px;width:280px;height:280px;
  background:var(--cyan);opacity:.7;
  border-radius:62% 38% 55% 45%/45% 55% 45% 55%;
}
/* Softens the photo's left edge into the copy, as in the mockup */
.hero-fade{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 12%,rgba(255,255,255,.5) 26%,rgba(255,255,255,0) 40%);
}
.hero-inner{position:relative;z-index:2;display:flex;align-items:center;min-height:600px;padding-block:56px 110px}
.hero-content{max-width:580px}

.pill{
  display:inline-flex;align-items:center;gap:7px;
  background:#fff;color:var(--teal-700);border:1px solid var(--line);
  font-size:12px;font-weight:600;padding:6px 14px;border-radius:999px;margin-bottom:22px;
  box-shadow:var(--shadow-sm);
}
.pill .icon{width:12px;height:12px;color:var(--gold);stroke:none;fill:currentColor}
/* Serif, like every other heading on the site -- the hero was the one place
   still set in the body sans, which read as a different page. */
.hero h1{
  font-family:var(--serif);
  font-size:clamp(34px,3.6vw,50px);font-weight:600;letter-spacing:-.01em;line-height:1.16;
}
.hero h1 em{font-style:normal;color:var(--teal-800)}
.hero-lead{max-width:420px;margin-top:20px;font-size:15.5px;line-height:1.8;color:#5b6873}
.hero-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:32px}

/* Icon-led trio under the hero copy — years / patients / rating */
.hero-mini-stats{display:flex;flex-wrap:wrap;gap:22px 34px;margin-top:38px}
.hero-mini-stats li{display:flex;align-items:center;gap:11px}
.hero-mini-stats .icon{
  width:18px;height:18px;flex:none;color:var(--teal-800);
  background:var(--cyan);border-radius:50%;padding:11px;box-sizing:content-box;stroke-width:1.6;
}
.hero-mini-stats b{
  display:block;font-family:var(--serif);font-size:18px;font-weight:600;
  line-height:1.15;color:var(--ink);
}
.hero-mini-stats small{display:block;font-size:11px;color:#6d7883;margin-top:1px;white-space:nowrap}

/* Floating booking card over the hero photo */
.hero-book{
  position:absolute;z-index:3;right:0;bottom:64px;
  width:270px;background:#fff;border-radius:14px;
  padding:22px 22px 20px;box-shadow:0 18px 48px rgba(10,21,36,.18);
}
.hero-book h3{font-size:17px;font-weight:600;color:var(--ink)}
.hero-book > p{font-size:12px;color:#7b858e;margin-top:4px}
.hero-book-form{display:grid;gap:10px;margin-top:16px}
.hero-book-form .field{position:relative}
.hero-book-form .field input{
  padding:11px 13px 11px 36px;font-size:13px;border:1px solid var(--line);background:#fbfbfa;
  -webkit-appearance:none;appearance:none;
}
.hero-book-form .field input[type="date"]:invalid,
.hero-book-form .field input[type="date"]{color:#9aa4ad}
.hero-book-form .field input[type="date"]:focus,
.hero-book-form .field input[type="date"]:valid{color:var(--ink)}
.hero-book-form .field input:focus{outline:none;border-color:var(--teal-500);box-shadow:0 0 0 3px rgba(30,115,131,.12)}
.hero-book-form .field-icon{
  position:absolute;left:12px;top:50%;transform:translateY(-50%);
  width:14px;height:14px;color:#9aa4ad;stroke-width:1.8;pointer-events:none;
}
.hero-book-form .field-select input{padding-right:30px}
.hero-book-form .field-select input::-webkit-calendar-picker-indicator{opacity:0;position:absolute;right:0;width:30px;height:100%;cursor:pointer}
.hero-book-form .field-chev{
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  width:12px;height:12px;color:#9aa4ad;pointer-events:none;
}
.hero-book-form .btn{margin-top:2px;padding:11px}
.hero-book-trust{display:flex;align-items:center;gap:10px;margin-top:16px}
.hero-book-trust .avatars{display:flex}
.hero-book-trust .avatars img{
  width:26px;height:26px;border-radius:50%;object-fit:cover;
  border:2px solid #fff;margin-left:-8px;box-shadow:0 1px 3px rgba(10,21,36,.15);
}
.hero-book-trust .avatars img:first-child{margin-left:0}
.hero-book-trust small{font-size:11px;color:#6d7883;line-height:1.3}

/* --- Value strip -----------------------------------------------------------
   A white rounded card that floats over the seam between the hero and the
   specializations section, per the mockup — not a full-bleed section. */
.strip-float-wrap{position:relative;z-index:4;margin-top:-72px}
.strip-float{
  display:flex;flex-wrap:wrap;justify-content:center;
  background:#fff;border-radius:16px;box-shadow:var(--shadow-lg);
  padding:6px 8px;
}
.strip-item{
  display:flex;align-items:center;gap:12px;padding:22px 34px;
  font-size:13.5px;font-weight:600;color:var(--ink);white-space:nowrap;
}
.strip-item+.strip-item{border-left:1px solid var(--line-2)}
.strip-ic{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:20px;height:20px;color:var(--teal-800);background:var(--cyan);
  border-radius:50%;padding:10px;box-sizing:content-box;
}
.strip-ic .icon{width:20px;height:20px;stroke-width:1.6}

/* --- Treatments ----------------------------------------------------------- */
.treatments{padding:34px 0 40px}
.treatment-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}
/* Left-aligned, not centred: six centred cards in a row read as a row of
   stickers. The badge is a soft squircle rather than a 70px beige circle,
   and the icon inside it is smaller with a heavier stroke so it holds its
   shape instead of looking spindly. */
.treatment-card{
  position:relative;display:flex;flex-direction:column;align-items:flex-start;
  min-height:250px;
  padding:24px 20px 60px;background:#fff;border:1px solid var(--line-2);
  border-radius:14px;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease);
}
.treatment-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:#dfe6e6}
.bubble{
  width:48px;height:48px;display:grid;place-items:center;border-radius:14px;
  background:var(--beige);color:var(--teal-800);margin-bottom:20px;
  transition:background .3s var(--ease),color .3s var(--ease);
}
.bubble .icon{width:25px;height:25px;stroke-width:1.65}
.treatment-card:hover .bubble{background:var(--teal-800);color:#fff}
.treatment-card h3{font-size:15px;font-weight:600;margin-bottom:9px;color:#082238;line-height:1.35}
.treatment-card p{font-size:12.5px;line-height:1.65;color:#5b6873}
/* Outlined until hover -- six filled dark discs down the row were the
   heaviest thing in the section. */
.card-arrow{
  position:absolute;left:20px;bottom:20px;
  width:32px;height:32px;display:grid;place-items:center;border-radius:50%;
  border:1px solid var(--line);background:#fff;color:var(--teal-800);
  transition:background .28s var(--ease),color .28s var(--ease),
             border-color .28s var(--ease),transform .28s var(--ease);
}
.card-arrow .icon{width:15px;height:15px}
.treatment-card:hover .card-arrow{
  background:var(--teal-800);border-color:var(--teal-800);color:#fff;transform:translateX(3px);
}

/* --- Specializations --------------------------------------------------------
   Text block (eyebrow/heading/copy) beside a 5-up card grid, both in one
   row; a centred CTA sits underneath the whole row — per the mockup. */
.spec{padding:104px 0 52px;background:#eef5f6}
.spec-row{display:flex;gap:44px;align-items:flex-start}
.spec-head{flex:0 0 260px;max-width:260px;text-align:left;margin:6px 0 0}
.spec-head h2{
  font-family:var(--serif);font-size:clamp(24px,2.4vw,30px);font-weight:600;
  letter-spacing:-.01em;margin-top:8px;line-height:1.28;
}
.spec-head .section-note{margin-top:12px}
.spec-grid{flex:1 1 auto;grid-template-columns:repeat(5,1fr);gap:16px}
.spec-grid .treatment-card{
  align-items:center;text-align:center;min-height:0;padding:26px 14px 24px;
}
.spec-grid .bubble{margin-bottom:16px}
.spec-grid .treatment-card p{font-size:12px}
.spec-cta{margin-top:36px}

/* --- Patient journey -------------------------------------------------------- */
.journey{padding:56px 0 60px}
.journey-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:48px;align-items:start;max-width:1340px}
.journey-body h2{
  font-family:var(--serif);font-size:clamp(24px,2.4vw,30px);font-weight:600;letter-spacing:-.01em;margin-top:8px;
}
.journey-steps{margin-top:34px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.journey-steps li{display:flex;flex-direction:column;align-items:flex-start}
.journey-steps li > div,
.journey-steps li{position:relative}
.journey-num{
  font-family:var(--serif);font-size:34px;font-weight:600;color:var(--line);
  line-height:1;margin-bottom:-12px;
}
.journey-ic{
  display:inline-flex;align-items:center;justify-content:center;
  width:20px;height:20px;color:var(--teal-800);background:var(--cyan);
  border-radius:50%;padding:10px;box-sizing:content-box;margin-top:6px;
}
.journey-steps b{display:block;font-size:14.5px;font-weight:600;color:var(--ink);margin-top:16px}
.journey-steps p{margin-top:4px;font-size:12px;color:#5b6873;line-height:1.55}
.journey-media{position:relative}
.journey-media img{width:100%;height:100%;object-fit:cover;border-radius:16px;box-shadow:var(--shadow-md)}
.journey-badge{
  position:absolute;top:-22px;right:24px;width:64px;height:64px;border-radius:50%;
  background:#fff;display:grid;place-items:center;box-shadow:var(--shadow-lg);
  border:1.5px dashed var(--line);
}
.journey-badge .icon{width:26px;height:26px;color:var(--teal-800);stroke-width:1.5}

/* --- Dentist -------------------------------------------------------------- */
.dentist{padding:76px 0 68px}
.dentist-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1fr);gap:56px;align-items:center;max-width:1340px}
.dentist-photo{position:relative;margin:0 0 0 46px}
.dentist-photo img{width:100%;border-radius:14px;box-shadow:var(--shadow-md)}
.exp-badge{
  position:absolute;left:-46px;top:50%;transform:translateY(-50%);
  width:104px;height:104px;border-radius:50%;background:var(--beige);
  display:grid;place-content:center;text-align:center;line-height:1.35;
  box-shadow:0 8px 24px rgba(10,21,36,.07);
}
.exp-badge b{display:block;font-size:22px;font-weight:600;color:var(--ink)}
.exp-badge span{font-size:11.5px;color:#5d6873}

.dentist-body h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(30px,3.4vw,39px);font-weight:600}
.credentials{margin-top:12px;font-size:13.5px;font-weight:600;color:#1c2a38}
.dentist-lead{margin-top:18px;max-width:520px;font-size:13.5px;line-height:1.75;color:#10283a}

.mini-features{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:30px 0 32px;max-width:560px}
.mini-features li{display:flex;gap:11px}
.mini-features .icon{width:26px;height:26px;color:var(--teal-800);stroke-width:1.3;margin-top:2px}
.mini-features p{font-size:12.5px;line-height:1.55;color:#68727c}
.mini-features b{display:block;font-size:13px;font-weight:600;color:var(--teal-700)}

/* --- Transformations ------------------------------------------------------ */
.transformations{
  background:radial-gradient(90% 130% at 50% 0%,#0a3540 0%,rgba(10,53,64,0) 60%),var(--navy);
  color:#dbe3ea;padding:68px 0 68px;
}
.transformations .section-head h2{color:#fff}
/* Two before/after pairs, split by a divider line in the middle */
.smile-grid{display:grid;grid-template-columns:1fr 1fr auto 1fr 1fr;gap:26px;align-items:stretch}
.smile-divider{width:1px;background:rgba(255,255,255,.18)}
.smile-shot{
  position:relative;margin:0;border-radius:14px;overflow:hidden;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.smile-shot:hover{transform:translateY(-5px);box-shadow:0 14px 34px rgba(2,10,18,.45)}
.smile-shot img{width:100%;height:100%;aspect-ratio:206/100;object-fit:cover;transition:transform .6s var(--ease)}
.smile-shot:hover img{transform:scale(1.05)}
.smile-shot figcaption{
  position:absolute;left:0;right:0;bottom:0;text-align:center;
  background:linear-gradient(180deg,rgba(2,10,18,0) 0%,rgba(2,10,18,.72) 55%);
  padding:16px 0 8px;font-size:12px;color:#e8eef3;
}
.transformations .center{margin-top:30px}
.transformations .section-head{margin-bottom:32px}

/* --- Transformations popup -------------------------------------------------
   Full gallery of before/after pairs, opened from "View More Transformations".
   Backdrop + centred panel, same weight as the nav-scrim/drawer pattern. */
.tmodal-backdrop{position:fixed;inset:0;background:rgba(2,10,18,.72);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.tmodal{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:24px}
.tmodal[hidden]{display:none}
.tmodal-panel{
  position:relative;width:100%;max-width:920px;max-height:88vh;overflow-y:auto;
  background:var(--navy);color:#dbe3ea;border-radius:var(--r-lg);
  padding:40px 32px 32px;box-shadow:0 30px 70px rgba(0,0,0,.5);
}
.tmodal-close{
  position:absolute;top:16px;right:16px;width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.08);
  color:#dbe3ea;transition:background .2s var(--ease);
}
.tmodal-close:hover{background:rgba(255,255,255,.18)}
.tmodal-close .icon{width:16px;height:16px}
.tmodal-head{text-align:center;margin-bottom:28px}
.tmodal-head h3{
  font-family:"Playfair Display",Georgia,serif;font-size:clamp(22px,2.6vw,28px);
  font-weight:600;color:#fff;margin:0;
}
.tmodal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.tmodal-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tmodal-pair figure,.tmodal-single{position:relative;margin:0;border-radius:var(--r-md);overflow:hidden}
.tmodal-pair img,.tmodal-single img{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;display:block}
.tmodal-single{grid-column:1/-1}
.tmodal-single img{aspect-ratio:16/9;object-position:top center}
.tmodal-pair figcaption{
  position:absolute;left:0;right:0;bottom:0;text-align:center;
  background:linear-gradient(180deg,rgba(2,10,18,0) 0%,rgba(2,10,18,.72) 55%);
  padding:12px 0 6px;font-size:11.5px;color:#e8eef3;
}
.tmodal-subhead{margin-top:36px;padding-top:28px;border-top:1px solid rgba(255,255,255,.12)}
.tmodal-case-grid{grid-template-columns:repeat(4,1fr)}
.tmodal-case{position:relative;margin:0;border-radius:var(--r-md);overflow:hidden}
.tmodal-case img{width:100%;height:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.tmodal-case figcaption{
  position:absolute;left:0;right:0;bottom:0;text-align:center;
  background:linear-gradient(180deg,rgba(2,10,18,0) 0%,rgba(2,10,18,.78) 60%);
  padding:14px 4px 6px;font-size:10.5px;color:#e8eef3;
}

/* --- Testimonials --------------------------------------------------------- */
.testimonials{padding:68px 0 60px}
.carousel-viewport{overflow:hidden}
.carousel-track{position:relative;display:flex;gap:24px;transition:transform .55s var(--ease)}
.review{
  flex:0 0 calc((100% - 48px)/3);
  display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line-2);border-radius:var(--r-md);
  min-height:192px;padding:26px 28px;box-shadow:var(--shadow-sm);
}
.review-top{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.stars{display:inline-flex;gap:3px;color:#f5a623}
.stars .icon{width:16px;height:16px}
.review>p{font-size:13.5px;line-height:1.75;color:#57616b}
.review-by{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:22px}
.review-by img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.review-by b{display:block;font-size:13.5px;font-weight:600;color:var(--ink)}
.review-by small{font-size:12px;color:var(--muted)}
/* Google authors without a profile photo get their initial instead, so the
   card keeps the same shape as the ones that do have one. */
.review-initial{
  width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:50%;
  background:var(--beige);color:var(--teal-800);font-size:16px;font-weight:600;
}

/* Live rating line under the section heading */
.section-note{margin-top:10px;font-size:13.5px;color:var(--muted)}
.section-note b{color:var(--ink);font-weight:600}

.reviews-more{margin-top:26px;text-align:center}
.reviews-more a{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13.5px;font-weight:600;color:var(--teal-800);
  border-bottom:1px solid rgba(5,60,66,.25);padding-bottom:2px;
  transition:border-color .22s var(--ease)
}
.reviews-more a:hover{border-bottom-color:var(--teal-800)}
.reviews-more .icon{width:15px;height:15px;transition:transform .25s var(--ease)}
.reviews-more a:hover .icon{transform:translateX(3px)}

.dots{display:flex;justify-content:center;gap:9px;margin-top:24px}
.dots button{
  width:8px;height:8px;padding:0;border:0;border-radius:50%;
  background:#d3d9de;cursor:pointer;transition:background .25s var(--ease),transform .25s var(--ease);
}
.dots button.is-active{background:var(--teal-800);transform:scale(1.25)}

/* --- Clinic ----------------------------------------------------------- */
.clinic{padding:0 0 0}
.clinic-grid{padding-block:18px}
.clinic-panel{
  display:grid;grid-template-columns:minmax(0,.6fr) minmax(0,.4fr);gap:40px;align-items:center;
  background:var(--panel);border-radius:0;padding:36px 28px;
}
.clinic-shots{display:grid;grid-template-columns:1fr 1.08fr;gap:14px}
/* Fixed height keeps the two shots aligned despite unequal widths */
.clinic-shots img{width:100%;height:266px;object-fit:cover;border-radius:var(--r-md);box-shadow:var(--shadow-sm)}
.clinic-copy h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(26px,2.8vw,34px);font-weight:600}
.ticks{margin-top:22px;display:grid;gap:13px}
.ticks li{display:flex;align-items:center;gap:11px;font-size:13.5px;color:#3c4854}
.ticks .icon{width:20px;height:20px;color:var(--teal-800);flex:none}

/* --- Gallery ---------------------------------------------------------- */
.gallery{padding:70px 0 76px}
.gallery-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.gallery-title{
  font-family:var(--serif);font-weight:600;letter-spacing:-.01em;line-height:1.28;
  font-size:clamp(24px,2.6vw,32px);color:var(--ink);max-width:640px;
}
.gallery-title .hl{color:var(--teal-500)}
.gallery-nav{display:flex;gap:10px;flex:none}
.gallery-arrow{
  width:44px;height:44px;display:grid;place-items:center;border-radius:50%;border:1px solid #E9ECEF;cursor:pointer;
  background:#fff;color:var(--teal-800);
  transition:background .25s var(--ease),color .25s var(--ease),transform .25s var(--ease),border-color .25s var(--ease);
}
.gallery-arrow .icon{width:16px;height:16px;stroke-width:2.2;transform:rotate(90deg)}
.gallery-arrow--light .icon{transform:rotate(-90deg)}
.gallery-arrow:hover:not(:disabled){background:var(--teal-800);color:#fff;border-color:var(--teal-800);transform:translateY(-2px)}
.gallery-arrow:disabled{opacity:.4;cursor:default;transform:none}
.gallery-track{
  display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;-ms-overflow-style:none;
}
.gallery-track::-webkit-scrollbar{display:none}
.gallery-item{
  flex:0 0 calc((100% - 60px)/4);scroll-snap-align:start;
  border-radius:var(--r-md);overflow:hidden;background:var(--panel);
}
.gallery-item img{width:100%;height:100%;aspect-ratio:4/3.2;object-fit:cover;object-position:top center;display:block}

/* --- FAQ -------------------------------------------------------------- */
.faq{padding:12px 0 56px}
.faq-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.faq-col{display:grid;gap:10px;align-content:start}
.faq-item{
  background:#fff;border:1px solid var(--line-2);border-radius:var(--r-md);overflow:hidden;
  transition:border-color .28s var(--ease),box-shadow .28s var(--ease);
}
.faq-item.is-open{border-color:#dbe5e5;box-shadow:var(--shadow-sm)}
.faq-q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:15px 16px;background:transparent;border:0;cursor:pointer;text-align:left;
  font-size:13.5px;font-weight:500;color:var(--ink);
  transition:color .22s var(--ease);
}
.faq-q:hover{color:var(--teal-800)}
.faq-mark{
  width:26px;height:26px;flex:none;display:grid;place-items:center;border-radius:50%;
  background:var(--beige);color:var(--teal-800);
  transition:transform .38s var(--ease),background .28s var(--ease),color .28s var(--ease);
}
.faq-mark .icon{width:15px;height:15px}
.faq-item.is-open .faq-mark{transform:rotate(135deg);background:var(--teal-800);color:#fff}
/* 0fr -> 1fr animates to an auto height; a max-height guess would clip or lag */
.faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--ease)}
.faq-item.is-open .faq-a{grid-template-rows:1fr}
.faq-a>div{overflow:hidden}
.faq-a p{padding:0 16px 16px;font-size:13px;line-height:1.75;color:#68727c}

/* --- Highlights ------------------------------------------------------- */
.highlights{padding:36px 0 70px}
.highlight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.highlight-card{background:#f2f7f8;border-radius:var(--r-lg);padding:34px 30px}
.highlight-icon{
  width:56px;height:56px;display:grid;place-items:center;border-radius:14px;
  background:linear-gradient(135deg,var(--cyan),#a9d9e0);color:var(--teal-800);margin-bottom:22px;
}
.highlight-icon .icon{width:24px;height:24px;stroke-width:2}
.highlight-card h3{font-family:var(--serif);font-size:19px;font-weight:600;color:var(--ink);margin-bottom:10px}
.highlight-card p{font-size:13.5px;line-height:1.7;color:var(--body)}

/* Centered via auto margins (not transform — the reveal animation owns transform) */
.booking{
  position:absolute;z-index:2;top:0;bottom:0;right:34px;margin:auto 0;height:fit-content;
  width:35%;min-width:420px;
  background:var(--teal-900);color:#fff;border-radius:12px;
  padding:25px 24px 24px;box-shadow:var(--shadow-lg);
}
.booking h2,.booking h3{color:#fff;font-size:22px;font-weight:600;margin-bottom:18px}
.booking-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field{position:relative;display:flex;flex-direction:column}

/* Shared control shell — real inputs and the two custom pickers must match */
.field input,.picker-btn{
  width:100%;background:#fff;border:1px solid transparent;border-radius:var(--r-sm);
  padding:13px 15px;font-size:13px;line-height:1.45;color:var(--ink);text-align:left;
  transition:border-color .2s var(--ease),box-shadow .2s var(--ease);
}
.field input::placeholder{color:#9aa4ad}
/* Soft ring only — the growing gold underline (motion layer) is the real cue */
.field input:focus,.picker-btn:focus-visible,.picker.is-open .picker-btn{
  outline:none;border-color:rgba(186,148,98,.45);box-shadow:0 0 0 3px rgba(186,148,98,.14);
}
.field.is-invalid input,.field.is-invalid .picker-btn{
  border-color:#e8836f;box-shadow:0 0 0 3px rgba(232,131,111,.22);
}
.err{font-size:11.5px;color:#ffc2b4;min-height:0;padding-left:2px}
.field.is-invalid .err{min-height:17px;padding-top:4px}

.booking .btn-gold{grid-column:1/-1;margin-top:3px;padding:11px}
.or{grid-column:1/-1;text-align:center;font-size:12.5px;color:#cfe0e0;margin:-3px 0}
.booking .btn-outline-light{grid-column:1/-1;padding:11px}
.form-note{grid-column:1/-1;text-align:center;font-size:12px;color:#bcdcd8;min-height:0}
.form-note:not(:empty){min-height:19px;padding-top:4px}

/* --- Custom pickers (native select / date pickers can't be themed) -------- */
.picker{position:relative}
.picker-btn{
  display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;
}
.picker-btn.is-empty .picker-value{color:#9aa4ad}
.picker-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.picker-cue{width:17px;height:17px;flex:none;color:#7e8891;transition:transform .28s var(--ease)}
.picker.is-open .picker-chev{transform:rotate(180deg)}

.picker-pop{
  /* Sizes to its content so option labels never wrap; min-width keeps it
     at least as wide as the control (and wins over max-width on mobile). */
  position:absolute;z-index:20;top:calc(100% + 7px);left:0;
  min-width:100%;width:max-content;max-width:260px;
  background:#fff;border-radius:var(--r-md);
  box-shadow:0 18px 44px rgba(2,21,34,.28);
  overflow:hidden;transform-origin:top center;
  animation:popIn .22s var(--ease);
}
.picker-pop[hidden]{display:none}
.picker-pop.drop-up{top:auto;bottom:calc(100% + 7px);transform-origin:bottom center}
@keyframes popIn{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}

/* Options */
.picker-list{max-height:232px;overflow-y:auto;padding:6px}
.picker-opt{
  display:flex;align-items:center;gap:10px;cursor:pointer;
  padding:9px 10px;border-radius:7px;font-size:13px;color:#3c4854;white-space:nowrap;
  transition:background .18s var(--ease),color .18s var(--ease);
}
.picker-opt .icon{width:19px;height:19px;flex:none;color:var(--teal-700);stroke-width:1.3}
.picker-opt:hover,.picker-opt.is-active{background:var(--beige);color:var(--ink)}
.picker-opt[aria-selected="true"]{background:var(--teal-800);color:#fff}
.picker-opt[aria-selected="true"] .icon{color:#fff}

/* Calendar */
.cal{width:264px;min-width:0;max-width:none;left:auto;right:0;padding:12px}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.cal-title{font-size:13.5px;font-weight:600;color:var(--ink)}
.cal-nav{
  width:28px;height:28px;display:grid;place-items:center;cursor:pointer;
  background:transparent;border:0;border-radius:50%;color:var(--teal-800);
  transition:background .18s var(--ease),opacity .18s var(--ease);
}
.cal-nav:hover{background:var(--beige)}
.cal-nav:disabled{opacity:.3;cursor:default;background:transparent}
.cal-nav .icon{width:16px;height:16px}
.cal-nav[data-cal-prev] .icon{transform:rotate(90deg)}
.cal-nav[data-cal-next] .icon{transform:rotate(-90deg)}
.cal-dow,.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.cal-dow{margin-bottom:2px}
.cal-dow span{text-align:center;font-size:10.5px;font-weight:600;letter-spacing:.04em;color:var(--muted)}
.cal-day{
  aspect-ratio:1;display:grid;place-items:center;cursor:pointer;
  background:transparent;border:0;border-radius:50%;
  font-size:12.5px;color:#3c4854;
  transition:background .18s var(--ease),color .18s var(--ease);
}
.cal-day:hover:not(:disabled){background:var(--beige)}
.cal-day:disabled{color:#c8ced3;cursor:default}
.cal-day.is-today{box-shadow:inset 0 0 0 1px var(--gold)}
.cal-day.is-selected{background:var(--teal-800);color:#fff;font-weight:600}
.cal-day.is-blank{pointer-events:none}
.cal-hint{
  margin-top:9px;padding-top:8px;border-top:1px solid var(--line-2);
  text-align:center;font-size:11px;color:var(--muted);
}

/* --- Footer -----------------------------------------------------------
   A gradient "book now" band (tooth mark, headline, CTA, brand + quick
   contact icons) over a light utility bar (copyright + links). */
.site-footer{background:#fafbfd;font-size:13.5px}

.ft-band{position:relative;overflow:hidden;isolation:isolate;padding:44px 0;
  background:linear-gradient(115deg,var(--teal-900) 0%,var(--teal-800) 32%,var(--teal-700) 64%,var(--teal-500) 120%);
}
.ft-glow{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(560px 440px at 10% 45%,rgba(150,210,255,.22),transparent 65%),
    radial-gradient(820px 560px at 100% 100%,rgba(0,15,30,.35),transparent 65%);
}
.ft-inner{
  position:relative;z-index:1;display:flex;flex-wrap:wrap;align-items:center;gap:40px 36px;
}
.ft-tooth{flex:1 0 180px;max-width:230px;display:flex;justify-content:center}
/* The photo has its own dark-teal square background — fade its edges out
   with a mask instead of framing it, so it blends into the band behind it
   rather than reading as a pasted-in image tile. */
.ft-tooth img{
  width:100%;max-width:230px;aspect-ratio:1/1;object-fit:cover;display:block;
  -webkit-mask-image:radial-gradient(closest-side,#000 58%,transparent 100%);
  mask-image:radial-gradient(closest-side,#000 58%,transparent 100%);
  mix-blend-mode:screen;
}
.ft-copy{flex:1 1 340px;max-width:480px;min-width:0}
.ft-copy .ft-title{
  font-family:var(--serif);font-weight:600;letter-spacing:-.01em;line-height:1.2;
  font-size:clamp(24px,2.8vw,36px);color:#fff;margin:0 0 16px;max-width:none;
}
.ft-copy p{font-size:14.5px;line-height:1.7;color:rgba(255,255,255,.9);max-width:400px;margin-bottom:22px}
.ft-btn{border-radius:999px;gap:16px}
.ft-brand{flex:1 1 260px;max-width:340px;min-width:0;margin-left:auto}
.ft-brand-row{display:flex;align-items:center;gap:12px;color:#fff;margin-bottom:16px}
.ft-brand-row img{width:44px;height:44px;filter:brightness(0) invert(1)}
.ft-brand-row strong{display:block;font-family:var(--serif);font-size:17px;font-weight:600}
.ft-brand-row small{display:block;font-size:9.5px;letter-spacing:.1em;color:#cdd7df;margin-top:2px}
.ft-brand>p{font-size:13px;line-height:1.6;color:#d7e6e6;margin-bottom:18px}
.ft-icons{display:flex;gap:16px;margin-bottom:18px}
.ft-icons a{
  width:50px;height:50px;display:grid;place-items:center;border-radius:50%;
  background:#fff;color:var(--teal-800);
  transition:transform .25s var(--ease),box-shadow .25s var(--ease);
}
.ft-icons a:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(2,15,30,.3)}
.ft-icons .icon{width:23px;height:23px}
.ft-addr{display:flex;align-items:flex-start;gap:9px;font-size:12.5px;line-height:1.55;color:#cfe3e3;font-style:normal}
.ft-addr .icon{width:15px;height:15px;margin-top:2px;flex:none;color:#9cc4ff}
.ft-numbers{display:flex;align-items:flex-start;gap:9px;margin-top:9px;font-size:12.5px;line-height:1.6;color:#cfe3e3}
.ft-numbers .icon{width:14px;height:14px;margin-top:2px;flex:none;color:#9cc4ff}
.ft-numbers a{color:#cfe3e3;transition:color .2s var(--ease)}
.ft-numbers a:hover{color:#fff}
.ft-hours{display:flex;align-items:center;gap:9px;margin-top:9px;font-size:12.5px;color:#cfe3e3}
.ft-hours .icon{width:14px;height:14px;flex:none;color:#9cc4ff}

.ft-bar{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;
  padding:18px 0;font-size:12.5px;color:#7a8590;
}
.ft-links{display:flex;align-items:center;gap:14px}
.ft-links a{color:#4a5560;transition:color .2s var(--ease)}
.ft-links a:hover{color:var(--teal-800)}
.ft-credit{display:block;margin-top:2px;font-size:11.5px;color:#9aa4ad}
.ft-credit a{color:var(--teal-700);font-weight:600;transition:color .2s var(--ease)}
.ft-credit a:hover{color:var(--teal-800)}
.ft-sep{color:var(--line)}

/* Minimal one-row footer (surgery landing mockup): white bar, navy text */
.site-footer--minimal{background:#fff;color:#173d5c;border-top:1px solid var(--line-2)}
.footer-min{display:flex;align-items:center;gap:24px;padding-block:20px}
.footer-min .brand{color:#173d5c;gap:12px}
.footer-min .brand-mark{width:40px;height:40px}
.footer-min .brand-text strong{font-size:19px;color:var(--logo-teal)}
.footer-min .brand-sub{font-size:8px;letter-spacing:.14em}
.footer-min-nav{display:flex;align-items:center;gap:14px;margin-inline:auto;font-size:14px;font-weight:500}
.footer-min-nav a{color:#14324d;transition:color .2s var(--ease)}
.footer-min-nav a:hover{color:#1d6f8a}
.footer-min-nav .sep{color:#b6c4d2}
.footer-min .socials a{
  background:transparent;color:#14324d;border:1.6px solid #14324d;width:38px;height:38px;
}
.footer-min .socials a:hover{background:#eef4f8;transform:translateY(-2px)}

/* --- Reveal --------------------------------------------------------------- */
.js [data-reveal]{opacity:0;transform:translateY(22px)}
.js [data-reveal].is-in{
  opacity:1;transform:none;
  transition:opacity .7s var(--ease),transform .7s var(--ease);
}
[data-reveal-delay="1"]{transition-delay:.08s;--d:.08s}
[data-reveal-delay="2"]{transition-delay:.16s;--d:.16s}
[data-reveal-delay="3"]{transition-delay:.24s;--d:.24s}
[data-reveal-delay="4"]{transition-delay:.32s;--d:.32s}
[data-reveal-delay="5"]{transition-delay:.4s;--d:.4s}

/* ==========================================================================
   Motion layer
   Language: "calm precision" — everything settles, nothing bounces.
   Signature moves: the line-draw (SVG stroke) and the gleam (light sweep).
   Every effect here is disabled by the reduced-motion block at the bottom.
   ========================================================================== */

/* --- Scroll progress hairline (sits on the header's bottom edge) ---------- */
.scroll-progress{
  position:absolute;left:0;bottom:-1px;height:2px;width:100%;
  background:linear-gradient(90deg,var(--teal-800),var(--gold));
  transform:scaleX(0);transform-origin:0 50%;
  transition:transform .12s linear;
  opacity:0;pointer-events:none;
}
.site-header.is-stuck .scroll-progress{opacity:1}

/* --- Header shrink -------------------------------------------------------- */
.header-inner{transition:height .32s var(--ease)}
.brand-mark{transition:width .32s var(--ease),height .32s var(--ease)}
.brand-text strong{transition:font-size .32s var(--ease)}
.site-header.is-stuck .header-inner{height:72px}
.site-header.is-stuck .brand-mark{width:38px;height:38px}
.site-header.is-stuck .brand-text strong{font-size:19px}
.site-header.is-stuck .brand-sub{font-size:8px;letter-spacing:.13em;margin-top:3px}

/* --- Logo: fades up on load, then a sparkle on hover --------------------- */
.brand-mark-wrap{position:relative;display:inline-flex;line-height:0}
@keyframes brandIn{from{opacity:0;transform:translateY(6px) scale(.9)}to{opacity:1;transform:none}}
.js .site-header .brand-mark{
  opacity:0;animation:brandIn .7s var(--ease) .15s forwards;
}
.brand-mark-wrap::after{
  content:"";position:absolute;top:-1px;right:-3px;width:9px;height:9px;
  background:var(--gold);opacity:0;transform:scale(.3) rotate(-25deg);
  transition:opacity .3s var(--ease),transform .45s var(--ease);
  clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%);
}
.brand:hover .brand-mark-wrap::after{opacity:1;transform:scale(1) rotate(0)}

/* --- Hero: the gleam across "Brighter Smiles" ----------------------------- */
/* Guarded — without background-clip:text support the text would vanish. */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .js .hero h1 em{
    background:linear-gradient(100deg,
      var(--teal-800) 0%,var(--teal-800) 42%,
      #2f8f93 50%,
      var(--teal-800) 58%,var(--teal-800) 100%);
    background-size:280% 100%;
    background-position:130% 0;
    -webkit-background-clip:text;background-clip:text;
    color:transparent;
    animation:gleam 2.6s var(--ease) 1.15s forwards;
  }
}

/* --- Hero: the card breathes, the photo drifts ---------------------------- */
.hero-book{animation:floatCard 7s ease-in-out 1.4s infinite}
.hero-media img{animation:drift 26s ease-in-out infinite alternate}

/* --- Treatments: icons draw in as each card arrives ----------------------- */
.js .treatment-card .bubble .icon{stroke-dasharray:100;stroke-dashoffset:100}
.js .treatment-card.is-in .bubble .icon{
  animation:drawStroke .85s var(--ease) calc(.25s + var(--d,0s)) forwards;
}
/* Whitening + Cosmetic promise a shine, so only those two sparkle */
.treatment-card .bubble{position:relative}
.treatment-card[data-sparkle] .bubble::after{
  content:"";position:absolute;top:-3px;right:-3px;width:8px;height:8px;
  background:var(--gold);opacity:0;transform:scale(.3);
  transition:opacity .3s var(--ease),transform .5s var(--ease);
  clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%);
}
.treatment-card[data-sparkle]:hover .bubble::after{opacity:1;transform:scale(1)}

/* --- Booking: gold underline grows on focus ------------------------------- */
/* Grid so the rule can share the control's cell and sit on its bottom edge. */
.field{display:grid;grid-template-columns:1fr}
/* All three must be explicit — auto-placement would skip the cell the
   ::after underline already occupies and drop the control below the error. */
.field>input,.field>select,.field>.picker{grid-area:1/1}
.field>.err{grid-area:2/1}
.field::after{
  content:"";grid-area:1/1;align-self:end;height:2px;margin:0 12px;
  background:var(--gold);border-radius:2px;
  transform:scaleX(0);transform-origin:50% 50%;
  transition:transform .32s var(--ease);pointer-events:none;
}
.field:focus-within::after{transform:scaleX(1)}
.field.is-invalid::after{background:#e8836f}

/* --- Booking: submit settles into a confirmation -------------------------- */
/* Green, not brand teal — teal-800 on the teal-900 panel is near-invisible. */
.btn-gold.is-done{background:#12855f;color:#fff}
.btn-gold.is-done:hover{background:#12855f;transform:none;box-shadow:none}
.btn-gold.is-done .icon{
  stroke-dasharray:100;stroke-dashoffset:100;
  animation:drawStroke .55s var(--ease) forwards;
}
.btn-gold.is-done:hover .icon{transform:none}

/* --- Floating contact rail (Instagram / Call / WhatsApp) ------------------ */
.fab-rail{
  position:fixed;right:22px;bottom:24px;z-index:50;
  display:flex;flex-direction:column;align-items:center;gap:12px;
  opacity:0;visibility:hidden;transform:translateY(14px) scale(.92);
  transition:opacity .35s var(--ease),transform .35s var(--ease),visibility 0s linear .35s;
}
.fab-rail.is-visible{opacity:1;visibility:visible;transform:none;transition-delay:0s}
/* The rail is fixed and would sit over an open calendar — step aside */
body.picker-open .fab-rail.is-visible{
  opacity:0;visibility:hidden;transform:translateY(10px) scale(.92);transition-delay:0s;
}
.fab-btn{
  position:relative;width:58px;height:58px;border-radius:50%;flex:none;
  display:grid;place-items:center;color:#fff;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease);
}
.fab-btn .icon{width:29px;height:29px;position:relative;z-index:1}
.fab-btn:hover{transform:translateY(-3px) scale(1.04)}
.fab-wa{background:linear-gradient(145deg,#2adb6b,#12924e);box-shadow:0 10px 26px rgba(11,110,60,.36)}
.fab-wa:hover{box-shadow:0 15px 32px rgba(11,110,60,.44)}
.fab-ig{
  background:linear-gradient(135deg,#feda75 0%,#fa7e1e 22%,#d62976 52%,#962fbf 76%,#4f5bd5 100%);
  box-shadow:0 10px 26px rgba(180,40,120,.34);
}
.fab-ig:hover{box-shadow:0 15px 32px rgba(180,40,120,.44)}
.fab-call{background:linear-gradient(145deg,#2f7be8,#1a5cdb);box-shadow:0 10px 26px rgba(20,60,150,.34)}
.fab-call:hover{box-shadow:0 15px 32px rgba(20,60,150,.44)}
.fab-wa-ring{position:absolute;inset:0;border-radius:50%;border:2px solid #2adb6b;opacity:0}
.fab-rail.is-visible .fab-wa-ring{animation:waPulse 2.8s ease-out 1s infinite}
.fab-tip{
  position:absolute;right:60px;top:50%;transform:translate(6px,-50%);
  white-space:nowrap;background:var(--ink);color:#fff;font-size:12.5px;font-weight:500;
  padding:7px 12px;border-radius:8px;opacity:0;pointer-events:none;
  transition:opacity .22s var(--ease),transform .22s var(--ease);
}
.fab-btn:hover .fab-tip{opacity:1;transform:translate(0,-50%)}

/* --- Keyframes ------------------------------------------------------------ */
@keyframes drawStroke{to{stroke-dashoffset:0}}
@keyframes gleam{to{background-position:-40% 0}}
@keyframes floatCard{
  0%,100%{transform:translateY(-50%)}
  50%{transform:translateY(calc(-50% - 7px))}
}
@keyframes drift{from{transform:scale(1)}to{transform:scale(1.055)}}
@keyframes waPulse{
  0%{opacity:.55;transform:scale(1)}
  70%{opacity:0;transform:scale(1.75)}
  100%{opacity:0;transform:scale(1.75)}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width:1180px){
  .treatment-grid{grid-template-columns:repeat(3,1fr)}
  .hero-book{width:230px;padding:18px 18px 16px}
  .spec-grid{grid-template-columns:repeat(3,1fr)}
  .strip-item{padding:20px 22px}
}

@media (max-width:1024px){
  .section{padding:70px 0}
  .header-inner{height:76px}
  .nav{gap:24px}
  .nav-link{font-size:14px}

  .hero{display:flex;flex-direction:column}
  .hero-media{position:relative;inset:auto;width:auto;height:340px;border-radius:0}
  .hero-media img{object-position:center 26%}
  .hero-blob{display:none}
  .hero-fade{background:linear-gradient(0deg,#fff 0%,rgba(255,255,255,0) 42%)}
  .hero-inner{display:block;min-height:0;padding-block:34px 44px}
  .hero-content{max-width:none}
  .hero-lead{max-width:560px}
  .hero-mini-stats{gap:20px 30px;margin-top:32px}
  .hero-book{
    position:static;transform:none;width:100%;max-width:360px;
    margin-top:34px;box-shadow:var(--shadow-md);
    animation:none;              /* the float keyframes assume the absolute -52% offset */
  }
  .strip-float-wrap{margin-top:26px}

  .ft-tooth{flex:1 1 200px;max-width:220px}
  .ft-brand{margin-left:0}

  .spec{padding-top:60px}
  .spec-row{flex-direction:column;gap:32px}
  .spec-head{flex:none;max-width:none}
  .spec-grid{grid-template-columns:repeat(3,1fr)}

  .journey-grid{grid-template-columns:1fr;gap:36px}
  .journey-media{order:-1}
  .journey-media img{max-height:340px}
  .journey-steps{grid-template-columns:repeat(2,1fr);gap:26px 18px}

  .dentist-grid{gap:44px}
  .clinic-grid{padding-block:0}
  .clinic-panel{padding:28px}
}

@media (max-width:900px){
  .gallery-item{flex-basis:calc((100% - 40px)/3)}

  /* .nav leaves the flow here, so the toggle takes over pushing itself right */
  .nav-toggle{display:flex;margin-left:auto}
  .header-cta{display:none}
  /* ---- Mobile drawer -----------------------------------------------------
     A menu, not a dashboard: white panel, plain text links, one CTA and the
     phone number. The previous dark-navy version stacked icon rows, arrow
     chevrons, an hours chip, a WhatsApp tile and a social row into the same
     340px, which read as heavy and cluttered on a phone.                  */
  .nav{
    position:fixed;top:0;right:0;bottom:0;z-index:62;
    width:min(320px,86vw);margin:0;padding:0 0 22px;
    flex-direction:column;align-items:stretch;gap:0;
    color:var(--ink);background:#fff;
    box-shadow:-14px 0 44px rgba(10,21,36,.16);
    transform:translateX(100%);transition:transform .38s var(--ease);
    /* The treatments accordion makes the drawer taller than the screen --
       without its own scrolling everything below the fold is unreachable. */
    overflow-y:auto;overscroll-behavior:contain;
  }
  .nav.is-open{transform:none}

  /* Brand bar + close */
  .drawer-head{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:16px 18px 15px;border-bottom:1px solid var(--line-2);
    position:sticky;top:0;z-index:2;background:#fff;
  }
  .drawer-head .brand{color:var(--ink)}
  .drawer-head .brand-mark{width:34px;height:34px;filter:none}
  .drawer-head .brand-text strong{font-size:15px;color:var(--logo-teal)}
  .drawer-head .brand-sub{font-size:7px;letter-spacing:.11em;gap:4px;margin-top:3px;color:var(--logo-ink)}
  .drawer-close{
    width:34px;height:34px;flex:none;display:grid;place-items:center;
    background:transparent;border:1px solid var(--line);
    border-radius:50%;color:#5d6873;cursor:pointer;
    transition:background .25s var(--ease),color .25s var(--ease);
  }
  .drawer-close:hover{background:var(--beige);color:var(--teal-800)}
  .drawer-close .icon{width:16px;height:16px}

  /* Links: text only. The row icons and trailing arrows are what made the
     old panel feel busy, so they stay hidden here as they are on desktop. */
  .nav-ico,.nav-go{display:none}
  .nav-link{
    display:flex;align-items:center;
    margin:0 14px 0 0;padding:14px 20px;border:0;border-left:3px solid transparent;
    border-radius:0 9px 9px 0;
    font-size:15.5px;font-weight:500;color:#38434e;
    transition:background .2s var(--ease),color .2s var(--ease);
  }
  .nav-link::after{display:none}
  .nav-link:hover{background:var(--beige);color:var(--teal-800)}
  .nav-link.is-active{
    color:var(--teal-800);font-weight:600;
    background:rgba(5,60,66,.055);border-left-color:var(--teal-800);
  }

  /* Links cascade in when the drawer opens */
  .nav.is-open>.nav-link,
  .nav.is-open>.nav-has-mega,
  .nav.is-open>.drawer-foot{animation:drawerIn .42s var(--ease) both}
  .nav.is-open>.nav-link:nth-of-type(1){animation-delay:.06s}
  .nav.is-open>.nav-link:nth-of-type(2){animation-delay:.11s}
  .nav.is-open>.nav-has-mega{animation-delay:.16s}
  .nav.is-open>.nav-link:nth-of-type(3){animation-delay:.21s}
  .nav.is-open>.drawer-foot{animation-delay:.26s}
  @keyframes drawerIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}

  /* Mega-menu becomes an in-drawer accordion, styled like the links above */
  .nav-has-mega{display:block;width:100%}
  .nav-mega-toggle{
    display:flex;align-items:center;width:calc(100% - 14px);
    padding:14px 20px;border:0;border-left:3px solid transparent;
    border-radius:0 9px 9px 0;background:none;cursor:pointer;
    font-size:15.5px;font-weight:500;text-align:left;color:#38434e;
  }
  .nav-chev{margin-left:auto;color:#9aa5ae}
  .nav-has-mega.is-open .nav-mega-toggle{color:var(--teal-800);background:var(--beige)}
  .mega{position:static;background:transparent;border-top:0;box-shadow:none;animation:none}
  .mega-inner{display:block;max-width:none;padding:2px 20px 8px}
  .mega-col+.mega-col{margin-top:8px}
  .mega-head{padding:9px 11px;margin-bottom:4px;background:var(--beige)}
  .mega-head-icon{width:28px;height:28px}
  .mega-head-text b{font-size:13px}
  .mega-head-text small{display:none}
  .mega-list{grid-template-columns:1fr;gap:0}
  .mega-list a{padding:8px 11px;font-size:12.5px}
  .mega-list .icon{width:15px;height:15px}

  /* Footer block: one CTA, one number. margin-top:auto pins it to the
     bottom of the panel when the accordion is closed. */
  .drawer-foot{
    display:block;margin:auto 20px 0;padding-top:18px;
    border-top:1px solid var(--line-2);
  }
  .nav-cta-mobile{display:flex;width:100%;justify-content:center;border-radius:100px;padding:13px}
  .drawer-phone{
    display:flex;align-items:center;justify-content:center;gap:9px;margin-top:10px;
    padding:12px;border:1px solid var(--line);border-radius:100px;
    font-size:14.5px;font-weight:500;color:var(--ink);
    transition:border-color .22s var(--ease),color .22s var(--ease);
  }
  .drawer-phone:hover{border-color:var(--teal-800);color:var(--teal-800)}
  .drawer-phone .icon{width:16px;height:16px;color:var(--teal-700)}

  .strip-float{border-radius:14px}
  .strip-item{flex:1 1 45%;justify-content:center;padding:18px 14px}
  .strip-item:nth-child(even){border-left:0}
  .strip-item:nth-child(n+3){border-top:1px solid var(--line-2)}

  .spec-grid{grid-template-columns:repeat(2,1fr)}

  .dentist-grid{grid-template-columns:1fr;gap:40px}
  .dentist-photo{margin-left:52px;max-width:460px}
  .mini-features{max-width:none}

  .smile-grid{grid-template-columns:repeat(2,1fr)}
  .smile-divider{display:none}
  .review{flex-basis:calc((100% - 24px)/2)}

  .clinic-panel{grid-template-columns:1fr;gap:26px}
  .clinic-shots{max-width:460px}
  .clinic-shots img{height:250px}

  .highlight-grid{grid-template-columns:1fr 1fr;gap:18px}
  .highlight-card:last-child{grid-column:1/-1}

  .ft-band{padding:44px 0}
  /* flex-basis on .ft-copy/.ft-brand (340px/260px) sizes their WIDTH in the
     desktop row -- once the axis flips to column here, that same basis reads
     as a minimum HEIGHT instead and forces a tall empty gap under each block.
     flex:0 0 auto lets every block size to its own content in column mode. */
  .ft-inner{flex-direction:column;align-items:flex-start;gap:24px}
  .ft-tooth{flex:0 0 auto;margin:0 auto;max-width:180px}
  .ft-copy{flex:0 0 auto}
  .ft-brand{flex:0 0 auto;max-width:none;width:100%}

  .fab-tip{display:none}
}

@media (max-width:640px){
  :root{--gut:18px}
  .section{padding:44px 0}
  .section-head{margin-bottom:28px}

  /* Long labels ("View More Transformations") were wrapping to two lines
     and looking oversized on narrow phones -- tighten size to fit one line. */
  .btn-lg{padding:12px 18px;font-size:13px;gap:8px}

  .gallery-head{flex-direction:column;align-items:flex-start;gap:16px}
  .gallery-item{flex-basis:80%}

  .brand-text strong{font-size:15.5px}
  .brand-sub{font-size:7px;letter-spacing:.1em;gap:4px;margin-top:2px}
  .brand-sub::before,.brand-sub::after{min-width:7px}
  .brand-mark{width:32px;height:32px}

  .hero-media{height:280px}
  .hero h1{font-size:clamp(30px,8.4vw,40px)}
  .hero-actions .btn{flex:1 1 100%}
  .hero-mini-stats{gap:16px 24px;margin-top:26px;font-size:12.5px}

  .treatment-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .treatment-card{min-height:0;padding:20px 16px 58px}
  .spec-grid .treatment-card{padding:22px 14px 20px}
  .bubble{width:44px;height:44px;border-radius:12px;margin-bottom:16px}
  .bubble .icon{width:23px;height:23px}
  .card-arrow{left:16px;bottom:16px}

  .strip-float-wrap{margin-top:18px}
  .strip-float{flex-direction:column;border-radius:14px}
  .strip-item{border-left:0!important;justify-content:flex-start;padding:16px 18px}
  .strip-item+.strip-item{border-top:1px solid var(--line-2)}

  .spec-grid{grid-template-columns:1fr}
  .journey-steps{grid-template-columns:1fr;gap:22px}

  .dentist-photo{margin-left:38px}
  .exp-badge{width:88px;height:88px;left:-38px}
  .exp-badge b{font-size:19px}
  .mini-features{grid-template-columns:1fr;gap:14px;margin-bottom:26px}

  .smile-grid{grid-template-columns:1fr;gap:16px}
  .smile-divider{display:none}

  .tmodal-panel{padding:56px 18px 24px}
  .tmodal-grid{grid-template-columns:1fr;gap:16px}
  .tmodal-pair{gap:8px}
  .tmodal-case-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .faq-cols{grid-template-columns:1fr}
  .review{flex-basis:100%;margin-right:16px;padding:22px 20px}
  .review>p{min-height:0}

  .clinic-panel{padding:20px 18px}
  .clinic-shots{grid-template-columns:1fr;gap:12px}
  .clinic-shots img{height:220px}

  .highlight-grid{grid-template-columns:1fr;gap:16px}
  .highlight-card{padding:24px 22px}

  /* Footer: one left-aligned minimal column on mobile -- tooth mark, headline,
     CTA, brand, contact icons, address, then the copyright bar. Nothing
     side-by-side, nothing full-width except the button's own padding. */
  .ft-band{padding:32px 0}
  .ft-inner{flex-direction:column;align-items:flex-start;text-align:left;gap:16px}
  .ft-tooth{display:flex;flex:none;max-width:104px;margin:0 auto}
  .ft-copy{max-width:300px}
  .ft-copy .ft-title{font-size:21px;margin-bottom:8px;max-width:none}
  .ft-copy p{font-size:13px;line-height:1.6;margin:0 0 16px;max-width:280px}
  .ft-btn{width:auto;padding:12px 24px}
  .ft-brand{align-items:flex-start;max-width:300px}
  .ft-brand-row{justify-content:flex-start;gap:10px;margin-bottom:10px}
  .ft-brand-row img{width:34px;height:34px}
  .ft-brand-row strong{font-size:15px}
  .ft-brand-row small{font-size:8.5px}
  .ft-brand>p{font-size:12.5px;margin-bottom:12px}
  .ft-icons{justify-content:flex-start;gap:12px;margin-bottom:14px}
  .ft-icons a{width:44px;height:44px}
  .ft-icons .icon{width:20px;height:20px}
  .ft-addr{justify-content:flex-start;font-size:11.5px}
  .ft-numbers{justify-content:flex-start;font-size:11.5px}
  .ft-hours{justify-content:flex-start;font-size:11.5px}
  .ft-bar{justify-content:center;text-align:center;padding:14px 0}

  /* FAQ: tighter accordion rows and less top/bottom air */
  .faq{padding:4px 0 40px}
  .faq-q{padding:13px 14px;font-size:13px}
  .faq-mark{width:22px;height:22px}
  .faq-mark .icon{width:13px;height:13px}
  .faq-a p{padding:0 14px 14px;font-size:12.5px}

  .fab-rail{right:14px;bottom:14px;gap:8px}
  .fab-btn{width:50px;height:50px}
  .fab-btn .icon{width:24px;height:24px}
}

@media (max-width:400px){
  .fab-rail{right:10px;bottom:10px;gap:7px}
  .fab-btn{width:46px;height:46px}
  .fab-btn .icon{width:22px;height:22px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
  .js [data-reveal]{opacity:1;transform:none}
  /* Land every animated-in element on its finished state, not its start state */
  .js .site-header .brand-mark{opacity:1;transform:none}
  .js .treatment-card .bubble .icon,
  .btn-gold.is-done .icon{stroke-dasharray:none;stroke-dashoffset:0}
  .hero-book,.hero-media img,.fab-wa-ring{animation:none}
  @supports ((-webkit-background-clip:text) or (background-clip:text)){
    .js .hero h1 em{background:none;color:var(--teal-800)}
  }
}
