/* =========================================================
   Dr. Sunil Raviraj Kothakota — Gastroenterology Clinic
   Stylesheet
   ========================================================= */

:root{
  /* Color tokens */
  --teal-900:#0a3733;
  --teal-800:#0d4a44;
  --teal-700:#0f6e63;
  --teal-600:#128075;
  --teal-500:#16988a;
  --teal-100:#e6f6f3;
  --teal-50:#f2fbf9;
  --teal-text:#0a5148;   /* darker, AA-safe teal for text/icons on light backgrounds */
  --ink:#111111;
  --ink-soft:#111111;
  --muted:#111111;
  --line:#dcece9;
  --white:#ffffff;
  --amber:#c98a1f;
  --danger:#b3261e;
  --bg:#fbfdfd;

  /* Type */
  --font-head:'Poppins',sans-serif;
  --font-body:'Inter',sans-serif;
  --font-accent:'Caveat',cursive;

  /* Layout */
  --maxw:1180px;
  --radius:14px;
  --radius-sm:8px;
  --shadow:0 10px 30px -14px rgba(10,55,51,.22);
  --shadow-sm:0 4px 14px -6px rgba(10,55,51,.18);
  --gap:1.5rem;
}

*,*::before,*::after{box-sizing:border-box;}
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  -webkit-tap-highlight-color:transparent;
  overflow-x:clip;
}
[id]{scroll-margin-top:92px;}
body{
  margin:0;
  width:100%;
  max-width:100vw;
  overflow-x:clip;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
img,picture,video,canvas,svg{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;touch-action:manipulation;}
button,input,select,textarea{font-family:inherit;touch-action:manipulation;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--teal-900);line-height:1.2;margin:0 0 .5rem;font-weight:600;letter-spacing:-.01em;}
h1{font-weight:700;font-size:clamp(2rem, 4.5vw, 3.2rem);}
h2{font-weight:700;font-size:clamp(1.55rem, 3.2vw, 2.15rem);}
h3{font-weight:600;font-size:clamp(1rem, 2vw, 1.2rem);}
p{margin:0 0 .9rem;color:var(--ink-soft);}
.container{max-width:var(--maxw);margin:0 auto;padding:0 clamp(16px, 3.5vw, 24px);width:100%;}
:focus-visible{outline:3px solid var(--amber);outline-offset:2px;}

/* ---------- Utility ---------- */
.eyebrow{
  display:inline-block;
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  color:var(--teal-700);
  letter-spacing:.06em;
  margin-bottom:.6rem;
}
.accent-script{
  font-family:var(--font-accent);
  color:var(--teal-text);
  font-size:1.7rem;
  font-weight:500;
  line-height:1.25;
}
.section{padding:56px 0;}
.section-tight{padding:36px 0;}
.section-head{max-width:640px;margin-bottom:2rem;}
.section-head p{margin-bottom:0;}
.section-alt{background:var(--teal-50);}
.grid{display:grid;gap:var(--gap);}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
.center{text-align:center;margin-left:auto;margin-right:auto;}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:var(--font-body);font-weight:600;font-size:.95rem;
  padding:.85rem 1.6rem;border-radius:999px;border:2px solid transparent;
  cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--teal-700);color:var(--white);box-shadow:var(--shadow-sm);}
.btn-primary:hover{background:var(--teal-800);transform:translateY(-2px);}
.btn-outline{border-color:var(--teal-700);color:var(--teal-700);background:transparent;}
.btn-outline:hover{background:var(--teal-100);transform:translateY(-2px);}
.btn-light{background:var(--white);color:var(--teal-700);}
.btn-light:hover{transform:translateY(-2px);}
.btn-sm{padding:.6rem 1.2rem;font-size:.85rem;}

.link-arrow{color:var(--teal-text);font-weight:700;font-size:.88rem;display:inline-flex;align-items:center;gap:.3rem;}
.link-arrow svg{transition:transform .18s ease;width:14px;height:14px;}
.link-arrow:hover svg{transform:translateX(3px);}

.badge-icon{
  width:52px;height:52px;border-radius:14px;background:var(--teal-100);
  display:flex;align-items:center;justify-content:center;color:var(--teal-text);flex-shrink:0;
}
.badge-icon svg{width:26px;height:26px;}

/* ---------- Reveal animation (Progressive Enhancement) ---------- */
.reveal{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1);}
.reveal-stagger > *{opacity:1;transform:none;transition:opacity .5s ease,transform .5s ease;}

/* Hero elements are ALWAYS visible immediately — never hidden behind opacity 0 */
.hero-copy,
.hero-visual,
.hero-stats-bar,
.page-hero-wrap,
.page-hero-script-wrap,
.about-profile-card{
  opacity:1 !important;
  transform:none !important;
}

/* Below-the-fold scroll reveal only activates once JS is confirmed active */
.js-active .reveal:not(.in-view):not(.hero-copy):not(.hero-visual):not(.hero-stats-bar):not(.page-hero-script-wrap):not(.about-profile-card){
  opacity:0;
  transform:translateY(22px);
}
.js-active .reveal.in-view{
  opacity:1;
  transform:none;
}
.js-active .reveal-stagger:not(.in-view) > *{
  opacity:0;
  transform:translateY(18px);
}
.js-active .reveal-stagger.in-view > *{
  opacity:1;
  transform:none;
}
.reveal-stagger.in-view > *:nth-child(1){transition-delay:.05s;}
.reveal-stagger.in-view > *:nth-child(2){transition-delay:.12s;}
.reveal-stagger.in-view > *:nth-child(3){transition-delay:.19s;}
.reveal-stagger.in-view > *:nth-child(4){transition-delay:.26s;}
.reveal-stagger.in-view > *:nth-child(5){transition-delay:.33s;}
.reveal-stagger.in-view > *:nth-child(6){transition-delay:.4s;}
.reveal-stagger.in-view > *:nth-child(7){transition-delay:.47s;}
.reveal-stagger.in-view > *:nth-child(8){transition-delay:.54s;}
@media (prefers-reduced-motion: reduce){
  .reveal,.reveal-stagger > *,.js-active .reveal,.js-active .reveal-stagger > *{opacity:1 !important;transform:none !important;transition:none !important;}
  html{scroll-behavior:auto;}
}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);
  backdrop-filter:blur(8px);border-bottom:1px solid #eaf3f2;
  transition:box-shadow .25s ease;
}
.site-header.scrolled{box-shadow:0 6px 20px -12px rgba(10,55,51,.2);}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;padding:12px 0;}
.brand{display:flex;align-items:center;gap:.75rem;}
.brand-mark{
  width:48px;height:48px;border-radius:50%;
  background:#ffffff;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  box-shadow:0 3px 12px rgba(10,55,51,.12);
  border:1.5px solid #e0ecea;
  overflow:hidden;
  padding:2px;
  transition:all .22s ease;
}
.brand:hover .brand-mark{
  transform:translateY(-1px) scale(1.04);
  box-shadow:0 6px 18px rgba(10,55,51,.2);
  border-color:var(--teal-400);
}
.brand-mark img{width:100%;height:100%;object-fit:contain;display:block;}
.brand-mark svg{width:26px;height:26px;}
.brand-text{line-height:1.15;}
.brand-text .name{display:block;font-family:var(--font-head);font-weight:700;font-size:1.12rem;color:#0d2841;letter-spacing:-.01em;}
.brand-text .role{display:block;font-size:.76rem;color:#5c7876;font-weight:500;}
.nav-links{display:flex;align-items:center;gap:2rem;}
.nav-links a{font-size:.95rem;font-weight:500;color:#2b4542;position:relative;padding:6px 0;}
.nav-links a:hover{color:var(--teal-700);}
.nav-links a.active{color:var(--teal-700);font-weight:700;}
.nav-links a.active::after{
  content:"";position:absolute;left:0;right:0;bottom:-4px;height:3px;
  background:var(--teal-600);border-radius:2px;
}
.nav-cta{display:flex;align-items:center;gap:1rem;}
.btn-nav-cta{
  background:#007b78;color:#fff;padding:.65rem 1.3rem;border-radius:10px;
  font-weight:600;font-size:.92rem;transition:background .2s ease,transform .2s ease;
}
.btn-nav-cta:hover{background:#006663;transform:translateY(-1px);color:#fff;}
.nav-toggle{
  display:none;background:none;border:none;cursor:pointer;padding:6px;width:40px;height:40px;
  align-items:center;justify-content:center;
}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--teal-900);position:relative;transition:background .2s ease;}
.nav-toggle span::before,.nav-toggle span::after{
  content:"";position:absolute;left:0;width:22px;height:2px;background:var(--teal-900);transition:transform .25s ease,top .25s ease;
}
.nav-toggle span::before{top:-7px;}
.nav-toggle span::after{top:7px;}
.nav-toggle.open span{background:transparent;}
.nav-toggle.open span::before{top:0;transform:rotate(45deg);}
.nav-toggle.open span::after{top:0;transform:rotate(-45deg);}

/* ---------- Hero ---------- */
.hero{
  padding:24px 0 0;
  overflow:hidden;
  position:relative;
  background-image:linear-gradient(to right, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 40%, rgba(255,255,255,0.78) 72%, rgba(255,255,255,0.60) 100%), url('images/clinic-hero-bg.webp');
  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;
}
.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:2.5rem;align-items:center;}
.hero-copy,.hero-content{padding-top:2.5rem;padding-bottom:2rem;align-self:center;}
.hero-eyebrow{
  display:inline-block;font-size:.82rem;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:#0f766e;margin-bottom:.85rem;
}
.hero h1{font-size:3.2rem;line-height:1.12;font-weight:700;margin-bottom:1.1rem;letter-spacing:-.02em;}
.hero h1 .text-navy{color:#0d2841;display:block;}
.hero h1 .text-teal{color:#0d7e74;display:block;}
.hero-lead{font-size:1.1rem;color:#4b6360;line-height:1.65;max-width:490px;margin-bottom:1.8rem;}
.hero-actions{display:flex;align-items:center;gap:1.1rem;margin-bottom:1rem;flex-wrap:wrap;}
.btn-hero-primary{
  background:#007b78;color:#fff;padding:.85rem 1.6rem;border-radius:12px;
  font-weight:600;font-size:.98rem;display:inline-flex;align-items:center;gap:.6rem;
  border:2px solid transparent;transition:all .2s ease;box-shadow:0 4px 14px rgba(0,123,120,.25);
}
.btn-hero-primary:hover{background:#006663;transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,123,120,.35);color:#fff;}
.btn-hero-outline{
  background:rgba(255,255,255,0.9);color:#007b78;padding:.85rem 1.6rem;border-radius:12px;
  font-weight:600;font-size:.98rem;display:inline-flex;align-items:center;gap:.6rem;
  border:1.8px solid #007b78;transition:all .2s ease;
}
.btn-hero-outline:hover{background:#e6f6f3;transform:translateY(-2px);color:#007b78;}

.hero-visual{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  align-self:flex-end;
  z-index:2;
  margin-bottom:-1px;
}
.hero-visual::before{
  content:"";
  position:absolute;
  width:100%;
  max-width:440px;
  height:475px;
  border-radius:20px;
  background:linear-gradient(160deg, #d8f1ec 0%, #c0e8e0 45%, #a6ded4 100%);
  border:2px solid rgba(15, 110, 99, 0.22);
  box-shadow:0 18px 36px -8px rgba(10, 55, 51, 0.16), inset 0 2px 8px rgba(255, 255, 255, 0.9);
  top:10px;
  left:50%;
  transform:translateX(-50%);
  z-index:1;
  pointer-events:none;
}
.hero-photo-wrap{
  position:relative;
  width:100%;
  max-width:440px;
  height:490px;
  background:transparent;
  border-radius:0;
  box-shadow:none;
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  z-index:2;
}
.hero-photo-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%;
  transform:scale(1.72);
  transform-origin:center 44%;
  display:block;
  border-radius:0;
  box-shadow:none;
  filter:drop-shadow(0 16px 30px rgba(10,55,51,0.28)) drop-shadow(0 3px 10px rgba(0,0,0,0.15));
}
.hero-script-tag{
  position:absolute;top:20px;right:-15px;z-index:5;
  font-family:var(--font-accent);color:#1a6875;font-size:2.8rem;line-height:1.02;
  font-weight:700;transform:rotate(-6deg);text-align:right;pointer-events:none;user-select:none;
  text-shadow:0 2px 10px rgba(255,255,255,.9),0 0 6px rgba(255,255,255,.95);
}
.hero-script-tag span{display:block;}
.hero-script-tag .script-underline{
  position:relative;display:inline-block;
}
.hero-script-tag .script-underline::after{
  content:"";position:absolute;left:-4px;right:-8px;bottom:2px;height:4px;
  background:#1a6875;border-radius:999px;transform:rotate(3deg);
}

/* Bottom Floating Stats Bar */
.hero-stats-bar{
  margin-top:-18px;
  position:relative;
  z-index:10;
  background:#fff;
  border-radius:20px;
  border:1px solid #e1f0ee;
  box-shadow:0 16px 36px -12px rgba(10,55,51,.12);
  padding:1.2rem 1rem;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  align-items:center;
  margin-bottom:1.5rem;
}
.hero-stats-item{
  display:flex;align-items:center;gap:.9rem;padding:0 1rem;border-right:1px solid #eaf3f2;
}
.hero-stats-item:last-child{border-right:none;}
.hero-stats-icon{
  width:42px;height:42px;flex-shrink:0;color:#007b78;display:flex;align-items:center;justify-content:center;
}
.hero-stats-icon svg{width:34px;height:34px;}
.hero-stats-info .stat-num{
  font-family:var(--font-head);font-weight:700;font-size:1.22rem;color:#0d2841;line-height:1.2;display:block;
}
.hero-stats-info .stat-lbl{
  font-size:.8rem;color:#5c7876;font-weight:500;display:block;margin-top:2px;
}
.doctor-placeholder .avatar-icon{
  width:96px;height:96px;border-radius:50%;background:var(--white);display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-sm);color:var(--teal-700);
}
.doctor-placeholder .avatar-icon svg{width:52px;height:52px;}
.doctor-placeholder strong{font-family:var(--font-head);color:var(--teal-900);font-size:1rem;}
.doctor-placeholder span{font-size:.8rem;color:var(--muted);max-width:220px;}
.hero-note-card{
  position:absolute;bottom:-18px;right:-14px;background:#fff;padding:.9rem 1.2rem;border-radius:14px;
  box-shadow:var(--shadow);max-width:190px;
}
.hero-note-card .accent-script{font-size:1.25rem;display:block;}

/* ---------- Feature strip ---------- */
.feature-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.2rem;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.2rem 1.6rem;
  align-items:center;
}
.feature-item{display:flex;align-items:center;gap:.7rem;font-weight:600;font-size:.88rem;color:var(--ink-soft);}
.feature-item svg{width:20px;height:20px;color:var(--teal-text);flex-shrink:0;}

/* ---------- Cards: conditions / treatments ---------- */
.card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.4rem;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:transparent;}
.condition-card{text-align:left;}
.condition-card .badge-icon{margin-bottom:.9rem;}
.condition-card h3{font-size:1rem;margin-bottom:.35rem;}
.condition-card p{font-size:.86rem;margin-bottom:.6rem;}
.icon-grid{grid-template-columns:repeat(5,1fr);}

.section-flex-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;margin-bottom:1.6rem;flex-wrap:wrap;}
.section-flex-head .section-head{margin-bottom:0;}

/* ---------- Highlight / info section w/ image ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center;}
.split-media{
  border-radius:var(--radius);overflow:hidden;background:linear-gradient(160deg,var(--teal-800),var(--teal-600));
  aspect-ratio:16/11;display:flex;align-items:center;justify-content:center;position:relative;
}
.split-media img{width:100%;height:100%;object-fit:cover;}
.split-media .icon-visual{color:rgba(255,255,255,.9);}
.split-media .icon-visual svg{width:110px;height:110px;}
.split h2{font-size:1.9rem;}

/* ---------- Testimonials ---------- */
.testimonial-card{position:relative;}
.testimonial-card .quote-mark{font-family:var(--font-head);font-size:2.6rem;color:var(--teal-100);line-height:0;display:block;margin-bottom:.4rem;}
.stars{color:var(--amber);letter-spacing:2px;font-size:.9rem;margin-top:.8rem;display:block;}
.testimonial-name{font-weight:700;color:var(--teal-900);font-size:.88rem;margin-top:.2rem;}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(120deg,var(--teal-800),var(--teal-600));
  border-radius:var(--radius);padding:2.2rem 2.5rem;display:flex;align-items:center;justify-content:space-between;
  gap:1.5rem;flex-wrap:wrap;color:#fff;
}
.cta-banner h3{color:#fff;margin-bottom:.3rem;}
.cta-banner p{color:rgba(255,255,255,.85);margin-bottom:0;}

/* ---------- Breadcrumb + page header ---------- */
.breadcrumb{font-size:.84rem;color:#6b8785;margin-bottom:0.8rem;padding:0;}
.breadcrumb a{color:var(--teal-text);font-weight:600;}
.breadcrumb a:hover{text-decoration:underline;}
.page-hero{
  position:relative;
  padding:36px 0 46px;
  background:linear-gradient(90deg, rgba(240, 249, 248, 0.95) 0%, rgba(240, 249, 248, 0.88) 55%, rgba(240, 249, 248, 0.65) 100%), url('images/clinic-hero-bg.webp') right center / cover no-repeat;
  border-bottom:1px solid rgba(0, 123, 120, 0.08);
  margin-bottom:2.2rem;
}
.page-hero-grid{
  display:grid;
  grid-template-columns:1.3fr 0.7fr;
  gap:2rem;
  align-items:center;
}
.page-hero h1{
  font-size:2.4rem;
  font-weight:700;
  color:#0d2841;
  letter-spacing:-0.02em;
  line-height:1.15;
  margin-bottom:0.5rem;
}
.page-hero .hero-lead{
  font-size:1.02rem;
  color:#42615e;
  line-height:1.55;
  max-width:580px;
}
.page-hero-script-wrap{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.page-hero-script{
  font-family:var(--font-accent);
  color:#1a6875;
  font-size:2.4rem;
  line-height:1.05;
  font-weight:700;
  transform:rotate(-6deg);
  text-align:right;
  pointer-events:none;
  user-select:none;
  text-shadow:0 2px 10px rgba(255,255,255,.9);
  padding-right:1.5rem;
}
.page-hero-script span{display:block;}

/* ---------- About page ---------- */
.doctor-panel{display:grid;grid-template-columns:.85fr 1.15fr;gap:2.6rem;align-items:start;}
.doctor-photo{
  border-radius:var(--radius);overflow:hidden;background:linear-gradient(165deg,var(--teal-100),var(--teal-50));
  aspect-ratio:3/3.6;box-shadow:var(--shadow-sm);
}
.credential-line{color:var(--teal-text);font-weight:700;font-size:.92rem;margin-bottom:.2rem;}
.quote-box{
  background:var(--teal-50);border-left:3px solid var(--teal-600);border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  padding:1.1rem 1.4rem;margin:1.3rem 0;font-style:italic;color:var(--ink-soft);
}
.quote-box footer{margin-top:.5rem;font-style:normal;font-weight:700;color:var(--teal-800);font-size:.85rem;}

.stat-strip{display:flex;gap:1.4rem;flex-wrap:wrap;margin-top:1.4rem;}
.stat-chip{
  display:flex;align-items:center;gap:.6rem;background:var(--white);border:1px solid var(--line);
  border-radius:999px;padding:.6rem 1.1rem;flex:1 1 190px;
}
.stat-chip svg{width:20px;height:20px;color:var(--teal-text);flex-shrink:0;}
.stat-chip .num{font-weight:700;color:var(--teal-900);font-size:.95rem;display:block;}
.stat-chip .lbl{font-size:.72rem;color:var(--muted);}

.two-col-list{display:grid;grid-template-columns:1fr 1fr;gap:2rem;}
.check-list li{display:flex;gap:.6rem;align-items:flex-start;margin-bottom:.7rem;font-size:.92rem;color:var(--ink-soft);}
.check-list li svg{width:18px;height:18px;color:var(--teal-text);flex-shrink:0;margin-top:2px;}
.panel-title{font-weight:700;color:var(--teal-900);margin-bottom:.9rem;font-size:1.05rem;}

.philosophy-box{
  display:flex;gap:1.4rem;align-items:flex-start;background:var(--teal-50);
  border-radius:var(--radius);padding:1.8rem;
}
.philosophy-box .badge-icon{background:var(--white);}

/* ---------- Treatments page ---------- */
.treatment-card{display:flex;flex-direction:column;align-self:start;height:auto;}
.treatment-card .media{
  position:relative;border-radius:var(--radius-sm);overflow:hidden;aspect-ratio:16/10;margin-bottom:1rem;
  background:linear-gradient(160deg,var(--teal-100),var(--teal-50));display:flex;align-items:center;justify-content:center;
}
.treatment-card .media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2;}
.treatment-card .media .placeholder-icon{color:var(--teal-700);position:relative;z-index:1;}
.treatment-card .media .placeholder-icon svg{width:44px;height:44px;}
.treatment-card h3{font-size:1.02rem;margin-bottom:.4rem;}
.treatment-card p{font-size:.86rem;line-height:1.55;margin-bottom:.45rem;flex-grow:0;}
.treatment-card .link-arrow{margin-top:.4rem;}
.procedure-media{
  aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;
  background:linear-gradient(150deg,var(--teal-900),var(--teal-600));
  display:flex;align-items:center;justify-content:center;margin-bottom:2rem;position:relative;color:#fff;
}
.procedure-media .icon-visual svg{width:150px;height:150px;opacity:.9;}

/* ---------- Patient guide page & FAQ Accordion ---------- */
.guide-card .badge-icon{margin-bottom:1rem;}

.faq-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1.25rem;
  align-items:start;
}

.faq-grid .accordion-item{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  padding:0.35rem 1.35rem;
  transition:border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
  box-shadow:0 2px 8px rgba(0,0,0,0.02);
}

.faq-grid .accordion-item:hover{
  border-color:rgba(10, 77, 60, 0.3);
  box-shadow:0 4px 14px rgba(10, 77, 60, 0.06);
}

.faq-grid .accordion-item.open{
  border-color:var(--teal-600);
  background:var(--white);
  box-shadow:0 6px 20px rgba(10, 77, 60, 0.08);
}

.accordion-trigger{
  width:100%;background:none;border:none;text-align:left;padding:1.1rem 0;display:flex;justify-content:space-between;
  align-items:center;cursor:pointer;font-family:var(--font-head);font-weight:600;color:var(--teal-900);font-size:0.98rem;gap:1rem;
  line-height:1.4;
}
.accordion-item.open .accordion-trigger{
  color:var(--teal-700);
}
.accordion-trigger .plus{width:22px;height:22px;flex-shrink:0;position:relative;}
.accordion-trigger .plus::before,.accordion-trigger .plus::after{
  content:"";position:absolute;background:var(--teal-700);transition:transform .25s ease;
}
.accordion-trigger .plus::before{left:0;top:50%;width:100%;height:2px;transform:translateY(-50%);}
.accordion-trigger .plus::after{top:0;left:50%;width:2px;height:100%;transform:translateX(-50%);}
.accordion-item.open .plus::after{transform:translateX(-50%) rotate(90deg);opacity:0;}
.accordion-panel{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.accordion-panel-inner{
  padding:0.75rem 0 1.15rem;
  color:var(--ink-soft);
  font-size:.92rem;
  line-height:1.65;
  border-top:1px solid rgba(10, 77, 60, 0.08);
}

@media(max-width:860px){
  .faq-grid{
    grid-template-columns:1fr;
    gap:1rem;
  }
}

/* ---------- Contact page ---------- */
.contact-quick{display:flex;gap:1rem;flex-wrap:wrap;}
.quick-chip{
  display:flex;flex-direction:column;align-items:center;gap:.5rem;flex:1 1 130px;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius-sm);padding:1rem;
  transition:transform .2s ease,box-shadow .2s ease;text-align:center;
}
.quick-chip:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm);}
.quick-chip svg{width:22px;height:22px;color:var(--teal-text);}
.quick-chip span{font-size:.82rem;font-weight:600;}

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.4rem;align-items:start;}
.form-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1.8rem;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.field{margin-bottom:1.1rem;}
.field label{display:block;font-size:.85rem;font-weight:600;color:var(--teal-900);margin-bottom:.4rem;}
.field input,.field textarea{
  width:100%;border:1px solid var(--line);border-radius:var(--radius-sm);padding:.75rem .9rem;
  font-family:var(--font-body);font-size:.92rem;color:var(--ink);background:var(--teal-50);
  transition:border-color .2s ease,background .2s ease;
}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--teal-600);background:#fff;}
.field textarea{resize:vertical;min-height:100px;}
.field .req{color:#c14343;}
.form-msg{margin-top:1rem;font-size:.88rem;font-weight:600;padding:.8rem 1rem;border-radius:var(--radius-sm);display:none;}
.form-msg.success{display:block;background:#e6f6ee;color:#187a4a;}
.form-msg.error{display:block;background:#fdeceb;color:#c1392f;}

.info-block{margin-bottom:1.6rem;}
.info-block h4{font-size:1.02rem;margin-bottom:1rem;}
.info-row{display:flex;gap:.8rem;margin-bottom:1rem;align-items:flex-start;}
.info-row svg{width:19px;height:19px;color:var(--teal-text);flex-shrink:0;margin-top:2px;}
.info-row .lbl{font-weight:700;font-size:.88rem;color:var(--teal-900);display:block;margin-bottom:.1rem;}
.info-row .val{font-size:.88rem;color:var(--ink-soft);}
.map-frame{border-radius:var(--radius-sm);overflow:hidden;border:1px solid var(--line);aspect-ratio:16/10;}
.map-frame iframe{width:100%;height:100%;border:0;}
.urgent-box{
  display:flex;gap:.8rem;background:#fdeceb;border:1px solid #f6c9c4;border-radius:var(--radius-sm);
  padding:1rem 1.1rem;margin-top:1rem;
}
.urgent-box svg{width:20px;height:20px;color:#c1392f;flex-shrink:0;}
.urgent-box strong{color:#c1392f;display:block;font-size:.88rem;margin-bottom:.15rem;}
.urgent-box p{font-size:.83rem;margin:0;color:#8a3630;}

/* ---------- Premium Modern Footer ---------- */
.site-footer{
  background:linear-gradient(180deg, #072825 0%, #031614 100%);
  color:rgba(255,255,255,.82);
  padding:64px 0 24px;
  margin-top:60px;
  border-top:1px solid rgba(255,255,255,.12);
  position:relative;
}
.site-footer::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg, transparent 0%, var(--teal-500) 50%, transparent 100%);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.35fr 0.9fr 1.35fr 1.15fr;
  gap:2.5rem;
  padding-bottom:36px;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  margin-bottom:.85rem;
}
.footer-brand .brand-mark{
  background:#ffffff;
  border:1.5px solid rgba(255,255,255,.4);
  box-shadow:0 4px 14px rgba(0,0,0,.35);
  padding:2px;
  width:46px;
  height:46px;
  border-radius:50%;
}
.footer-brand .name{
  color:#fff;
  font-family:var(--font-head);
  font-weight:700;
  font-size:1.05rem;
  display:block;
  line-height:1.2;
}
.footer-brand .role{
  color:var(--teal-300);
  font-size:.74rem;
  display:block;
  margin-top:2px;
  font-weight:500;
}
.footer-creds-tag{
  font-size:.78rem;
  color:#a7c8c4;
  font-weight:600;
  margin-bottom:.7rem;
  letter-spacing:.01em;
}
.footer-about-text{
  font-size:.84rem;
  color:rgba(255,255,255,.68);
  line-height:1.55;
  margin-bottom:1.2rem;
}
.footer-social{
  display:flex;
  gap:.65rem;
}
.footer-social a{
  width:38px;
  height:38px;
  border-radius:10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  transition:all .22s ease;
}
.footer-social a:hover{
  background:var(--teal-600);
  border-color:var(--teal-500);
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(15,118,110,.35);
}
.footer-social svg{
  width:17px;
  height:17px;
}

.footer-heading{
  font-family:var(--font-head);
  font-weight:700;
  color:#fff;
  font-size:.9rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  margin-bottom:1.15rem;
  position:relative;
  display:inline-block;
}
.footer-heading::after{
  content:"";
  position:absolute;
  bottom:-4px;
  left:0;
  width:24px;
  height:2px;
  background:var(--teal-400);
  border-radius:2px;
}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:.65rem;
}
.footer-links a{
  font-size:.88rem;
  color:rgba(255,255,255,.72);
  transition:all .2s ease;
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.footer-links a:hover{
  padding-left:5px;
  color:var(--teal-300);
}

/* Consultation Hubs in Footer */
.footer-hubs-wrap{
  display:flex;
  flex-direction:column;
  gap:.85rem;
}
.footer-hub-box{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
  border-radius:12px;
  padding:.85rem 1rem;
  transition:all .2s ease;
}
.footer-hub-box:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(20,184,166,.3);
}
.footer-hub-title{
  display:flex;
  align-items:center;
  gap:.5rem;
  color:#fff;
  font-size:.88rem;
  margin-bottom:.25rem;
}
.footer-hub-title svg{
  width:16px;
  height:16px;
  color:var(--teal-400);
  flex-shrink:0;
}
.footer-hub-box p{
  font-size:.78rem;
  color:rgba(255,255,255,.65);
  margin:0 0 .35rem 0;
  line-height:1.4;
}
.footer-hub-box .hub-timing{
  font-size:.76rem;
  color:var(--teal-300);
  font-weight:600;
  display:block;
}

/* Direct Contact in Footer */
.footer-contact{
  display:flex;
  flex-direction:column;
  gap:1rem;
  margin-bottom:1.25rem;
}
.footer-contact li{
  display:flex;
  gap:.75rem;
  align-items:center;
  list-style:none;
}
.footer-icon-circle{
  width:36px;
  height:36px;
  border-radius:9px;
  background:rgba(20,184,166,.15);
  border:1px solid rgba(20,184,166,.25);
  color:var(--teal-400);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.footer-icon-circle svg{
  width:17px;
  height:17px;
}
.footer-contact .contact-lbl{
  display:block;
  font-size:.72rem;
  color:rgba(255,255,255,.55);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.footer-contact .contact-val{
  font-size:.88rem;
  color:#fff;
  font-weight:600;
  text-decoration:none;
  transition:color .2s ease;
}
.footer-contact .contact-val:hover{
  color:var(--teal-300);
}
.footer-cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  background:linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 100%);
  color:#fff;
  font-family:var(--font-head);
  font-weight:700;
  font-size:.84rem;
  padding:.65rem 1.15rem;
  border-radius:10px;
  text-decoration:none;
  box-shadow:0 4px 14px rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.15);
  transition:all .22s ease;
  width:100%;
}
.footer-cta-btn:hover{
  background:linear-gradient(135deg, var(--teal-500) 0%, var(--teal-600) 100%);
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(20,184,166,.3);
  color:#fff;
}
.footer-cta-btn svg{
  width:15px;
  height:15px;
}

/* Footer Bottom Bar */
.footer-bottom{
  padding-top:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:.82rem;
  color:rgba(255,255,255,.6);
}
.footer-bottom strong{
  color:rgba(255,255,255,.9);
}

/* ---------- Back to top ---------- */
.back-to-top{
  position:fixed;
  bottom:calc(82px + env(safe-area-inset-bottom, 0px));
  right:calc(22px + env(safe-area-inset-right, 0px));
  width:44px;height:44px;border-radius:50%;
  background:var(--teal-700);color:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow);border:none;cursor:pointer;z-index:90;
  opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .25s ease,transform .25s ease,visibility .25s;
}
.back-to-top.show{opacity:1;visibility:visible;transform:translateY(0);}
.back-to-top svg{width:18px;height:18px;}

/* ---------- WhatsApp float ---------- */
.whatsapp-float{
  position:fixed;
  bottom:calc(20px + env(safe-area-inset-bottom, 0px));
  right:calc(20px + env(safe-area-inset-right, 0px));
  width:52px;height:52px;border-radius:50%;background:#25d366;
  display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(37,211,102,0.35);z-index:95;
  transition:transform .2s ease,box-shadow .2s ease;
}
.whatsapp-float svg{width:28px;height:28px;color:#fff;}
.whatsapp-float:hover{transform:scale(1.08);box-shadow:0 10px 28px rgba(37,211,102,0.45);}

/* ---------- Category-wise Split Layout & Treatment Accordion ---------- */
.category-section{
  padding:3.8rem 0;
  border-bottom:1px solid var(--line);
}
.category-split-layout{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:3.5rem;
  align-items:stretch;
}
.category-visual-wrap{
  position:relative;
  height:100%;
}
.category-visual-card{
  position:-webkit-sticky;
  position:sticky;
  top:100px;
  background:#fff;
  border:1px solid #e1eeeb;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 12px 32px -8px rgba(10,55,51,.08);
  transition:box-shadow .3s ease;
}
.category-visual-card:hover{
  box-shadow:0 18px 40px -8px rgba(10,55,51,.15);
}
.category-visual-card img{
  width:100%;
  height:auto;
  object-fit:cover;
  display:block;
  background:#f8f5ee;
}

/* ---------- Interactive Pop-out & Lightbox Triggers ---------- */
.category-image-container{
  position:relative;
  display:block;
  cursor:zoom-in;
  overflow:hidden;
  background:#f4f8f7;
}
.category-image-container img{
  width:100%;
  height:auto;
  object-fit:cover;
  display:block;
  background:#f8f5ee;
  transition:transform .38s cubic-bezier(.2,.7,.2,1);
}
.category-image-container:hover img{
  transform:scale(1.03);
}
.zoom-badge{
  position:absolute;
  bottom:12px;
  right:12px;
  background:rgba(10,55,51,0.85);
  color:#fff;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  font-size:.74rem;
  font-weight:600;
  padding:5px 12px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  box-shadow:0 4px 12px rgba(0,0,0,0.18);
  border:1px solid rgba(255,255,255,0.2);
  pointer-events:none;
  transition:all .2s ease;
  z-index:2;
}
.category-image-container:hover .zoom-badge{
  background:#0f6e63;
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(10,55,51,0.3);
}

/* ---------- Hover Pop-out Preview Overlay ---------- */
.image-hover-popout{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%) scale(0.94);
  z-index:9000;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s cubic-bezier(0.16, 1, 0.3, 1), transform .22s cubic-bezier(0.16, 1, 0.3, 1), visibility .22s;
  max-width:min(90vw, 640px);
  width:100%;
}
.image-hover-popout.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate(-50%, -50%) scale(1);
}
.popout-inner{
  background:#ffffff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 24px 60px -12px rgba(10,55,51,0.4), 0 0 0 1px rgba(15,110,99,0.22);
  cursor:zoom-in;
}
.popout-img-wrap{
  background:#f8faf9;
  max-height:64vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.popout-img-wrap img{
  max-height:64vh;
  width:auto;
  max-width:100%;
  object-fit:contain;
  display:block;
}
.popout-info{
  padding:1rem 1.4rem;
  background:#fff;
  border-top:1px solid #edf4f3;
}
.popout-title{
  font-family:var(--font-head);
  font-size:1.05rem;
  font-weight:700;
  color:var(--teal-900);
  margin-bottom:.25rem;
}
.popout-desc{
  font-size:.85rem;
  color:#526966;
  line-height:1.45;
  margin-bottom:.45rem;
}
.popout-hint{
  font-size:.76rem;
  font-weight:600;
  color:var(--teal-700);
  display:inline-flex;
  align-items:center;
  gap:5px;
}

/* ---------- Fullscreen Lightbox Modal ---------- */
.image-lightbox-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s;
  padding:clamp(16px, 4vw, 36px);
}
.image-lightbox-modal.open{
  opacity:1;
  visibility:visible;
}
.lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(6,22,20,0.92);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.lightbox-container{
  position:relative;
  z-index:2;
  max-width:min(94vw, 1024px);
  max-height:92vh;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.image-lightbox-modal.open .lightbox-container{
  animation:lightboxZoomIn .28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes lightboxZoomIn{
  from{transform:scale(0.92);opacity:0;}
  to{transform:scale(1);opacity:1;}
}
.lightbox-close{
  position:absolute;
  top:-46px;
  right:0;
  width:38px;
  height:38px;
  border-radius:50%;
  background:rgba(255,255,255,0.18);
  border:1px solid rgba(255,255,255,0.3);
  color:#fff;
  font-size:24px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background .2s ease, transform .2s ease;
}
.lightbox-close:hover{
  background:rgba(255,255,255,0.35);
  transform:scale(1.08);
}
.lightbox-figure{
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,0.6);
  display:flex;
  flex-direction:column;
  max-height:86vh;
}
.lightbox-img{
  max-height:72vh;
  max-width:100%;
  object-fit:contain;
  display:block;
  background:#0a1c1a;
}
.lightbox-caption{
  padding:1rem 1.6rem;
  background:#fff;
}
.lightbox-title{
  font-size:1.15rem;
  font-family:var(--font-head);
  font-weight:700;
  color:var(--teal-900);
  margin-bottom:.25rem;
}
.lightbox-desc{
  font-size:.88rem;
  color:#526966;
  margin:0;
}

@media (hover: none){
  .image-hover-popout{display:none !important;}
  .zoom-badge span{display:none;}
  .zoom-badge::after{content:"Tap to view full image";}
}
.category-visual-caption{
  padding:1.4rem 1.6rem;
  background:#fff;
  border-top:1px solid #edf4f3;
}
.category-visual-caption .organ-tag{
  display:inline-block;
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--teal-700);
  background:var(--teal-50);
  padding:3px 10px;
  border-radius:999px;
  margin-bottom:.55rem;
}
.category-visual-caption h3,
.category-visual-caption .caption-title{
  font-size:1.15rem;
  color:var(--teal-900);
  margin-bottom:.35rem;
  font-family:var(--font-head);
  font-weight:700;
}
.category-visual-caption p{
  font-size:.85rem;
  color:var(--ink-soft);
  margin-bottom:0;
  line-height:1.5;
}

/* Category Content Header */
.category-header{
  margin-bottom:1.6rem;
}
.category-header .eyebrow{
  margin-bottom:.4rem;
  display:inline-block;
}
.category-header h2{
  font-size:1.95rem;
  color:var(--teal-900);
  margin-bottom:.45rem;
  letter-spacing:-.015em;
}
.category-header p{
  font-size:.95rem;
  color:var(--ink-soft);
  line-height:1.55;
  margin-bottom:0;
}

/* Treatment Accordion */
.treatment-accordion{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.treatment-acc-item{
  background:#fff;
  border:1px solid #e1eeeb;
  border-radius:14px;
  overflow:hidden;
  transition:border-color .22s ease,box-shadow .22s ease;
}
.treatment-acc-item:hover{
  border-color:var(--teal-600);
  box-shadow:0 6px 20px rgba(10,55,51,.06);
}
.treatment-acc-item.open{
  border-color:var(--teal-600);
  box-shadow:0 8px 24px -4px rgba(13,126,116,.14);
}
.treatment-acc-header{
  width:100%;
  background:transparent;
  border:none;
  text-align:left;
  padding:1.15rem 1.4rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  cursor:pointer;
  font-family:var(--font-head);
  font-size:1.02rem;
  font-weight:700;
  color:var(--ink);
  transition:color .2s ease,background .2s ease;
}
.treatment-acc-item.open .treatment-acc-header{
  color:var(--teal-800);
  background:#f7fbfb;
  border-bottom:1px solid #edf5f4;
}
.acc-icon{
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--teal-50);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--teal-700);
  flex-shrink:0;
  transition:transform .25s ease,background .2s ease,color .2s ease;
}
.acc-icon svg{
  width:16px;
  height:16px;
  transition:transform .25s ease;
}
.treatment-acc-item.open .acc-icon{
  background:var(--teal-700);
  color:#fff;
}
.treatment-acc-item.open .acc-icon svg{
  transform:rotate(180deg);
}
.treatment-acc-body{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s cubic-bezier(0,1,0,1);
}
.treatment-acc-item.open .treatment-acc-body{
  max-height:850px;
  transition:max-height .45s ease-in-out;
}
.treatment-acc-inner{
  padding:1.3rem 1.4rem;
  font-size:.9rem;
  color:var(--ink-soft);
  line-height:1.6;
}
.treatment-acc-inner .acc-lead{
  font-size:.92rem;
  color:var(--ink);
  margin-bottom:.85rem;
}
.acc-symptoms-box{
  background:#f9fcfb;
  border-left:3px solid var(--teal-600);
  padding:.75rem 1rem;
  border-radius:0 8px 8px 0;
  font-size:.86rem;
  color:#31514e;
  margin-bottom:1rem;
  line-height:1.5;
}
.acc-symptoms-box strong{
  color:var(--teal-900);
}
.acc-clinical-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
  margin-bottom:1.2rem;
}
.acc-point-card{
  background:#fbfdfe;
  border:1px solid #eaf2f1;
  border-radius:10px;
  padding:.85rem 1rem;
}
.acc-point-card .point-label{
  display:block;
  font-size:.74rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--teal-800);
  margin-bottom:.3rem;
}
.acc-point-card p{
  font-size:.83rem;
  line-height:1.45;
  margin-bottom:0;
  color:var(--ink-soft);
}

/* Procedure Matrix Table */
.matrix-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 8px 24px -6px rgba(10,55,51,.06);
}
.matrix-table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.matrix-table{
  width:100%;
  min-width:620px;
  border-collapse:collapse;
  font-size:.88rem;
  text-align:left;
}
.matrix-table th{
  background:var(--teal-900);
  color:#fff;
  padding:1rem 1.2rem;
  font-weight:600;
  font-size:.85rem;
  letter-spacing:.02em;
}
.matrix-table td{
  padding:.95rem 1.2rem;
  border-bottom:1px solid #eef5f4;
  color:var(--ink);
  vertical-align:middle;
}
.matrix-table tr:hover td{
  background:#f5faf9;
}
.matrix-table .proc-badge{
  font-weight:700;
  color:var(--teal-900);
  display:block;
  font-size:.92rem;
}
.matrix-table .badge-tag{
  display:inline-block;
  font-size:.75rem;
  padding:2px 8px;
  border-radius:999px;
  font-weight:600;
}
.badge-tag.tag-primary{background:#e0f2f1;color:#00796b;}
.badge-tag.tag-sedation{background:#ede7f6;color:#5e35b1;}
.badge-tag.tag-fasting{background:#fff3e0;color:#e65100;}

/* =========================================================
   Home Page — Why Choose & Clinical Research Highlights
   ========================================================= */

/* Why Choose Section */
.why-choose-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1.5rem;
  margin-top:2.2rem;
}
.pillar-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  padding:1.8rem;
  box-shadow:var(--shadow-sm);
  display:flex;
  gap:1.2rem;
  align-items:flex-start;
  transition:all .25s ease;
}
.pillar-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 32px -8px rgba(10,55,51,.12);
  border-color:var(--teal-400);
}
.pillar-icon-box{
  width:52px;
  height:52px;
  border-radius:14px;
  background:linear-gradient(135deg, var(--teal-50) 0%, var(--teal-100) 100%);
  color:var(--teal-700);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  border:1px solid rgba(15,118,110,.12);
}
.pillar-icon-box svg{
  width:26px;
  height:26px;
}
.pillar-content h3{
  font-size:1.12rem;
  color:var(--teal-900);
  margin-bottom:.45rem;
  font-family:var(--font-head);
  font-weight:700;
}
.pillar-content p{
  font-size:.9rem;
  color:#2c4441;
  line-height:1.55;
  margin:0;
}

/* Home Research & Clinical Publications Section */
.home-research-section{
  background:linear-gradient(180deg, #f8fbfb 0%, #edf6f5 100%);
  border-top:1px solid #e1eeeb;
  border-bottom:1px solid #e1eeeb;
}
.home-research-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.5rem;
  margin-top:2.2rem;
}
.home-research-card{
  background:var(--white);
  border:1px solid #dcebe8;
  border-radius:18px;
  padding:1.6rem 1.5rem;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:0 6px 20px -8px rgba(10,55,51,.08);
  transition:all .25s ease;
  position:relative;
  overflow:hidden;
}
.home-research-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg, var(--teal-600), #2dd4bf);
  opacity:0;
  transition:opacity .25s ease;
}
.home-research-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 36px -10px rgba(10,55,51,.15);
  border-color:var(--teal-500);
}
.home-research-card:hover::before{
  opacity:1;
}
.research-topic-tag{
  display:inline-block;
  font-size:.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  padding:4px 11px;
  border-radius:999px;
  background:#e1f3f0;
  color:var(--teal-800);
  border:1px solid rgba(15,118,110,.2);
  margin-bottom:.8rem;
  align-self:flex-start;
}
.research-card-title{
  font-family:var(--font-head);
  font-size:1.08rem;
  font-weight:700;
  color:var(--teal-900);
  line-height:1.4;
  margin-bottom:.65rem;
}
.research-card-desc{
  font-size:.88rem;
  color:#2c4441;
  line-height:1.55;
  margin-bottom:1rem;
}
.research-journal-tag{
  font-size:.82rem;
  font-weight:600;
  color:var(--teal-800);
  background:var(--teal-50);
  border:1px solid rgba(15,118,110,.15);
  border-radius:8px;
  padding:6px 11px;
  margin-top:auto;
  display:inline-block;
  line-height:1.4;
}

/* Academic Metrics Ribbon */
.academic-metrics-ribbon{
  background:var(--white);
  border:1px solid #dcebe8;
  border-radius:16px;
  padding:1.3rem 1.8rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  flex-wrap:wrap;
  margin-top:2rem;
  box-shadow:0 4px 16px rgba(10,55,51,.06);
}
.academic-metric-item{
  display:flex;
  align-items:center;
  gap:.75rem;
}
.academic-metric-item svg{
  width:26px;
  height:26px;
  color:var(--teal-600);
  flex-shrink:0;
}
.academic-metric-item .count{
  font-family:var(--font-head);
  font-weight:700;
  font-size:1.25rem;
  color:var(--teal-900);
}
.academic-metric-item .lbl{
  font-size:.86rem;
  color:#2c4441;
  font-weight:600;
}

/* =========================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================= */

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width:1024px){
  .hero h1{font-size:2.6rem;}
  .hero-stats-bar{grid-template-columns:repeat(2,1fr);row-gap:1.4rem;padding:1.3rem;}
  .hero-stats-item:nth-child(2){border-right:none;}
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .icon-grid{grid-template-columns:repeat(3,1fr);}
  .doctor-panel{grid-template-columns:1fr;gap:2rem;}
  .doctor-photo{max-width:340px;margin:0 auto;}
  .footer-grid{grid-template-columns:1fr 1fr;row-gap:2.2rem;}
  .category-split-layout{gap:2.4rem;}
  .why-choose-grid{grid-template-columns:1fr;}
  .home-research-grid{grid-template-columns:repeat(2, 1fr);}
}

/* =========================================================
   About Us Page — Professional Medical Profile Components
   ========================================================= */

/* Main Doctor Profile Card */
.about-profile-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:20px;
  padding:2.5rem;
  box-shadow:0 12px 36px -12px rgba(10,55,51,.15);
  display:grid;
  grid-template-columns:320px 1fr;
  gap:2.5rem;
  align-items:start;
  margin-bottom:2.5rem;
}
.about-portrait-wrap{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.about-portrait{
  width:100%;
  height:360px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  background:var(--teal-50);
}
.about-portrait img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 15%;
  transition:transform .3s ease;
}
.about-portrait:hover img{
  transform:scale(1.02);
}
.about-aside-info{
  display:flex;
  flex-direction:column;
  gap:.6rem;
}
.badge-pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
}
.pill-badge{
  font-size:.76rem;
  font-weight:600;
  padding:.3rem .65rem;
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  gap:.35rem;
}
.pill-badge.primary{
  background:var(--teal-100);
  color:var(--teal-text);
  border:1px solid rgba(18,128,117,.15);
}
.pill-badge.accent{
  background:rgba(201,138,31,.1);
  color:var(--amber);
  border:1px solid rgba(201,138,31,.25);
  font-weight:700;
}
.pill-badge.muted{
  background:#f4f7f6;
  color:var(--ink-soft);
  border:1px solid #e2e8e7;
}
.about-aside-actions{
  display:flex;
  gap:.6rem;
  margin-top:.4rem;
}
.about-aside-actions .btn{
  flex:1;
  justify-content:center;
  padding:.65rem .8rem;
  font-size:.85rem;
}

/* Bio Content Right Column */
.about-bio-main{
  display:flex;
  flex-direction:column;
  gap:1.1rem;
}
.about-bio-header{
  border-bottom:1px solid var(--line);
  padding-bottom:1.1rem;
}
.about-doc-name{
  font-size:clamp(1.75rem, 3.2vw, 2.25rem);
  color:var(--teal-900);
  font-weight:700;
  margin-bottom:.35rem;
  line-height:1.2;
}
.about-doc-subtitle{
  font-size:1.05rem;
  font-weight:600;
  color:var(--teal-700);
  margin-bottom:.65rem;
}
.about-cred-pills{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}
.cred-pill{
  background:var(--teal-50);
  color:var(--teal-900);
  border:1px solid var(--line);
  font-size:.82rem;
  font-weight:600;
  padding:.25rem .75rem;
  border-radius:20px;
}
.about-bio-body{
  font-size:.96rem;
  line-height:1.7;
  color:var(--ink-soft);
  display:flex;
  flex-direction:column;
  gap:.85rem;
}
.about-bio-body p{
  margin:0;
}
.about-quote-box{
  background:linear-gradient(135deg, var(--teal-50), #ebf7f5);
  border-left:4px solid var(--teal-600);
  border-radius:0 12px 12px 0;
  padding:1.1rem 1.4rem;
  position:relative;
  margin:.4rem 0;
}
.about-quote-box p{
  font-style:italic;
  color:var(--teal-900);
  font-size:.95rem;
  line-height:1.55;
  margin-bottom:.4rem;
}
.about-quote-box footer{
  font-size:.82rem;
  color:var(--teal-text);
  font-weight:700;
  text-align:right;
}

/* Stat Chips Row */
.about-stat-row{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:.75rem;
  margin-top:.4rem;
}
.about-stat-card{
  background:var(--teal-50);
  border:1px solid var(--line);
  border-radius:12px;
  padding:.85rem .9rem;
  display:flex;
  align-items:center;
  gap:.7rem;
}
.about-stat-card svg{
  width:24px;
  height:24px;
  color:var(--teal-600);
  flex-shrink:0;
}
.about-stat-card .val{
  display:block;
  font-family:var(--font-head);
  font-size:.98rem;
  font-weight:700;
  color:var(--teal-900);
  line-height:1.2;
}
.about-stat-card .lbl{
  display:block;
  font-size:.72rem;
  color:var(--muted);
  font-weight:500;
  line-height:1.2;
}

/* Section Header Styles */
.section-header-pill{
  margin-bottom:2rem;
}
.section-header-pill .eyebrow{
  margin-bottom:.35rem;
}
.section-header-pill h2{
  font-size:clamp(1.5rem, 2.8vw, 1.95rem);
  margin-bottom:.4rem;
}
.section-header-pill p{
  font-size:.94rem;
  color:#111111;
  margin:0;
  max-width:680px;
}

/* Academic Qualifications Cards */
.edu-cards-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.4rem;
}
.edu-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  padding:1.5rem;
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  position:relative;
  transition:transform .2s ease, box-shadow .2s ease;
}
.edu-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}
.edu-stage-tag{
  align-self:flex-start;
  font-size:.74rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  padding:.2rem .6rem;
  border-radius:6px;
  margin-bottom:.8rem;
}
.edu-stage-tag.super{
  background:rgba(201,138,31,.12);
  color:var(--amber);
  border:1px solid rgba(201,138,31,.25);
}
.edu-stage-tag.pg{
  background:var(--teal-100);
  color:var(--teal-text);
  border:1px solid rgba(18,128,117,.2);
}
.edu-stage-tag.grad{
  background:#f0f4f4;
  color:var(--ink-soft);
  border:1px solid #dae4e3;
}
.edu-degree{
  font-family:var(--font-head);
  font-size:1.12rem;
  font-weight:700;
  color:var(--teal-900);
  margin-bottom:.4rem;
  line-height:1.3;
}
.edu-college{
  font-size:.92rem;
  font-weight:600;
  color:var(--ink);
  margin-bottom:.25rem;
  line-height:1.4;
}
.edu-univ{
  font-size:.84rem;
  color:var(--muted);
  line-height:1.4;
  margin-bottom:.9rem;
}
.edu-footer-year{
  margin-top:auto;
  padding-top:.85rem;
  border-top:1px solid #edf4f3;
  font-size:.82rem;
  font-weight:600;
  color:var(--teal-700);
  display:flex;
  align-items:center;
  gap:.4rem;
}

/* Professional Timeline */
.timeline-block{
  max-width:880px;
  margin:0 auto;
  position:relative;
  padding-left:2.2rem;
}
.timeline-block::before{
  content:'';
  position:absolute;
  left:9px;
  top:12px;
  bottom:12px;
  width:2px;
  background:linear-gradient(180deg, var(--teal-500), #a3ded6);
}
.timeline-node{
  position:relative;
  margin-bottom:1.6rem;
}
.timeline-node:last-child{
  margin-bottom:0;
}
.timeline-node-dot{
  position:absolute;
  left:-2.2rem;
  top:14px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--white);
  border:3px solid var(--teal-500);
  box-shadow:0 0 0 3px rgba(18,128,117,.15);
  display:flex;
  align-items:center;
  justify-content:center;
}
.timeline-node.current .timeline-node-dot{
  border-color:var(--amber);
  background:var(--amber);
  box-shadow:0 0 0 4px rgba(201,138,31,.25);
}
.timeline-node-dot::after{
  content:'';
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--teal-600);
}
.timeline-node.current .timeline-node-dot::after{
  background:var(--white);
}
.timeline-content-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  padding:1.2rem 1.4rem;
  box-shadow:var(--shadow-sm);
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:1.2rem;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.timeline-content-card:hover{
  transform:translateX(3px);
  box-shadow:var(--shadow);
  border-color:var(--teal-500);
}
.timeline-node.current .timeline-content-card{
  border-left:4px solid var(--amber);
  background:linear-gradient(135deg, #fff, #fffdf8);
}
.timeline-main-info{
  flex:1;
}
.timeline-role-title{
  font-family:var(--font-head);
  font-size:1.05rem;
  font-weight:700;
  color:var(--teal-900);
  margin-bottom:.25rem;
}
.timeline-hosp-name{
  font-size:.92rem;
  font-weight:600;
  color:var(--ink);
  margin-bottom:.2rem;
}
.timeline-hosp-loc{
  font-size:.82rem;
  color:#111111;
  display:flex;
  align-items:center;
  gap:.3rem;
}
.timeline-date-badge{
  flex-shrink:0;
  background:var(--teal-50);
  color:var(--teal-text);
  border:1px solid var(--line);
  font-size:.78rem;
  font-weight:700;
  padding:.3rem .7rem;
  border-radius:20px;
  white-space:nowrap;
}
.timeline-node.current .timeline-date-badge{
  background:rgba(201,138,31,.12);
  color:var(--amber);
  border-color:rgba(201,138,31,.3);
}

/* Areas of Expertise Grid (Compact Visual Cards - Application Teal Theme) */
#clinical-expertise{
  padding:42px 0 46px;
}
#clinical-expertise .section-header-pill{
  margin-bottom:1.4rem;
}
.expertise-card-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.15rem;
}
.expertise-image-card{
  display:flex;
  flex-direction:column;
  background:#ffffff;
  border-radius:10px;
  overflow:hidden;
  text-decoration:none;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--line);
  transition:transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s cubic-bezier(.16,1,.3,1), border-color .2s ease;
}
.expertise-image-card:hover,
.expertise-image-card:focus-visible{
  transform:translateY(-4px);
  box-shadow:0 12px 28px -6px rgba(10, 55, 51, 0.2);
  border-color:var(--teal-500);
  outline:none;
}
.expertise-image-wrap{
  width:100%;
  height:180px;
  background:#ffffff;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.expertise-image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  transition:transform .35s cubic-bezier(.16,1,.3,1);
}
.expertise-image-card:hover .expertise-image-wrap img{
  transform:scale(1.04);
}
.expertise-card-bar{
  background:linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 100%);
  padding:.62rem .85rem;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:48px;
  transition:background .2s ease;
}
.expertise-image-card:hover .expertise-card-bar{
  background:var(--teal-800);
}
.expertise-card-bar h3{
  color:#ffffff;
  font-size:.92rem;
  font-weight:600;
  line-height:1.25;
  margin:0;
  letter-spacing:-0.01em;
  font-family:var(--font-head);
}
.expertise-card-body{
  padding:.75rem .9rem .85rem;
  display:flex;
  flex-direction:column;
  gap:.45rem;
  flex-grow:1;
  background:#ffffff;
}
.expertise-card-body p{
  font-size:.83rem;
  color:var(--ink-soft);
  line-height:1.42;
  margin:0;
}
.expertise-card-body .expertise-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.35rem;
  margin-top:auto;
  padding-top:.5rem;
  border-top:1px solid #edf4f3;
}
.expertise-card-body .expertise-tag{
  background:var(--teal-50);
  color:var(--teal-text);
  border:1px solid var(--line);
  font-size:.72rem;
  font-weight:600;
  padding:.15rem .45rem;
  border-radius:4px;
  transition:background .18s ease, color .18s ease;
}
.expertise-image-card:hover .expertise-tag{
  background:var(--teal-100);
  border-color:rgba(18, 128, 117, 0.25);
}

/* Fallback for classic feature cards if used elsewhere */
.expertise-feature-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  padding:1.4rem;
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  gap:.75rem;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.expertise-feature-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:var(--teal-500);
}
.expertise-icon-head{
  display:flex;
  align-items:center;
  gap:.8rem;
}
.expertise-icon-box{
  width:44px;
  height:44px;
  border-radius:12px;
  background:var(--teal-100);
  color:var(--teal-700);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.expertise-icon-box svg{
  width:24px;
  height:24px;
}
.expertise-feature-card h3{
  font-size:1.02rem;
  font-weight:700;
  color:var(--teal-900);
  margin:0;
  line-height:1.3;
}
.expertise-feature-card p{
  font-size:.88rem;
  color:var(--ink-soft);
  line-height:1.5;
  margin:0;
}
.expertise-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.35rem;
  margin-top:auto;
  padding-top:.7rem;
  border-top:1px solid #edf4f3;
}
.expertise-tag{
  background:#f2f7f6;
  color:var(--teal-text);
  font-size:.74rem;
  font-weight:600;
  padding:.15rem .5rem;
  border-radius:4px;
}

/* Awards Section */
.awards-masonry-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:1.3rem;
}
.award-prestige-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  padding:1.35rem 1.5rem;
  box-shadow:var(--shadow-sm);
  display:flex;
  gap:1.1rem;
  align-items:flex-start;
  position:relative;
  overflow:hidden;
  border-left:4px solid var(--amber);
  transition:transform .2s ease, box-shadow .2s ease;
}
.award-prestige-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}
.award-trophy-box{
  width:46px;
  height:46px;
  border-radius:12px;
  background:rgba(201,138,31,.12);
  color:var(--amber);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.award-trophy-box svg{
  width:24px;
  height:24px;
}
.award-card-body{
  flex:1;
}
.award-year-badge{
  display:inline-block;
  font-size:.74rem;
  font-weight:700;
  color:var(--amber);
  background:rgba(201,138,31,.1);
  padding:.15rem .55rem;
  border-radius:4px;
  margin-bottom:.35rem;
}
.award-heading{
  font-family:var(--font-head);
  font-size:.98rem;
  font-weight:700;
  color:var(--teal-900);
  line-height:1.35;
  margin-bottom:.35rem;
}
.award-text{
  font-size:.85rem;
  color:var(--ink-soft);
  line-height:1.45;
  margin:0;
}

/* Clinical Philosophy Banner Card */
.philosophy-banner-card{
  background:linear-gradient(135deg, var(--teal-900), #0d4a44);
  color:var(--white);
  border-radius:20px;
  padding:2.4rem 2.8rem;
  box-shadow:var(--shadow);
  display:flex;
  gap:1.8rem;
  align-items:center;
}
.philosophy-icon-wrap{
  width:64px;
  height:64px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  color:var(--teal-100);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.philosophy-icon-wrap svg{
  width:32px;
  height:32px;
}
.philosophy-content h3{
  color:var(--white);
  font-size:1.35rem;
  margin-bottom:.5rem;
}
.philosophy-content p{
  color:rgba(255,255,255,.88);
  font-size:.96rem;
  line-height:1.65;
  margin:0;
}

/* Practice Locations Two-Col Box */
.practice-hubs-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1.4rem;
  margin-top:1rem;
}
.practice-hub-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  padding:1.4rem;
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  gap:.6rem;
}
.practice-hub-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.practice-hub-title{
  font-family:var(--font-head);
  font-size:1.05rem;
  font-weight:700;
  color:var(--teal-900);
}
.practice-hub-tag{
  font-size:.75rem;
  font-weight:700;
  padding:.2rem .6rem;
  border-radius:6px;
}
.practice-hub-tag.primary{
  background:var(--teal-100);
  color:var(--teal-text);
}
.practice-hub-tag.secondary{
  background:#f4f7f6;
  color:var(--ink);
}
.practice-hub-address{
  font-size:.88rem;
  color:var(--ink-soft);
  line-height:1.45;
  margin:0;
}
.practice-hub-timings{
  font-size:.82rem;
  font-weight:600;
  color:var(--teal-700);
  display:flex;
  align-items:center;
  gap:.35rem;
  margin-top:auto;
  padding-top:.5rem;
}

@media (max-width:768px){
  .site-header{position:sticky;top:0;}
  .nav-links{
    position:fixed;top:68px;left:0;right:0;background:#fff;flex-direction:column;align-items:flex-start;
    padding:1rem 20px 1.4rem;gap:0;border-bottom:1px solid var(--line);box-shadow:0 12px 28px rgba(10,55,51,.1);
    transform:translateY(-14px);opacity:0;visibility:hidden;transition:opacity .22s ease,transform .22s ease,visibility .22s;
    max-height:calc(100vh - 68px);overflow-y:auto;
  }
  .nav-links.open{transform:translateY(0);opacity:1;visibility:visible;}
  .nav-links a{width:100%;padding:.8rem 0;font-size:1rem;border-bottom:1px solid var(--teal-50);}
  .nav-toggle{display:flex;}
  .nav-cta .btn-nav-cta{display:none;}
  
  .hero-grid,.split,.page-hero-grid,.contact-grid{grid-template-columns:1fr;gap:2rem;}
  .hero-copy,.hero-content{padding-top:0.2rem;padding-bottom:1rem;align-self:stretch;}
  .hero-visual{order:-1;max-width:360px;margin:0 auto;}
  .hero-photo-wrap{max-width:360px;height:380px;}
  .hero-photo-wrap img{width:100%;height:100%;object-fit:cover;object-position:center 48%;transform:scale(1.72);transform-origin:center 44%;}
  .hero-visual::before{width:100%;max-width:360px;height:365px;border-radius:18px;top:10px;}
  .hero-script-tag{font-size:2.2rem;top:10px;right:-10px;}
  
  .split-media{order:-1;aspect-ratio:16/10;}
  .two-col-list{grid-template-columns:1fr;gap:1.2rem;}
  .form-row{grid-template-columns:1fr;}
  
  /* About Us Responsive Rules */
  .about-profile-card{grid-template-columns:1fr;padding:1.6rem;gap:1.6rem;}
  .about-portrait{max-width:320px;height:340px;margin:0 auto;}
  .about-aside-info{text-align:center;align-items:center;}
  .badge-pill-row{justify-content:center;}
  .about-aside-actions{width:100%;max-width:320px;margin:0 auto;}
  .about-stat-row{grid-template-columns:repeat(2,1fr);gap:.7rem;}
  .edu-cards-grid{grid-template-columns:1fr;}
  .expertise-card-grid{grid-template-columns:repeat(2,1fr);gap:1.2rem;}
  .practice-hubs-grid{grid-template-columns:1fr;}
  .philosophy-banner-card{flex-direction:column;padding:1.8rem 1.4rem;text-align:center;gap:1rem;}
  .timeline-content-card{flex-direction:column;gap:.6rem;}
  
  .category-split-layout{grid-template-columns:1fr;gap:2.2rem;}
  .category-visual-wrap{position:static;max-width:440px;margin:0 auto;height:auto;}
  .category-visual-card{position:static;}
  .category-header h2{font-size:1.75rem;}
  .feature-strip{grid-template-columns:repeat(2,1fr);gap:1.1rem;padding:1.2rem;}
  .matrix-table th, .matrix-table td{padding:.8rem .9rem;font-size:.82rem;}
  .home-research-grid{grid-template-columns:1fr;}
  .academic-metrics-ribbon{flex-direction:column;align-items:flex-start;gap:.9rem;padding:1.2rem;}
}

/* Mobile Devices (max-width: 640px) */
@media (max-width:640px){
  .container{padding:0 16px;}
  .section{padding:36px 0;}
  .section-tight{padding:28px 0;}
  .category-section{padding:2.8rem 0;}
  
  .brand-text .name{font-size:1rem;}
  .brand-text .role{font-size:.72rem;}
  .brand-mark{width:40px;height:40px;padding:2px;border-radius:50%;}
  .brand-mark svg{width:22px;height:22px;}
  
  .about-stat-row{grid-template-columns:1fr;}
  .expertise-card-grid{grid-template-columns:1fr;}
  .about-doc-name{font-size:1.65rem;}
  .about-profile-card{padding:1.25rem 1rem;border-radius:16px;}
  .timeline-block{padding-left:1.8rem;}
  .timeline-node-dot{left:-1.8rem;}
  
  .hero{padding:20px 0 16px;}
  .hero h1{font-size:2.1rem;line-height:1.15;margin-bottom:.85rem;}
  .hero-lead{font-size:.96rem;margin-bottom:1.4rem;}
  .hero-actions{flex-direction:column;align-items:stretch;gap:.75rem;}
  .btn-hero-primary, .btn-hero-outline{width:100%;justify-content:center;padding:.8rem 1.4rem;}
  
  .hero-stats-bar{grid-template-columns:repeat(2,1fr);row-gap:1.2rem;column-gap:1rem;padding:1.1rem;border-radius:16px;}
  .hero-stats-item{padding:0;border-right:none;}
  .hero-stats-icon svg{width:30px;height:30px;}
  .hero-stats-info .stat-num{font-size:1.15rem;}
  .hero-stats-info .stat-lbl{font-size:.75rem;}
  
  .page-hero{padding:26px 0 34px;margin-bottom:1.6rem;}
  .page-hero h1{font-size:1.75rem;}
  .page-hero .hero-lead{font-size:.92rem;}
  .page-hero-script-wrap{display:none;}
  
  .grid-4,.grid-3,.grid-2{grid-template-columns:1fr;}
  .icon-grid{grid-template-columns:repeat(2,1fr);gap:1rem;}
  .feature-strip{grid-template-columns:repeat(2,1fr);gap:.9rem;padding:1.1rem 1.2rem;}
  .cta-banner{flex-direction:column;text-align:center;padding:1.6rem 1.2rem;border-radius:16px;}
  .cta-banner .btn{width:100%;}
  
  .treatment-acc-header{padding:1rem 1.15rem;font-size:.95rem;}
  .treatment-acc-inner{padding:1.1rem;}
  .acc-clinical-grid{grid-template-columns:1fr;}
  .treatment-acc-inner .btn{width:100%;justify-content:center;}
  
  .stat-strip{flex-direction:column;gap:.8rem;}
  .stat-chip{flex:1 1 auto;width:100%;}
  .philosophy-box{padding:1.3rem;flex-direction:column;gap:.9rem;}
  
  .footer-grid{grid-template-columns:1fr;row-gap:1.8rem;}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:.8rem;}
  .contact-quick{flex-direction:column;}
  
  /* Input tap-target & anti-zoom for mobile */
  input, select, textarea{font-size:16px !important;}
  
  /* Floating action buttons */
  .whatsapp-float{bottom:16px;right:16px;width:48px;height:48px;}
  .whatsapp-float svg{width:26px;height:26px;}
  .back-to-top{bottom:74px;right:18px;width:40px;height:40px;}
}

/* Small Screens & Pocket Devices (max-width: 400px) */
@media (max-width:400px){
  .hero h1{font-size:1.85rem;}
  .hero-stats-bar{grid-template-columns:1fr;row-gap:1rem;}
  .hero-stats-item{border-bottom:1px solid #eef5f4;padding-bottom:.8rem;}
  .hero-stats-item:last-child{border-bottom:none;padding-bottom:0;}
  .icon-grid{grid-template-columns:1fr;}
  .feature-strip{grid-template-columns:1fr;gap:.75rem;padding:.9rem 1.1rem;}
  .hero-photo-wrap{max-width:300px;height:320px;}
  .hero-visual::before{width:100%;max-width:285px;height:310px;border-radius:16px;top:8px;}
  .brand-text .name{font-size:.92rem;}
  .brand-text .role{font-size:.68rem;}
}
