/* =========================================================
   TRUE HEAL — Physiotherapy & Chiropractic Center
   Design tokens
   Ink #1B1D1A · Paper #F7F5F0 · Sage #4F7A5B
   Ember #E8631F (logo orange, CTA only) · Stone #6B6A64
   Display: Space Grotesk · Body: Inter
   ========================================================= */

:root{
  --ink: #1b1d1a;
  --ink-soft: #262924;
  --paper: #f7f5f0;
  --paper-dim: #efece4;
  --sage: #4f7a5b;
  --sage-light: #e7efe6;
  --sage-dark: #33513c;
  --ember: #e8631f;
  --ember-dark: #c9500f;
  --stone: #6b6a64;
  --charcoal: #232420;
  --white: #ffffff;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;

  --shadow-soft: 0 12px 30px rgba(20,20,15,0.08);
  --shadow-lift: 0 20px 45px rgba(20,20,15,0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  color: var(--ink);
}
p{ margin: 0 0 1em; color: var(--stone); }
.container{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section{ padding: 100px 0; position: relative; }
@media (max-width: 720px){ section{ padding: 64px 0; } }

.bg-paper{ background: var(--paper); }
.bg-dim{ background: var(--paper-dim); }
.bg-ink{ background: var(--ink); color: var(--paper); }
.bg-ink p{ color: rgba(247,245,240,0.7); }
.bg-ink h2, .bg-ink h3, .bg-ink h4{ color: var(--paper); }
.bg-sage{ background: var(--sage-dark); color: var(--paper); }
.bg-sage p{ color: rgba(247,245,240,0.75); }
.bg-sage h2, .bg-sage h3{ color: var(--paper); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.eyebrow::before{
  content:"";
  width: 22px;
  height: 2px;
  background: var(--ember);
  display:inline-block;
}
.bg-ink .eyebrow, .bg-sage .eyebrow{ color: #a9c9b3; }

.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 42px); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor:pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--ember);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(232,99,31,0.28);
}
.btn-primary:hover{
  background: var(--ember-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 32px rgba(232,99,31,0.36);
}
.btn-outline{
  background: transparent;
  border-color: rgba(27,29,26,0.25);
  color: var(--ink);
}
.btn-outline:hover{
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.bg-ink .btn-outline, .hero .btn-outline{ border-color: rgba(247,245,240,0.4); color: var(--paper); }
.bg-ink .btn-outline:hover, .hero .btn-outline:hover{ background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-sm{ padding: 10px 20px; font-size: 13.5px; }

/* =========================================================
   HEADER — floating rounded bar
   ========================================================= */
.site-header{
  position: fixed;
  top: 18px; left: 18px; right: 18px;
  z-index: 500;
  transition: top .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header .container{
  max-width: 1240px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  background: var(--white);
  border-radius: 100px;
  padding: 12px 14px 12px 26px;
  box-shadow: 0 12px 34px rgba(20,20,15,0.14);
}
.site-header.scrolled{ top: 10px; }
.site-header.scrolled .container{ box-shadow: 0 16px 40px rgba(20,20,15,0.2); }
.logo img{ height: 42px; width:auto; border-radius: 8px; transition: height .35s var(--ease); }
.site-header.scrolled .logo img{ height: 36px; }

.main-nav{ display:flex; align-items:center; gap: 30px; }
.main-nav a{
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.main-nav a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:2px;
  background: var(--ember);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after{ width:100%; }
.main-nav a:hover{ color: var(--ember); }

.header-actions{ display:flex; align-items:center; gap:16px; }
.header-phone{
  display:flex; align-items:center; gap:8px;
  font-size: 14px; font-weight:600;
  color: var(--ink);
}

.nav-toggle{
  display:none;
  width: 42px; height:42px;
  border-radius: 50%;
  border: 1.5px solid rgba(27,29,26,0.2);
  background: transparent;
  align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:"";
  display:block;
  width: 18px; height:2px;
  background: var(--ink);
  position:relative;
  transition: all .25s;
}
.nav-toggle span::before{ content:""; position:absolute; top:-6px; left:0; }
.nav-toggle span::after{ content:""; position:absolute; top:6px; left:0; }

/* Mobile nav social icons — hidden on desktop, shown inside the flyout menu */
.mobile-nav-socials{ display:none; }

@media (max-width: 900px){
  .main-nav{
    position: fixed;
    top:0; right:0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 600;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav a{ color: var(--paper) !important; font-size: 18px; }
  .header-phone{ display:none; }
  .nav-toggle{ display:flex; }
  .mobile-nav-socials{
    display:flex;
    gap: 12px;
    margin-top: 12px;
  }
  .mobile-nav-socials a{
    width:42px; height:42px; border-radius:50%;
    border: 1px solid rgba(247,245,240,0.25);
    display:flex; align-items:center; justify-content:center;
    color: var(--paper);
    transition: background .25s, border-color .25s, transform .25s;
  }
  .mobile-nav-socials a::after{ display:none; }
  .mobile-nav-socials a:hover{ background: var(--ember); border-color: var(--ember); color: var(--paper); transform: translateY(-2px); }
  .mobile-nav-socials svg{ width:18px; height:18px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  padding-top: 150px;
  padding-bottom: 90px;
  background: var(--ink);
  overflow: hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items:center;
  position:relative; z-index:2;
}
.hero-image-card{
  position: relative;
  width: 100%;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lift);
  background: var(--ink-soft);
  opacity:0;
  animation: fadeUp .9s var(--ease) .3s forwards;
}
.hero-image{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 16s ease-in-out infinite alternate;
}
@keyframes heroZoom{
  from{ transform: scale(1); }
  to{ transform: scale(1.08); }
}
.hero-image-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(19,20,17,0.05) 0%, rgba(19,20,17,0.5) 100%);
}
.hero-float-badge{
  position:absolute;
  display:flex; align-items:center; gap:10px;
  background: var(--white);
  padding: 12px 18px 12px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow-lift);
  z-index:3;
}
.hero-float-badge .hb-icon{
  width:38px; height:38px; border-radius:50%; flex:none;
  background: var(--sage-light); color: var(--sage-dark);
  display:flex; align-items:center; justify-content:center;
}
.hero-float-badge .hb-icon svg{ width:18px; height:18px; }
.hero-float-badge strong{ display:block; font-family: var(--font-display); font-size:15px; color: var(--ink); line-height:1.2; }
.hero-float-badge span{ display:block; font-size:11px; color: var(--stone); }
.hero-float-badge-1{ top: 22px; right: 22px; opacity:0; animation: floatBadge 4.5s ease-in-out infinite, badgeIn .7s var(--ease) 1.3s forwards; }
.hero-float-badge-2{ bottom: 22px; left: 22px; opacity:0; animation: floatBadge 4.5s ease-in-out 1.2s infinite, badgeIn .7s var(--ease) 1.55s forwards; }
@keyframes floatBadge{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}
@keyframes badgeIn{
  from{ opacity:0; transform: translateY(14px) scale(.9); }
  to{ opacity:1; transform:none; }
}

.hero-copy-left{ max-width: 560px; }
.hero-eyebrow{
  color:#a9c9b3;
  font-size: 13px; font-weight:700; letter-spacing: 3px; text-transform:uppercase;
  margin-bottom: 22px;
  opacity:0; transform: translateY(16px);
  animation: fadeUp .7s var(--ease) .1s forwards;
}
.hero h1{
  color: var(--paper);
  font-size: clamp(34px, 4.4vw, 56px);
  margin-bottom: 24px;
  line-height: 1.08;
}
.hero h1 .line{
  display:block;
  overflow:hidden;
}
.hero h1 .line span, .hero h1 .line{ }
.hero h1 .line{
  opacity:0;
  transform: translateY(100%);
  animation: lineIn .7s var(--ease) forwards;
}
.hero h1 .line-1{ animation-delay: .15s; }
.hero h1 .line-2{ animation-delay: .35s; }
.hero h1 .line-3{ animation-delay: .55s; }
@keyframes lineIn{
  to{ opacity:1; transform: translateY(0); }
}
.hero h1 em{
  font-style: normal;
  color: var(--ember);
}
.hero p.lead{
  color: rgba(247,245,240,0.78);
  font-size: 17px;
  max-width: 500px;
  margin-bottom: 34px;
  opacity:0; transform: translateY(20px);
  animation: fadeUp .7s var(--ease) .75s forwards;
}
.hero-actions{
  display:flex; gap:16px; flex-wrap:wrap;
  opacity:0; transform: translateY(20px);
  animation: fadeUp .7s var(--ease) .9s forwards;
}
@keyframes fadeUp{ to{ opacity:1; transform:none; } }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; gap: 32px; }
  .hero-copy-left{ max-width: 100%; order: 1; }
  .hero-image-card{ order: 2; aspect-ratio: 16/9; border-radius: var(--radius-m); }
  .hero-float-badge{ padding: 9px 14px 9px 9px; }
  .hero-float-badge strong{ font-size:13px; }
  .hero-float-badge span{ font-size:10px; }
}
@media (max-width: 640px){
  .hero{ padding-top: 110px; padding-bottom: 56px; }
  .hero-image-card{ aspect-ratio: 16 / 9; }
  .hero h1{ font-size: clamp(30px, 8.5vw, 42px); }
  .hero-float-badge .hb-icon{ width:32px; height:32px; }
  .hero-float-badge .hb-icon svg{ width:15px; height:15px; }
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip{
  padding: 0;
  transform: translateY(-46px);
  margin-bottom: -46px;
  position: relative; z-index: 5;
}
.trust-grid{
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
  display:grid;
  grid-template-columns: repeat(4,1fr);
  padding: 12px;
}
.trust-item{
  display:flex; align-items:center; gap:14px;
  padding: 22px 20px;
  border-radius: var(--radius-m);
  transition: background .3s var(--ease);
}
.trust-item:hover{ background: var(--sage-light); }
.trust-icon{
  width:46px; height:46px; flex:none;
  border-radius: 50%;
  background: var(--sage-light);
  display:flex; align-items:center; justify-content:center;
  color: var(--sage-dark);
}
.trust-icon svg{ width:22px; height:22px; }
.trust-item h4{ font-size:14.5px; margin-bottom:2px; }
.trust-item span{ font-size: 12.5px; color: var(--stone); }

@media (max-width: 900px){
  .trust-grid{ grid-template-columns: repeat(2,1fr); padding: 8px; }
  .trust-strip{ transform: translateY(-24px); margin-bottom: -24px; }
  .trust-item{ flex-direction: column; align-items:flex-start; gap:10px; padding: 16px 14px; }
  .trust-item span{ display:block; }
}

/* =========================================================
   ABOUT / CLINIC
   ========================================================= */
.about-section{ padding-top: 150px; }
.about-grid{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items:center;
}
.about-collage{
  position:relative;
  height: 460px;
}
.about-video-full{
  position:absolute; inset:0;
  border-radius: var(--radius-l);
}
.about-video-wrap{
  overflow:hidden;
  box-shadow: var(--shadow-soft);
  background: var(--ink-soft);
}
.about-video-wrap .about-video{
  width:100%; height:100%; object-fit:cover; display:block;
}
.about-video-badge{
  position:absolute; left:20px; bottom:20px; z-index:2;
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(19,20,17,0.65);
  backdrop-filter: blur(6px);
  color: var(--paper);
  padding: 9px 16px 9px 11px;
  border-radius: 100px;
  font-size: 13px; font-weight:600;
}
.about-video-badge svg{ width:17px; height:17px; color: var(--ember); }
.about-collage .img-c{
  width: 92px; height:92px; border-radius:50%;
  bottom: -20px; right: 24px;
  position:absolute;
  background: var(--sage);
  display:flex; align-items:center; justify-content:center;
  z-index:4; box-shadow: var(--shadow-lift);
  color:var(--paper); text-align:center; padding: 8px;
  animation: floatBadge 4s ease-in-out infinite;
}
.about-collage .img-c strong{ display:block; font-size:22px; font-family: var(--font-display); }
.about-collage .img-c span{ display:block; font-size:10px; letter-spacing:1px; text-transform:uppercase; }
@keyframes floatBadge{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.about-copy .checklist{ margin: 24px 0 32px; display:grid; gap:12px; }
.about-copy .checklist li{
  display:flex; align-items:flex-start; gap:12px;
  font-size: 15px; color: var(--charcoal); font-weight:500;
}
.about-copy .checklist svg{ flex:none; width:20px; height:20px; color: var(--sage); margin-top:2px; }

/* reveal-on-scroll targets */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform:none; }
.reveal-stagger.in > *:nth-child(1){ transition-delay: .0s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay: .4s; }

@media (max-width: 900px){
  .about-grid{ grid-template-columns:1fr; }
  .about-collage{ height: 360px; margin-bottom: 12px; }
}

/* =========================================================
   CONDITIONS
   ========================================================= */
.conditions-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cc-card{
  position:relative;
  border-radius: var(--radius-m);
  overflow:hidden;
  aspect-ratio: 4 / 3.1;
  box-shadow: var(--shadow-soft);
  cursor:pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cc-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.cc-card img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  transition: transform .6s var(--ease);
}
.cc-card:hover img{ transform: scale(1.1); }
.cc-card::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(19,20,17,0.88) 0%, rgba(19,20,17,0.05) 42%, rgba(19,20,17,0) 65%);
  z-index:1;
}
.cc-corner{
  position:absolute; left:0; bottom:0;
  width: 0; height:0;
  border-style: solid;
  border-width: 0 0 64px 74px;
  border-color: transparent transparent var(--ember) transparent;
  z-index:2;
  transition: border-color .35s var(--ease);
}
.cc-card:hover .cc-corner{ border-color: transparent transparent #8a8a85 transparent; }
.cc-title{
  position:absolute; left:0; right:0; bottom:0;
  z-index:3;
  padding: 13px 16px 13px 20px;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .3px;
}

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

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card{
  position:relative;
  border-radius: var(--radius-m);
  overflow:hidden;
  height: 360px;
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.service-card img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  transition: transform .6s var(--ease);
}
.service-card:hover img{ transform: scale(1.08); }
.service-card::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(19,20,17,0.92) 10%, rgba(19,20,17,0.15) 60%, rgba(19,20,17,0) 100%);
}
.service-card-body{
  position:absolute; left:0; right:0; bottom:0;
  padding: 26px 24px;
  z-index:2;
}
.service-num{
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--sage-light);
  letter-spacing:2px;
  margin-bottom:8px;
  display:block;
}
.service-card-body h3{ color:var(--paper); font-size: 21px; margin-bottom:8px; }
.service-card-body p{
  color: rgba(247,245,240,0.75);
  font-size: 13.5px;
  max-height:0; opacity:0; margin:0;
  overflow:hidden;
  transition: max-height .4s var(--ease), opacity .4s var(--ease), margin .4s var(--ease);
}
.service-card:hover .service-card-body p{ max-height:80px; opacity:1; margin-top:8px; }

@media (max-width: 900px){ .services-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 600px){ .services-grid{ grid-template-columns:1fr; } }

/* =========================================================
   PROCESS TIMELINE (signature)
   ========================================================= */
.process-wrap{ position:relative; }
.process-track{
  position:relative;
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
  padding-top: 30px;
}
.process-line{
  position:absolute;
  top: 130px; left: 6%; right:6%;
  height:2px;
  background: rgba(247,245,240,0.15);
  z-index:0;
}
.process-line-fill{
  position:absolute; top:0; left:0;
  height:100%; width:0%;
  background: var(--ember);
  transition: width 1.4s var(--ease);
}
.process-step{ position:relative; z-index:1; text-align:center; }
.process-img{
  width: 92px; height: 92px;
  margin: 0 auto 16px;
  border-radius: 50% 50% 50% 10%;
  overflow:hidden;
  border: 3px solid rgba(247,245,240,0.15);
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.process-img img{ width:100%; height:100%; object-fit:cover; }
.process-step.active .process-img{ border-color: var(--ember); transform: scale(1.05); }
.process-dot{
  width: 44px; height:44px;
  border-radius:50%;
  background: var(--ink-soft);
  border: 2px solid rgba(247,245,240,0.2);
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 20px;
  font-family: var(--font-display); font-weight:600; font-size:14px;
  color: rgba(247,245,240,0.5);
  transition: all .5s var(--ease);
}
.process-step.active .process-dot{
  background: var(--ember);
  border-color: var(--ember);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(232,99,31,0.15);
}
.process-step h4{ color: var(--paper); font-size:16px; margin-bottom:8px; }
.process-step p{ font-size:13.5px; color: rgba(247,245,240,0.6); max-width:220px; margin:0 auto; }

@media (max-width: 900px){
  .process-track{ grid-template-columns:1fr; gap:36px; }
  .process-line{ display:none; }
}

/* =========================================================
   DOCTORS
   ========================================================= */
.doctors-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.doctor-card{
  background: var(--white);
  border-radius: var(--radius-m);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
  display:flex;
  flex-direction:column;
  height: 100%;
}
.doctor-card:hover{ box-shadow: var(--shadow-lift); transform: translateY(-6px); }
.doctor-photo{
  position:relative; overflow:hidden;
  background: var(--sage-light);
  width: 100%;
  aspect-ratio: 3 / 4;
  flex: none;
}
.doctor-photo img{
  width:100%; height:100%; object-fit:cover;
  object-position: center 20%;
  transition: transform .6s var(--ease);
}
.doctor-card:hover .doctor-photo img{ transform: scale(1.06); }
.doctor-body{ padding: 26px 24px 30px; display:flex; flex-direction:column; flex:1; }
.doctor-body .role{
  color: var(--ember); font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; margin-bottom:6px; display:block;
}
.doctor-body h3{ font-size:19px; margin-bottom:10px; }
.doctor-body p{ font-size: 13.5px; margin-bottom:0; line-height:1.7; }

@media (max-width: 720px){
  .doctors-grid{ grid-template-columns:1fr; }
  .doctor-photo{ aspect-ratio: 3 / 4; }
  .doctor-photo img{ object-position: center 15%; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats-grid{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  text-align:center;
}
.stat-num{
  font-family: var(--font-display);
  font-size: clamp(34px,4vw,52px);
  font-weight:700;
  color: var(--paper);
  display:flex; justify-content:center; align-items:baseline; gap:2px;
}
.stat-item span.label{
  display:block; margin-top:8px;
  font-size:13px; letter-spacing:.5px; color: rgba(247,245,240,0.65);
}
@media (max-width: 720px){ .stats-grid{ grid-template-columns: repeat(2,1fr); gap: 34px 20px; } }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-wrap{ position:relative; max-width: 760px; margin: 0 auto; }
.testi-track{ overflow:hidden; }
.testi-slides{
  display:flex;
  transition: transform .6s var(--ease);
}
.testi-slide{
  flex: 0 0 100%;
  padding: 8px;
}
.testi-card{
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  text-align:center;
}
.testi-stars{ display:flex; justify-content:center; gap:4px; margin-bottom:18px; }
.testi-stars svg{ width:18px; height:18px; color: var(--ember); }
.testi-card p{ font-size:16.5px; color: var(--charcoal); font-style: italic; margin-bottom: 22px; }
.testi-name{ font-family: var(--font-display); font-weight:600; font-size:15px; }
.testi-meta{ font-size:12.5px; color: var(--stone); }
.testi-nav{ display:flex; justify-content:center; gap:14px; margin-top: 28px; }
.testi-dot{
  width:9px; height:9px; border-radius:50%;
  background: rgba(27,29,26,0.18);
  cursor:pointer; border:none; padding:0;
  transition: background .3s, transform .3s;
}
.testi-dot.active{ background: var(--ember); transform: scale(1.3); }

/* =========================================================
   GALLERY + LIGHTBOX
   ========================================================= */
.gallery-item{
  position:relative;
  border-radius: var(--radius-m);
  overflow:hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-soft);
  flex: none;
}
.gallery-item.span-2{ grid-column: span 2; }
.gallery-item img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s var(--ease);
}
.gallery-item::after{
  content:"";
  position:absolute; inset:0;
  background: rgba(27,29,26,0);
  transition: background .35s var(--ease);
}
.gallery-item:hover::after{ background: rgba(27,29,26,0.18); }
.gallery-item:hover img{ transform: scale(1.08); }

/* Auto-scrolling marquee rows */
.marquee-wrap{ display:flex; flex-direction:column; gap:20px; }
.marquee-row{
  overflow:hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-row .marquee-track{
  display:flex;
  gap: 20px;
  width: max-content;
}
.marquee-row{ display:flex; gap:20px; }
.marquee-row .gallery-item{ width: 320px; height: 230px; }
.marquee-left .marquee-track{ animation: marqueeLeft 34s linear infinite; }
.marquee-right .marquee-track{ animation: marqueeRight 34s linear infinite; }
.marquee-row:hover .marquee-track{ animation-play-state: paused; }
@keyframes marqueeLeft{ from{ transform: translateX(0); } to{ transform: translateX(-100%); } }
@keyframes marqueeRight{ from{ transform: translateX(-100%); } to{ transform: translateX(0); } }

@media (max-width: 720px){
  .marquee-row .gallery-item{ width: 220px; height: 170px; }
}

.lightbox{
  position: fixed; inset:0;
  background: rgba(15,16,14,0.94);
  z-index: 1000;
  display:none;
  align-items:center; justify-content:center;
  opacity:0;
  transition: opacity .3s var(--ease);
}
.lightbox.open{ display:flex; opacity:1; }
.lightbox img{
  max-width: 84vw; max-height: 82vh;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-lift);
  transform: scale(.96);
  transition: transform .3s var(--ease);
}
.lightbox.open img{ transform: scale(1); }
.lightbox-close{
  position:absolute; top: 24px; right: 28px;
  width:46px; height:46px; border-radius:50%;
  background: rgba(247,245,240,0.1);
  border:none; color: var(--paper);
  font-size: 26px; line-height:1; cursor:pointer;
  transition: background .25s;
}
.lightbox-close:hover{ background: var(--ember); }
.lightbox-arrow{
  position:absolute; top:50%; transform: translateY(-50%);
  width:50px; height:50px; border-radius:50%;
  background: rgba(247,245,240,0.1);
  border:none; color: var(--paper);
  font-size:16px; cursor:pointer;
  transition: background .25s;
}
.lightbox-arrow:hover{ background: var(--ember); }
.lightbox-arrow.prev{ left: 24px; }
.lightbox-arrow.next{ right: 24px; }
@media (max-width: 720px){
  .lightbox-arrow{ width:40px; height:40px; }
  .lightbox-arrow.prev{ left:10px; } .lightbox-arrow.next{ right:10px; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-layout{
  display:grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items:start;
}
.faq-list{ display:grid; gap:14px; }
.faq-item{
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}
.faq-q{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px;
  padding: 20px 24px;
  background:none; border:none;
  text-align:left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--charcoal);
  cursor:pointer;
}
.faq-icon{
  flex:none;
  width: 26px; height:26px; border-radius:50%;
  background: var(--sage-light); color: var(--sage-dark);
  display:flex; align-items:center; justify-content:center;
  font-size: 16px;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.faq-item.open .faq-icon{ background: var(--ember); color:var(--white); transform: rotate(45deg); }
.faq-a{
  max-height:0; overflow:hidden;
  transition: max-height .4s var(--ease);
}
.faq-a p{ padding: 0 24px 22px; margin:0; font-size:14.5px; }
.faq-item.open .faq-a{ max-height: 220px; }

@media (max-width: 900px){ .faq-layout{ grid-template-columns:1fr; } }

/* =========================================================
   LOCATION
   ========================================================= */
.location-card{
  display:grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-l);
  overflow:hidden;
  box-shadow: var(--shadow-lift);
}
.location-photo{ position:relative; min-height: 380px; }
.location-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.location-panel{
  background: var(--ink);
  color: var(--paper);
  padding: 46px 44px;
  display:flex; flex-direction:column; justify-content:center;
}
.loc-rating{ display:flex; align-items:center; gap:10px; margin-bottom:16px; flex-wrap:wrap; }
.loc-score{ font-family: var(--font-display); font-weight:700; font-size:20px; }
.loc-stars{ color: #f2b632; letter-spacing:1px; }
.loc-count{ font-size:12.5px; color: rgba(247,245,240,0.55); }
.location-panel h3{ color: var(--paper); font-size: 24px; margin-bottom: 22px; }
.loc-info{ display:grid; gap:16px; margin-bottom: 28px; }
.loc-info li{ display:flex; gap:14px; align-items:flex-start; font-size: 14px; color: rgba(247,245,240,0.75); }
.li-icon{
  flex:none; width:36px; height:36px; border-radius:50%;
  background: rgba(247,245,240,0.08);
  display:flex; align-items:center; justify-content:center;
  color: var(--sage-light);
}
.li-icon svg{ width:16px; height:16px; }
.loc-actions{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.loc-social{ display:flex; gap:10px; }
.loc-social a{
  width:38px; height:38px; border-radius:50%;
  border: 1px solid rgba(247,245,240,0.2);
  display:flex; align-items:center; justify-content:center;
  transition: background .3s, border-color .3s, transform .3s;
}
.loc-social a:hover{ background: var(--ember); border-color: var(--ember); transform: translateY(-3px); }
.loc-social svg{ width:16px; height:16px; }

@media (max-width: 900px){
  .location-card{ grid-template-columns:1fr; }
  .location-photo{ min-height: 260px; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}
.contact-card{
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-l);
  padding: 44px 38px;
}
.contact-card h3{ color: var(--paper); }
.contact-list{ display:grid; gap:22px; margin-top: 26px; }
.contact-list li{ display:flex; gap:16px; align-items:flex-start; }
.contact-list .ci-icon{
  width:42px; height:42px; flex:none; border-radius:50%;
  background: rgba(247,245,240,0.08);
  display:flex; align-items:center; justify-content:center;
  color: var(--sage-light);
}
.contact-list .ci-icon svg{ width:19px; height:19px; }
.contact-list strong{ display:block; font-size:14px; color: var(--paper); }
.contact-list span, .contact-list a{ font-size:13.5px; color: rgba(247,245,240,0.65); }

.form-card{
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 44px 38px;
  box-shadow: var(--shadow-soft);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom: 18px; }
.field label{ display:block; font-size:12.5px; font-weight:600; margin-bottom:7px; color: var(--charcoal); letter-spacing:.3px; }
.field input, .field select, .field textarea{
  width:100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(27,29,26,0.14);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--charcoal);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea{ resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(79,122,91,0.14);
}
.form-note{ font-size: 12.5px; color: var(--stone); margin-top: 14px; }
.form-success{
  display:none;
  align-items:center; gap:10px;
  background: var(--sage-light); color: var(--sage-dark);
  padding: 14px 18px; border-radius: 10px;
  font-size:13.5px; font-weight:600; margin-top:16px;
}
.form-success.show{ display:flex; }

@media (max-width: 900px){
  .contact-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--ink); color: rgba(247,245,240,0.7); padding-top: 80px; }
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(247,245,240,0.1);
}
.footer-logo img{ height:44px; margin-bottom:18px; border-radius: 8px; }
.footer-grid p{ font-size: 13.5px; color: rgba(247,245,240,0.55); }
.footer-social{ display:flex; gap:12px; margin-top: 18px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%;
  border: 1px solid rgba(247,245,240,0.2);
  display:flex; align-items:center; justify-content:center;
  transition: background .3s, border-color .3s, transform .3s;
}
.footer-social a:hover{ background: var(--ember); border-color: var(--ember); transform: translateY(-3px); }
.footer-social svg{ width:16px; height:16px; }
.footer-col h5{
  color: var(--paper); font-family: var(--font-display);
  font-size:14px; letter-spacing:1px; text-transform:uppercase; margin-bottom: 20px;
}
.footer-col ul{ display:grid; gap:12px; }
.footer-col a{ font-size:13.5px; color: rgba(247,245,240,0.6); transition:color .25s; }
.footer-col a:hover{ color: var(--ember); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding: 26px 0; font-size:12.5px; color: rgba(247,245,240,0.4);
  flex-wrap:wrap; gap:10px;
}

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

/* =========================================================
   FLOATING WIDGET
   ========================================================= */
.fixed-book-btn{
  position: fixed;
  right: 92px; bottom: 22px;
  z-index: 699;
  display:flex; align-items:center; gap:10px;
}
.fixed-book-icon{
  width:58px; height:58px; border-radius:50%; flex:none;
  background: var(--sage);
  color: var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lift);
  transition: transform .3s var(--ease), background .3s;
}
.fixed-book-icon svg{ width:24px; height:24px; }
.fixed-book-btn:hover .fixed-book-icon{ background: var(--sage-dark); transform: scale(1.06); }
.fixed-book-tooltip{
  background: var(--white);
  color: var(--ink);
  font-size: 14px; font-weight:600;
  padding: 11px 18px;
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
  animation: tooltipFloat 3.5s ease-in-out infinite;
}
@keyframes tooltipFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}

.float-stack{
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 700;
  display:flex; flex-direction:column; align-items:flex-end; gap:12px;
}
.float-menu{
  display:flex; flex-direction:column; gap:10px;
  margin-bottom: 4px;
  opacity:0; transform: translateY(12px) scale(.95);
  pointer-events:none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.float-menu.open{ opacity:1; transform:none; pointer-events:all; }
.float-menu a{
  display:flex; align-items:center; gap:10px;
  background: var(--white);
  padding: 10px 16px 10px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
  font-size: 13px; font-weight:600; color: var(--charcoal);
  transition: transform .25s, box-shadow .25s;
}
.float-menu a:hover{ transform: translateX(-4px); box-shadow: var(--shadow-lift); }
.float-menu a .fi{
  width:30px; height:30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--white);
}
.float-menu a .fi svg{ width:15px; height:15px; }
.fi-whatsapp{ background:#25D366; }
.fi-call{ background: var(--ember); }
.fi-book{ background: var(--sage); }
.fi-facebook{ background:#1877F2; }
.fi-instagram{ background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.float-toggle{
  width: 58px; height:58px; border-radius:50%;
  background: var(--ember);
  color: var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lift);
  cursor:pointer; border:none;
  transition: transform .3s var(--ease), background .3s;
  position:relative;
}
.float-toggle:hover{ background: var(--ember-dark); transform: scale(1.06); }
.float-toggle svg{ width:24px; height:24px; transition: transform .3s var(--ease); }
.float-toggle.open svg{ transform: rotate(45deg); }
.float-toggle .pulse{
  position:absolute; inset:-4px;
  border-radius:50%;
  border: 2px solid rgba(232,99,31,0.6);
  opacity:.6;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse{
  0%{ transform:scale(.9); opacity:.6; }
  100%{ transform:scale(1.35); opacity:0; }
}

/* back to top hides pulse ring once opened doesn't matter */

@media (max-width: 720px){
  .float-stack{ right:16px; bottom:16px; }
  .fixed-book-btn{ right: 76px; bottom: 16px; gap:8px; }
  .fixed-book-icon{ width:48px; height:48px; }
  .fixed-book-icon svg{ width:20px; height:20px; }
  .fixed-book-tooltip{ font-size:12.5px; padding:9px 14px; }
}
@media (max-width: 380px){
  .fixed-book-tooltip{ display:none; }
}

/* =========================================================
   Misc utility
   ========================================================= */
.center-btn-row{ display:flex; gap:16px; flex-wrap:wrap; }
.badge-pill{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--sage-light); color: var(--sage-dark);
  padding:7px 16px; border-radius:100px;
  font-size:12.5px; font-weight:700;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top{
  position: fixed;
  left: 22px; bottom: 22px;
  width: 46px; height:46px;
  border-radius:50%;
  background: var(--white);
  border: 1px solid rgba(27,29,26,0.1);
  color: var(--ink);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-soft);
  cursor:pointer;
  z-index: 650;
  opacity:0; visibility:hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s, color .25s;
}
.back-to-top.show{ opacity:1; visibility:visible; transform:none; }
.back-to-top:hover{ background: var(--ember); color:var(--white); }
.back-to-top svg{ width:18px; height:18px; }
@media (max-width: 720px){ .back-to-top{ left:16px; bottom:16px; width:42px; height:42px; } }

/* Magnetic buttons (JS adds transform via inline style) */
.btn-primary, .btn-outline{ will-change: transform; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior:auto !important; }
}
