/* Bombay Gastro & Cancer Institute — patient-first global presentation
   Layout: editorial clinical atlas | Mood: warm, grounded, quietly confident */
:root {
  --primary-blue: #123e53;
  --dark-blue: #0c3041;
  --deep-navy: #082634;
  --accent-teal: #267b70;
  --green-cta: #2f8057;
  --primary-green: #236746;
  --green-cta-2: #246a49;
  --light-green: #a8d7a0;
  --bg-color: #f5f7f2;
  --text-dark: #203239;
  --text-gray: #53636a;
  --text-light: #718087;
  --white: #fffefa;
  --shadow: 0 12px 34px rgba(22, 55, 65, .09);
  --shadow-hover: 0 20px 46px rgba(22, 55, 65, .15);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition: .28s cubic-bezier(.2,.75,.25,1);
  --font-display: "Plus Jakarta Sans", "Trebuchet MS", sans-serif;
  --font-body: "Plus Jakarta Sans", "Trebuchet MS", sans-serif;
  --clinic-paper: #f5f7f2;
  --clinic-mist: #e8f0eb;
  --clinic-line: rgba(18, 62, 83, .13);
  --clinic-coral: #c47458;
}

html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  background: var(--clinic-paper);
  color: var(--text-dark);
  font-family: var(--font-body);
  letter-spacing: -.012em;
}
::selection { background: #cce5d2; color: var(--deep-navy); }
a { text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 3px solid #a9cf8e;
  outline-offset: 3px;
}
h1, h2, h3, h4, h5, h6 { letter-spacing: -.035em; }
.container { width: min(1280px, 100%); padding-inline: clamp(18px, 4vw, 36px); }
.section-padding { padding-block: clamp(54px, 8vw, 102px); }

/* A quiet, tailored utility strip and a clinic masthead that stays easy to use. */
.top-bar {
  background: var(--deep-navy);
  color: #e8f2ed;
  border: 0;
  animation: none;
  font-size: .77rem;
  letter-spacing: .01em;
}
.top-bar-inner { min-height: 38px; }
.top-bar-left, .top-bar-right { gap: 18px; }
.tb-link { color: rgba(244,250,246,.83); }
.tb-link:hover { color: #b9dfa6; transform: none; }
.tb-ico {
  width: 20px; height: 20px;
  background: rgba(177,218,158,.13);
  color: #b9dfa6;
}
.tb-link:hover .tb-ico { background: var(--green-cta); color: #fff; transform: none; }
.tb-socials a { width: 25px; height: 25px; background: rgba(255,255,255,.08); }
.tb-socials a:hover { background: var(--green-cta); transform: translateY(-2px); }
.header {
  background: rgba(255,254,250,.96);
  box-shadow: 0 1px 0 var(--clinic-line);
  border-bottom: 1px solid rgba(255,255,255,.65);
}
.header.shrink { background: rgba(255,254,250,.98); box-shadow: 0 9px 28px rgba(8,38,52,.1); }
.header-inner { min-height: 80px; padding-block: 9px; }
.logo { gap: 12px; }
.logo-img-wrap {
  width: 58px; height: 58px; padding: 3px;
  border-radius: 15px; background: #f0f4ed;
  box-shadow: none; border: 1px solid rgba(18,62,83,.1);
}
.logo:hover .logo-img-wrap { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(18,62,83,.12); }
.logo-pulse { display: none; }
.logo-text h1, .logo-text .logo-name { color: var(--deep-navy); font-size: 1.08rem; letter-spacing: -.04em; }
.logo-text span { color: var(--green-cta); font-size: .65rem; letter-spacing: .075em; }
.nav-menu { gap: 2px; }
.nav-item > a { color: #33474e; font-size: .86rem; padding: 10px 12px; }
.nav-item > a::after { background: var(--green-cta); bottom: 3px; height: 2px; }
.nav-item > a:hover, .nav-item.active > a { color: var(--primary-blue); }
.header-cta { padding: 12px 18px; }

.btn {
  border-radius: 8px;
  letter-spacing: 0;
  font-weight: 700;
  box-shadow: none;
  transition: transform .24s ease, background-color .24s ease, box-shadow .24s ease;
}
.btn-primary {
  color: #fffefa;
  background: var(--green-cta);
  box-shadow: 0 5px 14px rgba(47,128,87,.18);
}
.btn-primary:hover { background: #246b49; transform: translateY(-2px); box-shadow: 0 9px 20px rgba(47,128,87,.24); }
.btn-secondary { background: var(--primary-blue); }
.btn-secondary:hover { background: var(--deep-navy); transform: translateY(-2px); }
.btn-outline { border-radius: 8px; }
.btn-ghost { border-radius: 9px; }

.mega-menu, .nav-simple-dropdown {
  border: 1px solid var(--clinic-line);
  border-radius: 15px;
  box-shadow: 0 24px 60px rgba(8,38,52,.17);
}
.mega-top-bar { background: var(--clinic-mist); }
.mega-col .mega-heading { border-bottom-color: rgba(47,128,87,.23); }
.mega-col-featured { background: linear-gradient(145deg, #123e53, #0c3041); }
.mega-col-featured::before { background: rgba(168,215,160,.12); }
.mega-col-featured .mf-btn { background: var(--green-cta); }
.mega-col-featured .mf-btn:hover { background: #246b49; box-shadow: none; }
.nav-overlay { background: rgba(8,38,52,.62); }

/* Homepage: retain all original sections and copy; refine existing compositions. */
.hero-modern {
  padding-top: clamp(32px, 5vw, 68px);
  background:
    radial-gradient(ellipse at 82% 17%, rgba(92,147,125,.24), transparent 35%),
    linear-gradient(120deg, #092b3a 0%, #123e53 58%, #164c51 100%);
}
.hero-bg-blur { opacity: .15; filter: blur(100px); }
.blur-1 { background: radial-gradient(circle, rgba(168,215,160,.75), transparent 70%); }
.blur-2 { background: radial-gradient(circle, rgba(83,161,144,.65), transparent 70%); }
.blur-3 { background: radial-gradient(circle, rgba(196,116,88,.35), transparent 70%); }
.hero-grid-overlay { opacity: .24; background-size: 72px 72px; }
.hero-modern-inner { gap: clamp(34px, 6vw, 82px); padding: 24px 20px clamp(56px, 8vw, 100px); }
.hero-pill {
  background: rgba(255,255,255,.08);
  border-color: rgba(236,246,238,.18);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: .76rem;
  letter-spacing: .015em;
}
.pill-dot { background: #a8d7a0; box-shadow: none; animation: none; }
.hero-modern-title {
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
  line-height: 1.07;
  letter-spacing: -.025em;
  max-width: 740px;
}
.grad-text, .title-grad {
  background: none;
  color: #b9dfa6;
  -webkit-text-fill-color: currentColor;
  animation: none;
}
.hero-modern-sub { font-size: 1rem; max-width: 610px; color: rgba(246,250,246,.78); line-height: 1.78; }
.hero-modern-sub strong { color: #fffefa; }
.hero-modern-btns { gap: 12px; }
.hero-modern .btn-primary { background: #4c9a67; }
.hero-modern .btn-primary:hover { background: #3e8658; }
.btn-ghost { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.btn-ghost .ghost-ico { background: #4c9a67; }
.hero-trust { border-left: 2px solid rgba(185,223,166,.7); padding-left: 14px; }
.trust-text strong { color: #eef5eb; font-size: .94rem; }
.trust-text small { color: rgba(246,250,246,.68); }
.hero-visual-frame { max-width: 440px; aspect-ratio: 4/4.7; }
.hero-shape-bg {
  inset: 4% -4% 0 4%;
  border-radius: 48% 48% 16px 16px;
  background: linear-gradient(145deg, #8abf91, #437b69);
  opacity: .86;
  box-shadow: none;
  animation: none;
}
.hero-doctor-img {
  border-radius: 48% 48% 16px 16px;
  object-position: center 16%;
  animation: none;
  box-shadow: 0 22px 50px rgba(0,0,0,.22);
}
.float-card {
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(8,38,52,.2);
  animation: none;
  border: 1px solid rgba(18,62,83,.08);
}
.float-card .fc-icon { border-radius: 9px; background: #e9f1eb; color: var(--primary-blue); }
.float-card .fc-icon.green { background: #e5f1e4; color: var(--green-cta); }
.float-card .fc-text strong, .card-rating strong { color: var(--deep-navy); }
.card-experience { left: -7%; top: 8%; }
.card-patients { left: -10%; }
.card-rating { right: -7%; }
.card-safe { right: -7%; }
.hero-trust-strip { background: rgba(5,31,41,.35); border-color: rgba(255,255,255,.12); }
.hero-trust-grid { padding-block: 18px; gap: 14px; }
.hts-item { font-size: .81rem; color: rgba(244,250,246,.78); }
.hts-item i { background: rgba(168,215,160,.12); color: #b9dfa6; border-radius: 9px; }

.about { background: #fffefa; }
.about-grid { gap: clamp(34px, 6vw, 78px); }
.about-image img { border-radius: 18px; box-shadow: 0 18px 44px rgba(22,55,65,.14); }
.about-badge { background: var(--green-cta); border-radius: 9px; box-shadow: 0 10px 24px rgba(47,128,87,.2); }
.about-content h2 { color: var(--deep-navy); font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.14; }
.about-content h3 { color: var(--green-cta); font-size: 1rem; letter-spacing: .01em; }
.about-content p { color: var(--text-gray); line-height: 1.8; }
.about-content a:not(.btn), .doc-main a:not(.btn) { color: var(--primary-green); text-decoration: underline; text-decoration-color: rgba(35,103,70,.35); }
.about-content a:not(.btn):hover, .doc-main a:not(.btn):hover { color: var(--primary-blue); text-decoration-color: currentColor; }
.about-feature i { color: var(--green-cta); }
.about-feature span { color: #34474d; }

.section-title { margin-bottom: clamp(28px, 4vw, 50px); }
.section-eyebrow {
  color: var(--green-cta);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow-dot { background: var(--clinic-coral); box-shadow: none; }
.section-title h2 {
  color: var(--deep-navy);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -.045em;
  line-height: 1.15;
}
.section-title h2::after { display: none; }
.section-title p { color: var(--text-gray); font-size: .98rem; line-height: 1.75; }
.symptoms-modern { background: #edf3ee; position: relative; overflow: hidden; }
.symptoms-modern .sym-bg-decor { opacity: .12; }
.sym-grid { gap: 14px; }
.sym-tile {
  background: #fffefa;
  border: 1px solid rgba(18,62,83,.09);
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(22,55,65,.045);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sym-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(47,128,87,.3); }
.sym-tile-ico { background: #e4eee7; color: var(--primary-blue); border-radius: 10px; }
.sym-tile-ico.ico-orange, .sym-tile-ico.ico-amber, .sym-tile-ico.ico-purple,
.sym-tile-ico.ico-teal, .sym-tile-ico.ico-blue, .sym-tile-ico.ico-pink {
  background: #f4e9df; color: #9d6149;
}
.sym-tile-body h3 { color: var(--deep-navy); font-size: 1rem; }
.sym-tile-body p { color: var(--text-gray); line-height: 1.65; }
.sym-tile-body a { color: var(--primary-green); text-decoration: underline; text-underline-offset: 2px; }
.sym-tile-arrow { color: var(--green-cta); }
.sym-cta-row { border-top-color: var(--clinic-line); }
.sym-cta-row p { color: var(--text-gray); }
.services { background: #fffefa !important; }
.services-grid { gap: 18px; }
.service-card {
  background: #f8f9f5;
  border: 1px solid rgba(18,62,83,.1);
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(22,55,65,.05);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(47,128,87,.25); }
.service-card .service-img { height: 190px; background: #e5ece6; }
.service-card .service-img img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.service-card:hover .service-img img { transform: scale(1.035); }
.service-card .service-body { padding: 22px 23px 25px; }
.service-card .service-icon { background: var(--primary-blue); border-radius: 10px; }
.service-card h3, .service-card h4 { color: var(--deep-navy); font-size: 1.09rem; line-height: 1.35; }
.service-card p { color: var(--text-gray); line-height: 1.72; }
.service-card p a { color: var(--primary-green); text-decoration: underline; text-underline-offset: 2px; }
.service-card .read-more { color: var(--primary-green); gap: 7px; }
.service-card .read-more:hover { gap: 11px; }
.service-diagnostic-note { border-left-color: var(--green-cta) !important; background: #edf3ee !important; border-radius: 0 10px 10px 0 !important; }
.service-diagnostic-note h3 { color: var(--deep-navy) !important; }
.service-diagnostic-note p { color: var(--text-gray); }
.service-diagnostic-note a { color: var(--primary-green); text-decoration: underline; }

.why-modern, .why-choose { background: var(--deep-navy); }
.why-mod-blob, .footer-blob { opacity: .1; }
.why-modern h2, .why-choose h2 { color: #f5f7f2; }
.why-modern p, .why-choose p { color: rgba(242,248,243,.76); }
.cta-strip {
  background:
    radial-gradient(ellipse at 92% 0%, rgba(168,215,160,.18), transparent 37%),
    linear-gradient(110deg, #123e53, #0c3041);
  padding-block: clamp(34px, 5vw, 58px);
}
.cta-strip-inner { gap: 34px; }
.cta-strip-eyebrow { color: #b9dfa6; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.cta-strip-text h2 { color: #fffefa; font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.15; }
.cta-strip-text p { max-width: 690px; color: rgba(245,250,246,.76); line-height: 1.7; }
.cta-strip-actions { gap: 10px; }
.cta-strip .btn-primary { background: #4b9864; }
.btn-ghost-light { border: 1px solid rgba(255,255,255,.28); border-radius: 8px; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

/* Contact: clear next steps, legible form, map retained as supplied. */
.page-banner {
  background: linear-gradient(118deg, #123e53, #0c3041);
  padding: clamp(34px, 5vw, 58px) 0;
  color: #fffefa;
}
.page-banner h1 { color: inherit; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.05em; }
.breadcrumb { color: rgba(245,250,246,.72); margin-top: 8px; font-size: .86rem; }
.breadcrumb a { color: #b9dfa6; }
.contact-methods { background: var(--clinic-paper); position: relative; }
.contact-method-grid { gap: 14px; }
.cm-card {
  min-height: 200px;
  border-radius: 13px;
  background: #fffefa;
  border: 1px solid rgba(18,62,83,.11);
  box-shadow: 0 7px 24px rgba(22,55,65,.05);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.cm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(47,128,87,.35); }
.cm-icon-bg { background: #e7f0e9; border-radius: 12px; }
.cm-icon { color: var(--primary-green); }
.cm-card h3 { color: var(--deep-navy); }
.cm-card p { color: var(--text-gray); }
.cm-link { color: var(--primary-green); }
.contact-split {
  margin-top: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(18,62,83,.1);
  border-radius: 18px;
  overflow: hidden;
  background: #fffefa;
  box-shadow: 0 16px 48px rgba(22,55,65,.09);
}
.contact-form-side { padding: clamp(24px, 4vw, 48px); }
.cf-tag { color: var(--green-cta); letter-spacing: .07em; text-transform: uppercase; font-size: .73rem; }
.cf-head h3 { color: var(--deep-navy); font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.cf-head p { color: var(--text-gray); }
.form-alert { border-radius: 9px; }
.modern-form { margin-top: 24px; }
.form-row { gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group input, .form-group textarea, .form-group select {
  border: 1px solid rgba(18,62,83,.18);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--text-dark);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--green-cta);
  background: #fffefa;
  box-shadow: 0 0 0 3px rgba(47,128,87,.11);
}
.form-group label { color: #64747a; }
.form-ico { color: #81918f; }
.btn-cf-submit { background: var(--green-cta); border-radius: 8px; }
.btn-cf-submit:hover { background: #246b49; transform: translateY(-1px); }
.cf-note { color: var(--text-light); }
.contact-info-side { background: #eaf0ea; padding: 16px; }
.ci-map { border-radius: 12px; overflow: hidden; }
.ci-details-card { background: #fffefa; border: 1px solid rgba(18,62,83,.09); border-radius: 12px; }
.ci-row-icon { background: #e8f0e9; color: var(--primary-green); border-radius: 9px; }
.ci-row h4 { color: var(--deep-navy); }
.ci-row p { color: var(--text-gray); }
.ci-emergency { background: #f6ebe5; border-radius: 10px; color: #804936; }
.ci-emergency a { color: #804936; }
.whatsapp-float { box-shadow: 0 7px 18px rgba(8,38,52,.2); }

/* Shared footer keeps practical information prominent without a heavy visual finish. */
.footer-modern {
  background: #082634;
  color: #eaf2ed;
  padding-top: clamp(48px, 7vw, 78px);
}
.footer-modern::before { background: #082634; }
.footer-blob { background: #4b8068; }
.footer-modern-grid { gap: clamp(24px, 4vw, 48px); }
.fm-logo { color: #fffefa; }
.fm-logo img { border-radius: 11px; background: #f5f7f2; padding: 2px; }
.fm-logo span { color: rgba(231,241,235,.68); }
.fm-about { color: rgba(231,241,235,.72); line-height: 1.75; }
.fm-trust-pill { background: rgba(255,255,255,.08); color: #dbe9df; border: 1px solid rgba(255,255,255,.08); }
.fm-social a { background: rgba(255,255,255,.08); color: #eaf2ed; }
.fm-social a:hover { background: #4b9864; transform: translateY(-3px); }
.fm-col h3 { color: #fffefa; }
.fm-links a { color: rgba(231,241,235,.75); }
.fm-links a:hover { color: #b9dfa6; padding-left: 4px; }
.fm-links i { color: #9ac58e; }
.fm-contact-item { color: rgba(231,241,235,.76); }
.fm-contact-item strong { color: #f5f8f3; }
.fm-contact-item a { color: #b9dfa6; }
.fmc-ico { background: rgba(168,215,160,.12); color: #b9dfa6; border-radius: 9px; }
.footer-modern-bottom { border-top: 1px solid rgba(255,255,255,.12); color: rgba(231,241,235,.6); }

/* Document-driven service and information templates */
.doc-page {
  --doc-content: 760px;
  color: var(--text-dark);
  background: var(--clinic-paper);
  padding-bottom: clamp(48px, 7vw, 90px);
}
.doc-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 76px) 0 clamp(34px, 5vw, 62px);
  color: #fffefa;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(168,215,160,.18), transparent 36%),
    linear-gradient(118deg, #123e53, #0c3041);
}
.doc-hero::after {
  content: "";
  position: absolute;
  width: min(36vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(227,241,230,.12);
  border-radius: 50%;
  right: -10vw;
  bottom: -54%;
  pointer-events: none;
}
.doc-hero > *, .doc-hero .container { position: relative; z-index: 1; }
.doc-hero h1 {
  max-width: 900px;
  color: #fffefa;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.055em;
  margin: 0 0 16px;
}
.doc-hero p { max-width: 760px; color: rgba(245,250,246,.79); font-size: clamp(.98rem, 1.4vw, 1.12rem); line-height: 1.78; }
.doc-hero a { color: #c3e2b4; }
.doc-container {
  width: min(1240px, 100%);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 54px) clamp(18px, 4vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, var(--doc-content)) minmax(235px, 300px);
  align-items: start;
  gap: clamp(28px, 5vw, 68px);
}
.doc-main { min-width: 0; font-size: 1rem; line-height: 1.82; color: #4e6066; }
.doc-main > :first-child { margin-top: 0; }
.doc-main h2, .doc-section h2 {
  color: var(--deep-navy);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -.045em;
  margin: clamp(34px, 5vw, 52px) 0 14px;
  padding-top: 2px;
}
.doc-main h3, .doc-section h3 { color: var(--primary-blue); font-size: 1.2rem; line-height: 1.35; margin: 26px 0 9px; }
.doc-main h4 { color: var(--primary-blue); font-size: 1.04rem; margin: 20px 0 8px; }
.doc-main p { margin: 0 0 1.15em; }
.doc-main ul, .doc-main ol { margin: .7em 0 1.35em; padding-left: 1.35em; }
.doc-main li { padding-left: .24em; margin: .42em 0; }
.doc-main li::marker { color: var(--green-cta); }
.doc-main blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--green-cta);
  border-radius: 0 10px 10px 0;
  background: #eaf1eb;
  color: #39535a;
}
.doc-main img { border-radius: 12px; }
.doc-main table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .94rem; }
.doc-main th, .doc-main td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--clinic-line); }
.doc-main th { background: #e7efe8; color: var(--deep-navy); }
.doc-main hr { border: 0; border-top: 1px solid var(--clinic-line); margin: 32px 0; }
.doc-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
}
.doc-sidebar > * {
  padding: 20px;
  border: 1px solid rgba(18,62,83,.1);
  border-radius: 12px;
  background: #fffefa;
  box-shadow: 0 7px 22px rgba(22,55,65,.045);
}
.doc-sidebar h2, .doc-sidebar h3 { color: var(--deep-navy); font-size: 1.05rem; margin: 0 0 12px; }
.doc-sidebar p, .doc-sidebar li { color: var(--text-gray); font-size: .9rem; line-height: 1.65; }
.doc-sidebar ul { padding-left: 1.1em; }
.doc-sidebar li::marker { color: var(--green-cta); }
.doc-sidebar a { color: var(--primary-green); }
.doc-section {
  padding: clamp(20px, 3.5vw, 34px);
  margin: 30px 0;
  border: 1px solid rgba(18,62,83,.09);
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 8px 26px rgba(22,55,65,.045);
}
.doc-section h2:first-child, .doc-section h3:first-child { margin-top: 0; }
.doc-faq { margin: 30px 0; }
.doc-faq details {
  margin: 10px 0;
  border: 1px solid rgba(18,62,83,.12);
  border-radius: 10px;
  background: #fffefa;
  overflow: clip;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.doc-faq details[open] { border-color: rgba(47,128,87,.4); box-shadow: 0 8px 20px rgba(22,55,65,.06); }
.doc-faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  color: var(--deep-navy);
  font-weight: 750;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.doc-faq summary::-webkit-details-marker { display: none; }
.doc-faq summary::before {
  content: "Q";
  flex: 0 0 27px;
  width: 27px; height: 27px;
  display: grid; place-items: center;
  border-radius: 7px;
  background: #e7f0e7;
  color: var(--primary-green);
  font-size: .72rem;
  font-weight: 800;
}
.doc-faq summary::after { content: "+"; margin-left: auto; color: var(--primary-green); font-size: 1.35rem; font-weight: 500; }
.doc-faq details[open] summary::after { content: "−"; }
.doc-faq details > :not(summary) { padding: 0 22px 18px 61px; color: var(--text-gray); line-height: 1.75; }
.doc-related {
  padding: clamp(22px, 3.5vw, 34px);
  margin: 32px 0;
  border-radius: 14px;
  background: #eaf1eb;
}
.doc-related h2, .doc-related h3 { color: var(--deep-navy); margin: 0 0 14px; }
.doc-related a { color: var(--primary-green); text-decoration: underline; text-underline-offset: 3px; }
.doc-cta {
  position: relative;
  overflow: hidden;
  margin: 34px 0;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 14px;
  background: linear-gradient(120deg, #123e53, #0c3041);
  color: #fffefa;
}
.doc-cta h2, .doc-cta h3 { color: #fffefa; margin-top: 0; }
.doc-cta p { color: rgba(245,250,246,.78); }
.doc-cta a:not(.btn) { color: #c3e2b4; }
.doc-cta .btn-primary { background: #4b9864; }

/* Common legacy PHP service-page patterns: readable, contained, and unhidden. */
.service-content { color: var(--text-gray); line-height: 1.8; }
.service-content h1, .service-content h2, .service-content h3 { color: var(--deep-navy); }
.service-content h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; }
.service-content h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; }
.service-content p, .service-content li { line-height: 1.8; }
.service-content a:not(.btn) { color: var(--primary-green); text-decoration: underline; text-underline-offset: 3px; }
.service-content figure, .service-content [style*="background:#fff"], .service-content [style*="background: #fff"] {
  border-radius: 13px;
  border-color: var(--clinic-line);
}
.faq-container { display: grid; gap: 10px; }
.faq-item {
  margin: 0 !important;
  border: 1px solid rgba(18,62,83,.12);
  border-radius: 10px;
  overflow: hidden;
  background: #fffefa;
  box-shadow: 0 5px 18px rgba(22,55,65,.045);
}
.faq-question { background: #fffefa !important; color: var(--deep-navy) !important; font-weight: 750 !important; }
.faq-question::before { background: #e7f0e7 !important; color: var(--primary-green) !important; }
.faq-question > i { color: var(--primary-green) !important; }
.faq-answer { color: var(--text-gray) !important; line-height: 1.75 !important; }

@media (max-width: 1100px) {
  .mega-body { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mega-col-featured { display: none; }
}
@media (max-width: 900px) {
  .top-bar-right .tb-link { display: none; }
  .header-inner { min-height: 70px; }
  .nav-menu {
    background: #fffefa;
    box-shadow: -20px 0 55px rgba(8,38,52,.17);
  }
  .nav-mobile-head { background: #edf3ee; border-bottom: 1px solid var(--clinic-line); }
  .nav-mobile-brand strong { color: var(--deep-navy); }
  .nav-mobile-brand small { color: var(--text-gray); }
  .nav-close { color: var(--deep-navy); }
  .nav-item > a { min-height: 46px; }
  .nav-item.has-dropdown .mega-menu, .nav-item.has-dropdown .nav-simple-dropdown {
    box-shadow: none;
    border-radius: 10px;
  }
  .doc-container { grid-template-columns: minmax(0,1fr); }
  .doc-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-modern-inner { grid-template-columns: minmax(0,1fr); }
  .hero-modern-content { max-width: 760px; }
  .hero-modern-visual { width: min(100%, 530px); margin: 0 auto; }
  .hero-visual-frame { max-width: 390px; }
  .about-grid { grid-template-columns: minmax(0,1fr); }
  .about-image { width: min(100%, 640px); margin: 0 auto 12px; }
  .hero-trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-method-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-split { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 84px; }
  .container { padding-inline: 18px; }
  .top-bar-inner { min-height: 34px; }
  .top-bar-left { gap: 12px; }
  .tb-link { font-size: .72rem; }
  .tb-hide-sm, .tb-hide-md { display: none !important; }
  .header-inner { gap: 10px; padding-inline: 16px; }
  .logo { gap: 9px; }
  .logo-img-wrap { width: 47px; height: 47px; border-radius: 12px; }
  .logo-text h1, .logo-text .logo-name { font-size: .94rem; }
  .logo-text span { max-width: 158px; display: block; font-size: .57rem; }
  .header-cta { display: none; }
  .header-call-btn { display: inline-flex; width: 42px; height: 42px; border-radius: 10px; background: var(--green-cta); box-shadow: none; }
  .mobile-toggle { display: flex; width: 42px; height: 42px; border-radius: 10px; }
  .header-actions { gap: 8px; }
  .nav-menu { padding-bottom: 24px; }
  .nav-mobile-cta { display: grid; gap: 9px; padding: 18px; }
  .nav-mobile-cta .btn { width: 100%; }
  .nav-mobile-cta .btn-outline-mobile { border-color: var(--primary-blue); color: var(--primary-blue); }
  .mega-body { grid-template-columns: minmax(0,1fr); }
  .mega-col { padding: 18px; border-right: 0; border-bottom: 1px solid var(--clinic-line); }
  .hero-modern { padding-top: 30px; }
  .hero-modern-inner { gap: 30px; padding: 14px 18px 42px; }
  .hero-modern-title { font-size: clamp(2.2rem, 10.2vw, 3rem); }
  .hero-modern-sub { font-size: .94rem; }
  .hero-modern-btns { align-items: stretch; flex-direction: column; }
  .hero-modern-btns .btn { width: 100%; }
  .hero-visual-frame { max-width: 310px; }
  .float-card { padding: 9px 11px; gap: 8px; }
  .float-card .fc-icon { width: 34px; height: 34px; }
  .float-card .fc-text strong { font-size: .85rem; }
  .float-card .fc-text small { font-size: .67rem; }
  .card-experience { left: -4%; top: 6%; }
  .card-patients { left: -4%; bottom: 10%; }
  .card-rating { right: -3%; top: 13%; padding: 10px 12px; }
  .card-safe { right: -3%; bottom: 4%; }
  .hero-trust-grid { grid-template-columns: minmax(0,1fr); gap: 10px; padding-block: 16px; }
  .hts-item { font-size: .83rem; }
  .about-features { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .about-badge { left: 12px; bottom: -14px; padding: 11px 17px; }
  .sym-grid, .services-grid { grid-template-columns: minmax(0,1fr); }
  .sym-tile { min-height: 0; }
  .sym-cta-row { align-items: stretch; flex-direction: column; }
  .sym-cta-row .btn { width: 100%; }
  .service-card .service-img { height: 205px; }
  .service-diagnostic-note { padding: 17px !important; }
  .page-banner { padding-block: 32px; }
  .contact-method-grid { grid-template-columns: minmax(0,1fr); }
  .cm-card { min-height: 160px; }
  .contact-split { margin-top: 30px; }
  .contact-form-side { padding: 22px 17px; }
  .form-row { grid-template-columns: minmax(0,1fr); gap: 0; }
  .contact-info-side { padding: 10px; }
  .doc-hero { padding-block: 34px; }
  .doc-hero h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .doc-container { padding: 26px 18px 42px; gap: 26px; }
  .doc-main { font-size: .96rem; line-height: 1.78; }
  .doc-main h2, .doc-section h2 { margin-top: 34px; }
  .doc-sidebar { grid-template-columns: minmax(0,1fr); }
  .doc-faq summary { padding: 15px; gap: 10px; font-size: .94rem; }
  .doc-faq details > :not(summary) { padding: 0 16px 16px 52px; }
  .doc-main table { display: block; overflow-x: auto; white-space: nowrap; }
  .cta-strip-inner { align-items: stretch; flex-direction: column; }
  .cta-strip-actions { display: grid; grid-template-columns: minmax(0,1fr); }
  .cta-strip-actions .btn { width: 100%; }
  .footer-modern-grid { grid-template-columns: minmax(0,1fr); }
  .fm-contact-item { align-items: flex-start; }
  .fm-contact-item > div { min-width: 0; }
  .fm-contact-item span { overflow-wrap: anywhere; }
  .whatsapp-float { bottom: 18px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Client-provided content templates and accessible appointment form. */
.doc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 300px); align-items: center; gap: clamp(28px, 6vw, 80px); }
.doc-eyebrow { display: inline-block; margin-bottom: 20px; color: #c3e2b4; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.doc-hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.doc-phone { font-weight: 700; }
.doc-hero-image { width: 100%; max-height: 330px; object-fit: contain; object-position: center bottom; align-self: end; border-radius: 48% 48% 16px 16px; background: rgba(195,226,180,.13); }
.doc-breadcrumb { margin: 0 0 30px; color: #62747a; font-size: .85rem; }
.doc-copy ul, .doc-related ul { list-style: disc; }
.doc-copy ol { list-style: decimal; }
.doc-intro { padding: 20px 22px; border-left: 3px solid var(--green-cta); border-radius: 0 10px 10px 0; background: #eaf1eb; color: #24434b; font-size: 1.06rem; font-weight: 500; }
.doc-trust { padding: 15px 18px; margin: 22px 0; border: 1px solid #ceded1; border-radius: 10px; background: #f0f6ef; color: #234f3c; font-weight: 700; }
.doc-inline-cta { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.doc-inline-cta a { display: inline-flex; align-items: center; border: 1px solid #c7dccb; border-radius: 999px; background: #fff; padding: 10px 15px; font-weight: 700; text-decoration: none !important; }
.doc-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.doc-table-wrap table { min-width: 500px; }
.doc-doctor-card img { max-height: 230px; width: 100%; object-fit: contain; object-position: center bottom; background: #edf3ee; border-radius: 8px; margin-bottom: 16px; }
.doc-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.doc-case-card { padding: 14px; border: 1px solid #d6e3d8; border-radius: 10px; background: #f6faf5; }
.doc-case-card h3 { margin: 0; font-size: 1rem; }
.doc-form { display: grid; gap: 16px; }
.doc-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.doc-form label { display: grid; gap: 7px; color: var(--primary-blue); font-weight: 700; font-size: .9rem; }
.doc-form input, .doc-form select, .doc-form textarea { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #bdcec4; border-radius: 8px; background: white; color: #203b42; }
.doc-form input:focus, .doc-form select:focus, .doc-form textarea:focus { outline: 3px solid rgba(47,128,87,.22); border-color: var(--primary-green); }
.doc-form button { justify-self: start; }
.doc-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.doc-blog-grid article { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid #d6e3d8; border-radius: 10px; background: #fff; }
.doc-blog-grid h3 { color: var(--primary-blue); font-size: 1rem; line-height: 1.4; }
.doc-blog-grid p { color: var(--text-gray); font-size: .88rem; line-height: 1.6; }
.doc-blog-grid article > a { color: var(--primary-green); font-weight: 700; font-size: .86rem; margin-top: auto; }
.doc-search-form { display: grid; gap: 8px; }
.doc-search-form label { font-size: .87rem; font-weight: 600; }
.doc-search-form input { width: 100%; border: 1px solid #cbd9d5; border-radius: 8px; padding: 12px; font: inherit; background: white; }
.doc-search-form button { justify-self: start; }
.doc-search-results { max-width: 850px; margin: 0 auto; padding: 48px 20px 70px; }
.doc-search-results form { margin: 20px 0 30px; }
.doc-search-results article { padding: 20px 0; border-bottom: 1px solid #d6e3d8; }
.doc-search-results h2 { font-size: 1.2rem; margin-bottom: 7px; }
.doc-search-results p { line-height: 1.6; }
@media (max-width: 700px) {
  .doc-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .doc-hero-image { max-width: 190px; max-height: 215px; }
  .doc-case-grid, .doc-form-grid, .doc-blog-grid { grid-template-columns: minmax(0, 1fr); }
}
