/* ==========================================================================
   Sevya Orthocare — Design System
   Palette: Navy (orthopaedic / brand) + Teal (paediatric nephrology)
   Display: Fraunces · Body: Inter · Data/eyebrow: JetBrains Mono
   Signature: the "recovery path" stepped line — echoes "Reviving Your Steps"
   ========================================================================== */

:root{
  /* Navy — primary / orthopaedic track */
  --navy-900:#0A1F3D;
  --navy-800:#0F2A52;
  --navy-700:#153A6B;
  --navy-500:#2C5C99;
  --navy-100:#E7EDF7;

  /* Teal — secondary / paediatric nephrology track */
  --teal-700:#0A6E6D;
  --teal-600:#0E9594;
  --teal-400:#49BFB9;
  --teal-100:#E4F5F3;

  /* Warm accent — used sparingly (emergency / CTA highlight only) */
  --amber-500:#F2A65A;
  --amber-100:#FCEEDD;

  --ink:#12203A;
  --slate:#5B6B84;
  --slate-light:#8494AC;
  --bg:#F7F9FC;
  --white:#FFFFFF;
  --line:#E3E9F1;

  --font-display:'Fraunces', Georgia, serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:'JetBrains Mono', monospace;

  --radius-sm:10px;
  --radius-md:18px;
  --radius-lg:28px;
  --shadow-sm:0 2px 10px rgba(10,31,61,.06);
  --shadow-md:0 12px 32px rgba(10,31,61,.10);
  --shadow-lg:0 24px 60px rgba(10,31,61,.16);
  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden; /* safety net against any decorative element causing horizontal scroll */
}
/* Prevents page from scrolling behind the open mobile drawer */
body.nav-locked{overflow:hidden;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
button{font-family:inherit;cursor:pointer;background:none;border:none;}
.container{max-width:1220px;margin:0 auto;padding:0 clamp(16px,4vw,24px);}
section{position:relative;}

/* Anchor targets shouldn't hide under the sticky header when jumped to */
#doctors,#services,#contact{scroll-margin-top:96px;}

/* Visible keyboard focus everywhere (accessibility floor) */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:2px solid var(--teal-600);outline-offset:3px;border-radius:4px;
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important;}
}

h1,h2,h3,h4{font-family:var(--font-display);font-weight:600;color:var(--navy-900);margin:0 0 .5em;letter-spacing:-.01em;}
h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1.1;}
h2{font-size:clamp(1.6rem,3.4vw,2.6rem);line-height:1.18;}
h3{font-size:clamp(1.1rem,2vw,1.3rem);}
p{margin:0 0 1em;color:var(--slate);}

.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--font-mono);font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--teal-700);font-weight:700;margin-bottom:14px;
  padding:6px 14px;background:linear-gradient(135deg,rgba(14,149,148,.12),rgba(73,191,185,.06));
  border-radius:100px;border:1px solid rgba(14,149,148,.18);
  box-shadow:0 2px 8px rgba(10,110,109,.08);
}
.eyebrow::before{content:'';width:8px;height:8px;background:var(--amber-500);display:inline-block;border-radius:50%;flex-shrink:0;box-shadow:0 0 8px rgba(242,166,90,.7);}

.section-head{max-width:720px;margin-bottom:clamp(32px,5vw,52px);display:flex;flex-direction:column;align-items:flex-start;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;align-items:center;}
.section-head h2{position:relative;display:block;width:100%;margin-top:4px;margin-bottom:14px;}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:14px 28px;border-radius:100px;font-weight:600;font-size:.95rem;
  border:2px solid transparent;transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .25s;
  white-space:nowrap;
}
.btn-primary{background:var(--navy-800);color:#fff;box-shadow:var(--shadow-sm);}
.btn-primary:hover{background:var(--navy-700);transform:translateY(-2px);box-shadow:var(--shadow-md);}
.btn-outline{border-color:var(--navy-800);color:var(--navy-800);}
.btn-outline:hover{background:var(--navy-800);color:#fff;transform:translateY(-2px);}
.btn-teal{background:var(--teal-600);color:#fff;box-shadow:var(--shadow-sm);}
.btn-teal:hover{background:var(--teal-700);transform:translateY(-2px);box-shadow:var(--shadow-md);}

/* btn-sm made fluid: same look on desktop, shrinks gracefully instead of
   holding a fixed 180px/58px box that used to overflow the mobile nav */
.btn-sm{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:clamp(10px,2vw,14px) clamp(18px,4vw,32px);
  min-width:clamp(0px,20vw,180px);
  height:clamp(42px,7vw,58px);
  border-radius:999px;
  font-size:clamp(.82rem,1.6vw,1rem);
  font-weight:600;
  white-space:nowrap;
}

/* ============ Topbar ============ */
.topbar{background:var(--navy-900);color:#cfdbef;font-size:.82rem;}
.topbar .container{display:flex;justify-content:space-between;align-items:center;padding:9px 0;flex-wrap:wrap;gap:8px;}
.topbar a{color:#cfdbef;display:inline-flex;align-items:center;gap:6px;}
.topbar a:hover{color:#fff;}
.topbar-left{display:flex;gap:22px;flex-wrap:wrap;}
.topbar-social{display:flex;gap:14px;}
.topbar-social svg{width:15px;height:15px;}

/* ============ Header / Nav ============ */
header.site-header{
  position:sticky;top:0;z-index:100;
  border-bottom:1px solid var(--line);
}
/* The blur used to sit directly on header.site-header as background +
   backdrop-filter. Any element with backdrop-filter/filter/transform
   becomes a new "containing block" for position:fixed descendants —
   so nav.main-nav (the mobile drawer) and .nav-overlay, both position:fixed,
   were being confined to the header's own box instead of the viewport.
   That's why the drawer/backdrop only covered a small area near the top
   instead of the full screen. Moving the blur onto a ::before pseudo
   element (which has no fixed descendants of its own) keeps the visual
   effect identical while letting nav.main-nav/.nav-overlay position
   correctly against the viewport again. */
header.site-header::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:rgba(247,249,252,.86);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.nav-wrap{
  display:flex;align-items:center;justify-content:space-between;
  padding:clamp(10px,2vw,18px) 10px;
  gap:16px;
}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;font-family:var(--font-display);font-weight:700;font-size:1.3rem;color:var(--navy-900);}
.brand .brand-mark{
  width:44px;height:44px;border-radius:12px;flex-shrink:0;
  background:linear-gradient(135deg,var(--navy-800),var(--teal-600));
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.1rem;
}
.brand small{display:block;font-family:var(--font-body);font-weight:500;font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:var(--teal-700);}

/* Optional image-logo variant (use instead of the text brand mark if needed) */
.brand-logo{
  width:auto;
  height:clamp(40px,6vw,60px);
  max-width:min(60vw,360px);
  object-fit:contain;
  display:block;
  flex-shrink:0;
}
.navbar{flex:1;display:flex;justify-content:center;min-width:0;}

nav.main-nav{display:flex;align-items:center;gap:34px;}
nav.main-nav > ul{display:flex;gap:clamp(16px,2.4vw,30px);align-items:center;}
nav.main-nav > ul > li{position:relative;}
nav.main-nav > ul > li > a{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:.94rem;padding:8px 0;position:relative;}
nav.main-nav > ul > li > a::after{content:'';position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--teal-600);transition:width .25s var(--ease);}
nav.main-nav > ul > li > a:hover::after{width:100%;}
nav.main-nav > ul > li > a:hover{color:var(--teal-700);}

.caret{
  width:8px;height:8px;flex-shrink:0;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .25s var(--ease);
  opacity:.65;
}
.has-children:hover .caret{transform:rotate(225deg) translateY(2px);opacity:1;}
.dropdown{
  position:absolute;top:calc(100% + 14px);left:0;min-width:250px;max-width:90vw;z-index:110;
  background:#fff;border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);
  padding:10px;opacity:0;visibility:hidden;transform:translateY(8px);
  transition:all .25s var(--ease);border:1px solid var(--line);
}
.has-children:hover .dropdown{opacity:1;visibility:visible;transform:translateY(0);}
.dropdown li a{display:block;padding:10px 14px;border-radius:8px;font-size:.9rem;color:var(--ink);}
.dropdown li a:hover{background:var(--teal-100);color:var(--teal-700);}

.nav-cta{display:flex;align-items:center;gap:14px;flex-shrink:0;}
.nav-emergency{
  display:flex;flex-direction:column;line-height:1.2;font-size:.78rem;color:var(--slate);
  white-space:nowrap;
}
.nav-emergency strong{font-family:var(--font-mono);color:var(--navy-900);font-size:.95rem;}

/* Hamburger — bumped above the mobile drawer (z-index:150) so it stays
   visible/tappable as the X-close icon while the drawer is open */
.menu-toggle{
  display:none;background:none;border:none;width:38px;height:32px;
  position:relative;flex-shrink:0;
  z-index:160;
}
.menu-toggle span{position:absolute;left:0;right:0;height:2px;background:var(--navy-900);transition:.25s;}
.menu-toggle span:nth-child(1){top:4px;}
.menu-toggle span:nth-child(2){top:15px;}
.menu-toggle span:nth-child(3){top:26px;}
.menu-toggle.open span:nth-child(1){transform:translateY(11px) rotate(45deg);}
.menu-toggle.open span:nth-child(2){opacity:0;}
.menu-toggle.open span:nth-child(3){transform:translateY(-11px) rotate(-45deg);}

/* Dedicated close (X) button rendered *inside* the drawer itself.
   Hidden on desktop; shown only inside the mobile drawer for a clearer,
   unambiguous way to dismiss the menu (in addition to the hamburger/X
   and the overlay-tap-to-close behaviour). */
.nav-close{
  display:none;
  position:absolute;top:18px;right:18px;
  width:36px;height:36px;border-radius:50%;
  align-items:center;justify-content:center;
  background:var(--bg);border:1px solid var(--line);
  color:var(--navy-900);
  z-index:1;
}
.nav-close svg{width:16px;height:16px;}
.nav-close:hover{background:var(--teal-100);color:var(--teal-700);}

/* Backdrop shown behind the mobile drawer so the rest of the page is
   dimmed and un-interactable while the menu is open. JS should toggle
   the `.show` class on this element in sync with `nav.main-nav.open`. */
.nav-overlay{
  position:fixed;inset:0;
  background:rgba(10,31,61,.55);
  z-index:140; /* below nav.main-nav (150) and menu-toggle (160), above everything else */
  opacity:0;visibility:hidden;
  transition:opacity .35s var(--ease);
}
.nav-overlay.show{opacity:1;visibility:visible;}

/* ============ Hero ============ */
.hero{padding:0;overflow:hidden;position:relative;}
.hero--panel{
  background:linear-gradient(120deg,var(--navy-900) 0%,var(--navy-800) 55%,var(--navy-700) 100%);
}
.hero-grid{
  display:grid;grid-template-columns:1.35fr .65fr;gap:clamp(20px,4vw,48px);align-items:center;
  padding:clamp(18px,3vw,32px) 0 clamp(24px,4vw,40px);
}
.hero--panel .hero-copy{padding-bottom:clamp(16px,2.4vw,26px);}
.hero--panel .eyebrow{color:var(--teal-400);}
.hero--panel .eyebrow::before{background:var(--amber-500);}
.hero--panel h1{color:#fff;max-width:720px;}
.hero--panel .hero-copy p{color:#c9d6ea;}
.hero-copy .eyebrow{margin-bottom:18px;}
.hero-copy p{font-size:clamp(.95rem,1.6vw,1.08rem);max-width:600px;}
.hero-actions{display:flex;gap:16px;margin-top:18px;flex-wrap:wrap;}
.hero-badges{display:flex;gap:clamp(16px,3vw,28px);margin-top:clamp(14px,2.6vw,22px);flex-wrap:wrap;}
.hero-badge{display:flex;align-items:center;gap:10px;font-size:.85rem;font-weight:600;color:var(--navy-800);}
.hero-badge .dot,.hero-float .dot{width:38px;height:38px;border-radius:10px;background:var(--teal-100);color:var(--teal-700);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.hero-badge .dot svg,.hero-float .dot svg{width:18px;height:18px;}
.hero--panel .hero-badge{color:#e7edf7;}
.hero--panel .hero-badge .dot{background:rgba(255,255,255,.12);color:#fff;}

.hero-visual{position:relative;width:100%;align-self:center;line-height:0;display:flex;justify-content:flex-end;padding-bottom:clamp(16px,3vw,28px);padding-right:clamp(16px,3vw,32px);}
.hero-visual img{width:auto;max-width:100%;height:auto;max-height:clamp(300px,38vw,460px);display:block;filter:drop-shadow(0 24px 40px rgba(0,0,0,.35));}

.btn-light{background:#fff;color:var(--navy-900);box-shadow:var(--shadow-sm);}
.btn-light:hover{background:#eef2f8;transform:translateY(-2px);box-shadow:var(--shadow-md);}
.btn-outline-light{border-color:rgba(255,255,255,.5);color:#fff;}
.btn-outline-light:hover{background:rgba(255,255,255,.14);transform:translateY(-2px);}

/* ---------- Homepage hero — navy/teal brand variant ---------- */
.hero--brand{
  background:
    radial-gradient(130% 160% at 78% 100%,rgba(14,149,148,.55) 0%,rgba(10,110,109,.28) 22%,transparent 46%),
    linear-gradient(120deg,var(--navy-900) 0%,var(--navy-800) 55%,var(--navy-700) 100%);
}
.hero--brand .hero-copy h1{max-width:640px;}
.hero--brand .hero-subhead{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(1.05rem,2.1vw,1.35rem);
  color:var(--teal-400);
  margin:6px 0 14px;
  max-width:560px;
  line-height:1.4;
}
.hero--brand .hero-copy p{color:#c9d6ea;}
.hero--brand .hero-badge{color:#e7edf7;}
.hero--brand .hero-badge .dot{background:rgba(255,255,255,.12);color:#fff;}
.hero--brand .hero-appointment-tab{background:var(--teal-700);}
.hero--brand .hero-appointment-tab:hover{background:var(--teal-600);}

/* Vertical "Appointment" tab pinned to the hero's edge */
.hero-appointment-tab{
  position:absolute;
  top:50%;
  right:0;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.26);
  color:#fff;
  padding:18px 11px;
  font-family:var(--font-mono);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  writing-mode:vertical-rl;
  text-orientation:mixed;
  border-radius:10px 0 0 10px;
  z-index:5;
  transition:background .25s var(--ease);
}
.hero-appointment-tab:hover{background:rgba(0,0,0,.4);}

/* Recovery-path signature divider (used elsewhere, kept for reference) */
.path-divider{width:100%;height:clamp(36px,8vw,64px);display:block;margin:0;}
.path-divider path{fill:none;stroke:var(--teal-400);stroke-width:2;stroke-dasharray:8 10;stroke-linecap:round;}
.path-divider circle{fill:var(--amber-500);}

/* ============ Core Philosophy of 'Sevya' & Stats ============ */
.philosophy-stats-section {
  position: relative;
  width: 100%;
}

.philosophy-block {
  background: #004b87;
  padding: clamp(40px, 6vw, 60px) 0 clamp(36px, 5vw, 52px);
  color: #ffffff;
}

.philosophy-title {
  color: #49bfb9;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.0vw, 1.5rem);
  font-weight: 600;
  margin-bottom: clamp(28px, 4.5vw, 48px);
  letter-spacing: -0.01em;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 38px) clamp(32px, 6vw, 80px);
  max-width: 1080px;
}

.philosophy-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.philosophy-item--wide {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 12px;
}

.p-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.p-icon svg {
  width: 34px;
  height: 34px;
}

.p-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.stats-strip {
  background: #0c2d4e;
  padding: clamp(32px, 5vw, 48px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 28px);
}

.stat {
  text-align: center;
  color: #fff;
}

.stat .num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  font-weight: 700;
  color: #49bfb9;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat .label {
  font-size: clamp(0.78rem, 1.3vw, 0.88rem);
  color: #c0d4eb;
  font-weight: 500;
}

@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .philosophy-item--wide {
    grid-column: auto;
    justify-content: flex-start;
    margin-top: 0;
  }
}

/* ============ Doctors ============ */
.doctors{padding:clamp(56px,10vw,96px) 0;}
.doctor-card{
  display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(24px,4vw,44px);align-items:center;
  background:#fff;border-radius:var(--radius-lg);padding:8px;box-shadow:var(--shadow-sm);
  border:1px solid var(--line);margin-bottom:clamp(24px,4vw,36px);
}
.doctor-card.reverse{grid-template-columns:1.15fr .85fr;}
.doctor-card.reverse .doctor-photo{order:2;}
.doctor-photo{position:relative;border-radius:calc(var(--radius-lg) - 8px);overflow:hidden;aspect-ratio:1/1.05;}
.doctor-photo img{width:100%;height:100%;object-fit:cover;}
.doctor-track-tag{
  position:absolute;top:16px;left:16px;padding:6px 14px;border-radius:100px;
  font-family:var(--font-mono);font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#fff;
}
.track-ortho{background:var(--navy-800);}
.track-nephro{background:var(--teal-600);}
.doctor-body{padding:20px clamp(16px,4vw,36px) 20px 8px;}
.doctor-card.reverse .doctor-body{padding:20px 8px 20px clamp(16px,4vw,36px);}
.doctor-body .role{font-family:var(--font-mono);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;margin-bottom:6px;}
.doctor-card.ortho .doctor-body .role{color:var(--navy-700);}
.doctor-card.nephro .doctor-body .role{color:var(--teal-700);}
.doctor-name{font-size:clamp(1.3rem,3vw,1.6rem);}
.doctor-headline{font-family:var(--font-display);font-size:clamp(.95rem,2vw,1.05rem);color:var(--navy-800);font-style:italic;}
.doctor-skills{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 24px;}
.doctor-skills span{
  font-size:.8rem;padding:7px 14px;border-radius:100px;background:var(--bg);border:1px solid var(--line);color:var(--navy-800);font-weight:500;
}

/* ============ Services ============ */
.services{padding:clamp(56px,10vw,96px) 0;background:linear-gradient(180deg,var(--bg) 0%,var(--navy-100) 100%);}
.service-tabs{display:flex;gap:12px;margin-bottom:clamp(24px,5vw,40px);flex-wrap:wrap;}
.tab-btn{
  padding:11px 22px;border-radius:100px;border:2px solid var(--line);background:#fff;
  font-weight:600;font-size:.9rem;color:var(--slate);transition:.2s;white-space:nowrap;
}
.tab-btn.active,.tab-btn:hover{border-color:var(--navy-800);color:var(--navy-900);}
.tab-btn[data-track="nephro"].active{border-color:var(--teal-600);color:var(--teal-700);}

.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
/* service-card base styles → see enhanced rules below (search for "ENHANCED SERVICE CARDS") */

/* ============ Facility strip ============ */
.facility{padding:clamp(48px,8vw,80px) 0;}
.facility .container{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,56px);align-items:center;}
.facility-list{display:grid;gap:22px;margin-top:28px;}
.facility-item{display:flex;gap:16px;align-items:flex-start;}
.facility-item .num{font-family:var(--font-mono);font-size:.85rem;color:var(--teal-600);font-weight:700;padding-top:3px;flex-shrink:0;}
.facility-item p{margin:4px 0 0;}
.facility-visual{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);aspect-ratio:5/4.2;}
.facility-visual img{width:100%;height:100%;object-fit:cover;}

/* ============ Testimonials ============ */
.testimonials{padding:clamp(56px,10vw,96px) 0;background:var(--navy-900);color:#fff;position:relative;overflow:hidden;}
.testimonials .eyebrow{color:var(--teal-400);}
.testimonials .eyebrow::before{background:var(--amber-500);}
.testimonials h2{color:#fff;}
.t-slider{position:relative;margin-top:20px;overflow:hidden;}
.t-track{display:flex;transition:transform .5s var(--ease);}
.t-slide{flex:0 0 100%;min-width:0;padding-right:20px;}
.t-card{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-lg);padding:clamp(22px,4vw,40px);max-width:760px;
}
.t-card p{color:#dce6f5;font-size:clamp(1rem,2.2vw,1.15rem);font-family:var(--font-display);line-height:1.55;}
.t-author{display:flex;align-items:center;gap:12px;margin-top:20px;}
.t-avatar{width:44px;height:44px;border-radius:50%;background:var(--teal-600);display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0;}
.t-controls{display:flex;gap:12px;margin-top:32px;}
.t-controls button{
  width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;
  display:flex;align-items:center;justify-content:center;transition:.2s;flex-shrink:0;
}
.t-controls button:hover{background:var(--teal-600);border-color:var(--teal-600);}
.t-controls svg{width:16px;height:16px;}

/* ============ CTA + Contact ============ */
.contact{padding:clamp(56px,10vw,96px) 0;}
.contact .container{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,56px);}
.contact-info{background:var(--navy-900);color:#fff;border-radius:var(--radius-lg);padding:clamp(26px,5vw,44px);}
.contact-info h2{color:#fff;}
.contact-info p{color:#b8c6df;}
.contact-info .eyebrow{color:var(--teal-400);}
.contact-info .eyebrow::before{background:var(--amber-500);}
.btn-block{width:100%;justify-content:center;}
.info-row{display:flex;gap:16px;align-items:flex-start;margin-top:22px;padding-top:22px;border-top:1px solid rgba(255,255,255,.14);}
.info-row .ic{width:40px;height:40px;border-radius:10px;background:var(--teal-600);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.info-row .ic svg{width:18px;height:18px;}
.info-row strong{display:block;font-size:.95rem;}
.info-row span{font-size:.85rem;color:#b8c6df;word-break:break-word;}

.contact-form{background:#fff;border-radius:var(--radius-lg);padding:clamp(26px,5vw,44px);border:1px solid var(--line);box-shadow:var(--shadow-sm);}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.field{margin-bottom:18px;}
.field label{display:block;font-size:.82rem;font-weight:600;color:var(--navy-800);margin-bottom:7px;}
.field input,.field textarea{
  width:100%;padding:13px 16px;border-radius:10px;border:1.5px solid var(--line);
  font-family:inherit;font-size:16px; /* 16px minimum prevents iOS auto-zoom on focus */
  transition:border-color .2s;background:var(--bg);
}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--teal-600);background:#fff;}
.field textarea{resize:vertical;min-height:110px;}
.form-msg{font-size:.85rem;margin-top:10px;padding:12px 14px;border-radius:10px;display:none;}
.form-msg.show{display:block;}
.form-msg.ok{background:var(--teal-100);color:var(--teal-700);}
.form-msg.err{background:var(--amber-100);color:#a35a10;}

/* ============ Footer ============ */
footer.site-footer{background:var(--navy-900);color:#b8c6df;padding-top:clamp(40px,8vw,64px);}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.1);}
.footer-brand .brand{color:#fff;}
.footer-brand p{color:#8fa1bd;margin-top:16px;font-size:.9rem;max-width:280px;}
.footer-social{display:flex;gap:12px;margin-top:20px;}
.footer-social a{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;transition:.2s;}
.footer-social a:hover{background:var(--teal-600);}
.footer-social svg{width:16px;height:16px;}
footer h4{color:#fff;font-family:var(--font-body);font-size:.95rem;margin-bottom:18px;}
.footer-col ul li{margin-bottom:11px;font-size:.88rem;}
.footer-col ul li a{word-break:break-word;}
.footer-col ul li a:hover{color:var(--teal-400);}
.footer-bottom{display:flex;justify-content:space-between;padding:24px 0;font-size:.82rem;flex-wrap:wrap;gap:10px;text-align:center;}

/* ============ Floating actions ============ */
.floating-actions{
  position:fixed;right:22px;bottom:22px;z-index:200;display:flex;flex-direction:column;gap:12px;
  padding-bottom:env(safe-area-inset-bottom,0);
}
.fab{
  width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-md);color:#fff;transition:transform .25s var(--ease);
}
.fab:hover{transform:scale(1.08);}
.fab svg{width:22px;height:22px;}
.fab-whatsapp{background:#25D366;}
.fab-call{background:var(--navy-800);}
.fab-top{background:var(--teal-600);opacity:0;pointer-events:none;transform:translateY(10px);}
.fab-top.show{opacity:1;pointer-events:auto;transform:translateY(0);}

/* ============ Reveal animation ============ */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s var(--ease),transform .7s var(--ease);}
.reveal.in{opacity:1;transform:translateY(0);}

/* ==========================================================================
   Inner pages — page hero, breadcrumb, doctor profile, gallery,
   articles, fast facts. Reuses the same design tokens/components above.
   ========================================================================== */

/* ---------- Page hero (banner) ---------- */
.page-hero{
  position:relative;padding:clamp(72px,14vw,130px) 0 clamp(52px,9vw,90px);
  background:#071929;
  color:#fff;overflow:hidden;
}
.page-hero .container{position:relative;z-index:2;text-align:center;}
.page-hero .eyebrow{color:var(--teal-400);justify-content:center;}
.page-hero .eyebrow::before{background:var(--amber-500);}
.page-hero h1{color:#fff;margin-bottom:12px;}
.page-hero p{color:#c9d6e9;max-width:620px;margin:0 auto;}
.breadcrumb{
  display:flex;justify-content:center;gap:8px;align-items:center;
  font-family:var(--font-mono);font-size:.78rem;color:#9db0cc;margin-top:18px;flex-wrap:wrap;
}
.breadcrumb a{color:#9db0cc;transition:color .2s;}
.breadcrumb a:hover{color:#fff;}
.breadcrumb span.sep{opacity:.5;}
.breadcrumb span.current{color:var(--teal-400);}

/* ---------- Generic inner section spacing ---------- */
.inner-section{padding:clamp(48px,9vw,88px) 0;}
.inner-section.alt{background:linear-gradient(180deg,var(--bg) 0%,var(--navy-100) 100%);}

/* ---------- Doctor profile page ---------- */
.profile-head{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(28px,5vw,56px);align-items:center;}
.profile-photo{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:1/1.05;}
.profile-photo img{width:100%;height:100%;object-fit:cover;}
.profile-photo .doctor-track-tag{position:absolute;top:18px;left:18px;}
.profile-body .role{font-family:var(--font-mono);font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;margin-bottom:8px;}
.profile-body.ortho .role{color:var(--navy-700);}
.profile-body.nephro .role{color:var(--teal-700);}
.profile-body .doctor-headline{font-family:var(--font-display);font-size:clamp(1.05rem,2.2vw,1.25rem);color:var(--navy-800);font-style:italic;}
.profile-skills{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 28px;}
.profile-skills span{font-size:.82rem;padding:8px 16px;border-radius:100px;background:var(--bg);border:1px solid var(--line);color:var(--navy-800);font-weight:500;}
.profile-actions{display:flex;gap:14px;flex-wrap:wrap;}

.approach-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:8px;}
.approach-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:clamp(22px,4vw,28px);}
.approach-card .num{font-family:var(--font-mono);color:var(--teal-600);font-weight:700;font-size:.85rem;}
.approach-card h3{margin:10px 0 8px;}
.approach-card p{margin:0;font-size:.92rem;}

/* ---------- Gallery ---------- */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:200px;gap:16px;}
.gallery-item{position:relative;border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-sm);}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease);display:block;}
.gallery-item:hover img{transform:scale(1.07);}
.gallery-item.tall{grid-row:span 2;}
.gallery-item.wide{grid-column:span 2;}
.gallery-caption{
  position:absolute;inset:auto 0 0 0;padding:14px 16px;
  background:linear-gradient(180deg,rgba(10,31,61,0),rgba(10,31,61,.78));
  color:#fff;font-size:.85rem;font-weight:600;
  opacity:0;transform:translateY(8px);transition:.3s var(--ease);
}
.gallery-item:hover .gallery-caption{opacity:1;transform:translateY(0);}

/* ---------- Articles ---------- */
.articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.article-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;transition:transform .3s var(--ease),box-shadow .3s var(--ease);}
.article-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);}
.article-thumb{aspect-ratio:16/10;position:relative;overflow:hidden;}
.article-thumb img{width:100%;height:100%;object-fit:cover;}
.article-track{position:absolute;top:14px;left:14px;padding:5px 13px;border-radius:100px;font-family:var(--font-mono);font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#fff;}
.article-body{padding:clamp(18px,3vw,26px);}
.article-meta{font-family:var(--font-mono);font-size:.72rem;color:var(--slate-light);text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px;}
.article-body h3{font-size:1.1rem;margin-bottom:10px;}
.article-body p{font-size:.9rem;margin-bottom:14px;}

/* ---------- Fast facts ---------- */
.facts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.fact-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:clamp(20px,4vw,26px);position:relative;}
.fact-card .fact-icon{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.fact-card .fact-icon svg{width:22px;height:22px;}
.fact-card.ortho .fact-icon{background:var(--navy-100);color:var(--navy-700);}
.fact-card.nephro .fact-icon{background:var(--teal-100);color:var(--teal-700);}
.fact-card h3{font-size:1rem;margin-bottom:8px;}
.fact-card p{font-size:.88rem;margin:0;}

/* ---------- Contact page extras ---------- */
.map-embed{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--line);margin-top:clamp(28px,5vw,48px);}
.map-embed iframe{width:100%;height:380px;border:0;display:block;}

/* ==========================================================================
   Responsive — tuned for large desktop → tablet → mobile → small phones
   ========================================================================== */

/* Large tablets / small laptops */
@media (max-width:1200px){
  .stats-grid{gap:16px;}
}

/* Tablet landscape */
@media (max-width:1080px){
  .hero-grid{grid-template-columns:1fr;padding-top:clamp(32px,7vw,56px);}
  .hero-visual{max-width:440px;margin:0 auto;align-self:center;justify-content:center;padding-right:0;}
  .doctor-card,.doctor-card.reverse{grid-template-columns:1fr;}
  .doctor-card.reverse .doctor-photo{order:0;}
  .doctor-photo{aspect-ratio:16/10;}
  .doctor-body,.doctor-card.reverse .doctor-body{padding:8px 24px 28px;}
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .facility .container{grid-template-columns:1fr;}
  .contact .container{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr 1fr;}
  nav.main-nav{gap:20px;}
}

/* Tablet portrait / mobile nav breakpoint */
@media (max-width:800px){
  /* Fix: .navbar used flex:1 to center the desktop nav. Once nav.main-nav
     becomes position:fixed below, it leaves normal flow — but the parent
     .navbar was still claiming flex:1, leaving a stretched empty gap in
     the header between the brand and the hamburger/CTA. Removing the
     flex-grow here lets .nav-wrap's justify-content:space-between align
     brand and nav-cta correctly again. */
  .navbar{flex:none;}

  .topbar{display:none;}
  nav.main-nav{position:fixed;top:0;right:-100%;width:82%;max-width:340px;height:100vh;
    background:#fff;flex-direction:column;align-items:stretch;padding:90px 26px 30px;
    box-shadow:var(--shadow-lg);transition:right .35s var(--ease);overflow-y:auto;z-index:150;}
  nav.main-nav.open{right:0;}
  nav.main-nav > ul{flex-direction:column;align-items:flex-start;gap:4px;width:100%;}
  nav.main-nav > ul > li{width:100%;}
  .dropdown{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:none;
    max-height:0;overflow:hidden;padding:0 0 0 14px;transition:max-height .3s var(--ease);}
  .has-children.open .dropdown{max-height:400px;padding:6px 0 6px 14px;}
  .has-children > a{display:flex;justify-content:space-between;align-items:center;width:100%;}
  .has-children.open > a .caret{transform:rotate(225deg);opacity:1;}
  .menu-toggle{display:block;}
  .nav-close{display:flex;}
  .nav-emergency{display:none;}
  .stats-grid{grid-template-columns:1fr 1fr;}
  .services-grid{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
  .contact-info,.contact-form{padding:30px;}
  .hero-actions{gap:12px;}
  .hero-appointment-tab{padding:14px 8px;font-size:.7rem;}
}

/* Large phones */
@media (max-width:640px){
  .hero-visual{max-width:340px;}
  .t-slide{padding-right:0;}
  .footer-top{grid-template-columns:1fr;gap:32px;text-align:left;}
  .footer-bottom{flex-direction:column;text-align:center;}
}

/* Small phones */
@media (max-width:560px){
  .stats-grid{grid-template-columns:1fr 1fr;gap:24px 14px;}
  .doctors,.services,.facility,.testimonials,.contact{padding:56px 0;}
  .doctor-photo{aspect-ratio:4/3;}
  .hero-actions{flex-direction:column;align-items:stretch;}
  .hero-actions .btn{width:100%;justify-content:center;}
  .hero-badges{gap:14px;}
  .nav-cta .btn-primary.btn-sm{display:none;} /* header stays clean on very small screens */
}

/* Extra-small phones */
@media (max-width:380px){
  .brand small{display:none;}
  .stats-grid{grid-template-columns:1fr;gap:18px;}
  .contact-info,.contact-form{padding:22px;}
  .doctor-skills span{font-size:.74rem;padding:6px 12px;}
  .floating-actions{right:14px;bottom:14px;gap:10px;}
  .fab{width:46px;height:46px;}
  .fab svg{width:18px;height:18px;}
}

/* ============ Inner pages — responsive ============ */
@media (max-width:1080px){
  .profile-head{grid-template-columns:1fr;}
  .approach-grid{grid-template-columns:1fr 1fr;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .articles-grid{grid-template-columns:1fr 1fr;}
  .facts-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:640px){
  .approach-grid,.articles-grid,.facts-grid{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:1fr 1fr;grid-auto-rows:160px;}
  .gallery-item.wide{grid-column:span 2;}
  .page-hero{padding:88px 0 48px;}
}
/* --- Header simplified to match client's reference screenshot: --- */
/* single clean row, no topbar, uppercase tracked nav links, no       */
/* inline phone/CTA cluster crowding the row.                        */
.site-header--simple{border-bottom:1px solid var(--line);}
.main-nav--plain > ul{gap:clamp(20px,2.6vw,34px);}
.main-nav--plain > ul > li > a{
  font-family:var(--font-body);
  font-weight:600;
  font-size:.82rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--navy-900);
}
.nav-cta--plain{gap:0;}
@media(min-width:901px){
  .nav-cta--plain .menu-toggle{display:none;}
}

/* ============ Canva-Inspired Hero Banner ============ */
.hero--canva-style {
  padding: 32px 0 24px;
  background: var(--bg);
}

.hero-canva-card {
  background: linear-gradient(130deg, #092e54 0%, #0c3963 50%, #061f3a 100%);
  border-radius: clamp(16px, 3vw, 24px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(7, 42, 77, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 56px);
}

.hero-canva-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(73, 191, 185, 0.22) 0%, rgba(10, 110, 109, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.hero-canva-card .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 2;
}

.hero-canva-card .hero-copy {
  max-width: 650px;
  position: relative;
  z-index: 3;
}

.hero-canva-card .hero-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  line-height: 1.16;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-canva-card .hero-desc {
  color: #d2e7fc;
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 620px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-sloka-box {
  margin-bottom: 22px;
  max-width: 620px;
  border-left: 3.5px solid #72d980;
  background: rgba(7, 37, 69, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 12px 12px 0;
  padding: 10px 16px 10px 16px;
}

.sloka-sanskrit {
  color: #72d980;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(114, 217, 128, 0.3);
}

.sloka-english {
  color: #76d3e3;
  font-size: clamp(0.86rem, 1.4vw, 0.98rem);
  line-height: 1.4;
  font-style: italic;
  font-weight: 500;
}

.btn-hero-cta {
  background: #ffffff;
  color: #072a4d;
  font-weight: 700;
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  padding: 13px 34px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.btn-hero-cta:hover {
  background: #f0f6ff;
  color: #0d3b66;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.hero-canva-card .hero-visual {
  position: absolute;
  top: -6%;
  right: -2%;
  bottom: -6%;
  width: 58%;
  height: 112%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-canva-card .hero-visual img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 40px rgba(0, 210, 255, 0.45));
  transition: transform 0.5s ease;
}

.hero-canva-card:hover .hero-visual img {
  transform: scale(1.04);
}

@media (max-width: 991px) {
  .hero-canva-card .hero-visual {
    position: relative;
    top: 0; right: 0; bottom: 0;
    width: 100%;
    height: auto;
    margin-top: 24px;
    justify-content: center;
  }
  
  .hero-canva-card .hero-visual img {
    height: auto;
    width: 100%;
    max-height: 360px;
  }
}

/* ============ Interactive Animations & Special Effect Touches ============ */

/* 1. Hero Skeleton Floating & Spotlight Glow */
@keyframes heroSkeletonFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 15px 40px rgba(0, 210, 255, 0.45));
  }
  50% {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 25px 50px rgba(0, 230, 255, 0.65));
  }
}

@keyframes heroSpotlightGlow {
  0%, 100% {
    opacity: 0.22;
    transform: scale(1);
  }
  50% {
    opacity: 0.38;
    transform: scale(1.15);
  }
}

.hero-canva-card::before {
  animation: heroSpotlightGlow 6s ease-in-out infinite alternate;
}

.hero-canva-card .hero-visual img {
  animation: heroSkeletonFloat 5s ease-in-out infinite;
}

/* 2. Hero CTA Button Animated Shine */
.btn-hero-cta {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  z-index: 2;
}

.btn-hero-cta:hover::before {
  left: 150%;
}

/* ============ Core Philosophy of 'Sevya' — 3D Card Redesign ============ */
.philosophy-stats-section {
  position: relative;
  width: 100%;
}

.philosophy-block {
  background: radial-gradient(120% 140% at 50% 0%, #083b6b 0%, #05284b 60%, #03182e 100%);
  padding: clamp(36px, 5vw, 56px) 0 clamp(30px, 4.5vw, 46px);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.philosophy-block::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(73, 191, 185, 0.12) 0%, rgba(10, 110, 109, 0) 70%);
  pointer-events: none;
}

.philosophy-head {
  text-align: center;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.eyebrow--teal {
  color: #49bfb9;
}

.philosophy-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  margin-top: 5px;
  letter-spacing: -0.01em;
}

.philosophy-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2.2vw, 22px);
  max-width: 980px;
  margin: 0 auto;
}

.p-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: clamp(16px, 2.5vw, 22px) clamp(16px, 2.8vw, 24px);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.p-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: clamp(16px, 2.5vw, 22px);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(73, 191, 185, 0.4), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.p-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35), 0 0 30px rgba(73, 191, 185, 0.25);
  border-color: rgba(73, 191, 185, 0.5);
}

.p-card:hover::before {
  opacity: 1;
}

.p-card-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  transition: color 0.4s ease;
}

.p-card:hover .p-card-num {
  color: rgba(73, 191, 185, 0.24);
}

.p-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(73, 191, 185, 0.25), rgba(10, 110, 109, 0.12));
  border: 1px solid rgba(73, 191, 185, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #49bfb9;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.p-card-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.4s ease;
}

.p-card:hover .p-card-icon {
  background: linear-gradient(135deg, #49bfb9, #0e9594);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(73, 191, 185, 0.5);
  transform: rotate(-6deg) scale(1.08);
}

.p-card-title {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.7vw, 1.18rem);
  font-weight: 700;
  color: #f0f7ff;
  margin: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.p-card:hover .p-card-title {
  color: #52e5dc;
}

/* Featured 5th Card Spanning Grid */
.p-card--featured {
  grid-column: 1 / -1;
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, rgba(73, 191, 185, 0.14) 0%, rgba(10, 42, 82, 0.4) 100%);
  border-color: rgba(73, 191, 185, 0.3);
}

.p-card--featured:hover {
  background: linear-gradient(135deg, rgba(73, 191, 185, 0.22) 0%, rgba(10, 42, 82, 0.6) 100%);
}

/* ============ Redesigned Stats Strip ============ */
.stats-strip {
  background: #041a30;
  padding: clamp(28px, 4.5vw, 44px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2.5vw, 20px);
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: clamp(16px, 2.5vw, 22px) 12px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(73, 191, 185, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(73, 191, 185, 0.2);
}

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: #49bfb9;
  line-height: 1.1;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-num {
  color: #52e5dc;
  text-shadow: 0 0 22px rgba(73, 191, 185, 0.75);
}

.stat-label {
  font-size: clamp(0.74rem, 1.2vw, 0.83rem);
  color: #b8cbe0;
  font-weight: 500;
  line-height: 1.32;
}

@media (max-width: 768px) {
  .philosophy-cards-grid {
    grid-template-columns: 1fr;
  }
  .p-card--featured {
    grid-column: auto;
    max-width: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   Service detail pages — signs/candidate list, procedure notes, FAQ accordion
   ========================================================================== */
.service-lede{font-size:clamp(1rem,1.8vw,1.12rem);}

.service-overview-body{max-width:760px;margin:0 auto;text-align:left;}
.service-overview-body p:last-child{margin-bottom:0;}

.signs-list{display:grid;gap:16px;margin:0 auto;max-width:760px;}
.signs-list .facility-item{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:clamp(16px,3vw,22px);box-shadow:var(--shadow-sm);margin-top:0;
}
.signs-list .facility-item .num{color:var(--navy-700);}
.signs-list .facility-item p{margin:4px 0 0;}

.service-note{
  background:var(--navy-100);border-left:3px solid var(--navy-700);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  padding:18px 22px;margin:clamp(24px,4vw,36px) auto 0;max-width:760px;
}
.service-note p{margin:0;font-size:.92rem;color:var(--navy-800);}
.service-note strong{color:var(--navy-900);}

/* FAQ accordion — native details/summary, no JS required */
.faq-list{display:grid;gap:14px;max-width:820px;margin:0 auto;}
.faq-item{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:2px clamp(18px,3vw,26px);box-shadow:var(--shadow-sm);
}
.faq-item summary{
  list-style:none;cursor:pointer;padding:18px 0;
  font-family:var(--font-display);font-weight:600;font-size:1rem;color:var(--navy-900);
  display:flex;justify-content:space-between;align-items:center;gap:16px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:'+';flex-shrink:0;font-size:1.5rem;font-weight:400;color:var(--teal-600);
  transition:transform .25s var(--ease);line-height:1;
}
.faq-item[open] summary::after{transform:rotate(45deg);}
.faq-item p{padding:0 0 20px;margin:0;font-size:.92rem;}

@media (max-width:640px){
  .service-note{padding:16px 18px;}
}
/* ==========================================================================
   AFS — Ankle & Foot Surgery page-specific styles
   Prefix: afs-   (scoped, won't bleed into other pages)
   ========================================================================== */

/* ---- Hero ---- */
.afs-hero{
  padding:clamp(56px,11vw,110px) 0 clamp(40px,7vw,70px);
  background:
    radial-gradient(100% 120% at 70% 0%, rgba(14,149,148,.35) 0%, transparent 55%),
    linear-gradient(150deg,var(--navy-900) 0%,var(--navy-800) 60%,#102e55 100%);
  overflow:hidden;
  position:relative;
}

/* Decorative background blobs */
.afs-hero-bg-shapes{position:absolute;inset:0;pointer-events:none;overflow:hidden;}
.afs-shape{position:absolute;border-radius:50%;filter:blur(60px);opacity:.18;}
.afs-shape--1{width:480px;height:480px;background:var(--teal-400);top:-120px;right:-80px;}
.afs-shape--2{width:300px;height:300px;background:var(--navy-500);bottom:-100px;left:-60px;}
.afs-shape--3{width:200px;height:200px;background:var(--amber-500);top:50%;left:40%;}

.afs-hero .container{position:relative;z-index:2;}

.afs-hero-inner{
  display:grid;
  grid-template-columns:1fr 380px;
  gap:clamp(28px,5vw,56px);
  align-items:center;
}

.afs-eyebrow{color:var(--teal-400);}
.afs-eyebrow::before{background:var(--amber-500);}

.afs-hero h1{color:#fff;margin-bottom:16px;}
.afs-h1-accent{
  background:linear-gradient(90deg,var(--teal-400),#7de4e0);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}

.afs-hero-desc{
  color:#c4d5ec;
  font-size:clamp(.95rem,1.5vw,1.08rem);
  max-width:560px;
  margin-bottom:24px;
}

/* Chip tags */
.afs-hero-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px;}
.afs-chip{
  padding:6px 16px;border-radius:100px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);
  color:#e7f0fc;font-size:.78rem;font-weight:600;letter-spacing:.04em;
  backdrop-filter:blur(4px);
}

.afs-breadcrumb{justify-content:flex-start;margin-top:0;}

/* Quick-facts card */
.afs-quick-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:var(--radius-lg);
  padding:clamp(22px,4vw,32px);
  box-shadow:0 24px 60px rgba(0,0,0,.28);
}

.afs-qc-header{
  font-family:var(--font-mono);font-size:.72rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.12em;color:var(--teal-400);
  margin-bottom:20px;
}

.afs-qc-list{display:grid;gap:14px;margin-bottom:24px;}
.afs-qc-list li{
  display:flex;align-items:flex-start;gap:12px;
  font-size:.88rem;color:#dce9f8;line-height:1.45;
}
.afs-qc-icon{
  width:22px;height:22px;border-radius:50%;
  background:rgba(73,191,185,.22);border:1px solid rgba(73,191,185,.4);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;color:var(--teal-400);margin-top:1px;
}
.afs-qc-icon svg{width:11px;height:11px;}
.afs-qc-btn{width:100%;justify-content:center;margin-top:4px;}

/* ---- Overview ---- */
.afs-overview-section{background:#fff;}
.afs-overview-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(28px,6vw,64px);align-items:start;
}
.afs-overview-text p{font-size:clamp(.9rem,1.4vw,1rem);}

.afs-overview-highlights{display:grid;gap:18px;}
.afs-highlight-card{
  display:flex;gap:16px;align-items:flex-start;
  background:var(--bg);border:1px solid var(--line);
  border-radius:var(--radius-md);padding:clamp(16px,3vw,22px);
  transition:box-shadow .3s var(--ease),transform .3s var(--ease);
}
.afs-highlight-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.afs-hl-icon{
  width:44px;height:44px;border-radius:12px;flex-shrink:0;
  background:var(--navy-100);color:var(--navy-700);
  display:flex;align-items:center;justify-content:center;
}
.afs-hl-icon svg{width:22px;height:22px;}
.afs-highlight-card strong{
  display:block;font-size:.95rem;color:var(--navy-900);
  font-weight:700;margin-bottom:4px;
}
.afs-highlight-card p{font-size:.86rem;margin:0;}

/* ---- Conditions ---- */
.afs-conditions-section{}
.afs-conditions-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:clamp(16px,2.5vw,22px);
}
.afs-cond-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:clamp(20px,3vw,28px);position:relative;overflow:hidden;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.afs-cond-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--navy-700),var(--teal-600));
  transform:scaleX(0);transform-origin:left;
  transition:transform .4s var(--ease);
}
.afs-cond-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);}
.afs-cond-card:hover::before{transform:scaleX(1);}
.afs-cond-num{
  font-family:var(--font-mono);font-size:.72rem;font-weight:700;
  color:var(--teal-600);letter-spacing:.1em;margin-bottom:10px;
}
.afs-cond-card h3{font-size:1rem;margin-bottom:8px;color:var(--navy-900);}
.afs-cond-card p{font-size:.86rem;margin:0;}

/* ---- Signs ---- */
.afs-signs-section{}
.afs-signs-layout{
  display:grid;grid-template-columns:1fr 1.4fr;
  gap:clamp(28px,6vw,64px);align-items:start;
}
.afs-signs-head p{font-size:.96rem;}
.afs-inline-note{margin:24px 0 0 !important;max-width:none !important;}

.afs-signs-list{display:grid;gap:16px;}
.afs-sign-item{
  display:flex;gap:16px;align-items:flex-start;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:clamp(16px,3vw,22px);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.afs-sign-item:hover{transform:translateX(6px);box-shadow:var(--shadow-sm);}
.afs-sign-num{
  font-family:var(--font-mono);font-size:.85rem;font-weight:700;
  color:var(--navy-700);flex-shrink:0;padding-top:2px;min-width:28px;
}
.afs-sign-body strong{display:block;font-size:.95rem;color:var(--navy-900);margin-bottom:4px;}
.afs-sign-body p{font-size:.88rem;margin:0;}

/* ---- Approach Timeline ---- */
.afs-approach-section{}
.afs-approach-timeline{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:clamp(16px,3vw,28px);position:relative;margin-top:8px;
}
.afs-timeline-item{display:flex;flex-direction:column;align-items:center;gap:0;}
.afs-tl-marker{
  display:flex;flex-direction:column;align-items:center;width:100%;margin-bottom:20px;
}
.afs-tl-num{
  width:48px;height:48px;border-radius:50%;
  background:linear-gradient(135deg,var(--navy-800),var(--teal-600));
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-mono);font-size:.85rem;font-weight:700;color:#fff;
  box-shadow:0 8px 20px rgba(15,42,82,.3);flex-shrink:0;
  position:relative;z-index:1;
}
.afs-tl-line{
  width:2px;height:clamp(16px,3vw,24px);
  background:linear-gradient(180deg,var(--navy-700),var(--teal-400));
  opacity:.4;
}
.afs-tl-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:clamp(20px,3vw,26px);text-align:center;width:100%;
  box-shadow:var(--shadow-sm);flex:1;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.afs-tl-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);}
.afs-tl-icon{
  width:48px;height:48px;border-radius:12px;margin:0 auto 16px;
  background:var(--navy-100);color:var(--navy-700);
  display:flex;align-items:center;justify-content:center;
}
.afs-tl-icon svg{width:22px;height:22px;}
.afs-tl-card h3{font-size:1rem;margin-bottom:8px;}
.afs-tl-card p{font-size:.88rem;margin:0;}

/* ---- FAQ ---- */
.afs-faq-section{background:#fff;}
.afs-faq-layout{
  display:grid;grid-template-columns:320px 1fr;
  gap:clamp(28px,6vw,72px);align-items:start;
}

.afs-faq-sidebar h2{margin-bottom:12px;}
.afs-faq-sidebar p{font-size:.94rem;}

.afs-faq-cta-box{
  margin-top:28px;
  background:linear-gradient(135deg,var(--navy-900),var(--navy-800));
  border-radius:var(--radius-md);padding:22px;
}
.afs-faq-cta-box p{color:#c4d5ec;font-size:.86rem;margin-bottom:16px;}
.afs-faq-cta-box .btn{width:100%;justify-content:center;font-size:.88rem;}

/* Accordion items */
.afs-faq-accordion{display:grid;gap:12px;}
.afs-faq-item{
  border:1.5px solid var(--line);border-radius:var(--radius-md);
  background:#fff;overflow:hidden;
  transition:border-color .25s var(--ease),box-shadow .25s var(--ease);
}
.afs-faq-item--open{
  border-color:var(--navy-700);
  box-shadow:0 4px 18px rgba(15,42,82,.08);
}
.afs-faq-trigger{
  width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:clamp(16px,2.5vw,20px) clamp(16px,3vw,24px);
  background:none;border:none;cursor:pointer;text-align:left;
  font-family:var(--font-body);font-size:1rem;font-weight:600;color:var(--navy-900);
  transition:color .2s;
}
.afs-faq-trigger:hover{color:var(--navy-700);}
.afs-faq-item--open .afs-faq-trigger{color:var(--navy-700);}

.afs-faq-q-text{flex:1;line-height:1.4;}

.afs-faq-icon{
  width:30px;height:30px;border-radius:50%;flex-shrink:0;
  border:1.5px solid var(--line);background:var(--bg);
  display:flex;align-items:center;justify-content:center;
  color:var(--teal-600);
  transition:background .25s,border-color .25s,transform .35s var(--ease);
}
.afs-faq-icon svg{width:15px;height:15px;transition:transform .35s var(--ease);}
.afs-faq-item--open .afs-faq-icon{
  background:var(--navy-800);border-color:var(--navy-800);color:#fff;
}
.afs-faq-item--open .afs-faq-icon svg{transform:rotate(180deg);}

.afs-faq-body{
  max-height:0;overflow:hidden;
  transition:max-height .4s cubic-bezier(.22,.61,.36,1);
}
.afs-faq-body p{
  padding:0 clamp(16px,3vw,24px) clamp(16px,3vw,22px);
  font-size:.92rem;color:var(--slate);margin:0;line-height:1.65;
}

/* ==============================
   AFS — Responsive
   ============================== */
@media (max-width:1080px){
  .afs-hero-inner{grid-template-columns:1fr 320px;}
  .afs-conditions-grid{grid-template-columns:repeat(2,1fr);}
  .afs-approach-timeline{grid-template-columns:1fr;}
  .afs-timeline-item{flex-direction:row;gap:20px;align-items:flex-start;}
  .afs-tl-marker{width:auto;flex-direction:column;align-items:center;margin-bottom:0;}
  .afs-tl-line{height:auto;width:2px;flex:1;min-height:20px;}
  .afs-timeline-item--last .afs-tl-line{display:none;}
  .afs-tl-card{text-align:left;}
  .afs-tl-icon{margin:0 0 14px;}
}
@media (max-width:900px){
  .afs-hero-inner{grid-template-columns:1fr;}
  .afs-hero-card-col{max-width:480px;}
  .afs-overview-grid{grid-template-columns:1fr;}
  .afs-signs-layout{grid-template-columns:1fr;}
  .afs-faq-layout{grid-template-columns:1fr;}
  .afs-faq-sidebar{max-width:520px;}
}
@media (max-width:640px){
  .afs-conditions-grid{grid-template-columns:1fr;}
  .afs-hero-chips{gap:8px;}
  .afs-chip{font-size:.72rem;padding:5px 12px;}
  .afs-quick-card{padding:20px;}
}

/* ==========================================================================
   FIX: Oversized/unstyled icon SVGs
   Root cause: icon SVGs on this page aren't wrapped in one of the sized
   icon classes (.service-icon, .p-icon, .afs-tl-icon, .fact-icon, etc.),
   so they render at their raw intrinsic size instead of a small icon.
   This is a low-specificity fallback — any icon that already has a
   specific class rule (e.g. .p-icon svg{width:34px}) is unaffected,
   since class-based rules always win over this plain-element rule.
   ========================================================================== */
svg{
  width:40px;
  height:40px;
  max-width:40px;
  max-height:40px;
  flex-shrink:0;
}

/* FAQ toggle chevrons/plus icons should stay small regardless of context */
.faq-item summary svg,
.afs-faq-icon svg,
details summary svg{
  width:16px;
  height:16px;
  max-width:16px;
  max-height:16px;
}

/* Feature/approach/timeline icons — slightly larger, centred icon badges */
.approach-card svg,
.afs-tl-icon svg,
.afs-hl-icon svg,
.fact-icon svg,
.service-icon svg,
.p-icon svg{
  width:24px;
  height:24px;
  max-width:24px;
  max-height:24px;
}

/* ==========================================================================
   SEVYA — UI ENHANCEMENT v2
   Premium visual upgrade: page heroes, specialty hubs, service cards,
   approach timelines, NPH pages, inner-section treatments.
   ========================================================================== */

/* ===== ENHANCED PAGE HERO ===== */
/* ===== CLASSIC FULL-WIDTH PAGE HERO BANNER ===== */
.page-hero, .orth-hero, .nph-hero, .afs-hero {
  position: relative;
  padding: clamp(52px, 8vw, 84px) 0 clamp(40px, 6vw, 60px);
  background: #071929;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
  border-bottom: 3px solid var(--teal-600);
}

.page-hero::before, .orth-hero::before, .nph-hero::before, .afs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(14, 149, 148, 0.22) 0%, transparent 65%),
    linear-gradient(180deg, rgba(7, 25, 41, 0.78) 0%, rgba(10, 31, 61, 0.88) 100%),
    url('../images/Sevyabanner.jpg') center top / 100% auto no-repeat fixed !important;
  pointer-events: none;
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero .eyebrow {
  color: var(--teal-400);
  justify-content: center;
  margin-bottom: 14px;
}
.page-hero .eyebrow::before { background: var(--amber-500); }

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 14px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-hero p {
  color: #d0e4f7;
  max-width: 680px;
  margin: 0 auto 18px;
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  margin-top: 22px;
  flex-wrap: wrap;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  display: inline-flex;
  padding: 8px 20px;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s; }
.breadcrumb a:hover { color: var(--teal-400); }
.breadcrumb span.sep { opacity: .4; }
.breadcrumb span.current { color: var(--teal-400); font-weight: 600; }

/* ===== ENHANCED INNER SECTION ===== */
.inner-section { padding: clamp(56px,10vw,100px) 0; }
.inner-section.alt {
  background:
    linear-gradient(180deg, #f2f6fb 0%, #e8eef7 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ===== ENHANCED SECTION HEADS ===== */
.section-head h2 {
  position: relative;
  display: inline-block;
}
.section-head.center h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--amber-500));
  border-radius: 2px;
  margin: 14px auto 0;
}
.section-head:not(.center) h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--amber-500));
  border-radius: 2px;
  margin: 14px 0 0;
}

/* ===== ENHANCED SERVICE CARDS ===== */
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: clamp(24px,4vw,32px) clamp(20px,3vw,28px);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
  border-radius: 0 0 4px 4px;
}
.service-card.ortho::before {
  background: linear-gradient(90deg, var(--navy-700), var(--teal-600));
}
.service-card.nephro::before {
  background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
}
.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(10,31,61,.14);
  border-color: transparent;
}

.service-card.ortho:hover { box-shadow: 0 20px 48px rgba(15,42,82,.16); }
.service-card.nephro:hover { box-shadow: 0 20px 48px rgba(10,110,109,.16); }

/* Watermark number in background */
.service-card .service-icon { position: relative; z-index: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }
.service-card.ortho .service-icon {
  background: linear-gradient(135deg, var(--navy-100), #d4e0f5);
  color: var(--navy-700);
  box-shadow: 0 6px 16px rgba(15,42,82,.12);
}
.service-card.nephro .service-icon {
  background: linear-gradient(135deg, var(--teal-100), #c4eeec);
  color: var(--teal-700);
  box-shadow: 0 6px 16px rgba(10,110,109,.12);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card p { font-size: .9rem; margin-bottom: 18px; line-height: 1.62; }

.service-link {
  font-size: .84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s, gap .2s;
  text-decoration: none;
}
a.service-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}
.service-card.ortho .service-link { color: var(--navy-700); }
.service-card.nephro .service-link { color: var(--teal-700); }
.service-card.ortho:hover .service-link { border-color: var(--navy-700); }
.service-card.nephro:hover .service-link { border-color: var(--teal-700); }
.service-card:hover .service-link { gap: 10px; }

/* ===== SPECIALTY HUB PAGE: ORTHOPAEDIC / NEPHRO HERO BADGE STRIP ===== */
/* Applied to the section right after the page hero in specialty pages */
.specialty-intro-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: clamp(28px,5vw,48px) 0;
}
.specialty-intro-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px,3vw,32px);
  text-align: center;
}
.specialty-badge {
  padding: clamp(20px,3vw,28px);
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--line);
}
.specialty-badge-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.specialty-badge-icon.ortho { background: var(--navy-100); color: var(--navy-700); }
.specialty-badge-icon.nephro { background: var(--teal-100); color: var(--teal-700); }
.specialty-badge strong { display: block; font-size: 1rem; color: var(--navy-900); margin-bottom: 6px; }
.specialty-badge p { font-size: .85rem; margin: 0; }

/* ===== OVERVIEW SECTION GRID & TYPOGRAPHY ===== */
.service-overview-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

@media (max-width: 991px) {
  .service-overview-grid {
    grid-template-columns: 1fr;
  }
}

.service-lede {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--navy-900);
  font-weight: 500;
  padding-left: 20px;
  border-left: 4px solid var(--teal-600);
  margin-bottom: 24px;
  background: linear-gradient(90deg, rgba(14, 149, 148, 0.05) 0%, transparent 100%);
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 0 12px 12px 0;
}

.overview-highlights-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.overview-highlight-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(10, 31, 61, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.overview-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(10, 31, 61, 0.1);
  border-color: var(--teal-400);
}

.overview-highlight-card .oh-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-100), #c4eeec);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10, 110, 109, 0.15);
}

.overview-highlight-card .oh-icon svg {
  width: 22px;
  height: 22px;
}

.overview-highlight-card strong {
  display: block;
  font-size: 0.96rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.overview-highlight-card p {
  font-size: 0.86rem;
  margin: 0;
  color: var(--slate);
}

/* ===== ENHANCED APPROACH CARDS ===== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

@media (max-width: 991px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

.approach-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(26px, 4vw, 34px);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
  box-shadow: 0 8px 24px rgba(10, 31, 61, 0.05);
}

.approach-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-600), var(--amber-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.approach-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(10, 31, 61, 0.12);
  border-color: var(--teal-400);
}

.approach-card:hover::before {
  transform: scaleX(1);
}

.approach-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.approach-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  font-family: var(--font-mono);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px rgba(14, 149, 148, 0.3);
}

.approach-card .approach-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-card .approach-icon svg {
  width: 20px;
  height: 20px;
}

.approach-card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--navy-900);
}

.approach-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.62;
}

/* ===== ENHANCED SIGNS LIST ===== */
.signs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto;
  max-width: 980px;
}

@media (max-width: 768px) {
  .signs-list {
    grid-template-columns: 1fr;
  }
}

.signs-list .facility-item {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 26px);
  box-shadow: 0 6px 20px rgba(10, 31, 61, 0.05);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.signs-list .facility-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal-600), var(--navy-700));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.signs-list .facility-item:hover {
  transform: translateY(-5px);
  border-color: var(--teal-400);
  box-shadow: 0 16px 36px rgba(10, 31, 61, 0.12);
}

.signs-list .facility-item:hover::before {
  opacity: 1;
}

.signs-list .facility-item .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  font-family: var(--font-mono);
  color: var(--teal-400);
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10, 31, 61, 0.2);
}

.signs-list .facility-item strong {
  display: block;
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 6px;
  line-height: 1.35;
}

.signs-list .facility-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ===== ENHANCED FAQ ACCORDION ===== */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 clamp(22px, 3.5vw, 30px);
  box-shadow: 0 4px 16px rgba(10, 31, 61, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(14, 149, 148, 0.4);
  box-shadow: 0 8px 24px rgba(10, 31, 61, 0.08);
}

.faq-item[open] {
  border-color: var(--teal-400);
  box-shadow: 0 12px 32px rgba(10, 110, 109, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-100), #c4eeec);
  color: var(--teal-700);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 32px;
  text-align: center;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
  box-shadow: 0 2px 8px rgba(10, 110, 109, 0.1);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 110, 109, 0.3);
}

.faq-item p {
  padding: 0 0 22px;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--slate);
}

/* ===== SERVICE NOTE CALLOUT ENHANCEMENT ===== */
.service-note {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border: 1px solid rgba(73, 191, 185, 0.25);
  border-left: 5px solid var(--teal-400);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  margin: clamp(32px, 5vw, 44px) auto 0;
  max-width: 980px;
  box-shadow: 0 12px 32px rgba(10, 31, 61, 0.18);
  display: flex;
  align-items: center;
  gap: 18px;
  color: #ffffff;
}

.service-note .note-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(73, 191, 185, 0.18);
  border: 1px solid rgba(73, 191, 185, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-400);
  flex-shrink: 0;
}

.service-note .note-icon svg {
  width: 22px;
  height: 22px;
}

.service-note p {
  margin: 0;
  font-size: 0.94rem;
  color: #dce7f6;
  line-height: 1.6;
}

.service-note strong {
  color: var(--teal-400);
}

/* ===== CONTACT INFO BOX UPGRADE ===== */
.contact-info {
  background:
    radial-gradient(ellipse 100% 80% at 0% 100%, rgba(14,149,148,.3) 0%, transparent 50%),
    linear-gradient(145deg, #071929, var(--navy-900));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(30px,5vw,48px);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73,191,185,.2) 0%, transparent 70%);
  pointer-events: none;
}
.contact-info h2 { color: #fff; }
.contact-info p { color: #aabfd8; }
.contact-info .eyebrow { color: var(--teal-400); }
.contact-info .eyebrow::before { background: var(--amber-500); }

.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.info-row .ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(10,110,109,.35);
}
.info-row .ic svg { width: 18px; height: 18px; }
.info-row strong { display: block; font-size: .9rem; color: #fff; margin-bottom: 2px; }
.info-row span { font-size: .83rem; color: #9db8d8; word-break: break-word; }

/* ===== CONTACT FORM ===== */
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px,5vw,48px);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(10,31,61,.08);
}
.field label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 16px;
  transition: border-color .25s, box-shadow .25s;
  background: var(--bg);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14,149,148,.12);
}

/* ===== DOCTOR CTA CARD ON SPECIALTY PAGES ===== */
.doctors .doctor-card {
  border: none;
  box-shadow: none;
  background: linear-gradient(145deg, #f7fafd, #eef3fb);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.doctors .doctor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
}
.doctors .doctor-card.ortho::before { background: linear-gradient(180deg, var(--navy-700), var(--teal-600)); }
.doctors .doctor-card.nephro::before { background: linear-gradient(180deg, var(--teal-600), var(--teal-400)); }
.doctors .doctor-card.ortho { border: 1px solid var(--navy-100); }
.doctors .doctor-card.nephro { border: 1px solid var(--teal-100); }

/* ===== FACILITY STRIP ===== */
.facility {
  padding: clamp(56px,10vw,96px) 0;
  background: #fff;
}
.facility .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px,5vw,60px);
  align-items: center;
}
.facility-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/4.2;
}
.facility-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(10,31,61,.3));
}
.facility-visual img { width: 100%; height: 100%; object-fit: cover; }

.facility-list { display: grid; gap: 20px; margin-top: 32px; }
.facility-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: clamp(16px,2.5vw,20px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.facility-item:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.facility-item .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-100), #c4eeec);
  font-family: var(--font-mono);
  color: var(--teal-700);
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
}
.facility-item p { margin: 4px 0 0; }

/* ===== ORTH (Orthopaedic Treatment) HERO & PAGE STYLES ===== */
.orth-hero, .nph-hero, .afs-hero { position: relative; }
.orth-hero { padding: clamp(56px,11vw,110px) 0 clamp(40px,7vw,70px); }
.orth-hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orth-shape { position: absolute; border-radius: 50%; filter: blur(70px); }
.orth-shape--1 { width: 500px; height: 500px; background: var(--navy-500); opacity: .18; top: -100px; right: -60px; }
.orth-shape--2 { width: 320px; height: 320px; background: var(--teal-400); opacity: .10; bottom: -80px; left: -40px; }
.orth-shape--3 { width: 220px; height: 220px; background: var(--amber-500); opacity: .09; top: 45%; left: 35%; }

.orth-hero .container { position: relative; z-index: 2; }
.orth-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(28px,5vw,56px);
  align-items: center;
}
.orth-eyebrow { color: var(--teal-400); }
.orth-eyebrow::before { background: var(--amber-500); }

.orth-hero h1 { color: #fff; margin-bottom: 16px; }
.orth-h1-accent {
  background: linear-gradient(90deg, var(--amber-400, #f59e0b), #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.orth-hero-desc {
  color: #c4d5ec;
  font-size: clamp(.95rem,1.5vw,1.08rem);
  max-width: 560px;
  margin-bottom: 24px;
  line-height: 1.65;
}

.orth-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.orth-chip {
  padding: 7px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #e7f0fc;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  backdrop-filter: blur(4px);
  transition: background .25s, border-color .25s;
}
.orth-chip:hover {
  background: rgba(245,158,11,.15);
  border-color: rgba(245,158,11,.45);
  color: #fcd34d;
}

.orth-breadcrumb { justify-content: flex-start; }

/* Key facts card — orthopaedic */
.orth-quick-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: clamp(22px,4vw,32px);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.orth-qc-header {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--amber-400, #f59e0b);
  margin-bottom: 20px;
}
.orth-qc-list { display: grid; gap: 14px; margin-bottom: 24px; }
.orth-qc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  color: #dce9f8;
  line-height: 1.5;
}
.orth-qc-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(245,158,11,.18);
  border: 1px solid rgba(245,158,11,.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fcd34d;
  margin-top: 1px;
}
.orth-qc-icon svg { width: 11px; height: 11px; max-width: 11px; max-height: 11px; }
.orth-qc-btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ===== NPH (Nephrology) HERO & PAGE STYLES ===== */
/* Alias nph- classes to use same component system as afs- */
.nph-hero { padding: clamp(56px,11vw,110px) 0 clamp(40px,7vw,70px); }
.nph-hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.nph-shape { position: absolute; border-radius: 50%; filter: blur(70px); }
.nph-shape--1 { width: 500px; height: 500px; background: var(--teal-400); opacity: .15; top: -100px; right: -60px; }
.nph-shape--2 { width: 320px; height: 320px; background: var(--navy-500); opacity: .12; bottom: -80px; left: -40px; }
.nph-shape--3 { width: 220px; height: 220px; background: var(--amber-500); opacity: .08; top: 45%; left: 35%; }

.nph-hero .container { position: relative; z-index: 2; }
.nph-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(28px,5vw,56px);
  align-items: center;
}
.nph-eyebrow { color: var(--teal-400); }
.nph-eyebrow::before { background: var(--amber-500); }

.nph-hero h1 { color: #fff; margin-bottom: 16px; }
.nph-h1-accent {
  background: linear-gradient(90deg, var(--teal-400), #7de4e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nph-hero-desc {
  color: #c4d5ec;
  font-size: clamp(.95rem,1.5vw,1.08rem);
  max-width: 560px;
  margin-bottom: 24px;
  line-height: 1.65;
}

.nph-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.nph-chip {
  padding: 7px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #e7f0fc;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  backdrop-filter: blur(4px);
  transition: background .25s, border-color .25s;
}
.nph-chip:hover {
  background: rgba(73,191,185,.2);
  border-color: rgba(73,191,185,.5);
  color: var(--teal-400);
}

.nph-breadcrumb { justify-content: flex-start; }

/* Quick facts card */
.nph-quick-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: clamp(22px,4vw,32px);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.nph-qc-header {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal-400);
  margin-bottom: 20px;
}
.nph-qc-list { display: grid; gap: 14px; margin-bottom: 24px; }
.nph-qc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  color: #dce9f8;
  line-height: 1.5;
}
.nph-qc-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(73,191,185,.2);
  border: 1px solid rgba(73,191,185,.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--teal-400);
  margin-top: 1px;
}
.nph-qc-icon svg { width: 11px; height: 11px; max-width: 11px; max-height: 11px; }
.nph-qc-btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Overview section */
.nph-overview-section { background: #fff; }
.nph-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px,6vw,64px);
  align-items: start;
}
.nph-overview-text p { font-size: clamp(.9rem,1.4vw,1rem); line-height: 1.7; }

.nph-overview-highlights { display: grid; gap: 18px; }
.nph-highlight-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(16px,3vw,22px);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.nph-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200, #a7e3e1);
}
.nph-hl-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal-100), #c4eeec);
  color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(10,110,109,.12);
}
.nph-hl-icon svg { width: 22px; height: 22px; max-width: 22px; max-height: 22px; }
.nph-highlight-card strong {
  display: block;
  font-size: .95rem;
  color: var(--navy-900);
  font-weight: 700;
  margin-bottom: 5px;
}
.nph-highlight-card p { font-size: .86rem; margin: 0; line-height: 1.6; }

/* Signs section */
.nph-signs-section {}
.nph-signs-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px,6vw,64px);
  align-items: start;
}
.nph-signs-head p { font-size: .96rem; }
.nph-inline-note { margin: 24px 0 0 !important; max-width: none !important; }

.nph-signs-list { display: grid; gap: 14px; }
.nph-sign-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(16px,3vw,22px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.nph-sign-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-color: var(--teal-400);
}
.nph-sign-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-100), #c4eeec);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-700);
  flex-shrink: 0;
}
.nph-sign-body strong { display: block; font-size: .95rem; color: var(--navy-900); margin-bottom: 4px; }
.nph-sign-body p { font-size: .88rem; margin: 0; line-height: 1.62; }

/* Approach timeline */
.nph-approach-section {}
.nph-approach-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px,3vw,28px);
  position: relative;
  margin-top: 8px;
}
.nph-timeline-item { display: flex; flex-direction: column; align-items: center; }
.nph-tl-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}
.nph-tl-num {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 24px rgba(10,110,109,.35);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.nph-tl-line {
  width: 2px;
  height: clamp(16px,3vw,28px);
  background: linear-gradient(180deg, var(--teal-600), var(--teal-400));
  opacity: .4;
}
.nph-tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(22px,3vw,28px);
  text-align: center;
  width: 100%;
  box-shadow: var(--shadow-sm);
  flex: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.nph-tl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10,110,109,.12);
  border-color: var(--teal-400);
}
.nph-tl-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--teal-100), #c4eeec);
  color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(10,110,109,.12);
}
.nph-tl-icon svg { width: 22px; height: 22px; max-width: 22px; max-height: 22px; }
.nph-tl-card h3 { font-size: 1.02rem; margin-bottom: 10px; }
.nph-tl-card p { font-size: .88rem; margin: 0; line-height: 1.65; }

/* FAQ section */
.nph-faq-section { background: #fff; }
.nph-faq-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px,6vw,72px);
  align-items: start;
}
.nph-faq-sidebar h2 { margin-bottom: 12px; }
.nph-faq-sidebar p { font-size: .94rem; }
.nph-faq-cta-box {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
  border-radius: var(--radius-md);
  padding: 24px;
}
.nph-faq-cta-box p { color: rgba(255,255,255,.85); font-size: .88rem; margin-bottom: 18px; }
.nph-faq-cta-box .btn { width: 100%; justify-content: center; font-size: .88rem; }

.nph-faq-accordion { display: grid; gap: 12px; }
.nph-faq-item {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nph-faq-item--open {
  border-color: var(--teal-400);
  box-shadow: 0 4px 18px rgba(10,110,109,.1);
}
.nph-faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: clamp(16px,2.5vw,20px) clamp(18px,3vw,26px);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  transition: color .2s;
}
.nph-faq-trigger:hover { color: var(--teal-700); }
.nph-faq-item--open .nph-faq-trigger { color: var(--teal-700); }
.nph-faq-q-text { flex: 1; line-height: 1.45; }
.nph-faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid var(--line);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-600);
  transition: background .25s, border-color .25s, transform .35s var(--ease);
}
.nph-faq-icon svg { width: 15px; height: 15px; max-width: 15px; max-height: 15px; transition: transform .35s var(--ease); }
.nph-faq-item--open .nph-faq-icon {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #fff;
}
.nph-faq-item--open .nph-faq-icon svg { transform: rotate(180deg); }
.nph-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,.61,.36,1);
}
.nph-faq-body p {
  padding: 0 clamp(18px,3vw,26px) clamp(18px,3vw,22px);
  font-size: .92rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.7;
}

/* ===== GALLERY GRID UPGRADE ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,31,61,.7));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
  display: block;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(10,31,61,.82));
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 2;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ===== ARTICLE CARDS ===== */
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.article-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.article-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.article-card:hover .article-thumb img { transform: scale(1.06); }
.article-track {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}
.track-ortho { background: var(--navy-800); }
.track-nephro { background: var(--teal-600); }
.article-body { padding: clamp(20px,3vw,28px); flex: 1; display: flex; flex-direction: column; }
.article-meta {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.article-body h3 { font-size: 1.08rem; margin-bottom: 10px; flex: 1; }
.article-body p { font-size: .9rem; margin-bottom: 16px; }

/* ===== FACT CARDS ===== */
.fact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(22px,4vw,28px);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.fact-card.ortho::before { background: linear-gradient(90deg, var(--navy-700), var(--teal-600)); }
.fact-card.nephro::before { background: linear-gradient(90deg, var(--teal-600), var(--teal-400)); }
.fact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.fact-card:hover::before { transform: scaleX(1); }
.fact-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform .3s var(--ease);
}
.fact-card:hover .fact-icon { transform: rotate(-5deg) scale(1.1); }
.fact-card.ortho .fact-icon { background: linear-gradient(135deg, var(--navy-100), #d4e0f5); color: var(--navy-700); }
.fact-card.nephro .fact-icon { background: linear-gradient(135deg, var(--teal-100), #c4eeec); color: var(--teal-700); }
.fact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.fact-card p { font-size: .88rem; margin: 0; }

/* ===== ENHANCED TESTIMONIALS ===== */
.testimonials {
  padding: clamp(64px,12vw,108px) 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 50%, rgba(14,149,148,.2) 0%, transparent 50%),
    var(--navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.t-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: clamp(26px,5vw,44px);
  max-width: 780px;
  backdrop-filter: blur(10px);
  transition: border-color .3s;
}
.t-card:hover { border-color: rgba(73,191,185,.4); }
.t-card p {
  color: #dce6f5;
  font-size: clamp(1rem,2.2vw,1.15rem);
  font-family: var(--font-display);
  line-height: 1.6;
}
.t-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(10,110,109,.4);
}

/* ===== MAP EMBED ===== */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  margin-top: clamp(32px,5vw,52px);
}
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ===== FLOATING ACTION BUTTONS ===== */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  color: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fab:hover { transform: scale(1.1); box-shadow: var(--shadow-lg); }
.fab-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.fab-call { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); }
.fab-top {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.fab-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===== TAB BUTTONS ===== */
.service-tabs { display: flex; gap: 10px; margin-bottom: clamp(28px,5vw,44px); flex-wrap: wrap; }
.tab-btn {
  padding: 12px 26px;
  border-radius: 100px;
  border: 2px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: .88rem;
  color: var(--slate);
  transition: all .25s var(--ease);
  white-space: nowrap;
  letter-spacing: .02em;
}
.tab-btn.active,
.tab-btn:hover {
  border-color: var(--navy-800);
  color: var(--navy-900);
  background: var(--navy-100);
  box-shadow: 0 4px 12px rgba(15,42,82,.1);
}
.tab-btn[data-track="nephro"].active {
  border-color: var(--teal-600);
  color: var(--teal-700);
  background: var(--teal-100);
}

/* ===== PROFILE PAGE ===== */
.profile-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px,5vw,60px); align-items: center; }
.profile-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1/1.05;
}
.profile-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,31,61,.2));
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-body { padding: 8px 0; }
.profile-body .role {
  font-family: var(--font-mono);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.profile-body.ortho .role { color: var(--navy-700); }
.profile-body.nephro .role { color: var(--teal-700); }
.profile-body h2 { margin-bottom: 6px; }
.profile-body .doctor-headline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem,2.2vw,1.25rem);
  color: var(--navy-800);
  font-style: italic;
  margin-bottom: 16px;
}
.profile-skills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.profile-skills span {
  font-size: .82rem;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--navy-800);
  font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.profile-skills span:hover {
  background: var(--navy-100);
  border-color: var(--navy-500);
  color: var(--navy-700);
}
.profile-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== VIDEO TESTIMONIALS SECTION ===== */
.video-testimonials-section {
  padding: clamp(56px, 9vw, 90px) 0;
  background: linear-gradient(180deg, #071929 0%, var(--navy-900) 100%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.video-testimonials-section .section-head h2 { color: #fff; }
.video-testimonials-section .section-head p { color: #b0c4de; }
.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(28px, 5vw, 44px);
}
.video-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(73, 191, 185, 0.4);
}
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 480px;
  background: #000;
  overflow: hidden;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 31, 61, 0.88);
  backdrop-filter: blur(8px);
  color: var(--teal-400);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(73, 191, 185, 0.35);
  z-index: 3;
}
.video-card-body {
  padding: 18px 20px;
  background: rgba(10, 31, 61, 0.6);
}
.video-card-body h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: #ffffff;
  line-height: 1.4;
  font-weight: 600;
}
.video-card-body p {
  font-size: 0.85rem;
  color: #9cb3d1;
  margin: 0;
}

/* ===== ORTHOPAEDIC SPECIALTY PAGE CUSTOM TREATMENT ===== */
/* Applied to .inner-section directly within orthopaedic.php / paediatric-nephrology.php */
.orthopaedic-intro, .nephrology-intro {
  display: flex;
  align-items: center;
  gap: clamp(20px,4vw,40px);
  background: linear-gradient(135deg, var(--navy-900), #112d52);
  border-radius: var(--radius-lg);
  padding: clamp(28px,5vw,48px);
  color: #fff;
  margin-bottom: clamp(28px,5vw,44px);
}
.orthopaedic-intro .eyebrow { color: var(--teal-400); }
.orthopaedic-intro h2, .nephrology-intro h2 { color: #fff; }
.orthopaedic-intro p, .nephrology-intro p { color: #adc1db; }

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px,3vw,24px);
}
.services { background: linear-gradient(180deg, #f7faff 0%, #eef3fb 100%); }

/* ===== HERO APPOINTMENT TAB ===== */
.hero-appointment-tab {
  background: linear-gradient(180deg, var(--teal-600), var(--teal-700));
  box-shadow: -4px 0 20px rgba(10,110,109,.35);
}
.hero-appointment-tab:hover {
  background: linear-gradient(180deg, var(--teal-500, #1aada9), var(--teal-600));
}

/* ===== SMOOTH REVEAL UPGRADE ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Stagger children of reveal grids */
.services-grid .reveal:nth-child(1), .approach-grid .reveal:nth-child(1),
.facts-grid .reveal:nth-child(1), .articles-grid .reveal:nth-child(1) { transition-delay: .05s; }
.services-grid .reveal:nth-child(2), .approach-grid .reveal:nth-child(2),
.facts-grid .reveal:nth-child(2), .articles-grid .reveal:nth-child(2) { transition-delay: .12s; }
.services-grid .reveal:nth-child(3), .approach-grid .reveal:nth-child(3),
.facts-grid .reveal:nth-child(3), .articles-grid .reveal:nth-child(3) { transition-delay: .19s; }
.services-grid .reveal:nth-child(4), .facts-grid .reveal:nth-child(4) { transition-delay: .26s; }
.services-grid .reveal:nth-child(5) { transition-delay: .33s; }
.services-grid .reveal:nth-child(6) { transition-delay: .40s; }

/* ===== MISC POLISH ===== */
.doctor-card { transition: box-shadow .35s var(--ease); }
.doctor-card:hover { box-shadow: var(--shadow-md); }
.doctors.ortho-section .approach-card .num { color: var(--navy-700); background: var(--navy-100); }

footer.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, #071929, var(--navy-900));
}
.ortho-section .section-head h2::after { background: linear-gradient(90deg, var(--navy-700), var(--teal-600)); }
.nephro-section .section-head h2::after { background: linear-gradient(90deg, var(--teal-600), var(--teal-400)); }

/* ===== RESPONSIVE ADDITIONS (AT THE VERY BOTTOM) ===== */
@media (max-width: 1080px) {
  .nph-hero-inner, .orth-hero-inner, .afs-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nph-hero-card-col, .orth-hero-card-col, .afs-hero-card-col {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
  .nph-hero-chips, .orth-hero-chips, .afs-hero-chips {
    justify-content: flex-start;
  }
  .nph-overview-grid, .service-overview-grid { grid-template-columns: 1fr; }
  .nph-signs-layout { grid-template-columns: 1fr; }
  .nph-faq-layout { grid-template-columns: 1fr; }
  .nph-approach-timeline { grid-template-columns: 1fr; }
  .nph-timeline-item { flex-direction: row; gap: 20px; align-items: flex-start; }
  .nph-tl-marker { width: auto; flex-direction: column; align-items: center; margin-bottom: 0; }
  .nph-tl-line { height: auto; width: 2px; flex: 1; min-height: 20px; }
  .nph-timeline-item--last .nph-tl-line { display: none; }
  .nph-tl-card { text-align: left; }
  .nph-tl-icon { margin: 0 0 14px; }
  .profile-head { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .video-testimonials-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 900px) {
  .nph-faq-sidebar { max-width: 520px; }
  .facility .container { grid-template-columns: 1fr; }
  .contact .container { grid-template-columns: 1fr; }
  .orthopaedic-intro, .nephrology-intro { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .nph-hero-chips, .orth-hero-chips, .afs-hero-chips { gap: 8px; }
  .nph-chip, .orth-chip, .afs-chip { font-size: .74rem; padding: 6px 14px; }
  .services-grid { grid-template-columns: 1fr !important; }
  .nph-hero h1, .orth-hero h1, .afs-hero h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
}

@media (max-width: 640px) {
  .nph-hero-chips, .orth-hero-chips, .afs-hero-chips { gap: 6px; }
  .nph-chip, .orth-chip, .afs-chip { font-size: .72rem; padding: 5px 12px; }
  .nph-quick-card, .orth-quick-card, .afs-quick-card { padding: 20px 16px; }
  .approach-grid, .articles-grid, .facts-grid, .services-grid, .video-testimonials-grid { grid-template-columns: 1fr !important; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-item.wide { grid-column: span 2; }
  .page-hero { padding: 76px 0 44px; }
  .nph-hero, .orth-hero, .afs-hero { padding: clamp(44px, 9vw, 76px) 0 clamp(32px, 6vw, 52px); }
  .signs-list .facility-item { gap: 12px; }
  .nph-sign-item { gap: 12px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item.wide, .gallery-item.tall { grid-column: auto; grid-row: auto; }
  .nph-signs-layout { gap: 28px; }
  .breadcrumb, .nph-breadcrumb, .orth-breadcrumb, .afs-breadcrumb { font-size: .7rem; padding: 6px 14px; }
  .nph-qc-list, .orth-qc-list, .afs-qc-list { gap: 10px; }
  .nph-qc-list li, .orth-qc-list li, .afs-qc-list li { font-size: .82rem; }
}