/* ============================================================
   Dr. Mihir Shah's Smile Care Clinic - Stylesheet
   ============================================================ */

@font-face {
  font-family: 'Chantilly Serial';
  src: url('../fonts/Chantilly-Serial_Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Chantilly Serial';
  src: url('../fonts/Chantilly-Serial-Light_Regular.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root{
  /* --- brand palette (client spec) --- */
  --primary: #B7C98A;
  --bg: #FAF8F4;
  --bg-secondary: #F4E9D8;
  --card: #FFFFFF;
  --heading: #2F2F2F;
  --body: #6A665F;
  --accent: #F4E9D8;
  --border: #B7C98A;

  /* --- derived tones, grounded in clinic photography (orange clock, red table) --- */
  --primary-deep: #7E9A54;
  --primary-darker: #5D7A3B;
  --clay: #C15E38;
  --clay-deep: #A44A29;
  --line: rgba(183,201,138,.4);
  --shadow-sm: 0 2px 10px rgba(47,47,47,.06);
  --shadow-md: 0 10px 30px rgba(47,47,47,.08);
  --shadow-lg: 0 24px 60px rgba(47,47,47,.14);

  --font-display: 'Chantilly Serial', 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --nav-h: 84px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body{
  margin:0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--body);
  font-size: 16px;
  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; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  letter-spacing: .2px;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section{ padding: 108px 0; position: relative; }
.section-tight{ padding: 72px 0; }
@media (max-width: 860px){
  .section{ padding: 72px 0; }
  .section-tight{ padding: 52px 0; }
}

.bg-secondary{ background: var(--bg-secondary); }
.bg-card{ background: var(--card); }

/* ---------- eyebrow / headings ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--primary-darker);
  margin-bottom: 18px;
}
.eyebrow svg{ width: 30px; height: 6.8px; flex-shrink:0; }

.section-head{ max-width: 720px; margin-bottom: 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(2rem, 3.4vw, 2.9rem); }
.section-head p{ margin-top: 18px; font-size: 1.08rem; }

/* smile-arc underline signature, drawn under headings */
.arc-underline{
  display:block;
  width: 92px; height: 21px;
  margin-top: 14px;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(.2,.8,.2,1);
}
.arc-underline svg{ display:block; width:100%; height:100%; }
.in-view .arc-underline{ clip-path: inset(0 0 0 0); }
.center .arc-underline{ margin-left:auto; margin-right:auto; }

/* ---------- buttons ---------- */
.btn{
  position: relative;
  display:inline-flex; align-items:center; justify-content:center; gap: 9px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .96rem;
  border: 1.5px solid transparent;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
  overflow: hidden;
}
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn:active{ transform: scale(.96); }

.btn-primary{
  background: var(--primary-darker);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: #4C6630; transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-outline{
  background: transparent;
  color: var(--heading);
  border-color: var(--heading);
}
.btn-outline:hover{ background: var(--heading); color: #fff; transform: translateY(-3px); }

.btn-light{
  background: #fff;
  color: var(--heading);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-ghost-onprimary{
  background: rgba(255,255,255,.16);
  color: #fff;
  border-color: rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
}
.btn-ghost-onprimary:hover{ background: rgba(255,255,255,.28); transform: translateY(-3px); }

.btn-sm{ padding: 11px 20px; font-size: .86rem; }
.btn-block{ width:100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 900;
  height: var(--nav-h);
  display:flex; align-items:center;
  background: rgba(250,248,244,0);
  transition: background .4s ease, box-shadow .4s ease, height .4s ease;
}
.nav.scrolled{
  background: rgba(250,248,244,.92);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--shadow-sm);
  height: 72px;
}
.nav .container{ display:flex; align-items:center; justify-content:space-between; gap: 20px; }

.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand img{ height: 53px; width:auto; transition: height .4s ease; }
.nav.scrolled .brand img{ height: 45px; }

.nav-links{ display:flex; align-items:center; gap: 34px; }
.nav-links a{
  position:relative;
  font-size: .93rem; font-weight:600; color: var(--heading);
  padding: 6px 0;
}
.nav-links a .arc-underline{ position:absolute; left:0; bottom:-6px; width:100%; height:12px; margin:0; clip-path: inset(0 100% 0 0); transition: clip-path .35s ease; }
.nav-links a:hover .arc-underline,
.nav-links a.active .arc-underline{ clip-path: inset(0 0 0 0); }
.nav-links a.active{ color: var(--primary-darker); }

.nav-ctas{ display:flex; align-items:center; gap: 12px; flex-shrink:0; }

.icon-btn{
  display:flex; align-items:center; justify-content:center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid transparent;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .3s ease, border-color .3s ease;
  flex-shrink:0; position:relative;
}
.icon-btn svg{ width:20px; height:20px; }
.icon-btn:active{ transform: scale(.92); }
.icon-btn-outline{
  background: var(--clay); border-color: var(--clay); box-shadow: 0 4px 14px rgba(193,94,56,.28);
}
.icon-btn-outline svg{ stroke:#fff; }
.icon-btn-outline:hover{ background: var(--clay-deep); border-color: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(193,94,56,.34); }
.icon-btn-outline::before{
  content:''; position:absolute; inset:0; border-radius:50%;
  border: 1.5px solid var(--clay); opacity:.55;
  animation: icon-btn-ping 2.2s cubic-bezier(.2,.7,.3,1) infinite;
}
.icon-btn-primary{ background: var(--primary-darker); box-shadow: var(--shadow-sm); }
.icon-btn-primary svg{ stroke:#fff; }
.icon-btn-primary:hover{ background: #4C6630; transform: translateY(-2px); box-shadow: var(--shadow-md); }
@keyframes icon-btn-ping{
  0%{ transform: scale(1); opacity:.55; }
  75%,100%{ transform: scale(1.45); opacity:0; }
}
@media (prefers-reduced-motion: reduce){ .icon-btn-outline::before{ animation:none; display:none; } }

.nav-toggle{
  display:none; background:none; border:none; padding:8px; z-index: 1001;
  flex-direction:column; gap:5px;
}
.nav-toggle span{ width:26px; height:2.5px; background: var(--heading); border-radius:2px; transition: all .35s ease; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 980px){
  .nav-links{
    position: fixed; inset: 0; top: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    flex-direction: column; justify-content:flex-start; align-items:center; gap: 22px;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
    padding: calc(var(--nav-h) + 24px) 24px 40px;
    z-index: 950;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ font-size: 1.4rem; font-family: var(--font-display); }
  .nav-toggle{ display:flex; }

  /* Once the mobile menu is open, the call/book icon buttons sit in the
     same header row and would otherwise float on top of the menu links.
     Hide them while the panel is open; the close (X) button stays visible
     since it has a higher z-index than .nav-links. */
  .nav-links.open ~ .nav-ctas{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease;
  }
}
@media (max-width: 560px){
  .icon-btn{ width: 42px; height: 42px; }
  .icon-btn svg{ width:18px; height:18px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 90px;
  background:
    radial-gradient(circle at 85% 8%, rgba(183,201,138,.35), transparent 45%),
    radial-gradient(circle at 8% 92%, rgba(244,233,216,.9), transparent 40%),
    var(--bg);
  overflow: hidden;
}
.hero-arcs{ position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.5; }
.hero-grid{
  position: relative; z-index: 2;
  display:grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items:center;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  background: #fff; border: 1px solid var(--line);
  padding: 8px 16px 8px 10px; border-radius: 100px;
  font-size: .8rem; font-weight:700; color: var(--primary-darker);
  letter-spacing: .4px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.hero-eyebrow .dot{ width:8px; height:8px; border-radius:50%; background: var(--clay); animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot{ 0%,100%{ transform: scale(1); opacity:1;} 50%{ transform: scale(1.5); opacity:.5;} }

.hero h1{
  font-size: clamp(2.6rem, 5vw, 4.15rem);
  max-width: 640px;
}
.hero h1 em{ font-style: normal; color: var(--primary-darker); position:relative; }

.hero-sub{
  margin-top: 24px;
  font-size: 1.14rem;
  max-width: 540px;
  color: var(--body);
}
.hero-ctas{ display:flex; gap:16px; margin-top: 36px; flex-wrap:wrap; }

.hero-stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 52px;
  max-width: 640px;
  position: relative;
  background: linear-gradient(160deg, #fff, var(--bg-secondary) 160%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 30px 6px;
  overflow: hidden;
}
.hero-stats::before{
  content:'';
  position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--primary), var(--clay));
}
.hero-stat{
  position: relative;
  text-align: center;
  padding: 4px 10px;
}
.hero-stat:not(:nth-child(4n))::after{
  content:'';
  position:absolute; top:6%; bottom:6%; right:0; width:1px;
  background: var(--line);
}
.hero-stat .num{
  font-family: var(--font-display); font-size: 2.3rem; color: var(--heading);
  display:flex; align-items:baseline; justify-content:center; gap:2px;
}
.hero-stat .num .suffix{ font-size: 1.3rem; color: var(--primary-darker); }
.hero-stat .label{
  font-size: .78rem; color: var(--body); margin-top: 6px; font-weight:700;
  letter-spacing:.2px;
}

.hero-visual{ position: relative; }
.hero-photo-wrap{
  position:relative; z-index:2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/4.6;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero-photo-wrap img{ width:100%; height:100%; object-fit:cover; }
.hero-blob{
  position:absolute; z-index:1;
  width: 108%; height: 108%; top:-4%; left:-4%;
  background: var(--primary);
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  animation: blob-morph 12s ease-in-out infinite;
  opacity: .55;
}
@keyframes blob-morph{
  0%,100%{ border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%; }
  50%{ border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%; }
}

.floating-card{
  position:absolute; z-index:3;
  background:#fff; border-radius: var(--radius-md);
  padding: 14px 18px; box-shadow: var(--shadow-lg);
  display:flex; align-items:center; gap: 12px;
  font-size: .84rem; font-weight:700; color: var(--heading);
  animation: float-y 5s ease-in-out infinite;
}
.floating-card .ic{
  width: 42px; height:42px; border-radius: 12px;
  background: var(--bg-secondary); display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.floating-card .ic svg{ width:22px; height:22px; stroke: var(--primary-darker); }
.floating-card small{ display:block; font-weight:500; color: var(--body); font-size:.74rem; margin-top:1px; }
.fc-1{ top: 10%; left: -8%; animation-delay: 0s; }
.fc-2{ bottom: 8%; right: -6%; animation-delay: 1.4s; }
@keyframes float-y{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

@media (max-width: 1040px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ max-width: 440px; margin: 0 auto; order:-1; }
  .hero h1, .hero-sub{ max-width: none; }
  .hero-ctas{ justify-content:center; }
  .hero-stats{ margin-left:auto; margin-right:auto; }
  .floating-card{ display:none; }
}
@media (max-width: 560px){
  .hero{ padding-top: calc(var(--nav-h) + 26px); }
  .hero-ctas{ flex-direction: column; align-items:stretch; }
  .hero-ctas .btn{ width:100%; }
  .hero-stats{
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
    padding: 26px 8px;
  }
  .hero-stat:not(:nth-child(4n))::after{ display:none; }
  .hero-stat:nth-child(odd)::after{
    content:'';
    display:block;
    position:absolute; top:6%; bottom:6%; right:0; width:1px;
    background: var(--line);
  }
  .hero-stat:nth-child(1)::before,
  .hero-stat:nth-child(2)::before{
    content:'';
    position:absolute; left:12%; right:12%; bottom:-13px; height:1px;
    background: var(--line);
  }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip{
  background: var(--heading);
  padding: 26px 0;
  overflow:hidden;
}
.trust-track{
  display:flex; gap: 64px; width: max-content;
  animation: marquee 28s linear infinite;
}
.trust-strip:hover .trust-track{ animation-play-state: paused; }
.trust-item{
  display:flex; align-items:center; gap:10px;
  color: #fff; font-size: .92rem; font-weight:700; letter-spacing:.3px;
  white-space:nowrap;
}
.trust-item svg{ width:18px; height:18px; stroke: var(--primary); flex-shrink:0; }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal{ opacity:0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view{ opacity:1; transform: translateY(0); }
.reveal-scale{ opacity:0; transform: scale(.92); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal-scale.in-view{ opacity:1; transform: scale(1); }
.stagger > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* ============================================================
   ABOUT - CLINIC
   ============================================================ */
.about-clinic{ display:grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items:center; }
.about-copy .badge-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top: 30px; }
.mini-badge{
  display:flex; align-items:center; gap:9px;
  background: var(--card); border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 100px;
  font-size: .82rem; font-weight:700; color: var(--heading);
  box-shadow: var(--shadow-sm);
}
.mini-badge svg{ width:17px; height:17px; stroke: var(--primary-darker); }

.equip-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.equip-card{
  background: var(--card); border-radius: var(--radius-md);
  padding: 22px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.equip-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.equip-card .ic{
  width:48px; height:48px; border-radius: 13px; background: var(--bg-secondary);
  display:flex; align-items:center; justify-content:center; margin-bottom: 14px;
}
.equip-card .ic svg{ width:24px; height:24px; stroke: var(--primary-darker); }
.equip-card h4{ font-family: var(--font-body); font-size: .98rem; font-weight:800; color: var(--heading); }
.equip-card p{ font-size: .86rem; margin: 6px 0 0; }

/* carousel */
.carousel{
  position:relative; border-radius: var(--radius-lg); overflow:hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4;
  border: 6px solid #fff;
}
.carousel-track{ display:flex; height:100%; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.carousel-slide{ min-width:100%; height:100%; }
.carousel-slide img{ width:100%; height:100%; object-fit:cover; }
.carousel-arrows{ position:absolute; bottom: 18px; right: 18px; display:flex; gap:10px; z-index:5; }
.carousel-arrow{
  width:44px; height:44px; border-radius:50%; background: rgba(255,255,255,.9);
  display:flex; align-items:center; justify-content:center; border: none;
  box-shadow: var(--shadow-sm); transition: background .3s ease, transform .3s ease;
}
.carousel-arrow:hover{ background:#fff; transform: scale(1.08); }
.carousel-arrow svg{ width:18px; height:18px; stroke: var(--heading); }
.carousel-dots{ position:absolute; bottom: 18px; left: 18px; display:flex; gap:7px; z-index:5; }
.carousel-dots button{ width:8px; height:8px; border-radius:50%; background: rgba(255,255,255,.6); border:none; transition: all .3s ease; }
.carousel-dots button.active{ width: 22px; border-radius: 5px; background: #fff; }
.carousel-tag{
  position:absolute; top:18px; left:18px; z-index:5;
  background: rgba(255,255,255,.94); padding: 8px 14px; border-radius: 100px;
  font-size: .74rem; font-weight:800; letter-spacing:.4px; text-transform:uppercase; color: var(--primary-darker);
}

@media (max-width: 940px){
  .about-clinic{ grid-template-columns: 1fr; gap: 42px; }
  .equip-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .equip-grid{ grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT - DOCTOR
   ============================================================ */
.about-doctor{ display:grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items:start; margin-top: 130px; }
.doctor-photo-col{ position: sticky; top: 110px; }
.doctor-photo-wrap{
  position:relative; border-radius: var(--radius-lg); overflow:hidden;
  box-shadow: var(--shadow-lg); border: 6px solid #fff;
}
.doctor-photo-wrap img{ width:100%; aspect-ratio: 4/4.6; object-fit:cover; }
.doctor-name-tag{
  margin-top: 22px; background: var(--card); border-radius: var(--radius-md);
  padding: 20px 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.doctor-name-tag h4{ font-family: var(--font-body); font-weight:800; color: var(--heading); font-size:1.02rem;}
.doctor-name-tag p{ margin:4px 0 0; font-size:.86rem; }
.doctor-name-tag .stars{ display:flex; gap:3px; margin-top:10px; }
.doctor-name-tag .stars svg{ width:15px; height:15px; fill: var(--clay); stroke:none; }

.doctor-bio p{ font-size: 1.05rem; }
.doctor-bio .lead{ font-size: 1.18rem; color: var(--heading); font-weight:600; }

.pull-quote{
  margin: 34px 0; padding: 30px 32px;
  background: var(--bg-secondary); border-radius: var(--radius-md);
  position:relative;
  font-family: var(--font-display); font-size: 1.28rem; color: var(--heading);
  line-height: 1.5;
}
.pull-quote svg{ width:34px; height:24px; margin-bottom:12px; opacity:.7; }
.pull-quote cite{ display:block; font-style:normal; font-family: var(--font-body); font-size:.82rem; font-weight:700; color: var(--primary-darker); margin-top:16px; }

.timeline{ margin-top: 44px; position:relative; }
.timeline::before{
  content:''; position:absolute; left: 17px; top: 8px; bottom: 8px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--primary) 0 8px, transparent 8px 14px);
}
.tl-item{ position:relative; padding-left: 56px; margin-bottom: 34px; }
.tl-item:last-child{ margin-bottom:0; }
.tl-dot{
  position:absolute; left:0; top:0; width:36px; height:36px; border-radius:50%;
  background: var(--card); border: 2px solid var(--primary-darker);
  display:flex; align-items:center; justify-content:center;
  font-size:.68rem; font-weight:800; color: var(--primary-darker);
  box-shadow: var(--shadow-sm);
}
.tl-year{ font-size:.78rem; font-weight:800; letter-spacing:1px; color: var(--primary-darker); text-transform:uppercase; }
.tl-item h4{ font-family: var(--font-body); font-size:1.08rem; font-weight:800; color: var(--heading); margin-top:4px; }
.tl-item p{ font-size:.95rem; margin: 6px 0 0; }

@media (max-width: 940px){
  .about-doctor{ grid-template-columns: 1fr; gap: 40px; margin-top: 80px; }
  .doctor-photo-col{ position:static; max-width: 360px; margin:0 auto; }
}

/* ============================================================
   TREATMENTS
   ============================================================ */
.featured-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 26px; }
.featured-card{
  position:relative; overflow:hidden;
  background: var(--heading); color: #fff; border-radius: var(--radius-lg);
  padding: 40px 30px 34px; min-height: 340px;
  display:flex; flex-direction:column; justify-content:flex-end;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
  box-shadow: var(--shadow-md);
}
.featured-card::before{
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 20% 0%, rgba(183,201,138,.5), transparent 60%);
  opacity: .8; transition: opacity .4s ease;
}
.featured-card:hover{ transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.featured-card .fnum{
  position:absolute; top:26px; right:30px; font-family: var(--font-display);
  font-size: 3.4rem; color: rgba(255,255,255,.14); line-height:1;
}
.featured-card .ic{
  width:56px; height:56px; border-radius:15px; background: rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; position:relative; z-index:2;
}
.featured-card .ic svg{ width:28px; height:28px; stroke: var(--primary); }
.featured-card h3{ font-family: var(--font-display); font-size:1.55rem; color:#fff; position:relative; z-index:2; }
.featured-card p{ font-size:.92rem; color: rgba(255,255,255,.78); margin-top:12px; position:relative; z-index:2; }
.featured-card .tag{
  display:inline-block; margin-bottom:14px; position:relative; z-index:2;
  font-size:.7rem; font-weight:800; letter-spacing:1.4px; text-transform:uppercase; color: var(--primary);
}

.treat-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.treat-card{
  background: var(--card); border-radius: var(--radius-md); padding: 28px 26px;
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.treat-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.treat-card .ic{
  width:50px; height:50px; border-radius:14px; background: var(--bg-secondary);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
  transition: transform .4s ease;
}
.treat-card:hover .ic{ transform: rotate(-8deg) scale(1.06); }
.treat-card .ic svg{ width:25px; height:25px; stroke: var(--primary-darker); }
.treat-card h4{ font-family: var(--font-body); font-weight:800; font-size:1.02rem; color:var(--heading); }
.treat-card p{ font-size:.9rem; margin-top:8px; }

@media (max-width: 980px){
  .featured-grid, .treat-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .featured-grid, .treat-grid{ grid-template-columns: 1fr; }
}

/* ============================================================
   WHY US
   ============================================================ */
.why-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card{
  background: var(--card); border-radius: var(--radius-md); padding: 30px 24px;
  text-align:left; box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.why-card:hover{ transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--shadow-md); }
.why-card .ic{
  width:52px; height:52px; border-radius:50%; background: var(--primary);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.why-card .ic svg{ width:26px; height:26px; stroke: #fff; }
.why-card h4{ font-family: var(--font-body); font-weight:800; font-size:1rem; color:var(--heading); }
.why-card p{ font-size:.88rem; margin-top:8px; }

@media (max-width: 980px){ .why-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .why-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filter{
  display:flex; justify-content:center; flex-wrap:wrap; gap:10px;
  margin: 6px 0 40px;
}
.gf-btn{
  font-family: var(--font-body); font-weight:700; font-size:.82rem; letter-spacing:.02em;
  padding: 11px 22px; border-radius: 999px; border: 1px solid rgba(47,47,47,.14);
  background: #fff; color: var(--text); cursor:pointer;
  transition: all .3s ease;
}
.gf-btn:hover{ border-color: var(--primary); color: var(--heading); }
.gf-btn.active{ background: var(--heading); border-color: var(--heading); color:#fff; }

/* Swipeable carousel: drag/swipe on both desktop (mouse) and mobile (touch).
   Each slide is sized to its own image's aspect ratio (fixed height, auto width)
   so photos fill their box edge-to-edge with no empty side bars, and nothing
   is cropped. Uses native scroll-snap for buttery-smooth swipe on touch. */
.gallery-carousel{ position:relative; }
.gc-viewport{
  position: relative;
  overflow-x: auto; overflow-y: hidden;
  cursor: grab; touch-action: pan-y;
  scroll-snap-type: x proximity;
  scrollbar-width: none; -ms-overflow-style: none;
}
.gc-viewport::-webkit-scrollbar{ display:none; }
.gc-viewport.dragging{ cursor: grabbing; scroll-snap-type: none; }
.gc-track{
  display:flex; gap:20px; width: max-content;
}
.gallery-item{
  position:relative; overflow:hidden; border-radius: var(--radius-sm); cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto; height: 380px; width:auto;
  scroll-snap-align: start;
  background: #ece7dd;
  transition: box-shadow .35s ease;
}
.gallery-item:hover{ box-shadow: var(--shadow-lg); }
.gallery-item.gi-hidden{
  display:none;
}
.gallery-item img{
  height:100%; width:auto; max-width: 82vw; display:block; object-fit:contain;
  -webkit-user-drag:none; user-select:none;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.gallery-item:hover img{ transform: scale(1.045); }
.gallery-item::after{
  content:'';
  position:absolute; inset:0; background: linear-gradient(to top, rgba(47,47,47,.5), transparent 45%);
  opacity:0; transition: opacity .4s ease;
}
.gallery-item:hover::after{ opacity:1; }
.gallery-item .zoom-ic{
  position:absolute; bottom:14px; left:14px; width:36px; height:36px; border-radius:50%;
  background: rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center;
  opacity:0; transform: translateY(8px); transition: all .4s ease;
}
.gallery-item:hover .zoom-ic{ opacity:1; transform: translateY(0); }
.gallery-item .zoom-ic svg{ width:16px; height:16px; stroke: var(--heading); }

.gc-dots{
  display:flex; justify-content:center; flex-wrap:wrap; gap:7px; margin-top:22px;
}
.gc-dots button{
  width:8px; height:8px; border-radius:50%; border:none;
  background: rgba(47,47,47,.18); transition: all .3s ease; cursor:pointer;
}
.gc-dots button.active{ width:22px; border-radius:5px; background: var(--heading); }
.gc-arrows{
  display:flex; justify-content:center; gap:12px; margin-top:18px;
}
.gc-arrow{
  width:46px; height:46px; border-radius:50%; border:1px solid rgba(47,47,47,.14);
  background:#fff; display:flex; align-items:center; justify-content:center;
  transition: all .3s ease; cursor:pointer;
}
.gc-arrow:hover{ background: var(--heading); border-color: var(--heading); }
.gc-arrow:hover svg{ stroke:#fff; }
.gc-arrow svg{ width:18px; height:18px; stroke: var(--heading); transition: stroke .3s ease; }
.gc-arrow:disabled{ opacity:.35; cursor:default; pointer-events:none; }

@media (max-width: 700px){
  .gallery-item{ height: 260px; }
  .gc-track{ gap:14px; }
}
@media (max-width: 460px){
  .gallery-item{ height: 220px; }
}

/* lightbox */
.lightbox{
  position: fixed; inset:0; z-index: 2000; background: rgba(47,47,47,.92);
  display:flex; align-items:center; justify-content:center; padding: 30px;
  opacity:0; visibility:hidden; transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.open{ opacity:1; visibility:visible; }
.lightbox img{ max-width: 90vw; max-height: 84vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-nav{
  position:absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color:#fff; width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  transition: background .3s ease;
}
.lightbox-close:hover, .lightbox-nav:hover{ background: rgba(255,255,255,.24); }
.lightbox-close{ top:24px; right:24px; }
.lightbox-close svg, .lightbox-nav svg{ width:20px; height:20px; }
.lightbox-nav.prev{ left:24px; top:50%; transform: translateY(-50%); }
.lightbox-nav.next{ right:24px; top:50%; transform: translateY(-50%); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-wrap{ position:relative; max-width: 800px; margin: 0 auto; }

.testi-track-wrap{ overflow:hidden; }
.testi-track{ display:flex; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.testi-slide{ min-width:100%; padding: 6px; }
.testi-card{
  background: var(--card); border-radius: var(--radius-lg); padding: 46px 44px;
  text-align:center; box-shadow: var(--shadow-md); position:relative;
}
.testi-card svg.quote-ic{ width:44px; height:32px; margin: 0 auto 20px; opacity:.6; }
.testi-card p.quote{ font-family: var(--font-display); font-size: 1.4rem; color: var(--heading); line-height:1.5; }
.testi-card .who{ margin-top: 24px; display:flex; flex-direction:column; align-items:center; gap:4px; }
.testi-card .who .avatar{
  width:48px; height:48px; border-radius:50%; background: var(--primary);
  display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-family: var(--font-display); font-size:1.2rem;
  margin-bottom:8px;
}
.testi-card .who b{ color: var(--heading); font-size:.95rem; }
.testi-card .who span{ font-size:.8rem; }

.testi-controls{ display:flex; justify-content:center; align-items:center; gap: 18px; margin-top: 32px; }
.testi-dots{ display:flex; gap:8px; }
.testi-dots button{ width:9px; height:9px; border-radius:50%; background: var(--line); border:none; transition: all .3s ease; }
.testi-dots button.active{ width:26px; border-radius:5px; background: var(--primary-darker); }
.testi-arrow{
  width:44px; height:44px; border-radius:50%; background: var(--card); border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center; transition: all .3s ease;
}
.testi-arrow:hover{ background: var(--primary-darker); border-color: var(--primary-darker); }
.testi-arrow:hover svg{ stroke:#fff; }
.testi-arrow svg{ width:18px; height:18px; stroke: var(--heading); transition: stroke .3s ease; }

@media (max-width: 640px){
  .testi-card{ padding: 34px 24px; }
  .testi-card p.quote{ font-size: 1.14rem; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list{ max-width: 820px; margin: 0 auto; }
.faq-item{
  background: var(--card); border-radius: var(--radius-md); margin-bottom: 14px;
  border: 1px solid var(--line); overflow:hidden;
}
.faq-q{
  width:100%; background:none; border:none; padding: 24px 26px;
  display:flex; align-items:center; justify-content:space-between; gap: 20px;
  text-align:left; font-family: var(--font-body); font-weight:700; font-size:1.02rem; color: var(--heading);
}
.faq-q .plus{
  flex-shrink:0; width:32px; height:32px; border-radius:50%; background: var(--bg-secondary);
  display:flex; align-items:center; justify-content:center; position:relative;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:''; position:absolute; background: var(--primary-darker); border-radius:2px;
}
.faq-q .plus::before{ width:12px; height:2px; }
.faq-q .plus::after{ width:2px; height:12px; transition: transform .35s ease; }
.faq-item.open .faq-q .plus::after{ transform: rotate(90deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .45s cubic-bezier(.2,.8,.2,1); }
.faq-a-inner{ padding: 0 26px 26px; font-size: .96rem; }
.faq-item.open .faq-q{ color: var(--primary-darker); }

/* ============================================================
   CONTACT
   ============================================================ */
.clinics-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 60px; }
.clinic-card{
  background: var(--card); border-radius: var(--radius-lg); padding: 34px;
  border: 1px solid var(--line); position:relative; overflow:hidden;
}
.clinic-card .tag{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--bg-secondary); padding:7px 14px; border-radius:100px;
  font-size:.72rem; font-weight:800; letter-spacing:1px; text-transform:uppercase; color: var(--primary-darker);
  margin-bottom:18px;
}
.clinic-card h3{ font-family: var(--font-body); font-weight:800; font-size:1.28rem; color:var(--heading); }
.clinic-card .addr{ display:flex; gap:12px; margin-top:16px; font-size:.94rem; color: var(--text); text-decoration:none; cursor:pointer; transition: color .25s ease; }
.clinic-card .addr:hover{ color: var(--primary-darker); }
.clinic-card .addr:hover span{ text-decoration: underline; text-underline-offset: 3px; }
.clinic-card .addr svg{ width:19px; height:19px; stroke: var(--primary-darker); flex-shrink:0; margin-top:2px; }
.clinic-card .tel{ display:flex; align-items:center; gap:12px; margin-top:12px; font-size:.94rem; font-weight:700; color: var(--heading); }
.clinic-card .tel svg{ width:19px; height:19px; stroke: var(--primary-darker); flex-shrink:0; }
.clinic-card .cbtns{ display:flex; gap:10px; margin-top:22px; flex-wrap:wrap; }

.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items:stretch; }
.panel{
  background: var(--card); border-radius: var(--radius-lg); padding: 40px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display:flex; flex-direction:column;
}
.panel h3{ font-family: var(--font-body); font-weight:800; font-size:1.3rem; color:var(--heading); }
.panel > p{ font-size:.94rem; margin-top:8px; margin-bottom: 26px; }

.field{ margin-bottom: 18px; }
.field label{ display:block; font-size:.82rem; font-weight:700; color: var(--heading); margin-bottom:7px; }
.field input, .field textarea{
  width:100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--heading); transition: border-color .3s ease, box-shadow .3s ease;
}
.field input:focus, .field textarea:focus{
  outline:none; border-color: var(--primary-darker); box-shadow: 0 0 0 4px rgba(183,201,138,.25);
}
.field textarea{ resize: vertical; min-height: 110px; }
.form-note{ font-size:.78rem; margin-top:14px; }
.form-success{
  display:none; align-items:center; gap:12px; background: var(--bg-secondary); border-radius:14px;
  padding:16px 18px; font-size:.9rem; font-weight:700; color: var(--primary-darker); margin-top: 16px;
}
.form-success.show{ display:flex; }
.form-success svg{ width:22px; height:22px; stroke: var(--primary-darker); flex-shrink:0; }
.form-error{
  display:none; background: #FBEAE5; border-radius:14px;
  padding:14px 18px; font-size:.88rem; font-weight:600; color: var(--clay-deep); margin-top: 16px;
}
.form-error.show{ display:block; }
.btn-block:disabled{ opacity:.65; cursor:not-allowed; transform:none !important; }

.booking-panel{ background: var(--heading); color:#fff; }
.booking-panel h3{ color:#fff; }
.booking-panel > p{ color: rgba(255,255,255,.7); }
.booking-embed{
  flex:1; border-radius: 16px; background: #fffdf8;
  border: 1.5px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-lg);
  overflow: hidden; min-height: 260px;
}
.booking-embed .calendly-inline-widget{ border-radius: 16px; }
.booking-embed svg{ width:48px; height:48px; stroke: var(--primary); }
.booking-embed h4{ font-family: var(--font-body); font-weight:800; color:#fff; font-size:1.05rem; }
.booking-embed p{ color: rgba(255,255,255,.68); font-size:.88rem; max-width: 320px; }
.booking-meanwhile{ display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; }

@media (max-width: 940px){
  .clinics-grid, .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  .booking-embed .calendly-inline-widget{ height: 620px !important; }
  .booking-panel{ padding-left: 14px; padding-right: 14px; }
  .booking-panel h3, .booking-panel > p, .booking-meanwhile{ padding: 0 6px; }
}
@media (max-width: 420px){
  .booking-panel{ padding-left: 8px; padding-right: 8px; }
  #contact .container{ padding-left: 14px; padding-right: 14px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background: var(--heading); color: rgba(255,255,255,.72); padding: 80px 0 0; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr .8fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img{ height: 40px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p{ font-size:.9rem; max-width: 320px; line-height:1.7; }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{
  width:40px; height:40px; border-radius:50%; background: rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; transition: background .3s ease, transform .3s ease;
}
.footer-social a:hover{ background: var(--primary); transform: translateY(-3px); }
.footer-social a svg{ width:18px; height:18px; stroke:#fff; }
.footer h5{ color:#fff; font-family: var(--font-body); font-weight:800; font-size:.9rem; letter-spacing:.5px; text-transform:uppercase; margin-bottom:20px; }
.footer ul li{ margin-bottom:12px; }
.footer ul li a{ font-size:.9rem; transition: color .3s ease, padding-left .3s ease; }
.footer ul li a:hover{ color:#fff; padding-left:4px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; padding: 26px 0; gap: 16px; flex-wrap:wrap;
  font-size:.82rem;
}
.footer-bottom a:hover{ color:#fff; }
.footer-bottom .links{ display:flex; gap:20px; }
.footer-credit{
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0; text-align:center; font-size:.8rem; color: rgba(255,255,255,.55);
}
.footer-credit a{ color: rgba(255,255,255,.75); font-weight:700; transition: color .3s ease; }
.footer-credit a:hover{ color: var(--primary); }

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; text-align:center; }
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.fab-wrap{ position: fixed; right: 22px; bottom: 22px; z-index: 800; display:flex; flex-direction:column; gap: 14px; align-items:flex-end; }
.fab{
  width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg); transition: transform .3s ease;
  animation: fab-in .6s ease .4s both;
}
.fab:hover{ transform: scale(1.08) translateY(-2px); }
.fab-wa{ background:#25D366; }
.fab-wa svg{ width:28px; height:28px; fill:#fff; }
.fab-top{
  width:44px; height:44px; background:#fff; border: 1px solid var(--line);
  opacity:0; visibility:hidden; transform: translateY(10px);
  transition: all .35s ease;
}
.fab-top.show{ opacity:1; visibility:visible; transform: translateY(0); }
.fab-top svg{ width:18px; height:18px; stroke: var(--heading); }
@keyframes fab-in{ from{ transform: scale(0); } to{ transform: scale(1); } }

/* misc svg helper */
.ic-stroke{ fill:none; stroke: currentColor; stroke-width: 1.8; stroke-linecap:round; stroke-linejoin:round; }

::selection{ background: var(--primary); color: #fff; }

/* skip link / focus states */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--primary-darker); outline-offset: 2px;
}
