/* ============================================================
   My Mind Counseling & Therapy Centre — Patient Website
   Mobile-first. Dominant language: soft material warmth.
   Accents: liquid glass (nav/bookbar), claymorphism (promo/chat),
   skeuomorphism (credentials), neubrutalism (single CTA only).
   ============================================================ */

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--font-body); line-height:1.6; font-size:16px;
  -webkit-font-smoothing:antialiased;
  padding-bottom: calc(var(--bookbar-h) + 10px);
  overflow-x:hidden;
}
.page-content{ position:relative; z-index:1; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; margin:0 0 .4em; line-height:1.22; color:var(--ink); }
p{ margin:0 0 1em; color:var(--text-muted); }
a{ color:var(--link); }
img{ max-width:100%; display:block; }
button{ font-family:inherit; }
.container{ max-width:560px; margin:0 auto; padding:0 20px; }
.section{ padding:56px 0 8px; position:relative; }
.eyebrow{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--sage-dk); font-weight:700; margin-bottom:10px;
}
.eyebrow::before{ content:""; width:16px; height:2px; background:var(--brass); border-radius:2px; }
.section-title{ font-size:26px; }
.section-lede{ max-width:46ch; }

/* ---------------- reveal-on-scroll ---------------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.stagger > * { transition-delay: calc(var(--i,0) * 70ms); }

/* ---------------- NAV — liquid glass accent ---------------- */
.nav{
  position:sticky; top:0; z-index:60; height:var(--nav-h);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right)); background:transparent;
  transition:background var(--dur-med) var(--ease-out), backdrop-filter var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.nav.is-frosted{
  background:linear-gradient(180deg, rgba(250,247,240,.82), rgba(250,247,240,.62));
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  box-shadow:0 1px 0 rgba(74,49,35,.08), 0 10px 30px rgba(74,49,35,.06);
}
.brand{ display:flex; align-items:center; gap:9px; text-decoration:none; color:var(--ink); }
.brand-name{ min-width:0; }
.brand-mark{
  width:38px; height:38px; border-radius:50%; overflow:hidden; flex:0 0 auto;
  background:var(--white); box-shadow:0 0 0 2px rgba(255,255,255,.82), 0 0 0 4px rgba(201,161,90,.34), var(--shadow-sm);
  animation:logo-arrive 700ms var(--ease-spring) 120ms both, logo-float 4600ms ease-in-out 1100ms infinite;
}
.brand-mark img{ width:100%; height:100%; object-fit:cover; transform:scale(1.22); }
@keyframes logo-arrive{ 0%{ opacity:0; transform:translateY(-8px) scale(.82) rotate(-8deg); } 100%{ opacity:1; transform:translateY(0) scale(1) rotate(0deg); } }
@keyframes logo-float{ 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(-2px) rotate(2deg); } }
@keyframes draw-logo{ to{ stroke-dashoffset:0; } }
.brand-name{ font-family:var(--font-display); font-weight:700; font-size:16.5px; line-height:1.1; }
.brand-name small{ display:block; font-family:var(--font-body); font-weight:500; font-size:10.5px; letter-spacing:.05em; text-transform:uppercase; color:var(--sage-dk); }
.nav-icon-btn{
  width:38px; height:38px; border-radius:var(--radius-pill); border:1px solid var(--border);
  background:rgba(255,255,255,.6); display:grid; place-items:center; color:var(--walnut-dk);
  transition:transform var(--dur-fast) var(--ease-spring);
}
.nav-icon-btn:active{ transform:scale(.9); }

/* ---------------- HERO ---------------- */
.hero{ position:relative; padding:18px 0 40px; overflow:hidden; }
.hero-glow{
  position:absolute; inset:-20% -10% auto -10%; height:480px; z-index:-1;
  background:
    radial-gradient(60% 55% at 25% 15%, rgba(201,161,90,.28), transparent 70%),
    radial-gradient(55% 50% at 85% 10%, rgba(126,150,154,.30), transparent 70%),
    radial-gradient(70% 60% at 50% 60%, rgba(124,143,115,.22), transparent 70%);
  filter:blur(6px);
}
.hero-copy{ padding:0 20px; }
.hero-kicker{
  display:inline-flex; align-items:center; gap:8px; background:var(--white);
  border:1px solid var(--border); padding:6px 12px 6px 6px; border-radius:var(--radius-pill);
  font-size:12.5px; font-weight:600; color:var(--walnut-dk); box-shadow:var(--shadow-sm);
  margin-bottom:16px;
  max-width:100%;
}
.hero-kicker .dot{ width:8px; height:8px; border-radius:50%; background:var(--sage); box-shadow:0 0 0 3px var(--sage-light); }
.hero h1{ font-size:34px; letter-spacing:-.01em; }
.hero h1 em{ font-style:normal; color:var(--walnut); }
.hero p.lede{ font-size:16px; max-width:38ch; }
.hero-ctas{ display:flex; gap:10px; margin-top:22px; flex-wrap:wrap; }

.btn{
  appearance:none; border:none; cursor:pointer; border-radius:var(--radius-pill);
  padding:14px 22px; font-weight:700; font-size:15px; display:inline-flex; align-items:center; gap:8px;
  transition:transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast);
}
.btn:active{ transform:scale(.96); }
.btn-primary{
  background:var(--ink); color:var(--cream);
  border:2.5px solid var(--ink); box-shadow:var(--brut-shadow);
}
.btn-primary:active{ box-shadow:2px 2px 0 var(--ink); transform:translate(2px,2px) scale(1); }
.btn-ghost{ background:var(--white); color:var(--walnut-dk); border:1px solid var(--border); box-shadow:var(--shadow-sm); }

.hero-spotlight{
  margin-top:30px; position:relative; padding:26px 20px 22px; overflow:hidden;
  display:flex; align-items:center; gap:16px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(201,161,90,.24), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(124,143,115,.24), transparent 55%),
    var(--surface);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-md);
}
.hero-logo-badge{
  position:absolute; top:12px; right:14px; width:42px; height:42px; border-radius:50%; overflow:hidden;
  background:var(--white); box-shadow:0 0 0 3px rgba(255,255,255,.88), 0 0 0 5px rgba(124,143,115,.22), var(--shadow-sm);
  animation:logo-pulse 3600ms ease-in-out infinite;
}
.hero-logo-badge img{ width:100%; height:100%; object-fit:cover; transform:scale(1.18); }
@keyframes logo-pulse{ 0%,100%{ transform:scale(1); box-shadow:0 0 0 3px rgba(255,255,255,.88), 0 0 0 5px rgba(124,143,115,.22), var(--shadow-sm); } 50%{ transform:scale(1.05); box-shadow:0 0 0 3px rgba(255,255,255,.9), 0 0 0 9px rgba(124,143,115,.12), var(--shadow-sm); } }
.hero-portrait{
  flex:0 0 auto; width:104px; height:104px; border-radius:28px; overflow:hidden; position:relative;
  box-shadow:0 0 0 4px var(--white), 0 0 0 6px rgba(201,161,90,.45), var(--shadow-sm);
  touch-action: pan-y;
}
.hero-portrait img{ width:100%; height:100%; object-fit:cover; object-position:50% 30%; transform:scale(1.28); transition:transform 260ms var(--ease-out); }
.hero-portrait::after{ content:""; position:absolute; inset:0; box-shadow: inset 0 -20px 22px -10px rgba(43,38,32,.28); }
.hero-spotlight-copy strong{ display:block; font-family:var(--font-display); font-size:17px; color:var(--ink); }
.hero-spotlight-copy span{ display:block; font-size:12px; color:var(--sage-dk); font-weight:700; margin-top:2px; }
.hero-spotlight-copy p{ margin:6px 0 0; font-size:12px; color:var(--text-muted); }

/* ---------------- TRUST STRIP ---------------- */
.trust-strip{
  display:flex; gap:10px; overflow-x:auto; padding:22px 20px 6px; margin:0 -20px;
  scrollbar-width:none;
}
.trust-strip::-webkit-scrollbar{ display:none; }
.trust-chip{
  flex:0 0 auto; display:flex; align-items:center; gap:8px;
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius-pill);
  padding:10px 16px; font-size:13px; font-weight:600; color:var(--ink); box-shadow:var(--shadow-sm);
  opacity:0; transform:translateY(10px) scale(.92);
  animation:chip-in 520ms var(--ease-spring) forwards;
  animation-delay:calc(var(--i,0) * 90ms + 120ms);
}
@keyframes chip-in{ to{ opacity:1; transform:translateY(0) scale(1);} }
.trust-chip .ic{ color:var(--sage-dk); }

/* ---------------- ABOUT ---------------- */
.about-card{
  display:flex; gap:16px; align-items:center; background:var(--surface);
  border-radius:var(--radius-lg); padding:18px; box-shadow:var(--shadow-md); margin-top:16px;
}
.about-card img{ width:84px; height:84px; border-radius:50%; object-fit:cover; border:3px solid var(--white); box-shadow:var(--shadow-sm); }
.quote-card{
  margin-top:16px; background:var(--sage-light); border-radius:var(--radius-lg); padding:20px;
  position:relative;
}
.profile-panel{
  margin-top:16px; padding:20px; border-radius:var(--radius-lg);
  background:linear-gradient(155deg, rgba(255,253,248,.96), rgba(244,236,217,.96));
  border:1px solid rgba(201,161,90,.28); box-shadow:var(--shadow-md);
}
.profile-head{ display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.profile-logo{
  width:58px; height:58px; border-radius:50%; overflow:hidden; flex:0 0 auto;
  background:var(--white); box-shadow:0 0 0 4px var(--white), 0 0 0 6px rgba(201,161,90,.34), var(--shadow-sm);
  animation:logo-float 4800ms ease-in-out infinite;
}
.profile-logo img{ width:100%; height:100%; object-fit:cover; transform:scale(1.18); }
.claimed{
  display:inline-flex; margin:0 0 5px; padding:3px 8px; border-radius:var(--radius-pill);
  background:var(--sage-light); color:var(--sage-dk); font-size:10.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
}
.profile-panel h3{ font-size:21px; margin:0 0 4px; }
.profile-role{ margin:0; font-size:12.5px; color:var(--walnut-dk); font-weight:700; }
.profile-stats{ display:grid; gap:8px; margin:14px 0; }
.profile-stats span{
  display:flex; align-items:center; gap:8px; min-height:34px; border-radius:14px; padding:8px 10px;
  background:rgba(255,255,255,.72); border:1px solid rgba(107,74,53,.1);
  color:var(--ink-soft); font-size:12px; font-weight:800;
}
.profile-stats span::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--sage); box-shadow:0 0 0 3px var(--sage-light); flex:0 0 auto; }
.profile-panel p{ font-size:13px; color:var(--ink-soft); margin-bottom:10px; }
.profile-panel .member-line{ margin-top:2px; color:var(--sage-dk); font-weight:800; }
.profile-panel blockquote{
  margin:14px 0 0; padding:14px 16px; border-left:4px solid var(--brass);
  background:rgba(255,255,255,.68); border-radius:0 var(--radius-md) var(--radius-md) 0;
  color:var(--ink); font-family:var(--font-display); font-size:16px; line-height:1.45;
}
.quote-card::before{ content:"\201C"; font-family:var(--font-display); font-size:52px; color:var(--sage-dk); opacity:.35; position:absolute; top:2px; left:14px; }
.quote-card p{ color:var(--ink-soft); font-style:italic; margin:0 0 8px; padding-left:8px; }
.quote-card cite{ font-style:normal; font-size:12.5px; font-weight:700; color:var(--sage-dk); }

/* ---------------- QUALIFICATIONS — subtle skeuomorphism ---------------- */
.cred-tray{ display:flex; gap:14px; overflow-x:auto; padding:18px 20px 14px; margin:0 -20px; scroll-snap-type:x proximity; }
.cred-frame{
  flex:0 0 auto; width:208px; height:164px; scroll-snap-align:start; perspective:900px;
}
.cred-frame-inner{
  position:relative; width:100%; height:100%; border-radius:var(--radius-md);
  transform-style:preserve-3d; transition:transform 560ms var(--ease-spring);
}
.cred-frame.is-flipped .cred-frame-inner{ transform:rotateY(180deg); }
.cred-face{
  position:absolute; inset:0; border-radius:var(--radius-md); backface-visibility:hidden;
  padding:16px; display:flex; flex-direction:column; justify-content:space-between;
  background:
    linear-gradient(155deg, #fffdf8, #f4ecd9 78%);
  border:1px solid #e6d7ae; box-shadow:0 10px 22px rgba(107,74,53,.14), inset 0 0 0 6px #fffef9;
}
.cred-face::after{ /* mounted-plaque corner accent */
  content:""; position:absolute; top:8px; right:8px; width:10px; height:10px; border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #e9c98a, var(--brass-dk)); box-shadow:0 1px 2px rgba(0,0,0,.3);
}
.cred-face .cred-ic{ color:var(--brass-dk); }
.cred-face h4{ font-size:14.5px; margin:0; }
.cred-face span{ font-size:11.5px; color:var(--text-muted); font-weight:600; }
.cred-back{ transform:rotateY(180deg); background:linear-gradient(155deg,#3a2c1c,#241a10); color:var(--brass-light); border:1px solid #4a3521; }
.cred-back p{ color:var(--brass-light); font-size:12.5px; margin:0; opacity:.9; }
.cred-hint{ font-size:11px; text-align:center; color:var(--text-muted); margin-top:-4px; }

/* ---------------- SERVICES ---------------- */
.services-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:16px; }
.service-card{
  background:var(--surface); border-radius:var(--radius-md); padding:16px 14px;
  box-shadow:var(--shadow-sm); text-align:left; border:none; cursor:pointer;
  transition:transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast);
  display:flex; flex-direction:column; gap:10px; min-height:118px;
}
.service-card:active{ transform:scale(.96); box-shadow:var(--shadow-press); }
.service-ic{
  width:38px; height:38px; border-radius:12px; display:grid; place-items:center;
  background:var(--sage-light); color:var(--sage-dk);
}
.service-card h4{ font-size:14px; margin:0; }
.service-card:nth-child(6n+2) .service-ic{ background:var(--teal-light); color:var(--teal-dk); }
.service-card:nth-child(6n+3) .service-ic{ background:var(--brass-light); color:var(--brass-dk); }
.service-card:nth-child(6n+5) .service-ic{ background:var(--terracotta-light); color:var(--terracotta); }

/* ---------------- STORIES (swipeable) ---------------- */
.stories-track{ display:flex; gap:12px; overflow-x:auto; padding:18px 20px 10px; margin:0 -20px; scroll-snap-type:x mandatory; }
.story-card{
  flex:0 0 84%; scroll-snap-align:center; background:var(--surface); border-radius:var(--radius-lg);
  padding:18px; box-shadow:var(--shadow-md);
}
.story-top{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.avatar-dot{ width:36px; height:36px; border-radius:50%; background:var(--teal-light); color:var(--teal-dk); display:grid; place-items:center; font-weight:700; }
.story-name{ font-weight:700; font-size:13.5px; }
.story-time{ font-size:11.5px; color:var(--text-muted); }
.tag-row{ display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
.tag{ font-size:11px; font-weight:600; background:var(--sage-light); color:var(--sage-dk); padding:4px 9px; border-radius:var(--radius-pill); }
.story-card p{ font-size:13.5px; margin:0; color:var(--ink-soft); }
.dots{ display:flex; gap:6px; justify-content:center; margin-top:6px; }
.dots span{ width:6px; height:6px; border-radius:50%; background:var(--border); transition:background var(--dur-fast), width var(--dur-fast); }
.dots span.active{ background:var(--walnut); width:18px; border-radius:4px; }

/* ---------------- CLINIC / OFFICE ---------------- */
.clinic-photos{ display:flex; gap:12px; overflow-x:auto; padding:16px 20px 8px; margin:0 -20px; }
.clinic-photo{
  flex:0 0 72%; border-radius:var(--radius-lg); overflow:hidden; position:relative; aspect-ratio:4/5; box-shadow:var(--shadow-md);
}
.clinic-photo img{ width:100%; height:100%; object-fit:cover; }
.clinic-info{
  margin-top:14px; background:var(--surface); border-radius:var(--radius-lg); padding:18px; box-shadow:var(--shadow-sm);
}
.info-row{ display:flex; gap:12px; padding:10px 0; border-bottom:1px dashed var(--border); }
.info-row:last-child{ border-bottom:none; }
.info-row .ic{ color:var(--teal-dk); flex:0 0 auto; }
.info-row strong{ display:block; font-size:13.5px; }
.info-row span{ font-size:12.5px; color:var(--text-muted); }
.badge-night{ display:inline-block; margin-top:4px; font-size:11px; font-weight:700; color:var(--brass-dk); background:var(--brass-light); padding:2px 8px; border-radius:var(--radius-pill); }

/* ---------------- PROMO — claymorphism ---------------- */
.promo-wrap{ margin-top:16px; }
.promo-card{
  width:100%; text-align:left; border:none; cursor:pointer; position:relative; overflow:hidden;
  border-radius:var(--radius-lg); padding:20px; color:var(--accent-ink);
  background:linear-gradient(155deg, #F7E7BE, #EAC988 65%, #DCB56E);
  box-shadow:var(--clay-shadow);
  animation:breathe 3600ms ease-in-out infinite;
}
@keyframes breathe{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.015); } }
.promo-card h3{ margin:2px 0 4px; font-size:19px; }
.promo-card p{ color:#5c4520; margin:0; font-size:13px; }
.promo-tap{ position:absolute; right:16px; bottom:16px; font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.promo-ribbon{ position:absolute; top:12px; right:-30px; transform:rotate(35deg); background:var(--terracotta); color:#fff; font-size:10px; font-weight:800; padding:3px 34px; letter-spacing:.06em; }

/* Full-screen promo reveal overlay */
.promo-overlay{
  position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center;
  padding:22px; background:rgba(43,38,32,.42); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  opacity:0; pointer-events:none; transition:opacity var(--dur-med) var(--ease-out);
}
.promo-overlay.is-open{ opacity:1; pointer-events:auto; }
.promo-sheet{
  width:100%; max-width:380px; border-radius:28px; padding:30px 24px; text-align:center; position:relative;
  background:linear-gradient(160deg, #FBF1D8, #F3DFA6); box-shadow:var(--shadow-lg);
  transform:scale(.82); opacity:0; transition:transform 480ms var(--ease-spring), opacity 300ms var(--ease-out);
}
.promo-overlay.is-open .promo-sheet{ transform:scale(1); opacity:1; }
.promo-close{ position:absolute; top:12px; right:12px; width:38px; height:38px; border-radius:50%; border:none; background:rgba(255,255,255,.7); display:grid; place-items:center; }
.promo-sheet .big-badge{ width:64px; height:64px; margin:0 auto 12px; border-radius:50%; background:var(--white); display:grid; place-items:center; color:var(--brass-dk); box-shadow:var(--shadow-sm); }
.promo-sheet h2{ font-size:24px; margin:0 0 6px; }
.promo-code{
  display:inline-flex; align-items:center; gap:8px; background:var(--ink); color:var(--brass-light);
  padding:9px 16px; border-radius:var(--radius-pill); font-weight:800; letter-spacing:.08em; margin:14px 0;
  font-size:14px;
}
.confetti-layer{ position:absolute; inset:0; pointer-events:none; overflow:hidden; border-radius:28px; }
.confetti-piece{ position:absolute; top:-10%; width:8px; height:12px; border-radius:2px; opacity:0; }

/* ---------------- FAQ ---------------- */
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; padding:16px 2px; display:flex;
  align-items:center; justify-content:space-between; font-weight:700; font-size:14.5px; color:var(--ink); cursor:pointer;
}
.faq-q .plus{ transition:transform var(--dur-med) var(--ease-out); color:var(--walnut); flex:0 0 auto; margin-left:12px; }
.faq-item.is-open .faq-q .plus{ transform:rotate(135deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height var(--dur-med) var(--ease-out); }
.faq-a p{ padding:0 2px 16px; font-size:13.5px; margin:0; }

/* ---------------- FOOTER ---------------- */
.footer{ margin-top:56px; padding:34px 20px 26px; background:var(--ink); color:var(--parchment); }
.footer h4{ color:var(--brass-light); font-size:14px; }
.footer p, .footer a{ color:#CFC6B6; font-size:13px; }
.footer a{ text-decoration:none; }

/* ---------------- STICKY BOOK BAR — micro-dose neubrutalism ---------------- */
.bookbar{
  position:fixed; left:0; right:0; bottom:0; z-index:70; height:var(--bookbar-h);
  display:flex; align-items:center; gap:10px; padding:0 14px;
  background:rgba(250,247,240,.9); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-top:1px solid var(--border);
}
.bookbar-info{ flex:1; min-width:0; }
.bookbar-info strong{ display:block; font-size:13px; }
.bookbar-info span{ font-size:11.5px; color:var(--text-muted); }
.bookbar .btn-primary{ padding:12px 20px; font-size:14px; white-space:nowrap; }

/* ---------------- BOOKING SHEET ---------------- */
.sheet-overlay{
  position:fixed; inset:0; z-index:150; background:rgba(43,38,32,.4);
  opacity:0; pointer-events:none; transition:opacity var(--dur-med);
}
.sheet-overlay.is-open{ opacity:1; pointer-events:auto; }
.sheet{
  position:fixed; left:0; right:0; bottom:0; z-index:151; max-height:88vh; overflow-y:auto;
  background:var(--cream); border-radius:24px 24px 0 0; padding:10px 20px 26px; box-shadow:0 -20px 50px rgba(0,0,0,.25);
  transform:translateY(100%); transition:transform 420ms var(--ease-spring);
}
.sheet.is-open{ transform:translateY(0); }
.sheet-handle{ width:40px; height:5px; border-radius:3px; background:var(--border); margin:8px auto 14px; }
.sheet h3{ font-size:19px; }
.tab-row{ display:flex; gap:8px; margin:14px 0; }
.tab-btn{
  flex:1; padding:10px; border-radius:var(--radius-md); border:1px solid var(--border); background:var(--white);
  font-weight:700; font-size:12.5px; text-align:center; cursor:pointer;
}
.tab-btn strong{ display:block; font-size:13.5px; }
.tab-btn small{ display:block; color:var(--sage-dk); font-weight:600; }
.tab-btn.active{ background:var(--ink); color:var(--white); border-color:var(--ink); }
.tab-btn.active small{ color:var(--brass-light); }
.slot-group h5{ font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); margin:16px 0 8px; }
.slot-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.slot-btn{ padding:11px 4px; border-radius:12px; border:1px solid var(--border); background:var(--white); font-weight:700; font-size:13px; cursor:pointer; }
.slot-btn.selected{ background:var(--sage); border-color:var(--sage); color:#fff; }
.sheet-confirm{ width:100%; margin-top:20px; justify-content:center; }
.booking-success{ text-align:center; padding:20px 0; }
.check-circle{ width:64px; height:64px; margin:0 auto 14px; }

/* ---------------- CHATBOT — frosted glass + claymorphism avatar ---------------- */
.chat-launcher{
  position:fixed; right:16px; bottom:calc(var(--bookbar-h) + 16px); z-index:90;
  width:58px; height:58px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(155deg, #93A788, var(--sage-dk));
  box-shadow:var(--clay-shadow); color:#fff; display:grid; place-items:center;
  animation:chat-idle-bounce 5000ms ease-in-out infinite;
}
.chat-launcher.did-open{ animation:none; }
@keyframes chat-idle-bounce{ 0%,92%,100%{ transform:translateY(0);} 95%{ transform:translateY(-9px);} 97%{ transform:translateY(0);} }
.chat-launcher .ping{
  position:absolute; top:-4px; right:-4px; width:16px; height:16px; border-radius:50%;
  background:var(--terracotta); border:2px solid var(--cream);
}
.chat-proactive{
  position:fixed; right:16px; bottom:calc(var(--bookbar-h) + 82px); z-index:89; max-width:230px;
  background:var(--white); border-radius:18px 18px 4px 18px; padding:12px 14px; box-shadow:var(--shadow-md);
  font-size:13px; opacity:0; transform:translateY(10px) scale(.95); pointer-events:none;
  transition:opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-spring);
}
.chat-proactive.is-visible{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }

.chat-panel{
  position:fixed; right:0; left:0; bottom:0; top:auto; z-index:180; height:min(78vh,640px);
  background:rgba(250,247,240,.92); backdrop-filter:blur(20px) saturate(160%); -webkit-backdrop-filter:blur(20px) saturate(160%);
  border-radius:24px 24px 0 0; box-shadow:0 -24px 60px rgba(0,0,0,.28);
  display:flex; flex-direction:column; transform:translateY(105%); transition:transform 460ms var(--ease-spring);
}
.chat-panel.is-open{ transform:translateY(0); }
.chat-head{ display:flex; align-items:center; gap:10px; padding:16px 16px 12px; border-bottom:1px solid var(--border); }
.chat-avatar{ width:38px; height:38px; border-radius:50%; background:linear-gradient(155deg,#93A788,var(--sage-dk)); display:grid; place-items:center; color:#fff; box-shadow:var(--clay-shadow); }
.chat-head-meta strong{ display:block; font-size:14px; }
.chat-head-meta{ min-width:0; }
.chat-head-meta span{ display:block; font-size:11.5px; color:var(--sage-dk); font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lang-toggle{ margin-left:auto; display:flex; gap:4px; background:var(--parchment-dk); border-radius:var(--radius-pill); padding:3px; }
.lang-btn{ border:none; background:none; padding:5px 9px; border-radius:var(--radius-pill); font-size:11.5px; font-weight:700; cursor:pointer; color:var(--text-muted); }
.lang-btn.active{ background:var(--ink); color:#fff; }
.chat-close{ border:none; background:var(--white); width:36px; height:36px; border-radius:50%; display:grid; place-items:center; margin-left:6px; flex:0 0 auto; }
.chat-body{ flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px; }
.msg{ max-width:82%; padding:10px 13px; border-radius:16px; font-size:13.5px; line-height:1.45; }
.msg.bot{ align-self:flex-start; background:var(--white); border-bottom-left-radius:4px; box-shadow:var(--shadow-sm); }
.msg.user{ align-self:flex-end; background:var(--ink); color:var(--cream); border-bottom-right-radius:4px; }
.typing{ align-self:flex-start; display:flex; gap:4px; padding:12px 14px; background:var(--white); border-radius:16px; border-bottom-left-radius:4px; box-shadow:var(--shadow-sm); }
.typing span{ width:6px; height:6px; border-radius:50%; background:var(--sage-dk); opacity:.5; animation:tdot 1000ms infinite; }
.typing span:nth-child(2){ animation-delay:150ms; } .typing span:nth-child(3){ animation-delay:300ms; }
@keyframes tdot{ 0%,60%,100%{ opacity:.35; transform:translateY(0);} 30%{ opacity:1; transform:translateY(-3px);} }
.chip-row{ display:flex; flex-wrap:wrap; gap:8px; padding:0 16px 10px; }
.chip-btn{ border:1px solid var(--border); background:var(--white); padding:8px 13px; border-radius:var(--radius-pill); font-size:12.5px; font-weight:700; color:var(--walnut-dk); cursor:pointer; }
.chip-btn:active{ transform:scale(.95); }
.chat-input-row{ display:flex; gap:8px; padding:12px 16px 16px; border-top:1px solid var(--border); }
.chat-input-row input{ flex:1; border:1px solid var(--border); border-radius:var(--radius-pill); padding:11px 16px; font-size:13.5px; background:var(--white); }
.chat-send{ width:42px; height:42px; border-radius:50%; border:none; background:var(--ink); color:var(--brass-light); display:grid; place-items:center; }

/* ---------------- generic icon sizing ---------------- */
svg.ic{ width:1em; height:1em; }
.i18{ width:18px; height:18px; } .i20{ width:20px; height:20px; } .i22{ width:22px; height:22px; }

@media (max-width:380px){
  .brand-name{ font-size:15px; }
  .brand-name small{ font-size:9.5px; }
  .hero h1{ font-size:31px; }
  .hero-spotlight{ align-items:flex-start; padding-right:66px; }
  .btn{ width:100%; justify-content:center; }
  .bookbar .btn-primary{ width:auto; padding:11px 14px; }
  .lang-toggle{ display:none; }
}

@media (min-width:640px){
  body{ padding-bottom:86px; }
  .container{ max-width:720px; padding:0 28px; }
  .section{ padding-top:70px; }
  .nav{ padding-left:28px; padding-right:28px; }
  .hero{ padding:34px 28px 52px; }
  .hero-copy{ padding:0; }
  .hero h1{ font-size:44px; max-width:11.5em; }
  .hero p.lede{ font-size:17px; }
  .hero-spotlight{ max-width:720px; margin-left:auto; margin-right:auto; }
  .trust-strip,
  .cred-tray,
  .stories-track,
  .clinic-photos{
    margin-left:auto; margin-right:auto; max-width:720px; padding-left:28px; padding-right:28px;
  }
  .story-card{ flex-basis:48%; }
  .clinic-photo{ flex-basis:48%; aspect-ratio:4/3; }
  .profile-stats{ grid-template-columns:repeat(3, minmax(0,1fr)); }
  .sheet{ left:50%; right:auto; width:min(560px, calc(100vw - 32px)); border-radius:24px; bottom:18px; transform:translate(-50%, calc(100% + 30px)); }
  .sheet.is-open{ transform:translate(-50%, 0); }
  .chat-panel{ left:auto; right:24px; bottom:24px; width:390px; height:min(680px, calc(100vh - 48px)); border-radius:24px; }
  .chat-launcher{ right:24px; }
  .chat-proactive{ right:24px; }
}

@media (min-width:900px){
  body{ background:transparent; }
  .page-content{
    min-height:100vh;
    background:transparent;
  }
  .container{ max-width:1120px; padding-left:40px; padding-right:40px; }
  .section{ padding-top:86px; }
  .section-title{ font-size:36px; }
  .nav{ height:76px; padding-left:40px; padding-right:40px; }
  .brand-mark{ width:44px; height:44px; }
  .brand-name{ font-size:19px; }
  .brand-name small{ font-size:11px; }
  .hero{
    min-height:calc(100vh - 76px);
    display:grid; grid-template-columns:minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items:center; gap:42px;
    max-width:1200px; margin:0 auto; padding:54px 40px 42px;
  }
  .hero-glow{ height:620px; inset:-12% -12% auto -12%; }
  .hero h1{ font-size:clamp(52px, 5.2vw, 76px); max-width:10.8em; }
  .hero p.lede{ max-width:48ch; font-size:19px; }
  .hero-spotlight{ margin:0; padding:34px 30px; min-height:250px; max-width:none; align-self:center; }
  .hero-logo-badge{ width:58px; height:58px; top:18px; right:20px; }
  .hero-portrait{ width:150px; height:150px; border-radius:34px; }
  .hero-spotlight-copy{ padding-right:38px; }
  .hero-spotlight-copy strong{ font-size:26px; }
  .hero-spotlight-copy span{ font-size:15px; }
  .hero-spotlight-copy p{ font-size:15px; }
  .trust-strip{
    grid-column:1 / -1; max-width:none; width:100%; padding:2px 0 0; margin:0;
    display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); overflow:visible;
  }
  .trust-chip{ justify-content:center; white-space:normal; text-align:center; min-height:54px; }
  .about-card,
  .quote-card,
  .profile-panel,
  .clinic-info,
  .promo-card{ border-radius:18px; }
  .profile-panel{ padding:28px; }
  .profile-head{ align-items:flex-start; gap:20px; }
  .profile-logo{ width:78px; height:78px; }
  .profile-panel h3{ font-size:30px; }
  .profile-role{ font-size:14px; }
  .profile-panel p{ font-size:15px; }
  .profile-panel blockquote{ font-size:20px; }
  .cred-tray{
    max-width:1120px; display:grid; grid-template-columns:repeat(4, minmax(0,1fr));
    overflow:visible; gap:18px; padding:24px 40px 12px; margin:0 auto;
  }
  .cred-frame{ width:auto; height:188px; }
  .cred-hint{ display:none; }
  .services-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; }
  .service-card{ min-height:142px; padding:22px; }
  .service-card h4{ font-size:17px; }
  .stories-track{
    max-width:1120px; display:grid; grid-template-columns:repeat(4, minmax(0,1fr));
    overflow:visible; gap:16px; padding:24px 40px 0; margin:0 auto;
  }
  .story-card{ flex-basis:auto; min-width:0; }
  .dots{ display:none; }
  .clinic-photos{
    max-width:1120px; display:grid; grid-template-columns:1.2fr .8fr;
    overflow:visible; gap:18px; padding:24px 40px 10px; margin:0 auto;
  }
  .clinic-photo{ aspect-ratio:16/10; min-width:0; }
  .clinic-photo:nth-child(2){ aspect-ratio:5/6; }
  .clinic-info{ display:grid; grid-template-columns:1.2fr 1fr .8fr; gap:8px; padding:22px; }
  .info-row{ border-bottom:0; border-right:1px dashed var(--border); padding:8px 14px 8px 0; }
  .info-row:last-child{ border-right:0; }
  .promo-wrap{ max-width:760px; margin:18px auto 0; }
  .promo-card{ padding:28px 32px; }
  .promo-card h3{ font-size:28px; padding-right:96px; }
  .promo-card p{ font-size:15px; }
  .footer{ padding:42px 40px 34px; }
  .footer > *{ max-width:1120px; margin-left:auto; margin-right:auto; }
  .bookbar{ left:50%; right:auto; bottom:18px; width:min(760px, calc(100vw - 48px)); height:72px; border:1px solid var(--border); border-radius:999px; padding:0 12px 0 24px; transform:translateX(-50%); box-shadow:var(--shadow-md); }
  .bookbar-info strong{ font-size:15px; }
  .bookbar-info span{ font-size:12.5px; }
  .bookbar .btn-primary{ padding:13px 24px; }
}

@media (min-width:1180px){
  .hero{ grid-template-columns:minmax(0, 1fr) 460px; }
}
