/* ============================================================
   FINAL CLEAN OVERRIDES
   Bootstrap 5.3.3 compatibility + site-wide visual cleanup
   Typography: Inter for UI/body, Manrope for display headings
   ============================================================ */

:root{
  --bs-primary:var(--brand-blue);
  --bs-link-color:var(--brand-blue);
  --bs-link-hover-color:var(--brand-red);
}

html,body{
  overflow-x:clip;
}

body{
  font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  font-size:15px;
  line-height:1.7;
  color:var(--ink);
  background:var(--white);
}

h1,h2,h3,h4,h5,h6{
  font-family:"Manrope",sans-serif;
  color:var(--brand-navy);
  font-weight:700;
  letter-spacing:-.025em;
}

p{
  color:var(--text);
}

a,
a:visited{
  text-decoration:none !important;
}

img{
  max-width:100%;
  height:auto;
}

/* Bootstrap container was previously overridden to 100%.
   Restore the site's intended 1240px content width. */
.container{
  width:min(calc(100% - 40px),var(--container)) !important;
  max-width:var(--container) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

.row{
  --bs-gutter-x:1.5rem;
  --bs-gutter-y:1.5rem;
  margin-right:calc(-.5 * var(--bs-gutter-x));
  margin-left:calc(-.5 * var(--bs-gutter-x));
}

[class*="col-"]{
  min-width:0;
}

/* =========================
   TOP BAR
========================= */

.topbar{
  min-height:38px;
  font-size:11px;
  background:var(--brand-deep);
}

.topbar-inner{
  min-height:38px;
}

.topbar-left,
.topbar-right{
  gap:15px;
}

.topbar a{
  color:rgba(255,255,255,.88) !important;
}

.topbar-icon{
  display:inline-grid;
  place-items:center;
  width:16px;
  height:16px;
}

.topbar-icon i{
  font-size:12px;
}

.whatsapp-icon img{
  width:15px;
  height:15px;
  object-fit:contain;
}

/* =========================
   HEADER
========================= */

.site-header{
  position:relative;
  top:auto;
  z-index:1030;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
  transition:box-shadow var(--ease),background var(--ease);
}

.site-header.scrolled{
  box-shadow:0 12px 35px rgba(8,59,93,.08);
}

.site-header .navbar{
  min-height:82px;
  padding:0 !important;
}

.site-header .navbar-brand{
  margin-right:28px;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo-symbol{
  width:42px;
  height:42px;
  flex:0 0 42px;
}

.logo-symbol svg{
  width:100%;
  height:100%;
}

.logo-heart{
  fill:var(--brand-red) !important;
}

.logo-pulse{
  fill:none;
  stroke:#fff;
  stroke-width:3;
}

.logo-text strong{
  display:block;
  font-family:"Manrope",sans-serif;
  color:var(--brand-navy);
  font-size:15px;
  line-height:1.1;
  font-weight:800;
}

.logo-text small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:9px;
  line-height:1;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.main-nav{
  margin-left:auto;
}

.site-header .navbar-nav{
  gap:2px;
}

.site-header .nav-link{
  position:relative;
  min-height:82px;
  padding:0 11px !important;
  display:flex;
  align-items:center;
  color:#365666 !important;
  font-size:12px !important;
  line-height:1.2;
  font-weight:700;
  white-space:nowrap;
  transition:color var(--ease);
}

.site-header .nav-link:hover,
.site-header .nav-link.active{
  color:var(--brand-blue) !important;
}

.site-header .nav-link.active::after{
  content:"";
  position:absolute;
  left:11px;
  right:11px;
  bottom:0;
  height:3px;
  background:var(--brand-red);
  border-radius:3px 3px 0 0;
}

.site-header .dropdown-menu{
  min-width:270px;
  margin-top:0;
  padding:8px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--white);
  box-shadow:var(--shadow-md);
}

.site-header .treatment-menu{
  min-width:500px;
  columns:2;
}

.site-header .dropdown-item{
  padding:9px 11px;
  border-radius:7px;
  color:var(--ink);
  font-size:12px;
  font-weight:600;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus{
  color:var(--brand-blue);
  background:var(--sky);
}

.site-header .header-cta{
  min-height:44px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-radius:7px;
  color:var(--white) !important;
  background:var(--brand-red);
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
  transition:transform var(--ease),background var(--ease);
}

.site-header .header-cta:hover{
  color:var(--white) !important;
  background:var(--brand-red-dark);
  transform:translateY(-1px);
}

.navbar-toggler{
  border:1px solid var(--line) !important;
  border-radius:8px;
  padding:7px 9px;
}

.navbar-toggler:focus{
  box-shadow:0 0 0 3px rgba(18,99,154,.12) !important;
}

/* Desktop dropdown on hover; Bootstrap click still works. */
@media(min-width:992px){
  .site-header .dropdown:hover > .dropdown-menu{
    display:block;
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }

  .site-header .dropdown-menu{
    display:block;
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
  }

  .site-header .dropdown:hover > .nav-link{
    color:var(--brand-blue) !important;
  }
}

/* =========================
   COMMON SECTION RHYTHM
========================= */

.section-pad{
  padding:82px 0;
}

.section-label{
  color:var(--brand-blue);
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
}

.section-heading{
  margin-bottom:35px;
}

.section-heading h2,
.about-heading h2,
.treatment-copy h2,
.question-intro h2,
.appointment-info h2{
  font-family:"Manrope",sans-serif;
  font-weight:800;
}

/* =========================
   INNER HERO
========================= */

.inner-page-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 85% 15%,rgba(18,99,154,.09),transparent 28%),
    linear-gradient(110deg,var(--sky-2),var(--sky));
}

.inner-hero-inner{
  min-height:245px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;
  position:relative;
  z-index:2;
}

.inner-hero-content{
  padding:38px 0;
}

.inner-hero-label{
  display:inline-block;
  margin-bottom:10px;
  color:var(--brand-blue);
  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.inner-hero-content h1{
  margin:0;
  font-size:clamp(36px,4vw,52px);
  line-height:1.08;
  letter-spacing:-.045em;
}

.inner-hero-content p{
  margin:9px 0 16px;
  font-size:15px;
  color:var(--text);
}

.inner-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:11px;
}

.inner-breadcrumb a{
  color:var(--brand-blue);
}

.inner-hero-visual{
  min-width:340px;
  height:245px;
  position:relative;
  overflow:hidden;
}

.hero-circle{
  position:absolute;
  border:1px solid rgba(18,99,154,.11);
  border-radius:50%;
}

.hero-circle-one{
  width:350px;
  height:350px;
  right:-160px;
  top:-120px;
  box-shadow:0 0 0 55px rgba(18,99,154,.025),0 0 0 110px rgba(18,99,154,.018);
}

.hero-circle-two{
  width:190px;
  height:190px;
  right:30px;
  bottom:-110px;
}

.hero-medical-card{
  position:absolute;
  right:30px;
  bottom:30px;
  width:250px;
  padding:14px 16px;
  border:1px solid rgba(18,99,154,.1);
  border-radius:12px;
  background:rgba(255,255,255,.78);
  box-shadow:var(--shadow-sm);
  backdrop-filter:blur(8px);
}

.hero-medical-card span{
  display:block;
  margin-top:5px;
  color:var(--brand-navy);
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
}

.medical-pulse{
  color:var(--brand-blue);
}

.medical-pulse svg{
  width:100%;
  height:38px;
}

/* =========================
   ABOUT / CONTENT POLISH
========================= */

.doctor-about-section{
  padding:82px 0;
  background:var(--white);
}

.doctor-image-box{
  position:relative;
  max-width:500px;
  margin:0 auto;
}

.doctor-image-box img{
  position:relative;
  z-index:2;
  width:100%;
  max-height:500px;
  object-fit:cover;
  object-position:center top;
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
}

.experience-card{
  position:absolute;
  z-index:4;
  left:-18px;
  top:28px;
  width:105px;
  min-height:105px;
  padding:14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-radius:12px;
  color:var(--white);
  background:var(--brand-blue);
  box-shadow:var(--shadow-md);
  text-align:center;
}

.experience-card strong{
  font-family:"Manrope",sans-serif;
  font-size:28px;
  line-height:1;
}

.experience-card span{
  margin-top:7px;
  font-size:10px;
  line-height:1.25;
  font-weight:700;
}

.doctor-about-content{
  max-width:650px;
  padding-left:15px;
}

.about-tag{
  color:var(--brand-blue);
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
}

.doctor-about-content h2{
  margin:12px 0 17px;
  font-family:"Manrope",sans-serif;
  font-size:clamp(32px,3.5vw,48px);
  line-height:1.12;
  letter-spacing:-.045em;
  color:var(--brand-navy);
}

.doctor-about-content > p{
  margin-bottom:12px;
  font-size:14px;
  line-height:1.75;
}

/* =========================
   CREDENTIAL CARDS
========================= */

.credential-card{
  display:flex;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:160px;
  text-align:center;
}

.credential-icon{
  flex:0 0 auto;
  margin:0 auto 13px !important;
}

/* =========================
   EXPERTISE
========================= */

.expertise-section{
  padding:82px 0;
  background:var(--sky);
}

.expertise-card{
  min-height:220px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  background:var(--white);
}

.expertise-card h3{
  font-size:17px;
  line-height:1.2;
}

/* =========================
   ACHIEVEMENTS
========================= */

.achievement-section{
  padding:82px 0;
  background:var(--white);
}

.awards-box{
  min-height:180px;
  padding:20px;
  border-radius:var(--radius-md);
  background:var(--sky);
}

.award-card{
  height:auto;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--white);
}

.award-card img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.membership-card{
  min-height:150px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
}

/* =========================
   PATIENT RESOURCES
========================= */

.patient-resource-section{
  padding:78px 0 90px;
  background:var(--white);
}

.resource-tabs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  padding:8px;
  margin-bottom:36px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--sky);
}

.resource-tabs button{
  min-height:94px;
  padding:14px 10px;
  border:1px solid transparent;
  border-radius:11px;
  background:transparent;
  color:var(--brand-navy);
  font-size:14px;
  font-weight:700;
  line-height:1.35;
  transition:all .25s ease;
}

.resource-tabs button i{
  display:block;
  margin-bottom:8px;
  color:var(--brand-blue);
  font-size:24px;
}

.resource-tabs button:hover{
  background:var(--white);
  border-color:var(--line);
    color:var(--brand-blue);
}

.resource-tabs button.active{
  color:var(--white);
  background:var(--brand-blue);
  border-color:var(--brand-blue);
  box-shadow:0 10px 25px rgba(18,99,154,.14);
}

.resource-tabs button.active i{
  color:var(--white);
}

.resource-panel{
  display:none;
}

.resource-panel.active{
  display:block;
  animation:resourceFade .35s ease both;
}

.resource-panel h2{
  margin-bottom:10px;
  font-size:32px;
}

.resource-panel > p{
  max-width:760px;
  margin-bottom:28px;
  font-size:14px;
}

.card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.resource-card,
.video-card{
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--white);
  box-shadow:var(--shadow-sm);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.resource-card:hover,
.video-card:hover{
  transform:translateY(-5px);
  border-color:rgba(18,99,154,.3);
  box-shadow:var(--shadow-md);
}

.pdf-box{
    width: 58px;
    height: 58px;
    margin-bottom: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--brand-red);
    background: var(--sky);
    border: 1px solid var(--line);
    font-size: 11px;
    font-weight: 800;
}

/* Resource FAQ accordion */
#faq .faq-item{
  overflow:hidden;
  padding:0;
  margin-bottom:10px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--white);
  box-shadow:none;
}

#faq .faq-question{
  width:100%;
  min-height:64px;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border:0;
  background:var(--white);
  color:var(--brand-navy);
  text-align:left;
  font-size:14px;
  font-weight:700;
}

#faq .faq-question i{
  flex:0 0 auto;
  color:var(--brand-blue);
  font-size:18px;
  transition:transform .25s ease;
}

#faq .faq-item.open .faq-question{
  color:var(--brand-blue);
}

#faq .faq-item.open .faq-question i{
  transform:rotate(45deg);
}

#faq .faq-answer{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .3s ease;
}

#faq .faq-answer > div{
  overflow:hidden;
}

#faq .faq-answer p{
  margin:0;
  padding:0 20px 0;
  font-size:13px;
  line-height:1.7;
}

#faq .faq-item.open .faq-answer{
  grid-template-rows:1fr;
}

#faq .faq-item.open .faq-answer p{
  padding-bottom:20px;
}

.timeline-box{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.timeline-box > div{
  padding:24px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--sky-2);
}

.timeline-box h3{
  font-size:18px;
}

.timeline-box p{
  font-size:13px;
}

/* =========================
   FOOTER
========================= */

.site-footer{
  padding:68px 0 0;
  background:var(--brand-deep) !important;
  color:var(--white);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.35fr .8fr 1fr 1.15fr;
  gap:48px;
}

.footer-logo{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--white) !important;
}

.footer-logo-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
}

.footer-logo-mark svg{
  width:42px;
  height:42px;
}

.footer-logo-mark path:first-child{
  fill:var(--brand-red);
}

.footer-logo-mark path:last-child{
  fill:none;
  stroke:var(--white);
  stroke-width:3;
}

.footer-logo strong{
  display:block;
  font-family:"Manrope",sans-serif;
  font-size:15px;
  line-height:1.1;
}

.footer-logo small{
  display:block;
  margin-top:4px;
  color:#9fb7c4;
  font-size:9px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.footer-brand-block > p{
  max-width:360px;
  margin:18px 0 0;
  color:#a8bec9;
  font-size:14px;
  line-height:1.75;
}

.footer-col h4{
  margin:0 0 17px;
  color:var(--white);
  font-family:"Inter",sans-serif;
  font-size:18px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.footer-col a{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:9px 0;
  color:#b9ccd5 !important;
  font-size:14px;
  line-height:1.5;
  transition:color .2s ease,transform .2s ease;
}

.footer-col a:hover{
  color:var(--white) !important;
  transform:translateX(2px);
}

.footer-contact i{
  width:16px;
  flex:0 0 16px;
  color:#8fc3dc;
}

.footer-bottom{
  min-height:64px;
  margin-top:48px;
  padding:19px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid rgba(255,255,255,.1);
  color:#7f9aa8;
  font-size:14px;
}

/* =========================
   FLOATING
========================= */

.floating-contact{
  position:fixed;
  right:18px;
  bottom:20px;
  z-index:1040;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.floating-contact a,
.floating-contact button{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  box-shadow:var(--shadow-sm);
}

.floating-contact a{
  background:var(--brand-blue);
}

.floating-contact a img{
  width:22px;
  height:22px;
}

.floating-contact button{
  color:var(--brand-navy);
  background:var(--white);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:all .25s ease;
}

.floating-contact button.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.mobile-bottom-bar{
  display:none;
}

/* =========================
   ANIMATION
========================= */

.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

@keyframes resourceFade{
  from{opacity:0;transform:translateY(10px);}
  to{opacity:1;transform:translateY(0);}
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1199px){
  .site-header .nav-link{
    padding-left:7px !important;
    padding-right:7px !important;
    font-size:11px !important;
  }

  .site-header .navbar-brand{
    margin-right:15px;
  }

  .site-header .header-cta{
    padding:0 12px;
    font-size:10px;
  }

  .resource-tabs{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:991px){
  .topbar{
    display:none;
  }

  .site-header .navbar{
    min-height:70px;
  }

  .site-header .nav-link{
    min-height:48px;
    padding:0 !important;
    border-bottom:1px solid var(--line);
  }

  .site-header .nav-link.active::after{
    display:none;
  }

  .site-header .navbar-nav{
    padding:10px 0 16px;
  }

  .site-header .dropdown-menu{
    display:none;
    position:static;
    min-width:0;
    margin:0;
    padding:0 0 8px 12px;
    border:0;
    border-left:2px solid var(--line);
    border-radius:0;
    box-shadow:none;
    opacity:1;
    visibility:visible;
    transform:none;
  }

  .site-header .dropdown.show .dropdown-menu{
    display:block;
  }

  .site-header .treatment-menu{
    columns:1;
    min-width:0;
  }

  .site-header .dropdown-item{
    padding:8px 10px;
  }

  .site-header .header-cta{
    margin-top:10px;
    min-height:44px;
  }

  .inner-hero-inner{
    min-height:215px;
  }

  .inner-hero-visual{
    min-width:280px;
    height:215px;
  }

  .doctor-about-content{
    padding-left:0;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:35px;
  }
}

@media(max-width:767px){
  .container{
    width:min(calc(100% - 30px),var(--container)) !important;
  }

  .section-pad,
  .doctor-about-section,
  .expertise-section,
  .achievement-section,
  .patient-resource-section{
    padding:60px 0;
  }

  .inner-hero-inner{
    min-height:185px;
  }

  .inner-hero-visual{
    display:none;
  }

  .inner-hero-content{
    padding:35px 0;
  }

  .inner-hero-content h1{
    font-size:34px;
  }

  .resource-tabs{
    grid-template-columns:repeat(2,1fr);
  }

  .card-grid{
    grid-template-columns:1fr;
  }

  .timeline-box{
    grid-template-columns:1fr;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    padding:16px 0 75px;
  }

  .mobile-bottom-bar{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:1035;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    min-height:58px;
    background:var(--brand-deep);
    border-top:1px solid rgba(255,255,255,.1);
  }

  .mobile-bottom-bar a{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:2px;
    color:var(--white) !important;
    font-size:9px;
    font-weight:700;
  }

  .mobile-bottom-bar i{
    font-size:16px;
  }

  .mobile-bottom-bar a:last-child{
    background:var(--brand-red);
  }

  .floating-contact{
    bottom:72px;
  }
}

@media(max-width:480px){
  .resource-tabs{
    grid-template-columns:1fr;
  }

  .resource-tabs button{
    min-height:70px;
    flex-direction:row;
    gap:9px;
  }

  .resource-tabs button i{
    display:inline-block;
    margin:0;
    font-size:20px;
  }

  .footer-bottom{
    font-size:9px;
  }
}

/* ============================================================
   FIX: REMOVE FOCUS/OUTLINE BORDER FROM HEADER DROPDOWNS
   Applies to Treatments and other dropdown menu buttons
============================================================ */

.site-header .dropdown-toggle,
.site-header .dropdown-toggle:focus,
.site-header .dropdown-toggle:focus-visible,
.site-header .dropdown-toggle:active,
.site-header .dropdown.show > .dropdown-toggle {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Remove Bootstrap's focus ring specifically */
.site-header .nav-link:focus,
.site-header .nav-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Keep the normal hover/active styling */
.site-header .dropdown:hover > .nav-link,
.site-header .dropdown.show > .nav-link {
    color: var(--brand-blue) !important;
}

/* Do not create any unwanted rectangle around dropdown links */
.site-header .dropdown > .nav-link {
    border: 0 !important;
    outline: none !important;
}

/* ==========================================================
   MOBILE RESPONSIVE FINAL PASS — 2026
   ========================================================== */

html{scroll-padding-top:82px;}
body{overflow-x:clip;}
img,svg,video,iframe{max-width:100%;}

@media (max-width: 991.98px){
  .site-header{position:relative;top:auto;z-index:1030;}
  .site-header .container{width:min(calc(100% - 30px),var(--container)) !important;}
  .site-header .navbar{min-height:70px;}
  .site-header .navbar-brand{margin-right:0;max-width:calc(100% - 58px);}
  .site-header .logo-text strong{font-size:14px;}
  .site-header .logo-text small{font-size:8px;letter-spacing:.1em;}
  .site-header .navbar-toggler{display:flex;align-items:center;justify-content:center;margin-left:auto;}
  .site-header .navbar-collapse{width:100%;max-height:calc(100vh - 70px);overflow-y:auto;overflow-x:hidden;background:#fff;}
  .site-header .navbar-nav{align-items:stretch !important;width:100%;padding:8px 0 16px;}
  .site-header .nav-item{width:100%;}
  .site-header .nav-link{width:100%;min-height:48px;padding:13px 4px !important;font-size:13px !important;white-space:normal;}
  .site-header .nav-link.dropdown-toggle{justify-content:space-between;}
  .site-header .dropdown-menu{width:100%;max-width:none;min-width:0 !important;position:static !important;float:none;padding:4px 0 8px 10px;margin:0;border:0;border-left:2px solid var(--line);border-radius:0;box-shadow:none;background:#f7fafc;}
  .site-header .dropdown.show .dropdown-menu{display:block;}
  .site-header .treatment-menu{columns:1;}
  .site-header .dropdown-item{white-space:normal;padding:10px 12px;font-size:12px;line-height:1.45;}
  .site-header .header-cta{width:100%;min-height:46px;margin:10px 0 0;justify-content:center;font-size:12px;}

  .hero{padding:48px 0 0;}
  .hero-layout{min-height:auto;grid-template-columns:1fr;gap:30px;}
  .hero-copy{padding-bottom:25px;}
  .hero h1{font-size:clamp(40px,9vw,58px);line-height:1.04;}
  .hero-subtitle{max-width:none;font-size:15px;line-height:1.7;}
  .hero-actions{flex-wrap:wrap;}
  .hero-actions .btn{min-height:48px;}
  .hero-proof{flex-wrap:wrap;}
  .hero-proof > div{min-width:110px;padding:0 15px;}

  .inner-hero-inner{min-height:0;padding:0;gap:0;}
  .inner-hero-content{width:100%;padding:32px 0;}
  .inner-hero-content h1{font-size:clamp(30px,8vw,44px);line-height:1.1;overflow-wrap:anywhere;}
  .inner-hero-content p{font-size:14px;line-height:1.65;}
  .inner-hero-visual{display:none;}

  .about-layout,.condition-layout,.condition-hero-grid,.treatment-layout,.appointment-layout,.question-layout,.contact-wrapper,.expertise-layout,.credentials-layout,.profile-grid,.speciality-wrapper{grid-template-columns:1fr !important;}
  .about-layout,.condition-layout,.treatment-layout,.appointment-layout,.question-layout{gap:30px;}
  .doctor-about-content{max-width:none;padding-left:0;}
  .doctor-image-box{max-width:560px;}
  .experience-card{left:10px;top:15px;}

  .credential-grid,.credential-strip,.certification-grid,.qualification-grid,.award-grid,.membership-grid,.highlights-grid,.info-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .expertise-cards,.condition-cards,.treatment-cards,.card-grid,.video-grid,.news-grid,.article-preview,.insight-grid,.research-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .timeline-box{grid-template-columns:1fr !important;}

  .resource-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
  .resource-tabs button{min-width:0;padding:16px 10px;min-height:100px;}

  .faq-item{max-width:100%;}
  #faq .faq-question{padding:16px;gap:12px;font-size:13px;}
  #faq .faq-answer p{padding-left:16px;padding-right:16px;font-size:13px;}

  .form-grid{grid-template-columns:1fr !important;}
  .contact-wrapper > *, .appointment-layout > *{min-width:0;}
  textarea{min-height:130px;}

  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;}
  .footer-brand-block{grid-column:1/-1;}
  .footer-bottom{flex-wrap:wrap;}

  .mobile-bottom-bar{display:grid;}
  .floating-contact{bottom:72px;right:14px;}
}

@media (max-width: 767.98px){
  .container{width:calc(100% - 30px) !important;max-width:none !important;}
  .section-pad,.doctor-about-section,.expertise-section,.achievement-section,.patient-resource-section{padding:55px 0;}
  .section-heading{margin-bottom:26px;}
  .section-heading h2,.about-heading h2,.treatment-copy h2,.question-intro h2,.appointment-info h2{font-size:clamp(30px,8vw,40px);line-height:1.12;}

  .hero{padding-top:35px;}
  .hero h1{font-size:clamp(38px,10.5vw,52px);}
  .hero-kicker{font-size:9px;line-height:1.5;}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:10px;}
  .hero-actions .btn{width:100%;justify-content:center;}
  .hero-proof{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  .hero-proof > div{min-width:0;padding:10px 12px;border-left:1px solid var(--line);}

  .credential-grid,.credential-strip,.certification-grid,.qualification-grid,.award-grid,.membership-grid,.highlights-grid,.info-grid,.expertise-cards,.condition-cards,.treatment-cards,.card-grid,.video-grid,.news-grid,.article-preview,.insight-grid,.research-grid{grid-template-columns:1fr !important;}

  .resource-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:28px;}
  .resource-tabs button{min-height:76px;padding:12px 8px;font-size:14px;gap:7px;}
  .resource-tabs button i{font-size:21px;}

  .doctor-image-box{margin-bottom:25px;}
  .doctor-image-box img{max-height:none;}
  .experience-card{left:8px;top:12px;width:92px;min-height:92px;padding:10px;}
  .experience-card strong{font-size:24px;}

  .inner-hero-content{padding:27px 0;}
  .inner-hero-content h1{font-size:32px;}
  .inner-breadcrumb{flex-wrap:wrap;line-height:1.5;}

  .site-footer{padding:52px 0 0;}
  .footer-grid{grid-template-columns:1fr;gap:25px;}
  .footer-brand-block{grid-column:auto;}
  .footer-bottom{margin-top:32px;padding:18px 0 78px;gap:8px;font-size:9px;line-height:1.5;}
  .footer-col a{font-size:14px;}

  .mobile-bottom-bar{min-height:58px;grid-template-columns:repeat(3,1fr);}
  .mobile-bottom-bar a{font-size:9px;min-width:0;text-align:center;padding:5px 2px;line-height:1.2;}
  .mobile-bottom-bar i{font-size:15px;}
  .floating-contact{bottom:70px;}

  .table-responsive, .overflow-auto{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  table{max-width:100%;}
  pre,code{max-width:100%;overflow-x:auto;}
}

@media (max-width: 480px){
  .site-header .logo-symbol{width:38px;height:38px;flex-basis:38px;}
  .site-header .logo-text strong{font-size:13px;}
  .site-header .logo-text small{font-size:7px;}
  .hero h1{font-size:38px;}
  .hero-subtitle{font-size:14px;}
  .resource-tabs{grid-template-columns:1fr;}
  .resource-tabs button{min-height:64px;flex-direction:row;justify-content:flex-start;text-align:left;padding:12px 14px;}
  .resource-tabs button i{width:24px;flex:0 0 24px;text-align:center;}
  .section-pad,.doctor-about-section,.expertise-section,.achievement-section,.patient-resource-section{padding:48px 0;}
}


html{scroll-padding-top:120px;}

/* ============================================================
   SITE HEADER — SINGLE STICKY IMPLEMENTATION
   The topbar and navigation stay together as one sticky unit.
   ============================================================ */

.site-header-shell{
  position:sticky !important;
  position:-webkit-sticky !important;
  top:0 !important;
  width:100% !important;
  z-index:11000 !important;
  isolation:isolate;
}

.site-header-shell .topbar{
  position:relative !important;
  top:auto !important;
  z-index:11001 !important;
}

.site-header-shell .site-header{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  width:100% !important;
  z-index:11002 !important;
  background:rgba(255,255,255,.98) !important;
  box-shadow:0 2px 14px rgba(5,55,88,.08);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}

.site-header-shell .site-header .navbar{
  position:relative !important;
  z-index:11003 !important;
}

.site-header-shell .site-header .navbar-collapse{
  z-index:11004 !important;
}

@media (min-width:1400px){
  .site-header-shell .site-header .navbar{min-height:82px;}
}

@media (max-width:1399.98px){
  html{scroll-padding-top:110px;}
  .site-header-shell .site-header .navbar{min-height:72px;
}

@media (max-width:767.98px){
  html{scroll-padding-top:70px;}
  .site-header-shell .site-header .navbar{min-height:70px;padding-top:8px !important;padding-bottom:8px !important;}
  .site-header-shell .site-header .navbar-collapse{
    position:absolute !important;
    top:100% !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    max-height:calc(100dvh - 70px);
    overflow-x:hidden;
    overflow-y:auto;
    background:#fff !important;
    border-top:1px solid #dce7ed;
    box-shadow:0 12px 30px rgba(5,55,88,.12);
    z-index:11005 !important;
  }
}

@media (max-width:380px){
  .site-header-shell .site-header .navbar{min-height:64px;}
  .site-header-shell .site-header .navbar-collapse{max-height:calc(100dvh - 64px);}
}
