/* =====================================================================
   MedParc Hospitals — site stylesheet
   Matches the live medparchospitals.com design (Medicross/Elementor build):
   teal #01969A · navy #133A61 · dark #09243C / #051B2E · text #68747A
   grey panels #F1F2F2 · lines #DADEE2 · accent yellow #FFCC53
   Headings: Public Sans · Body: Inter · Panels 20px radius · Buttons 13px radius
   ===================================================================== */

:root {
  --teal: #01969A;
  --teal-2: #017E81;
  --teal-tint: #E8F6F4;
  --navy: #133A61;
  --navy-2: #09243C;
  --ink: #051B2E;
  --text: #68747A;
  --text-2: #4B535D;
  --grey: #F1F2F2;
  --line: #DADEE2;
  --yellow: #FFCC53;
  --red: #EF2E32;
  --red-tint: #FDECEC;
  --amber: #E0A400;
  --amber-tint: #FFF7E3;
  --amber-ink: #8A5A00;
  --foot-text: #B3C0CE;
  --white: #FFFFFF;
  --sky-1: #D5E8F2;
  --sky-2: #AED5E5;

  --f-head: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --r-panel: 20px;
  --r-btn: 13px;
  --gap-x: 15px;
  --wrap: 1600px;
  --wrap-narrow: 1290px;
  --gutter: clamp(16px, calc(3 * var(--vw)), 30px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 10px 40px -12px rgba(9, 36, 60, .18);
  --shadow-lg: 0 30px 60px -24px rgba(9, 36, 60, .35);
}

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 25px; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
img.img-missing { visibility: hidden; }
a { color: inherit; text-decoration: none; transition: color .25s; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); color: var(--navy); margin: 0; font-weight: 500; line-height: 1.22; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 99999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

main, .footer { overflow-x: clip; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, var(--wrap-narrow)); margin-inline: auto; }
.panel { margin-inline: var(--gap-x); border-radius: var(--r-panel); position: relative; }
.panel--grey { background: var(--grey); }
.section { padding-block: clamp(56px, calc(7 * var(--vw)), 104px); position: relative; }
.mt-80 { margin-top: clamp(50px, calc(6 * var(--vw)), 80px); }
.mt-50 { margin-top: 50px; }

/* ---------------- Preloader (live: logo + rotating arrow ring) ---------------- */
.preloader { position: fixed; inset: 0; z-index: 9999999; display: grid; place-items: center; background: #fff; transition: opacity .35s cubic-bezier(.4, 0, .2, 1), visibility .35s; }
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__wrap { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.preloader__logo { width: 65px; height: 65px; position: relative; z-index: 2; animation: heartbeat 1.3s ease-in-out infinite; }
.preloader__logo img { width: 100%; height: 100%; object-fit: contain; }
.preloader__spin { position: absolute; inset: 0; animation: spin .85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.1); } 28% { transform: scale(.97); } 42% { transform: scale(1.06); } }

/* ---------------- Scroll progress ---------------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100000; background: linear-gradient(90deg, var(--teal), var(--navy)); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------------- Desktop header ---------------- */
.hdr { position: relative; z-index: 900; background: #fff; }
.hdr-top { padding-top: 4px; }
.hdr-top__row { display: flex; align-items: center; justify-content: center; gap: 0; padding-block: 14px 0; flex-wrap: wrap; }
.ibox { display: flex; align-items: center; gap: 14px; margin-right: 45px; }
.hdr-top__row { flex-wrap: nowrap; }
.ibox__ic { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; background: var(--navy-2); color: #fff; display: grid; place-items: center; transition: transform .5s var(--spring), background .3s; }
.ibox__ic svg { width: 20px; height: 20px; }
.ibox:hover .ibox__ic { transform: rotate(-12deg) scale(1.08); background: var(--teal); }
.hdr-top .ibox:nth-child(n+2) .ibox__txt { white-space: nowrap; }
.ibox__txt { font-family: var(--f-head); font-size: 15px; line-height: 25px; color: var(--text); }
.ibox__txt a:hover { color: var(--teal); }
.emg { white-space: nowrap; display: inline-flex; align-items: center; gap: 14px; padding: 6px 12px; }
.emg__siren { width: 48px; height: 48px; flex: none; }
.emg__siren .glow { animation: sirenGlow 1s ease-in-out infinite; transform-origin: 12px 14px; }
@keyframes sirenGlow { 0%, 100% { opacity: .15; transform: scale(.8); } 50% { opacity: .65; transform: scale(1.35); } }
.emg__label { display: block; font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: 16px; line-height: 1.1; margin-bottom: 4px; }
.emg__num { display: block; font-family: var(--f-head); font-weight: 600; color: var(--red); font-size: 18px; line-height: 1.1; }
.hdr-top__line { height: 1px; background: var(--line); margin-top: 20px; }

.hdr-main { background: #fff; }
.hdr-main__row { display: flex; align-items: center; justify-content: center; padding-inline: 30px; max-width: 1600px; margin-inline: auto; }
.logo { flex: none; width: 237px; display: block; }
.logo img { width: 100%; height: auto; max-height: 100px; object-fit: contain; object-position: left center; transition: transform .45s var(--spring); }
.logo:hover img { transform: scale(1.03); }
.menu { flex: 1 1 auto; display: flex; justify-content: center; }
.menu > li { position: relative; margin: 0 14px; }
.menu > li > a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-size: 18px; font-weight: 500; color: var(--navy); line-height: 84px; position: relative; white-space: nowrap; }
.menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.menu > li:hover > a, .menu > li > a[aria-current="page"] { color: var(--teal); }
.menu > li:hover > a::after, .menu > li > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu .chev { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.menu > li:hover .chev { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: -20px; min-width: 260px; background: #fff; border-radius: 0 0 20px 20px; padding: 16px 0; box-shadow: 0 20px 40px -18px rgba(9, 36, 60, .35); border-top: 3px solid var(--teal); opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; margin-top: 0; max-height: calc(72 * var(--vh)); overflow-y: auto; scrollbar-width: thin; }
.sub--grid { display: grid; grid-template-columns: repeat(2, 1fr); min-width: 520px; padding: 15px; gap: 2px 10px; }
.menu > li:hover .sub, .menu > li:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; position: relative; padding: 8px 26px; font-size: 15px; color: var(--ink); line-height: 1.5; transition: color .25s, padding .35s var(--ease); }
.sub--grid a { padding: 8px 14px 8px 22px; }
.sub a::before { content: ""; position: absolute; left: 12px; top: 50%; width: 0; height: 2px; background: var(--teal); transition: width .35s var(--ease); }
.sub--grid a::before { left: 6px; }
.sub a:hover { color: var(--teal); padding-left: 36px; }
.sub--grid a:hover { padding-left: 30px; }
.sub a:hover::before { width: 14px; }
.hdr-btn { margin-left: 30px; flex: none; }
.oc-toggle { margin-left: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; transition: background .3s, transform .5s var(--spring); }
.oc-toggle:hover { background: var(--teal); transform: rotate(90deg); }
.oc-toggle svg { width: 22px; height: 22px; }

/* sticky clone behaviour */
.hdr-main.is-stuck { position: fixed; top: 0; left: 0; right: 0; z-index: 950; box-shadow: 0 12px 30px -16px rgba(9, 36, 60, .35); animation: slideDown .55s var(--ease); }
.hdr-main.is-stuck .menu > li > a { line-height: 74px; }
.hdr-main.is-stuck .menu > li > a::after { bottom: 20px; }
.hdr-main.is-stuck .logo { width: 190px; }
.hdr-spacer { display: none; }
.hdr-spacer.is-on { display: block; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

/* off-canvas (live popup) */
.oc { position: fixed; inset: 0; z-index: 99995; visibility: hidden; overflow: hidden; }
.oc.is-open { visibility: visible; }
.oc__scrim { position: absolute; inset: 0; background: rgba(5, 27, 46, .55); opacity: 0; transition: opacity .4s; }
.oc.is-open .oc__scrim { opacity: 1; }
.oc__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, calc(92 * var(--vw))); background: #fff; padding: 40px 36px; transform: translateX(100%); transition: transform .6s var(--ease); display: flex; flex-direction: column; gap: 26px; overflow-y: auto; }
.oc.is-open .oc__panel { transform: none; }
.oc__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; transition: transform .4s var(--spring), background .3s; }
.oc__close:hover { transform: rotate(90deg); background: var(--line); }
.oc__close svg { width: 18px; height: 18px; }
.oc__logo { width: 220px; }
.oc__links a { display: flex; justify-content: space-between; align-items: center; font-family: "Roboto", var(--f-head); font-size: 24px; color: var(--navy); padding: 16px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(30px); transition: opacity .5s, transform .6s var(--ease), color .25s; }
.oc.is-open .oc__links a { opacity: 1; transform: none; }
.oc.is-open .oc__links a:nth-child(2) { transition-delay: .08s; } .oc.is-open .oc__links a:nth-child(3) { transition-delay: .16s; } .oc.is-open .oc__links a:nth-child(4) { transition-delay: .24s; }
.oc__links a:hover { color: var(--teal); }
.oc__links svg { width: 20px; height: 20px; }
.oc__info { display: grid; gap: 14px; margin-top: auto; }

/* ---------------- Mobile header (live mpmb widget) ---------------- */
.mhdr { display: none; position: sticky; top: 0; z-index: 99990; background: #fff; }
.mhdr__bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px; background: #fff; position: relative; z-index: 2; transition: box-shadow .3s; }
.mhdr.is-scrolled .mhdr__bar, .mhdr.is-open .mhdr__bar { box-shadow: 0 2px 10px rgba(16, 58, 90, .10); }
.mhdr__logo img { max-height: 52px; width: auto; }
.mhdr__actions { display: flex; align-items: center; gap: 14px; }
.mhdr__call { color: var(--teal); }
.mhdr__call svg { width: 30px; height: 30px; }
.mhdr__siren svg { width: 34px; height: 34px; filter: drop-shadow(0 2px 4px rgba(239, 46, 50, .25)); }
.mhdr__toggle { width: 28px; height: 28px; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.mhdr__toggle i { display: block; height: 2.5px; width: 100%; border-radius: 2px; background: var(--navy); transition: transform .28s cubic-bezier(.4, 0, .2, 1), opacity .2s, width .28s; }
.mhdr__toggle i:last-child { width: 75%; margin-left: auto; }
.mhdr.is-open .mhdr__toggle i:first-child { transform: translateY(7.5px) rotate(45deg); }
.mhdr.is-open .mhdr__toggle i:nth-child(2) { opacity: 0; }
.mhdr.is-open .mhdr__toggle i:last-child { width: 100%; transform: translateY(-7.5px) rotate(-45deg); }
.mpanel { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid #EDF1F5; z-index: 99989; overflow-y: auto; opacity: 0; transform: translateY(-12px); pointer-events: none; visibility: hidden; transition: opacity .28s, transform .28s, visibility 0s linear .28s; padding-bottom: 40px; }
.mpanel.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .28s, transform .28s; }
.mpanel__nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: 15px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid #f0f0f0; transition: background .2s, color .2s, padding .3s var(--ease); }
.mpanel__nav a:hover, .mpanel__nav a[aria-current="page"] { color: var(--teal); background: var(--teal-tint); padding-left: 26px; }
.mpanel__nav details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: 15px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid #f0f0f0; }
.mpanel__nav details summary::-webkit-details-marker { display: none; }
.mpanel__nav details summary svg { width: 14px; height: 14px; transition: transform .3s; }
.mpanel__nav details[open] summary svg { transform: rotate(180deg); }
.mpanel__nav details .subm a { text-transform: none; font-weight: 500; letter-spacing: 0; padding: 11px 20px 11px 34px; font-size: 14px; color: var(--ink); background: #FAFBFC; }
.mpanel__quick { padding: 22px 20px 0; }
.mpanel__qt { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 12px; font-family: var(--f-head); }
.mcard { display: block; border-radius: 10px; padding: 12px 16px; margin-bottom: 12px; }
.mcard__label { display: block; font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 2px; }
.mcard__val { display: inline-block; font-size: 19px; font-weight: 700; letter-spacing: .3px; }
.mcard--emg { background: var(--red-tint); }
.mcard--emg .mcard__val { color: var(--red); padding: 2px 6px; border-radius: 4px; animation: blink 1.2s ease-in-out infinite; }
.mcard--appt { background: var(--teal-tint); }
.mcard--appt .mcard__val { color: var(--teal); }
@keyframes blink { 0%, 100% { background-color: rgba(239, 46, 50, 0); opacity: 1; } 50% { background-color: rgba(239, 46, 50, .18); opacity: .55; } }
.mstrip { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-top: 4px; background: var(--amber-tint); border: 1px dashed var(--amber); border-radius: 10px; }
.mstrip svg { width: 26px; height: 26px; color: var(--amber-ink); flex: none; }
.mstrip span { flex: 1; font-size: 15px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--amber-ink); }
.mstrip .nudge { width: 18px; height: 18px; animation: nudge 1.5s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.mdir { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 16px; border: 1px solid #EDF1F5; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--navy); }
.mdir svg { width: 22px; height: 22px; color: var(--teal); }
.lock { overflow: hidden; }

/* ---------------- Buttons (live: teal, 55px line, 13px radius, glossy) ---------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 55px; padding: 0 33px; border-radius: var(--r-btn); background: var(--teal); color: #fff; font-family: var(--f-body); font-size: 15px; font-weight: 400; line-height: 1; overflow: hidden; isolation: isolate; white-space: nowrap; transition: background .4s, color .3s, transform .4s var(--spring), box-shadow .3s; will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); z-index: 1; pointer-events: none; }
.btn:hover::after { animation: gloss .9s var(--ease); }
@keyframes gloss { to { left: 130%; } }
.btn:hover { box-shadow: 0 14px 28px -14px rgba(1, 150, 154, .9); color: #fff; }
.btn:active { transform: scale(.96); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--navy { background: var(--navy); }
.btn--navy::before { background: var(--teal); }
.btn--dark { background: var(--navy-2); }
.btn--white { background: #fff; color: var(--navy-2); }
.btn--white::before { background: var(--teal); }
.btn--red { background: var(--red); }
.btn--red::before { background: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--outline::before { background: var(--navy); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--wide { padding: 0 68px; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .5); transform: scale(0); animation: ripple .7s var(--ease) forwards; pointer-events: none; z-index: 3; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.link-more { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 500; }
.link-more svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--teal); color: #fff; transition: transform .45s var(--spring), background .3s; }
.link-more:hover { color: var(--teal); }
.link-more:hover svg { transform: translateX(6px) rotate(-45deg); background: var(--navy); }

/* ---------------- Section heading (live pattern: logo icon + subtitle, 45px title) ---------------- */
.shead { margin-bottom: 40px; }
.shead--center { text-align: center; max-width: 881px; margin-inline: auto; }
.shead--row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.shead--row > div:first-child { max-width: 1050px; }
.shead__sub { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; line-height: 27px; color: var(--text); margin-bottom: 15px; }
.shead__sub img { height: 30px; width: auto; animation: spinSlow 12s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.shead h2 { font-size: 45px; line-height: 55px; font-weight: 500; color: var(--navy); }
.shead p { color: var(--text-2); margin-top: 11px; max-width: 703px; }
.shead--center p { margin-inline: auto; color: var(--text); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split-words.is-in .w > span { transform: none; }

/* decorative corner images on grey panels (live in15 / in14) */
.deco { position: absolute; z-index: 0; pointer-events: none; border-radius: 20px; overflow: hidden; }
.deco img { border-radius: 20px; }
.deco--bl { left: 0; bottom: 0; }
.deco--tr { right: 0; top: 0; }
.panel > .wrap, .panel > .wrap--narrow { position: relative; z-index: 2; }

/* ---------------- Hero panel ---------------- */
.hero { margin-inline: var(--gap-x); border-radius: var(--r-panel); background: var(--navy) url("https://medparchospitals.com/wp-content/uploads/2024/08/vr8.webp") center / cover; padding: 36px 0 0; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 85% 20%, rgba(1, 150, 154, .35), transparent 70%), radial-gradient(600px 300px at 10% 90%, rgba(1, 150, 154, .2), transparent 70%); animation: auroraShift 14s ease-in-out infinite alternate; }
@keyframes auroraShift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-40px, 30px) scale(1.08); } }
.hero__inner { max-width: 1710px; margin: 20px auto; padding-right: 30px; position: relative; }
.hslider { position: relative; }
.hslide { display: flex; align-items: center; gap: 30px; padding-left: 199px; min-height: 560px; }
.hslide__content { flex: 1 1 52%; color: #fff; padding-block: 40px; }
.hslide__sub { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #fff; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 18px; padding: 8px 16px; border-radius: 30px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px); }
.hslide__sub .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255, 204, 83, .7); animation: pulseDot 1.8s infinite; }
@keyframes pulseDot { 70% { box-shadow: 0 0 0 10px rgba(255, 204, 83, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 204, 83, 0); } }
.hslide__title { font-size: clamp(34px, calc(3.6 * var(--vw)), 62px); line-height: 1.15; color: #fff; font-weight: 600; white-space: pre-line; }
.hslide__line { display: block; width: 120px; height: 4px; border-radius: 4px; background: var(--teal); margin: 26px 0; transform-origin: left; }
.hslide__desc { font-size: 17px; line-height: 28px; color: #D7E2EC; max-width: 640px; margin-bottom: 32px; }
.hslide__mask { flex: 0 0 48%; align-self: stretch; min-height: 520px; background: center / contain no-repeat; position: relative; }
/* per-slide entrance (live: wow fadeInRight / fadeInUp / skewIn timings) */
.hs-a { opacity: 0; }
.swiper-slide-active .hs-a { animation-fill-mode: both; animation-duration: .9s; animation-timing-function: var(--ease); }
.swiper-slide-active .hs-sub { animation-name: fInRight; animation-delay: .5s; }
.swiper-slide-active .hs-title { animation-name: fInUp; animation-delay: .8s; }
.swiper-slide-active .hs-line { animation-name: skewIn; animation-delay: 1.2s; }
.swiper-slide-active .hs-desc { animation-name: fInRight; animation-delay: 1.1s; }
.swiper-slide-active .hs-btn { animation-name: fInUp; animation-delay: 1.5s; }
.swiper-slide-active .hs-mask { animation-name: skewInRight; animation-delay: .3s; animation-duration: 1.2s; }
@keyframes fInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes fInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }
@keyframes fInLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes skewIn { from { opacity: 0; transform: scaleX(0) skewX(-30deg); } to { opacity: 1; transform: none; } }
@keyframes skewInRight { from { opacity: 0; transform: translateX(120px) skewX(-12deg); } to { opacity: 1; transform: none; } }
.hslider__nav { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); z-index: 5; display: grid; gap: 12px; }
.sw-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; transition: background .3s, transform .45s var(--spring); cursor: pointer; }
.sw-arrow:hover { background: #fff; color: var(--teal); transform: scale(1.1); }
.sw-arrow svg { width: 22px; height: 22px; }
.sw-arrow.swiper-button-disabled { opacity: .35; pointer-events: none; }
.hslider__dots { position: absolute; left: 199px !important; bottom: 18px !important; width: auto !important; z-index: 5; }
.swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(255, 255, 255, .45); opacity: 1; transition: width .4s var(--ease), background .3s; border-radius: 10px; }
.swiper-pagination-bullet-active { width: 32px; background: var(--teal); }
.hslider .swiper-pagination-bullet-active { background: var(--yellow); }
.hslider__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); z-index: 5; }
.hslider__progress span { display: block; height: 100%; width: 0; background: var(--yellow); }
.hslider.is-playing .hslider__progress span { animation: progressBar 5s linear forwards; }
@keyframes progressBar { to { width: 100%; } }

/* hero quick row */
.hquick { display: grid; grid-template-columns: 27.3% 1fr; max-width: 1710px; margin-inline: auto; padding-inline: 15px; }
.hq-doc { margin: 15px; border-radius: 20px; background: #fff url("https://medparchospitals.com/wp-content/uploads/2026/03/h5-11-1.webp") center / cover; padding: 27px 30px 40px 40px; position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.hq-doc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hq-doc__ic { align-self: flex-end; width: 80px; height: 80px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin-block: -7px; transition: transform .6s var(--spring); }
.hq-doc:hover .hq-doc__ic { transform: rotate(-45deg) scale(1.08); }
.hq-doc__ic svg { width: 30px; height: 30px; }
.hq-doc h2 { font-size: 32px; color: var(--navy); margin: 116px 0 13px; }
.hq-doc p { color: var(--text); max-width: 333px; margin-bottom: 24px; }
.hq-appt { margin: 15px; border-radius: 20px; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 100%); padding: 15px 50px 30px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.hq-appt::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 70%); animation: floatBlob 9s ease-in-out infinite; }
@keyframes floatBlob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }
.hq-appt__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding-top: 20px; position: relative; }
.hq-appt__head h2 { font-size: 32px; color: var(--navy); }
.hq-appt__head p { color: var(--navy); font-size: 17px; line-height: 26px; margin: 0; }
.hq-appt hr { border: 0; border-top: 1px solid #F0F7FA; margin: 26px 0 35px; }
.hform { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 15px 20px; align-items: end; position: relative; }
.hform__fields { grid-column: 1 / 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px 20px; }
.hform input, .hform select { width: 100%; height: 55px; padding: 0 22px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .78); color: var(--ink); font-size: 15px; transition: background .3s, box-shadow .3s, transform .3s; -webkit-appearance: none; appearance: none; }
.hform select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23133A61' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 40px; }
.hform input:hover, .hform select:hover, .hform input:focus, .hform select:focus { background-color: #fff; box-shadow: 5px 8px 16px 0 rgba(0, 0, 0, .07); outline: none; }
.hform input:focus, .hform select:focus { box-shadow: 0 0 0 3px rgba(1, 150, 154, .3); }
.hform .is-invalid { box-shadow: 0 0 0 2px var(--red) !important; animation: shake .4s; }
.hform__btn { align-self: stretch; display: flex; }
.hform__btn .btn { height: auto; min-height: 125px; flex-direction: column; gap: 8px; padding: 0 34px; }
.form__status { grid-column: 1 / -1; font-size: 14px; min-height: 1.2em; margin: 0; }
.form__status.ok { color: var(--teal-2); font-weight: 600; }
.form__status.err { color: var(--red); font-weight: 600; }
@keyframes shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

/* marquee (live scroll-strip) */
.hmarq { overflow: hidden; padding: 22px 0 30px; margin-top: 7px; }
.hmarq__track { display: flex; gap: 60px; width: max-content; animation: scrollMove 20s linear infinite; }
.hmarq:hover .hmarq__track { animation-play-state: paused; }
.hmarq__item { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.hmarq__item .star { color: #fff; font-size: 20px; display: inline-block; animation: spinSlow 6s linear infinite; }
.hmarq__item h3 { color: #fff; font-size: 26px; font-weight: 500; }
@keyframes scrollMove { to { transform: translateX(-50%); } }

/* ---------------- Carousels (shared) ---------------- */
.carousel { position: relative; }
.carousel .swiper { overflow: hidden; padding: 6px 4px 14px; margin: -6px -4px -14px; }
.carousel .swiper-wrapper { align-items: stretch; }
.carousel .swiper-slide { height: auto; display: flex; }
.carousel .swiper-slide > * { flex: 1 1 auto; width: 100%; }
.carousel__nav { display: flex; gap: 12px; justify-content: center; margin-top: 34px; align-items: center; }
.carousel__nav .swiper-pagination { position: static; width: auto; display: flex; gap: 2px; align-items: center; }
.carousel__nav .swiper-pagination-bullet { background: #C7D0D8; margin: 0 3px !important; }
.carousel__nav .swiper-pagination-bullet-active { background: var(--teal); }
.carousel--side .carousel__arrow { position: absolute; top: 42%; z-index: 5; }
.carousel--side .carousel__arrow--prev { left: -28px; }
.carousel--side .carousel__arrow--next { right: -28px; }
.carousel__arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(1, 150, 154, .8); transition: background .3s, transform .45s var(--spring), opacity .3s; cursor: pointer; }
.carousel__arrow:hover { background: var(--navy); transform: scale(1.1); }
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__arrow.swiper-button-disabled { opacity: .35; cursor: default; }
.carousel__arrow.swiper-button-lock { display: none; }
.carousel__hint { text-align: center; font-size: 13px; color: var(--text); margin-top: 12px; display: flex; gap: 8px; align-items: center; justify-content: center; }
.carousel__hint svg { width: 18px; height: 18px; animation: nudge 1.5s ease-in-out infinite; }

/* speciality card (live pxl-service-carousel1) */
.scard { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; height: 100%; }
.scard:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.scard__img { display: block; position: relative; aspect-ratio: 736 / 596; overflow: hidden; background: #E3E8EB; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.scard:hover .scard__img img { transform: scale(1.09) rotate(1deg); }
.scard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 1s var(--ease); }
.scard:hover .scard__img::after { transform: translateX(120%); }
.scard__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.scard__body h3 { font-size: 22px; line-height: 30px; color: var(--navy); transition: color .3s; }
.scard:hover h3 { color: var(--teal); }
.scard__body p { color: var(--text); flex: 1; margin: 0; }

/* facility card (live pxl-post--holder flip) */
.fcard { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 480 / 605; background: var(--navy-2); display: block; isolation: isolate; height: 100%; min-height: 380px; }
.fcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.fcard:hover > img { transform: scale(1.1); }
.fcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 36, 60, 0) 45%, rgba(9, 36, 60, .85) 100%); transition: opacity .5s; }
.fcard__cat { display: inline-block; font-size: 13px; color: #fff; background: var(--teal); padding: 4px 14px; border-radius: 30px; margin-bottom: 10px; }
.fcard__front { position: absolute; left: 24px; right: 24px; bottom: 24px; transition: opacity .4s, transform .5s var(--ease); }
.fcard__front h3, .fcard__hold h3 { color: #fff; font-size: 22px; line-height: 30px; }
.fcard__hold { position: absolute; inset: 14px; border-radius: 16px; background: rgba(19, 58, 97, .92); backdrop-filter: blur(4px); padding: 28px 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; color: #D0DCE7; opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .45s, transform .6s var(--ease); }
.fcard__hold p { margin: 0; }
.fcard__go { width: 50px; height: 50px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin-top: 8px; transition: transform .5s var(--spring), background .3s; }
.fcard__go svg { width: 22px; height: 22px; }
.fcard:hover .fcard__hold, .fcard:focus-visible .fcard__hold { opacity: 1; transform: none; }
.fcard:hover .fcard__front, .fcard:focus-visible .fcard__front { opacity: 0; transform: translateY(20px); }
.fcard:hover .fcard__go { transform: rotate(-45deg); background: var(--yellow); color: var(--navy-2); }

/* team card (live pxl-team-carousel) */
.tcard { display: flex; flex-direction: column; height: 100%; }
.tcard__img { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1.12; background: linear-gradient(180deg, #E5F2F5 0%, #CFE5EC 100%); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.tcard:hover .tcard__img img { transform: scale(1.07); }
.tcard__img::before { content: ""; position: absolute; inset: auto 0 0 0; height: 0; background: linear-gradient(180deg, transparent, rgba(1, 150, 154, .55)); transition: height .6s var(--ease); z-index: 1; }
.tcard:hover .tcard__img::before { height: 60%; }
.tcard__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-head); font-size: 64px; font-weight: 600; color: var(--navy); opacity: .8; }
.tcard__acts { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.tcard__acts a { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); transform: translateX(80px); transition: transform .55s var(--spring), background .3s, color .3s; }
.tcard__acts a:nth-child(2) { transition-delay: .06s; }
.tcard:hover .tcard__acts a, .tcard:focus-within .tcard__acts a { transform: none; }
.tcard__acts a:hover { background: var(--teal); color: #fff; }
.tcard__acts svg { width: 20px; height: 20px; }
.tcard__share { position: absolute; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; z-index: 1; transition: opacity .3s, transform .5s var(--spring); }
.tcard__share svg { width: 18px; height: 18px; }
.tcard:hover .tcard__share { opacity: 0; transform: scale(.5); }
.tcard__body { padding: 20px 6px 4px; text-align: center; }
.tcard__body h3 { font-size: 22px; line-height: 30px; }
.tcard__body h3 a:hover { color: var(--teal); }
.tcard__pos { color: var(--teal); font-size: 15px; margin-top: 4px; }
.tcard__lang { font-size: 13px; color: var(--text); margin-top: 4px; }

/* counters (live pxl-counter2 on cm5.webp) */
.counters { margin-inline: 10px; border-radius: 20px; background: var(--navy-2) url("https://medparchospitals.com/wp-content/uploads/2024/08/cm5.webp") center / cover; padding: 40px 5px 40px 20px; position: relative; overflow: hidden; }
.counters::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent); transform: skewX(-20deg); animation: sweep 6s ease-in-out infinite; }
@keyframes sweep { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.counters__row { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1600px; margin-inline: auto; }
.counter { display: flex; align-items: center; gap: 22px; padding: 18px 30px; position: relative; }
.counter + .counter::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255, 255, 255, .18); }
.counter__ic { width: 62px; height: 62px; flex: none; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .4); display: grid; place-items: center; color: #fff; animation: spinSlow 18s linear infinite; }
.counter__ic svg { width: 31px; height: 31px; animation: spinSlow 18s linear infinite reverse; }
.counter__num { font-family: var(--f-head); color: var(--teal); font-weight: 600; line-height: 1; white-space: nowrap; }
.counter__num .v { font-size: 50px; }
.counter__num .s { font-size: 32px; }
.counter__t { color: #fff; font-size: 17px; line-height: 27px; margin-top: 6px; }

/* about block */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, calc(5 * var(--vw)), 80px); align-items: center; }
.about__media { position: relative; padding-top: 30px; padding-bottom: 45px; }
.about__main { border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #E5F2F5, #CFE5EC); }
.about__main img { height: 100%; object-fit: cover; }
.about__main img { width: 100%; transition: transform 1.2s var(--ease); }
.about__media:hover .about__main img { transform: scale(1.04); }
.about__small { position: absolute; right: -20px; top: 0; width: 42%; aspect-ratio: 1 / 1; background: #E5F2F5; border-radius: 20px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); animation: bob 7s ease-in-out infinite; }
.about__count { position: absolute; left: 40px; bottom: 0; width: 254px; background: var(--teal); border-radius: 20px; padding: 32px 36px 28px; color: #fff; box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite reverse; }
.about__count strong { font-family: var(--f-head); font-size: 64px; line-height: 1; font-weight: 600; display: flex; align-items: flex-start; }
.about__count strong sup { font-size: 46px; line-height: 1; top: 0; }
.about__count > span { font-size: 16px; display: block; margin-top: 8px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.about__txt h2 { font-size: 45px; line-height: 55px; max-width: 583px; }
.about__lead { margin: 15px 0 8px 67px; padding-left: 25px; border-left: 4px solid var(--teal); color: var(--ink); font-size: 17px; line-height: 27px; max-width: 540px; }
.about__txt .rest { margin-left: 67px; font-size: 17px; line-height: 27px; color: var(--text); }
.about__txt .rest p { margin: 14px 0 0; }
.about__txt .btn { margin: 26px 0 0 67px; }

/* testimonials (live centered 3-up) */
.qcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px 36px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; height: 100%; position: relative; transition: transform .6s var(--ease), box-shadow .5s, background .5s, border-color .5s; transform: scale(.94); opacity: .75; }
.swiper-slide-active .qcard { transform: none; opacity: 1; background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-lg); }
.qcard__quote { width: 54px; height: 38px; fill: var(--teal); transition: fill .5s, transform .6s var(--spring); }
.swiper-slide-active .qcard__quote { fill: var(--yellow); transform: rotate(-8deg) scale(1.1); }
.qcard__desc { font-size: 17px; line-height: 29px; color: var(--text); flex: 1; transition: color .5s; }
.swiper-slide-active .qcard__desc { color: #D7E2EC; }
.qcard__av { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 3px solid var(--teal); background: var(--grey); }
.qcard__av img { width: 100%; height: 100%; object-fit: cover; }
.qcard h3 { font-size: 20px; transition: color .5s; }
.swiper-slide-active .qcard h3 { color: #fff; }
.stars { display: flex; gap: 3px; color: #FFB400; justify-content: center; }
.stars svg { width: 18px; height: 18px; }

/* rating banner (live sc2.webp) */
.rating { border-radius: 20px; background: var(--navy) url("https://medparchospitals.com/wp-content/uploads/2024/09/sc2.webp") center right / cover no-repeat; padding: 55px 0; overflow: hidden; position: relative; }
.rating__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.rating h2 { color: #fff; font-size: 35px; line-height: 45px; max-width: 465px; }
.rating__score { display: flex; align-items: center; gap: 22px; color: #fff; }
.rating__score strong { font-family: var(--f-head); font-size: 55px; line-height: 1; font-weight: 500; }
.rating__score strong em { font-style: normal; color: var(--yellow); display: inline-block; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(20deg); } }
.rating__score p { margin: 0; max-width: 180px; color: #D7E2EC; }

/* packages (live grey band with in14.webp) */
.pkgs { background: var(--grey) url("https://medparchospitals.com/wp-content/uploads/2024/09/in14.webp") top right no-repeat; padding: 50px 0 60px; margin-top: 20px; }
.pkg-feats { display: flex; justify-content: center; gap: 18px 40px; flex-wrap: wrap; margin: -10px 0 40px; }
.pkg-feats span { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; color: var(--navy); }
.pkg-feats i { width: 25px; height: 25px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.pkg-feats i svg { width: 12px; height: 12px; }
.pcard { background: #fff; border-radius: 20px; padding: 36px 34px; display: flex; flex-direction: column; gap: 14px; height: 100%; border: 1px solid transparent; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.pcard::before { content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 0; background: var(--teal); transition: width .7s var(--ease); }
.pcard:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.pcard:hover::before { width: 100%; }
.pcard h3 { font-size: 22px; color: var(--navy-2); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pcard__price { font-family: var(--f-head); font-size: 44px; line-height: 1; color: var(--teal); font-weight: 600; }
.pcard p { margin: 0; font-size: 15px; }
.pcard__list { display: grid; gap: 9px; flex: 1; margin: 6px 0 10px; align-content: start; }
.pcard__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 15px; line-height: 22px; }
.pcard__list svg { width: 14px; height: 14px; flex: none; margin-top: 4px; color: var(--teal); }
.pcard--hl { background: var(--navy-2); }
.pcard--hl h3, .pcard--hl .pcard__price { color: #fff; border-color: rgba(255, 255, 255, .15); }
.pcard--hl p, .pcard--hl .pcard__list li { color: #C8D4E0; }
.pcard--hl .pcard__list svg { color: var(--yellow); }
.pcard__flag { position: absolute; top: 22px; right: -36px; background: var(--yellow); color: var(--navy-2); font-size: 12px; font-weight: 700; padding: 6px 40px; transform: rotate(45deg); }

/* blog card (live pxl-post-carousel) */
.bcard { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; height: 100%; transition: transform .5s var(--ease), box-shadow .5s; }
.bcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.bcard__img { position: relative; aspect-ratio: 744 / 634; overflow: hidden; background: var(--grey); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bcard:hover .bcard__img img { transform: scale(1.08); }
.bcard__date { position: absolute; left: 20px; top: 20px; background: var(--teal); color: #fff; border-radius: 12px; padding: 8px 14px; text-align: center; font-family: var(--f-head); line-height: 1.1; }
.bcard__date b { display: block; font-size: 24px; }
.bcard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcard__meta { font-size: 13px; color: var(--text); }
.bcard__meta a { color: var(--teal); }
.bcard h3 { font-size: 22px; line-height: 30px; }
.bcard h3 a:hover { color: var(--teal); }
.bcard p { margin: 0; flex: 1; }

/* FAQ (live gradient band with image + accordion) */
.faqband { border-radius: 20px; background: linear-gradient(180deg, #E0EFF7 0%, rgba(242, 41, 91, 0) 100%); padding: 65px 0; }
.faqband__row { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, calc(5 * var(--vw)), 80px); align-items: start; }
.faqband__media { position: relative; margin-right: 50px; }
.faqband__media > img { border-radius: 20px; margin-left: auto; min-height: 420px; background: linear-gradient(160deg, #D5E8F2, #AED5E5); object-fit: cover; }
.faqband__ask { position: absolute; left: -40px; top: 208px; width: 316px; background: #fff; border-radius: 20px; padding: 24px 26px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.faqband__ask i { width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.faqband__ask i svg { width: 24px; height: 24px; }
.faqband__ask h3 { font-size: 18px; line-height: 26px; color: var(--navy); margin-bottom: 8px; }
.faqband__ask a { color: var(--teal); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.faqband__ask a svg { width: 16px; height: 16px; transition: transform .3s; }
.faqband__ask a:hover svg { transform: translateX(4px); }
.acc { display: grid; gap: 14px; margin-top: 38px; }
.acc details { background: #fff; border-radius: 15px; transition: box-shadow .4s; }
.acc details[open] { box-shadow: var(--shadow); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 26px; font-family: var(--f-head); font-size: 18px; font-weight: 500; color: var(--navy); }
.acc summary::-webkit-details-marker { display: none; }
.acc__ic { width: 36px; height: 36px; border-radius: 50%; background: var(--grey); color: var(--navy); display: grid; place-items: center; flex: none; transition: transform .45s var(--ease), background .3s, color .3s; }
.acc__ic svg { width: 16px; height: 16px; }
.acc details[open] .acc__ic { transform: rotate(135deg); background: var(--teal); color: #fff; }
.acc details[open] summary { color: var(--teal); }
.acc__a { padding: 0 26px 22px; overflow: hidden; }

/* ---------------- Footer (live navy rounded panel) ---------------- */
.footer { padding-top: 80px; }
.footer__panel { margin-inline: var(--gap-x); border-radius: 20px; background: var(--navy); padding: 65px 15px; position: relative; overflow: hidden; isolation: isolate; }
.footer__panel::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(1, 150, 154, .35), transparent 65%); z-index: -1; animation: floatBlob 14s ease-in-out infinite; }
.footer__panel::after { content: ""; position: absolute; width: 500px; height: 500px; left: -200px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 204, 83, .12), transparent 65%); z-index: -1; animation: floatBlob 18s ease-in-out infinite reverse; }
.footer__in { max-width: 1600px; margin-inline: auto; padding-inline: 15px; }
.footer__brand { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer__brand img { height: 70px; width: auto; filter: brightness(0) invert(1); }
.footer__brand h2 { color: #fff; font-size: 32px; font-weight: 500; }
.footer__hr { height: 1px; background: rgba(255, 255, 255, .15); margin: 34px 0 40px; }
.footer__cols { display: grid; grid-template-columns: 1.1fr .7fr 1.2fr; gap: 40px; }
.footer h3 { color: #fff; font-size: 23px; margin-bottom: 28px; }
.footer__txt { color: var(--foot-text); font-size: 15px; line-height: 25px; max-width: 296px; }
.footer__txt a:hover { color: var(--yellow); }
.footer__txt p { margin: 0 0 10px; }
.footer__emg { display: flex; align-items: center; gap: 14px; margin: 20px 0 27px; color: #fff; font-family: var(--f-head); font-size: 20px; font-weight: 500; }
.footer__emg i { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; position: relative; }
.footer__emg i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); animation: ring 2s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.footer__emg svg { width: 22px; height: 22px; }
.flinks li + li { margin-top: 16px; }
.flinks a { color: var(--foot-text); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: color .25s, transform .35s var(--ease); }
.flinks a svg { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.flinks a:hover { color: var(--yellow); transform: translateX(6px); }
.fmap { border: 20px solid var(--teal); border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: rgba(255, 255, 255, .06); }
.fmap iframe { width: 100%; height: 100%; border: 0; display: block; }
.fsocial { display: flex; gap: 10px; margin-top: 22px; }
.fsocial a { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; transition: background .3s, color .3s, transform .45s var(--spring); }
.fsocial a:hover { background: var(--yellow); color: var(--navy); transform: translateY(-5px) rotate(-8deg); }
.fsocial svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--foot-text); font-size: 15px; }
.footer__bottom a:hover { color: var(--yellow); }

/* ---------------- Floating desktop menu (live .desktop-floating-menu) ---------------- */
.fmenu { position: fixed; right: 0; top: 50%; z-index: 9000; display: flex; flex-direction: column; gap: 8px; transform: translate(110%, -50%); transition: transform .7s var(--ease); }
.fmenu.is-visible { transform: translate(0, -50%); }
.fmenu a { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px 0 10px; border-radius: 30px 0 0 30px; color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 10px 24px -12px rgba(9, 36, 60, .5); transform: translateX(calc(100% - 66px)); transition: transform .55s var(--ease); white-space: nowrap; }
.fmenu a:hover, .fmenu a:focus-visible { transform: none; }
.fmenu__ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; flex: none; }
.fmenu__ic img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.fmenu__arrow svg { width: 18px; height: 18px; animation: nudge 1.5s ease-in-out infinite; }
.fmenu .c-yellow { background: #E9A800; }
.fmenu .c-cyan { background: var(--teal); }
.fmenu .c-green { background: #1E9E5A; }
.fmenu .c-blue { background: var(--navy); }
.fmenu.is-visible a { animation: fmenuIn .8s var(--ease) both; }
.fmenu.is-visible a:nth-child(2) { animation-delay: .08s; } .fmenu.is-visible a:nth-child(3) { animation-delay: .16s; } .fmenu.is-visible a:nth-child(4) { animation-delay: .24s; }
@keyframes fmenuIn { from { opacity: 0; } to { opacity: 1; } }

/* mobile bottom bar (live sticky 4 items) */
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999; background: #fff; box-shadow: 0 -10px 30px -12px rgba(9, 36, 60, .35); grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom, 0px); }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 4px; font-size: 11.5px; font-weight: 600; color: var(--navy); text-align: center; line-height: 1.2; transition: background .2s; }
.mbar a:active { background: var(--teal-tint); }
.mbar img { width: 28px; height: 28px; }
.mbar a:first-child { background: var(--teal); color: #fff; }
.mbar a:first-child img { filter: brightness(0) invert(1); }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 9001; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(1, 150, 154, .9); opacity: 0; transform: translateY(20px) scale(.7); pointer-events: none; transition: opacity .3s, transform .45s var(--spring); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top .ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: var(--navy); stroke-width: 3; stroke-dasharray: 170; stroke-dashoffset: 170; stroke-linecap: round; }
.to-top > svg:last-child { width: 20px; height: 20px; transition: transform .3s; }
.to-top:hover > svg:last-child { transform: translateY(-4px); }
.wa-fab { position: fixed; left: 24px; bottom: 24px; z-index: 9001; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .9); transition: transform .45s var(--spring); }
.wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.2s var(--ease) infinite; }
.wa-fab:hover { transform: scale(1.1) rotate(-8deg); }
.wa-fab svg { width: 30px; height: 30px; }

/* cursor glow (desktop only, subtle life) */
.cursor-dot { position: fixed; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); pointer-events: none; z-index: 100001; transform: translate(-50%, -50%); transition: width .3s, height .3s, opacity .3s; opacity: 0; mix-blend-mode: multiply; }
.cursor-ring { position: fixed; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(1, 150, 154, .55); pointer-events: none; z-index: 100001; transform: translate(-50%, -50%); transition: width .35s var(--ease), height .35s var(--ease), border-color .3s, background .3s, opacity .3s; opacity: 0; }
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.cursor-hover .cursor-ring { width: 64px; height: 64px; background: rgba(1, 150, 154, .08); border-color: rgba(1, 150, 154, .35); }

/* ---------------- Inner page title (live: photo card + strip) ---------------- */
.ptitle { margin: 18px var(--gap-x) 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; background: var(--navy) url("https://medparchospitals.com/wp-content/uploads/2026/04/11143348_768-min-scaled-1.webp") center / cover no-repeat; position: relative; overflow: hidden; isolation: isolate; }
.ptitle::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("https://medparchospitals.com/wp-content/uploads/2024/07/bl11.png") bottom center no-repeat; }
.ptitle::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 27, 46, .55), rgba(5, 27, 46, .1)); }
.ptitle__bg { position: absolute; inset: -6%; z-index: -2; background: inherit; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-2%, -1%); } }
.ptitle__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 1600px; margin-inline: auto; padding: 225px 30px 25px; }
.ptitle h1 { color: #fff; font-size: 70px; line-height: 80px; font-weight: 500; }
.ptitle h1 .w { display: inline-block; overflow: hidden; vertical-align: top; }
.ptitle h1 .w > span { display: inline-block; transform: translateY(105%); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * 70ms); }
@keyframes wordUp { to { transform: none; } }
.crumb { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; margin-bottom: 22px; flex-wrap: wrap; animation: fInLeft .9s var(--ease) .5s both; }
.crumb a:hover { color: var(--yellow); }
.crumb svg { width: 12px; height: 12px; }
.crumb [aria-current] { color: var(--teal); background: #fff; padding: 2px 10px; border-radius: 20px; }
.pstrip { margin: 0 var(--gap-x); border: 1px solid var(--line); border-top: 0; border-bottom-width: 5px; border-radius: 0 0 20px 20px; }
.pstrip__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: 1600px; margin-inline: auto; padding: 29px 30px; }
.pstrip__row p { color: var(--ink); font-size: 17px; line-height: 28px; max-width: 900px; margin: 0; flex: 1 1 520px; animation: fInUp .9s var(--ease) .7s both; }
.pcall { display: flex; align-items: center; gap: 16px; animation: fInRight .9s var(--ease) .8s both; }
.pcall i { width: 61px; height: 61px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; position: relative; flex: none; }
.pcall i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--navy); animation: ring 2s var(--ease) infinite; }
.pcall i svg { width: 28px; height: 28px; animation: wiggle 2.5s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(14deg); } 92% { transform: rotate(-10deg); } 96% { transform: rotate(8deg); } }
.pcall small { display: block; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.pcall strong { display: block; font-size: 23px; color: var(--ink); font-weight: 400; font-family: var(--f-head); }

/* ---------------- Inner page content components ---------------- */
.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.prose h2 { font-size: 34px; line-height: 44px; margin-bottom: 16px; }
.prose h3 { font-size: 24px; margin: 1.4em 0 .6em; }
.prose p { color: var(--text); font-size: 16px; line-height: 27px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks--2 { grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--teal); transition: width .6s var(--ease); }
.tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tile:hover::after { width: 100%; }
.tile__ic { width: 60px; height: 60px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; margin-bottom: 20px; transition: background .4s, color .4s, transform .6s var(--spring); }
.tile__ic svg { width: 28px; height: 28px; }
.tile:hover .tile__ic { background: var(--teal); color: #fff; transform: rotateY(180deg); }
.tile h3 { font-size: 21px; margin-bottom: 10px; }
.tile p { margin: 0; }
.panel--navy { background: var(--navy); }
.panel--navy .shead h2, .panel--navy h3 { color: #fff; }
.panel--navy .shead p, .panel--navy .shead__sub { color: #C8D4E0; }
.panel--navy .tile { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.panel--navy .tile p { color: #C8D4E0; }
.panel--navy .tile__ic { background: rgba(1, 150, 154, .25); color: #7FDCDE; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(30px, calc(4 * var(--vw)), 60px); align-items: start; }
.detail__main > * + * { margin-top: clamp(40px, calc(5 * var(--vw)), 60px); }
.detail__media { border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--grey); }
.detail__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.detail__media:hover img { transform: scale(1.05); }
.aside { position: sticky; top: 100px; display: grid; gap: 24px; }
.aside__box { background: var(--grey); border-radius: 20px; padding: 30px 26px; }
.aside__box h2 { font-size: 24px; margin-bottom: 18px; }
.aside__list { display: grid; gap: 8px; max-height: 470px; overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.aside__list a { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 10px; padding: 12px 16px; font-size: 15px; color: var(--ink); transition: background .3s, color .3s, padding .4s var(--ease); }
.aside__list a svg { width: 16px; height: 16px; color: var(--teal); transition: transform .4s var(--ease), color .3s; }
.aside__list a:hover { background: var(--teal); color: #fff; padding-left: 22px; }
.aside__list a:hover svg { color: #fff; transform: translateX(4px); }
.aside__list a[aria-current="page"] { background: var(--navy); color: #fff; }
.aside__list a[aria-current="page"] svg { color: var(--yellow); }
.aside__cta { border-radius: 20px; background: var(--navy) url("https://medparchospitals.com/wp-content/uploads/2024/08/vr8.webp") center / cover; padding: 32px 28px; color: #C8D4E0; display: grid; gap: 14px; }
.aside__cta h2 { color: #fff; font-size: 24px; line-height: 32px; }
.aside__cta .line { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; }
.aside__cta .line svg { width: 18px; height: 18px; color: var(--yellow); flex: none; margin-top: 4px; }
.aside__cta a:hover { color: #fff; }
.conditions { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.conditions li { background: var(--grey); border-radius: 12px; padding: 14px 16px; font-weight: 500; color: var(--navy); font-size: 15px; display: flex; gap: 10px; align-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.conditions li svg { width: 18px; height: 18px; color: var(--teal); flex: none; transition: color .3s; }
.conditions li:hover { background: var(--teal); color: #fff; transform: translateX(5px); }
.conditions li:hover svg { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; position: relative; transition: transform .5s var(--ease), box-shadow .5s; }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.step__n { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; }
.capabilities { grid-template-columns: repeat(2, 1fr); }
.cta-band { border-radius: 20px; background: var(--navy) url("https://medparchospitals.com/wp-content/uploads/2024/09/sc2.webp") center right / cover; padding: clamp(32px, calc(4 * var(--vw)), 50px); color: #C8D4E0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 30px; line-height: 40px; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 620px; }
.cta-band__a { display: flex; gap: 12px; flex-wrap: wrap; }

/* doctor profile */
.profile { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: clamp(30px, calc(4 * var(--vw)), 60px); align-items: start; }
.pcardx { position: sticky; top: 100px; background: var(--grey); border-radius: 20px; overflow: hidden; }
.pcardx__img { aspect-ratio: 1 / 1.05; background: linear-gradient(180deg, #E5F2F5, #CFE5EC); position: relative; overflow: hidden; }
.pcardx__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pcardx__body { padding: 26px; display: grid; gap: 14px; }
.pcardx__body h2 { font-size: 28px; }
.pcardx__role { color: var(--teal); font-size: 16px; margin-top: -8px; }
.quals { display: flex; flex-wrap: wrap; gap: 8px; }
.quals span { background: #fff; color: var(--navy); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 20px; border: 1px solid var(--line); }
.meta { display: grid; gap: 12px; }
.meta li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15px; }
.meta svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 2px; }
.expertise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.expertise__item { border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: border-color .3s, box-shadow .4s, transform .5s var(--ease); }
.expertise__item:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-5px); }
.expertise__item h3 { font-size: 19px; margin-bottom: 14px; }
.timeline { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__fill { position: absolute; left: 10px; top: 8px; width: 2px; height: 0; background: var(--teal); transition: height 1.4s var(--ease); }
.timeline.is-in .timeline__fill { height: calc(100% - 16px); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); }
.timeline strong { display: block; color: var(--navy); font-family: var(--f-head); font-size: 18px; font-weight: 600; }

/* listing filter */
.filterbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 34px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search input { width: 100%; height: 55px; border-radius: 13px; border: 1px solid var(--line); background: #fff; padding: 0 18px 0 50px; transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(1, 150, 154, .14); }
.search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--text); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 42px; padding: 0 18px; border-radius: 30px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--navy); position: relative; overflow: hidden; transition: background .3s, color .3s, border-color .3s, transform .4s var(--spring); }
.chip:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.empty { text-align: center; padding: 48px 16px; display: none; }
.empty.is-visible { display: block; }
.is-filtered-out { display: none !important; }

/* booking */
.book { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px; align-items: start; }
.filters { position: sticky; top: 100px; background: var(--grey); border-radius: 20px; padding: 26px; display: grid; gap: 22px; }
.filters h2 { font-size: 22px; display: flex; justify-content: space-between; align-items: center; }
.filters h2 button { font-family: var(--f-body); font-size: 14px; color: var(--teal); font-weight: 600; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.filters legend { font-weight: 600; color: var(--navy); margin-bottom: 10px; font-family: var(--f-head); font-size: 17px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 8px; font-size: 14px; color: var(--ink); cursor: pointer; border-radius: 8px; transition: background .2s; }
.check:hover { background: #fff; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #C7D0D8; display: grid; place-items: center; flex: none; margin: 0; cursor: pointer; background: #fff; transition: background .2s, border-color .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .25s var(--spring); }
.check input:checked { background: var(--teal); border-color: var(--teal); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--text); }
.dept-list { max-height: 300px; overflow-y: auto; scrollbar-width: thin; }
.booklist { display: grid; gap: 14px; }
.brow { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; transition: border-color .3s, box-shadow .4s, transform .5s var(--ease); }
.brow:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateX(6px); }
.brow__photo { width: 100px; height: 100px; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #E5F2F5, #CFE5EC); position: relative; }
.brow__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.brow__photo .tcard__initials { font-size: 30px; }
.brow h3 { font-size: 19px; }
.brow h3 a:hover { color: var(--teal); }
.brow__role { font-size: 14px; margin: 2px 0 0; }
.brow__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; }
.brow__tags span { background: var(--grey); padding: 4px 10px; border-radius: 20px; color: var(--ink); }
.brow__tags span.t { background: var(--teal-tint); color: var(--teal-2); font-weight: 600; }
.modal { position: fixed; inset: 0; z-index: 100002; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(5, 27, 46, .6); opacity: 0; transition: opacity .35s; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__panel { position: relative; width: min(560px, 100%); max-height: calc(calc(100 * var(--dvh)) - 32px); overflow-y: auto; background: #fff; border-radius: 20px; padding: clamp(22px, calc(4 * var(--vw)), 34px); transform: translateY(40px) scale(.95); opacity: 0; transition: transform .55s var(--ease), opacity .35s; }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; transition: transform .4s var(--spring); }
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }
.modal__doc { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; padding-right: 44px; }
.modal__doc .brow__photo { width: 64px; height: 64px; }
.modal h2 { font-size: 22px; }
.modal h3 { font-size: 16px; margin: 18px 0 10px; font-weight: 600; }
.dates { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.date-btn { scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 12px; color: var(--text); position: relative; overflow: hidden; transition: border-color .2s, background .2s, color .2s, transform .35s var(--spring); }
.date-btn strong { font-family: var(--f-head); font-size: 20px; color: var(--navy); }
.date-btn:hover { border-color: var(--teal); transform: translateY(-3px); }
.date-btn[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #E1F5F5; }
.date-btn[aria-pressed="true"] strong { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { padding: 12px 8px; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--navy); background: #fff; position: relative; overflow: hidden; transition: border-color .2s, background .2s, color .2s; }
.slot small { display: block; font-weight: 400; color: var(--text); font-size: 12px; }
.slot:hover { border-color: var(--teal); }
.slot[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.slot[aria-pressed="true"] small { color: #C8D4E0; }
.modal__note { font-size: 13px; text-align: center; margin-top: 12px; }

/* contact + forms */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, calc(4 * var(--vw)), 60px); align-items: start; }
.info-list { display: grid; gap: 14px; }
.info { display: flex; gap: 18px; align-items: center; padding: 22px; background: var(--grey); border-radius: 20px; transition: background .3s, transform .5s var(--ease); }
.info:hover { background: var(--teal-tint); transform: translateX(8px); }
.info__ic { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; transition: background .3s, transform .6s var(--spring); }
.info:hover .info__ic { background: var(--teal); transform: rotate(360deg); }
.info__ic svg { width: 24px; height: 24px; }
.info h3 { font-size: 18px; margin-bottom: 2px; }
.info p, .info a { margin: 0; color: var(--text); }
.info a:hover { color: var(--teal); }
.form-card { background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); border-radius: 20px; padding: clamp(26px, calc(4 * var(--vw)), 44px); }
.form-card h2 { font-size: 32px; margin-bottom: 6px; }
.form-card > p { color: var(--navy); margin-bottom: 24px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; height: 55px; padding: 0 22px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .85); color: var(--ink); font-size: 15px; transition: background .3s, box-shadow .3s; }
.form textarea { height: 130px; padding: 16px 22px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(1, 150, 154, .3); }
.form .is-invalid { box-shadow: 0 0 0 2px var(--red) !important; animation: shake .4s; }
.map { border: 20px solid var(--teal); border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 6; background: var(--grey); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* leaders */
.leader { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, calc(4 * var(--vw)), 60px); align-items: center; padding: 36px 0; border-top: 1px solid var(--line); }
.leader:nth-child(even) { grid-template-columns: 1fr 340px; }
.leader:nth-child(even) .leader__img { order: 2; }
.leader__img { border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1.08; background: linear-gradient(180deg, #E5F2F5, #CFE5EC); }
.leader__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.leader:hover .leader__img img { transform: scale(1.06); }
.leader h3 { font-size: 30px; }
.leader__role { color: var(--teal); font-size: 17px; margin: 6px 0 14px; }

/* ---------------- Reveal motion (scroll, both directions) ---------------- */
.js [data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease), clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="up"] { transform: translateY(60px); }
.js [data-reveal="left"] { transform: translateX(-80px); }
.js [data-reveal="right"] { transform: translateX(80px); }
.js [data-reveal="zoom"] { transform: scale(.85); }
.js [data-reveal="flip"] { transform: perspective(900px) rotateX(25deg) translateY(40px); transform-origin: bottom; }
.js [data-reveal="blur"] { filter: blur(14px); transform: translateY(26px); }
.js [data-reveal="clip"] { opacity: 1; clip-path: inset(0 0 100% 0 round 20px); }
.js [data-reveal="clipx"] { opacity: 1; clip-path: inset(0 100% 0 0 round 20px); }
.js.scroll-up [data-reveal="up"]:not(.is-in) { transform: translateY(-60px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0 round 20px); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1279.98px) {
  .ibox { margin-right: 20px; }
  .ibox__txt { font-size: 14px; line-height: 22px; }
  .emg__label { font-size: 15px; } .emg__num { font-size: 16px; }
  .menu > li { margin: 0 8px; }
  .menu > li > a { font-size: 16px; }
  .hdr-btn { margin-left: 10px; }
  .hdr-btn .btn { font-size: 13px; padding: 0 15px; }
  .logo { width: 210px; }
}
@media (max-width: 1279.98px) {
  .hdr-top .ibox:nth-child(2) { display: none; }
  .menu > li { margin: 0 6px; }
  .menu > li > a { font-size: 15px; }
  .oc-toggle { margin-left: 10px; width: 44px; height: 44px; }
  .hslide { padding-left: 110px; }
  .hslider__dots { left: 110px !important; }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1200px) {
  .hero, .panel, .footer__panel, .counters, .rating, .faqband, .ptitle, .pstrip { border-radius: 0; margin-inline: 0; }
  .ptitle { border-inline: 0; } .pstrip { border-inline: 0; }
  .hquick { grid-template-columns: 40% 1fr; }
  .hform { grid-template-columns: 1fr; }
  .hform__fields { grid-column: auto; grid-template-columns: repeat(2, 1fr); }
  .hform__btn .btn { min-height: 55px; flex-direction: row; }
  .ptitle h1 { font-size: 50px; line-height: 60px; }
  .ptitle__row { padding-top: 180px; }
  .shead h2, .about__txt h2 { font-size: 35px; line-height: 46px; }
  .detail { grid-template-columns: minmax(0, 1fr) 320px; }
  .counters__row { grid-template-columns: repeat(2, 1fr); }
  .counter:nth-child(3)::before { display: none; }
  .fmenu { display: none; }
}
@media (max-width: 1100px) {
  .hdr, .hdr-main, .hdr-spacer { display: none !important; }
  .mhdr { display: block; }
  .hslide { padding-left: 0; flex-direction: column; min-height: 0; }
  .hslide__content { padding: 20px 24px 0; text-align: left; }
  .hslide__mask { width: 100%; min-height: 300px; flex-basis: 300px; }
  .hslider__nav { display: none; }
  .hslider__dots { left: 24px !important; }
  .hero__inner { padding-right: 0; }
  .hquick { grid-template-columns: 1fr; }
  .hq-doc h2 { margin-top: 30px; }
  .about, .faqband__row, .contact-grid, .detail, .profile, .book { grid-template-columns: 1fr; }
  .about__txt .rest, .about__txt .btn, .about__lead { margin-left: 0; }
  .aside, .pcardx, .filters { position: static; }
  .pcardx { max-width: 520px; }
  .faqband__media { margin-right: 0; max-width: 520px; }
  .faqband__ask { left: 12px; top: auto; bottom: 20px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > :last-child { grid-column: 1 / -1; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .leader, .leader:nth-child(even) { grid-template-columns: 1fr; }
  .leader:nth-child(even) .leader__img { order: 0; }
  .leader__img { max-width: 360px; }
  .carousel--side .carousel__arrow--prev { left: -10px; }
  .carousel--side .carousel__arrow--next { right: -10px; }
}
@media (max-width: 767px) {
  .section { padding-block: 50px; }
  .shead h2, .about__txt h2 { font-size: 28px; line-height: 36px; }
  .hslide__title { font-size: 30px; line-height: 42px; }
  .hslide__desc { font-size: 15px; line-height: 25px; }
  .hmarq__item h3 { font-size: 20px; }
  .hq-doc, .hq-appt { margin: 10px 0; }
  .hq-appt { padding: 20px 16px 20px; }
  .hq-doc h2, .hq-appt__head h2 { font-size: 25px; }
  .hform__fields, .form { grid-template-columns: 1fr; }
  .ptitle h1 { font-size: 35px; line-height: 46px; }
  .ptitle__row { padding: 140px 18px 20px; }
  .pstrip__row { padding: 22px 18px; }
  .grid--2, .grid--3, .grid--4, .expertise, .steps, .capabilities, .ticks--2, .footer__cols { grid-template-columns: 1fr; }
  .counters__row { grid-template-columns: 1fr 1fr; }
  .counter { flex-direction: column; text-align: center; gap: 10px; padding: 14px 6px; }
  .counter::before { display: none; }
  .counter__num .v { font-size: 36px; }
  .counter__t { font-size: 14px; line-height: 20px; }
  .about__small { width: 46%; right: 0; }
  .about__count { left: 12px; width: 200px; padding: 20px 22px; }
  .about__count strong { font-size: 44px; }
  .rating h2 { font-size: 26px; line-height: 34px; }
  .brow { grid-template-columns: 72px minmax(0, 1fr); }
  .brow__photo { width: 72px; height: 72px; }
  .brow > .btn { grid-column: 1 / -1; }
  .map { aspect-ratio: 4 / 3; border-width: 10px; }
  .fmap { border-width: 10px; }
  .mbar { display: grid; }
  body { padding-bottom: 72px; }
  .to-top { bottom: 88px; right: 16px; }
  .wa-fab { bottom: 88px; left: 16px; width: 50px; height: 50px; }
  .carousel--side .carousel__arrow { display: none; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .hs-a, .split-words .w > span, .ptitle h1 .w > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .hmarq__track { animation: none; }
}
@media print { .hdr, .mhdr, .footer, .fmenu, .mbar, .to-top, .wa-fab, .preloader, .progress { display: none !important; } }

/* =====================================================================
   v3 REFINEMENTS — fluid sizing (100% zoom now sits like the old 80%),
   hero frame + motion, header entrance, slider controls, card redesigns
   ===================================================================== */

/* ---------- Fluid scale: sizes follow the screen width ---------- */
:root { --wrap: 1480px; --wrap-narrow: 1240px; }
body { font-size: 15px; line-height: 1.65; }
.section { padding-block: clamp(44px, calc(5 * var(--vw)), 84px); }
.mt-80 { margin-top: clamp(36px, calc(4 * var(--vw)), 64px); }
.shead { margin-bottom: clamp(22px, calc(2.4 * var(--vw)), 34px); }
.shead h2, .about__txt h2 { font-size: clamp(25px, 1rem + calc(1.45 * var(--vw)), 40px); line-height: 1.22; }
.shead__sub { font-size: 15px; margin-bottom: 10px; }
.shead__sub img { height: 26px; }
.shead p { font-size: 15px; }
.btn { min-height: 48px; padding: 0 clamp(18px, calc(1.6 * var(--vw)), 28px); font-size: 14.5px; }
.btn--wide { padding: 0 clamp(26px, calc(3 * var(--vw)), 48px); }
.prose h2 { font-size: clamp(22px, .9rem + calc(1 * var(--vw)), 30px); line-height: 1.3; }
h2.split-words[style] { font-size: clamp(22px, .9rem + calc(1 * var(--vw)), 30px) !important; line-height: 1.3 !important; }

/* header */
.hdr-top__row { padding-block: 10px 0; gap: 0; }
.ibox { gap: 10px; margin-right: clamp(14px, calc(2 * var(--vw)), 34px); }
.ibox__ic { width: 34px; height: 34px; min-width: 34px; }
.ibox__ic svg { width: 17px; height: 17px; }
.ibox__txt { font-size: 13.5px; line-height: 20px; }
.emg__siren { width: 40px; height: 40px; }
.emg__label { font-size: 14px; } .emg__num { font-size: 16px; }
.hdr-top__line { margin-top: 12px; }
.hdr-main__row { padding-inline: clamp(16px, calc(2 * var(--vw)), 30px); max-width: 1560px; }
.logo { width: clamp(150px, calc(12 * var(--vw)), 200px); }
.menu > li { margin: 0 clamp(6px, calc(.8 * var(--vw)), 13px); }
.menu > li > a { font-size: clamp(14px, .55rem + calc(.5 * var(--vw)), 16.5px); line-height: 70px; }
.menu > li > a::after { bottom: 19px; }
.hdr-btn { margin-left: clamp(8px, calc(1.4 * var(--vw)), 24px); }
.hdr-btn .btn { min-height: 46px; font-size: 14px; padding: 0 20px; }
.oc-toggle { width: 46px; height: 46px; margin-left: 14px; }
.hdr-main.is-stuck .menu > li > a { line-height: 62px; }
.hdr-main.is-stuck .menu > li > a::after { bottom: 15px; }
.hdr-main.is-stuck .logo { width: clamp(130px, calc(10 * var(--vw)), 170px); }

/* header entrance + live details */
.js .hdr-top .ibox, .js .hdr-top .emg { opacity: 0; transform: translateY(-18px); }
.js.is-loaded .hdr-top .ibox, .js.is-loaded .hdr-top .emg { animation: dropIn .8s var(--ease) forwards; }
.js.is-loaded .hdr-top .ibox:nth-child(2) { animation-delay: .1s; } .js.is-loaded .hdr-top .ibox:nth-child(3) { animation-delay: .2s; } .js.is-loaded .hdr-top .emg { animation-delay: .3s; }
@keyframes dropIn { to { opacity: 1; transform: none; } }
.hdr-top__line { transform: scaleX(0); transform-origin: center; background: linear-gradient(90deg, transparent, var(--line) 15%, var(--teal) 50%, var(--line) 85%, transparent); }
.js.is-loaded .hdr-top__line { animation: lineDraw 1.2s var(--ease) .35s forwards; }
html:not(.js) .hdr-top__line { transform: none; }
@keyframes lineDraw { to { transform: scaleX(1); } }
.js .hdr-main .logo, .js .menu > li, .js .hdr-btn, .js .oc-toggle { opacity: 0; transform: translateY(14px); }
.js.is-loaded .hdr-main .logo, .js.is-loaded .menu > li, .js.is-loaded .hdr-btn, .js.is-loaded .oc-toggle { animation: dropIn .7s var(--ease) forwards; }
.js.is-loaded .menu > li:nth-child(1) { animation-delay: .25s; } .js.is-loaded .menu > li:nth-child(2) { animation-delay: .3s; } .js.is-loaded .menu > li:nth-child(3) { animation-delay: .35s; }
.js.is-loaded .menu > li:nth-child(4) { animation-delay: .4s; } .js.is-loaded .menu > li:nth-child(5) { animation-delay: .45s; } .js.is-loaded .menu > li:nth-child(6) { animation-delay: .5s; }
.js.is-loaded .hdr-btn { animation-delay: .55s; } .js.is-loaded .oc-toggle { animation-delay: .6s; }
.ibox__ic { position: relative; }
.ibox__ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--teal); opacity: 0; animation: ring 3s var(--ease) infinite; }
.ibox:nth-child(2) .ibox__ic::after { animation-delay: 1s; } .ibox:nth-child(3) .ibox__ic::after { animation-delay: 2s; }
.emg__num { animation: numGlow 1.6s ease-in-out infinite; }
@keyframes numGlow { 0%, 100% { text-shadow: none; } 50% { text-shadow: 0 0 12px rgba(239, 46, 50, .45); } }
.hdr-btn .btn { animation: btnPulse 2.8s ease-in-out 2s infinite; }
@keyframes btnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(1, 150, 154, .45); } 50% { box-shadow: 0 0 0 10px rgba(1, 150, 154, 0); } }
.oc-toggle svg { animation: gridSpin 6s ease-in-out infinite; }
@keyframes gridSpin { 0%, 80%, 100% { transform: rotate(0); } 90% { transform: rotate(90deg); } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(16px, calc(2 * var(--vw)), 30px); }
.hero__inner { max-width: 1560px; margin: 10px auto 0; padding-inline: clamp(16px, calc(2 * var(--vw)), 30px); }
.hslide { padding-left: clamp(0px, calc(6 * var(--vw)), 110px); min-height: clamp(380px, calc(33 * var(--vw)), 520px); gap: clamp(20px, calc(3 * var(--vw)), 50px); }
.hslide__content { flex: 1 1 50%; padding-block: clamp(20px, calc(3 * var(--vw)), 40px); }
.hslide__sub { font-size: 13px; padding: 7px 14px; margin-bottom: 14px; }
.hslide__title { font-size: clamp(28px, .8rem + calc(2.5 * var(--vw)), 52px); line-height: 1.16; }
.hslide__line { margin: clamp(14px, calc(1.6 * var(--vw)), 22px) 0; width: 100px; position: relative; overflow: hidden; }
.hslide__line::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); animation: lineShine 2.4s ease-in-out infinite; }
@keyframes lineShine { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
.hslide__desc { font-size: clamp(14px, .75rem + calc(.3 * var(--vw)), 16.5px); line-height: 1.7; margin-bottom: clamp(18px, calc(2 * var(--vw)), 28px); max-width: 600px; }
.hslide__media { flex: 0 1 46%; position: relative; align-self: center; padding: 26px 20px; }
.hslide__frame { position: relative; border-radius: 24px; padding: 10px; background: linear-gradient(140deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .06)); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); }
.hslide__frame::before { content: ""; position: absolute; inset: -2px; border-radius: 26px; padding: 2px; background: conic-gradient(from var(--ang, 0deg), var(--teal), transparent 30%, var(--yellow), transparent 60%, var(--teal)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinBorder 6s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinBorder { to { --ang: 360deg; } }
.hslide__frame img { width: 100%; aspect-ratio: 19 / 16; object-fit: cover; border-radius: 20px; background: rgba(255, 255, 255, .06); }
.swiper-slide-active .hslide__frame img { animation: heroZoom 7s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hslide__frame { overflow: hidden; }
.hchip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); border-radius: 16px; padding: 10px 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); font-size: 12.5px; line-height: 1.25; }
.hchip svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--teal-tint); color: var(--teal); flex: none; }
.hchip b { display: block; font-family: var(--f-head); font-size: 17px; color: var(--navy); }
.hchip--a { left: -6px; top: 14%; animation: bob 5s ease-in-out infinite; }
.hchip--b { right: -4px; bottom: 10%; animation: bob 6s ease-in-out -2s infinite; }
.hchip--a svg { background: var(--red-tint); color: var(--red); }
.swiper-slide-active .hchip { animation-name: chipIn, bob; animation-duration: .9s, 5s; animation-delay: 1.4s, 2.3s; animation-fill-mode: both, none; animation-iteration-count: 1, infinite; animation-timing-function: var(--spring), ease-in-out; }
.swiper-slide-active .hchip--b { animation-delay: 1.7s, 2.6s; }
@keyframes chipIn { from { opacity: 0; transform: scale(.4) translateY(20px); } to { opacity: 1; transform: none; } }
.hshape { position: absolute; pointer-events: none; z-index: 0; }
.hshape--1 { width: 120px; height: 120px; right: -30px; top: -10px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .25); animation: spinSlow 18s linear infinite; }
.hshape--2 { width: 70px; height: 70px; left: 6%; bottom: -14px; border-radius: 18px; background: rgba(1, 150, 154, .35); animation: floatBlob 7s ease-in-out infinite; }
.hshape--3 { right: 12%; top: -26px; color: var(--yellow); font: 700 44px/1 var(--f-head); animation: twinkle 3s ease-in-out infinite; }
.hero__dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.2px); background-size: 26px 26px; mask-image: linear-gradient(120deg, transparent 20%, #000 60%, transparent 95%); animation: dotsDrift 30s linear infinite; }
@keyframes dotsDrift { to { background-position: 260px 130px; } }
.sw-arrow { width: 48px; height: 48px; }
.hslider__dots { left: clamp(0px, calc(6 * var(--vw)), 110px) !important; bottom: 6px !important; }

/* appointment block: tighter, circle submit */
.hquick { max-width: 1560px; padding-inline: clamp(8px, calc(1.4 * var(--vw)), 15px); grid-template-columns: minmax(260px, 27%) 1fr; }
.hq-doc { padding: 24px 26px 28px 30px; }
.hq-doc__ic { width: 64px; height: 64px; }
.hq-doc h2 { font-size: clamp(22px, .8rem + calc(.9 * var(--vw)), 28px); margin: clamp(40px, calc(5 * var(--vw)), 80px) 0 10px; }
.hq-appt { padding: clamp(18px, calc(2 * var(--vw)), 26px) clamp(18px, calc(2.6 * var(--vw)), 40px); justify-content: flex-start; gap: 0; }
.hq-appt__head { padding-top: 0; gap: 4px 20px; }
.hq-appt__head h2 { font-size: clamp(22px, .8rem + calc(.9 * var(--vw)), 28px); }
.hq-appt__head p { font-size: 15px; }
.hq-appt hr { margin: 14px 0 18px; border-top-color: rgba(255, 255, 255, .7); }
.hform { grid-template-columns: 1fr auto; gap: 12px 18px; align-items: center; }
.hform__fields { grid-column: 1 / 2; gap: 12px 14px; }
.hform input, .hform select { height: 48px; padding: 0 16px; font-size: 14px; }
.hform__btn { align-self: center; }
.hform__circle { position: relative; width: 124px; height: 124px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13px; line-height: 1.25; text-align: center; box-shadow: 0 16px 34px -14px rgba(1, 150, 154, .9); transition: background .35s, transform .5s var(--spring); isolation: isolate; overflow: visible; }
.hform__circle svg { width: 22px; height: 22px; transition: transform .5s var(--spring); }
.hform__circle:hover { background: var(--navy); transform: scale(1.06); }
.hform__circle:hover svg { transform: rotate(-12deg) scale(1.15); }
.hform__ring { position: absolute; inset: -9px; border-radius: 50%; border: 2px dashed rgba(1, 150, 154, .7); animation: spinSlow 10s linear infinite; z-index: -1; }
.hform__circle::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--teal); animation: ring 2.2s var(--ease) infinite; z-index: -1; }
.hform__circle:disabled { opacity: .7; }
.hmarq { padding: 16px 0 22px; }
.hmarq__item h3 { font-size: clamp(17px, .7rem + calc(.9 * var(--vw)), 23px); }

/* ---------- Slider controls under the cards ---------- */
.carousel .swiper { padding: 16px 6px 30px; margin: -16px -6px -30px; }
.carousel__hint, .carousel__nav, .carousel__arrow:not(.cnav__btn) { display: none !important; }
.cnav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, calc(2 * var(--vw)), 22px); margin-top: clamp(20px, calc(2.4 * var(--vw)), 32px); }
.cnav__btn { position: relative; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--navy); border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .45s var(--spring); flex: none; }
.cnav__btn svg:not(.cnav__ring) { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.cnav__btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: scale(1.08); }
.cnav__btn.carousel__arrow--prev:hover svg { transform: translateX(-3px); }
.cnav__btn--next { background: var(--teal); border-color: var(--teal); color: #fff; }
.cnav__btn--next:hover { background: var(--navy); border-color: var(--navy); }
.cnav__btn--next:hover svg:not(.cnav__ring) { transform: translateX(3px); }
.cnav__ring { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); pointer-events: none; }
.cnav__ring circle { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 176; stroke-dashoffset: 176; stroke-linecap: round; opacity: .9; }
.no-auto .cnav__ring, .is-paused .cnav__ring { display: none; }
.cnav__btn.swiper-button-disabled { opacity: .35; pointer-events: none; }
.cnav__btn.swiper-button-lock { display: none; }
.cnav__mid { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 16px; border-radius: 40px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px -16px rgba(9, 36, 60, .4); }
.panel--grey .cnav__mid, .pkgs .cnav__mid { background: #fff; }
.cnav__count { font-family: var(--f-head); font-size: 13px; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cnav__count b { color: var(--navy); font-size: 16px; }
.cnav__track { width: clamp(70px, calc(10 * var(--vw)), 150px); height: 3px; border-radius: 3px; background: var(--grey); overflow: hidden; }
.cnav__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--navy)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.cnav__play { width: 30px; height: 30px; border-radius: 50%; background: var(--grey); color: var(--navy); display: grid; place-items: center; transition: background .3s, color .3s; }
.cnav__play:hover { background: var(--navy); color: #fff; }
.cnav__play svg { width: 14px; height: 14px; fill: currentColor; }
.cnav__play .i-play, .is-paused .cnav__play .i-pause { display: none; }
.is-paused .cnav__play .i-play { display: block; }
.carousel .swiper-scrollbar { position: relative; left: 0; bottom: 0; width: 100%; height: 6px; margin-top: 22px; border-radius: 6px; background: rgba(19, 58, 97, .08); }
.carousel .swiper-scrollbar-drag { background: linear-gradient(90deg, var(--teal), var(--navy)); border-radius: 6px; cursor: grab; }
.carousel .swiper-scrollbar-drag:active { cursor: grabbing; }

/* ---------- Speciality cards ---------- */
.scard__body { padding: clamp(18px, calc(1.6 * var(--vw)), 24px); gap: 10px; }
.scard__body h3 { font-size: clamp(17px, .7rem + calc(.5 * var(--vw)), 20px); line-height: 1.35; }
.scard__body p { font-size: 14.5px; line-height: 1.65; }
.scard { box-shadow: 0 6px 24px -18px rgba(9, 36, 60, .35); }

/* ---------- Facility cards (content always visible) ---------- */
.fcard { aspect-ratio: auto; min-height: 0; background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; box-shadow: 0 6px 24px -18px rgba(9, 36, 60, .35); transition: transform .55s var(--ease), box-shadow .55s; }
.fcard::before { display: none; }
.fcard:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.fcard__img { position: relative; display: block; aspect-ratio: 4 / 3.6; overflow: hidden; border-radius: 20px 20px 0 0; background: linear-gradient(160deg, #E5F2F5, #CFE5EC); }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.fcard:hover .fcard__img img { transform: scale(1.1) rotate(1.5deg); }
.fcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9, 36, 60, .45)); opacity: 0; transition: opacity .5s; }
.fcard:hover .fcard__img::after { opacity: 1; }
.fcard__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-130%); transition: transform 1.1s var(--ease); z-index: 1; }
.fcard:hover .fcard__shine { transform: translateX(130%); }
.fcard__body { position: relative; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; background: #fff; }
.fcard__cat { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--teal); background: var(--teal-tint); padding: 5px 12px; border-radius: 30px; margin: -40px 0 4px; position: relative; z-index: 2; box-shadow: 0 6px 16px -8px rgba(1, 150, 154, .6); }
.fcard__cat svg { width: 14px; height: 14px; }
.fcard__body h3 { color: var(--navy); font-size: clamp(17px, .7rem + calc(.5 * var(--vw)), 20px); line-height: 1.35; padding-right: 50px; }
.fcard__body h3 a:hover { color: var(--teal); }
.fcard__body p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.fcard__go { position: absolute; right: 20px; top: -26px; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; border: 4px solid #fff; z-index: 3; margin: 0; transition: transform .55s var(--spring), background .3s; }
.fcard__go svg { width: 20px; height: 20px; }
.fcard:hover .fcard__go { transform: rotate(-45deg) scale(1.08); background: var(--teal); color: #fff; }
.fcard__hold, .fcard__front { display: none; }

/* ---------- Doctor cards ---------- */
.tcard { background: #fff; border-radius: 20px; border: 1px solid #E6ECEF; padding: 12px; transition: transform .55s var(--ease), box-shadow .55s, border-color .4s; }
.tcard:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tcard__img { border-radius: 16px; aspect-ratio: 1 / 1.05; background: linear-gradient(170deg, #EAF6F7 0%, #CDE6EC 100%); isolation: isolate; }
.tcard__img::before { display: none; }
.tcard__orb { position: absolute; width: 85%; aspect-ratio: 1; left: 7.5%; bottom: -18%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%); z-index: -1; transition: transform .8s var(--ease); }
.tcard:hover .tcard__orb { transform: scale(1.15); }
.tcard__img img { transition: transform 1s var(--ease); transform-origin: bottom center; }
.tcard:hover .tcard__img img { transform: scale(1.06); }
.tcard__dept { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .92); color: var(--teal); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 30px; backdrop-filter: blur(4px); transform: translateY(-6px); opacity: .95; transition: transform .45s var(--ease); }
.tcard:hover .tcard__dept { transform: none; }
.tcard__acts, .tcard__share { display: none; }
.tcard__body { padding: 16px 6px 4px; text-align: left; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tcard__body h3 { font-size: clamp(16.5px, .7rem + calc(.45 * var(--vw)), 19px); line-height: 1.35; }
.tcard__pos { color: var(--teal); font-size: 14px; line-height: 1.45; margin: 0; }
.tcard__lang { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--text); margin: 4px 0 0; }
.tcard__lang svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--teal); }
.tcard__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 14px; }
.tcard__b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 10px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--navy); transition: background .3s, color .3s, border-color .3s; }
.tcard__b svg { width: 15px; height: 15px; }
.tcard__b:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.tcard__b--fill { background: var(--teal); border-color: var(--teal); color: #fff; }
.tcard__b--fill:hover { background: var(--navy); border-color: var(--navy); }

/* ---------- Counters: numbers always readable ---------- */
.counters { padding: clamp(24px, calc(3 * var(--vw)), 40px) clamp(10px, calc(2 * var(--vw)), 24px); isolation: isolate; }
.counters::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(9, 36, 60, .94), rgba(19, 58, 97, .86)); }
.counters__row { gap: clamp(10px, calc(1.4 * var(--vw)), 18px); max-width: 1480px; }
.counter { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: clamp(14px, calc(1.6 * var(--vw)), 22px); gap: 16px; transition: background .4s, transform .5s var(--ease); }
.counter:hover { background: rgba(1, 150, 154, .18); transform: translateY(-6px); }
.counter + .counter::before { display: none; }
.counter__ic { width: 56px; height: 56px; background: rgba(1, 150, 154, .25); border-color: rgba(255, 255, 255, .35); }
.counter__num { color: #fff; }
.counter__num .v { font-size: clamp(30px, 1rem + calc(2 * var(--vw)), 46px); color: #fff; font-variant-numeric: tabular-nums; }
.counter__num .s { font-size: clamp(20px, .8rem + calc(1 * var(--vw)), 30px); color: var(--yellow); margin-left: 2px; }
.counter__t { font-size: 15px; line-height: 1.4; color: #D7E2EC; margin-top: 6px; }

/* ---------- Testimonials: compact, nothing clipped ---------- */
.qcard, .swiper-slide-active .qcard { transform: none; opacity: 1; background: #fff; border-color: var(--line); box-shadow: none; }
.qcard { padding: clamp(22px, calc(2 * var(--vw)), 30px); gap: 14px; text-align: left; align-items: flex-start; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s, background .5s; }
.qcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.swiper-slide-active .qcard__quote, .qcard__quote { fill: var(--teal); transform: none; width: 40px; height: 28px; }
.qcard:hover .qcard__quote { fill: var(--yellow); transform: rotate(-8deg) scale(1.12); }
.swiper-slide-active .qcard__desc, .qcard__desc { color: var(--ink); font-size: 15px; line-height: 1.7; }
.qcard__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); width: 100%; }
.qcard__av { width: 52px; height: 52px; border-width: 2px; flex: none; }
.swiper-slide-active .qcard h3, .qcard h3 { color: var(--navy); font-size: 16.5px; }
.qcard .stars { justify-content: flex-start; }
.qcard .stars svg { width: 15px; height: 15px; }
.qcard__src { font-size: 12.5px; color: var(--text); }

/* rating banner */
.rating { padding: clamp(30px, calc(3.6 * var(--vw)), 50px) 0; }
.rating h2 { font-size: clamp(22px, .8rem + calc(1.2 * var(--vw)), 32px); line-height: 1.3; }
.rating__score strong { font-size: clamp(40px, 1rem + calc(2.6 * var(--vw)), 54px); }

/* ---------- Packages ---------- */
.pkgs { padding: clamp(40px, calc(4.6 * var(--vw)), 70px) 0; }
.pkg-feats { margin: -6px 0 26px; gap: 12px 28px; }
.pkg-feats span { font-size: 15px; }
.pcard { padding: clamp(22px, calc(2 * var(--vw)), 30px); }
.pcard h3 { font-size: clamp(17px, .7rem + calc(.5 * var(--vw)), 20px); }
.pcard__price { font-size: clamp(30px, 1rem + calc(1.4 * var(--vw)), 40px); }
.pcard__list { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.pcard__list li { font-size: 14px; line-height: 1.45; }
@media (max-width: 520px) { .pcard__list { grid-template-columns: 1fr; } }

/* ---------- Blogs (live: date badge, image zoom + overlay on hover) ---------- */
.bcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 150, 154, 0), rgba(9, 36, 60, .55)); opacity: 0; transition: opacity .5s; }
.bcard:hover .bcard__img::after { opacity: 1; }
.bcard__img .bcard__plus { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: #fff; color: var(--teal); display: grid; place-items: center; z-index: 2; transform: scale(0) rotate(-90deg); transition: transform .55s var(--spring); }
.bcard__img .bcard__plus svg { width: 24px; height: 24px; }
.bcard:hover .bcard__plus { transform: scale(1) rotate(0); }
.bcard__date { z-index: 2; transition: transform .5s var(--spring); }
.bcard:hover .bcard__date { transform: translateY(-4px) rotate(-4deg); }
.bcard__body { padding: clamp(18px, calc(1.8 * var(--vw)), 24px); }
.bcard h3 { font-size: clamp(17px, .7rem + calc(.5 * var(--vw)), 20px); line-height: 1.35; }

/* FAQ */
.faqband { padding: clamp(40px, calc(4.6 * var(--vw)), 65px) 0; }
.acc summary { font-size: clamp(15px, .6rem + calc(.4 * var(--vw)), 17px); padding: 16px 20px; }
.acc__a { padding: 0 20px 18px; }
.faqband__ask { top: auto; bottom: 30px; left: -20px; width: min(300px, 80%); }

/* about */
.about__count { width: clamp(180px, calc(16 * var(--vw)), 230px); padding: 22px 24px; }
.about__count strong { font-size: clamp(40px, 1rem + calc(2.4 * var(--vw)), 56px); }
.about__lead, .about__txt .rest { font-size: 15.5px; line-height: 1.7; }

/* inner page hero sizes */
.ptitle__row { padding: clamp(110px, calc(11 * var(--vw)), 200px) clamp(16px, calc(2 * var(--vw)), 30px) clamp(18px, calc(2 * var(--vw)), 25px); max-width: 1560px; }
.ptitle h1 { font-size: clamp(30px, .9rem + calc(3 * var(--vw)), 60px); line-height: 1.15; }
.pstrip__row { padding: clamp(18px, calc(2 * var(--vw)), 26px) clamp(16px, calc(2 * var(--vw)), 30px); max-width: 1560px; }
.pstrip__row p { font-size: 15.5px; line-height: 1.7; }
.pcall i { width: 52px; height: 52px; } .pcall strong { font-size: clamp(18px, .8rem + calc(.5 * var(--vw)), 21px); }

/* footer */
.footer { padding-top: clamp(44px, calc(5 * var(--vw)), 70px); }
.footer__panel { padding: clamp(36px, calc(4 * var(--vw)), 56px) clamp(4px, calc(1 * var(--vw)), 15px); }
.footer__brand img { height: 56px; } .footer__brand h2 { font-size: clamp(22px, .8rem + calc(1 * var(--vw)), 28px); }
.footer h3 { font-size: 19px; margin-bottom: 20px; }
.footer__hr { margin: 24px 0 30px; }
.flinks li + li { margin-top: 12px; }
.footer__emg { font-size: 17px; }

/* inner components */
.tile { padding: clamp(20px, calc(2 * var(--vw)), 28px); }
.tile h3 { font-size: clamp(17px, .7rem + calc(.5 * var(--vw)), 20px); }
.aside__box h2, .aside__cta h2 { font-size: 20px; line-height: 1.35; }
.leader h3 { font-size: clamp(22px, .8rem + calc(1 * var(--vw)), 28px); }
.cta-band h2 { font-size: clamp(20px, .8rem + calc(1 * var(--vw)), 28px); line-height: 1.3; }
.profile { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
.detail { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }

/* ---------- Responsive layout checks ---------- */
@media (max-width: 1279.98px) {
  .hdr-top .ibox:nth-child(3) .ibox__txt br { display: none; }
}
@media (max-width: 1279.98px) {
  .hdr-top .ibox:nth-child(2) { display: none; }
  .menu > li > a .chev { display: none; }
}
@media (max-width: 1200px) {
  .hform { grid-template-columns: 1fr auto; }
  .hform__fields { grid-template-columns: repeat(2, 1fr); }
  .hquick { grid-template-columns: 1fr; }
  .hq-doc { flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
  .hq-doc h2 { margin: 0; }
  .hq-doc__ic { order: 3; margin-left: auto; align-self: center; }
  .hq-doc p { margin: 0; }
}
@media (max-width: 1100px) {
  .hslide { padding-left: 0; }
  .hslide__media { width: 100%; max-width: 560px; margin-inline: auto; flex-basis: auto; padding: 20px 12px 30px; }
  .hslider__dots { left: 0 !important; }
  .counters__row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .hform { grid-template-columns: 1fr; }
  .hform__fields { grid-template-columns: 1fr; grid-column: auto; }
  .hform__btn { justify-content: center; }
  .hform__circle { width: 112px; height: 112px; }
  .hchip { font-size: 11px; padding: 8px 10px; } .hchip b { font-size: 14px; } .hchip svg { width: 28px; height: 28px; }
  .hchip--a { left: 0; } .hchip--b { right: 0; }
  .hshape--1 { display: none; }
  .counter { flex-direction: column; text-align: center; }
  .cnav__track { width: 60px; }
  .cnav__btn { width: 44px; height: 44px; }
  .hq-doc { flex-direction: column; align-items: flex-start; }
  .hq-doc__ic { order: 0; margin-left: 0; align-self: flex-end; }
  .faqband__ask { position: relative; left: 0; bottom: 0; margin-top: -40px; width: 100%; }
  .tcard__btns { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hdr-top .ibox, .js .hdr-top .emg, .js .hdr-main .logo, .js .menu > li, .js .hdr-btn, .js .oc-toggle { opacity: 1 !important; transform: none !important; }
  .hdr-top__line { transform: none !important; }
}
/* readability overlays on photo backgrounds */
.hero { background-color: var(--navy); }
.hero__dots { background-color: transparent; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(19, 58, 97, .92) 0%, rgba(19, 58, 97, .78) 45%, rgba(19, 58, 97, .45) 100%); }
.rating { isolation: isolate; }
.rating::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(19, 58, 97, .92), rgba(19, 58, 97, .55)); }
.ptitle::after { background: linear-gradient(90deg, rgba(5, 27, 46, .62), rgba(5, 27, 46, .15)); }
.deco img { max-width: min(calc(40 * var(--vw)), 560px); opacity: .9; }
.hq-appt { justify-content: center; }
.hq-doc h2 { margin-top: clamp(24px, calc(3 * var(--vw)), 54px); }
@media (max-width: 1100px) { .hslide__media { max-width: 460px; } }

/* =====================================================================
   v2 — performance, 80% desktop scale, layout fixes and extra motion
   ===================================================================== */

/* ---------- Desktop scale: 100% browser zoom renders like the 80% view ---------- */
:root { --vw: 1vw; --vh: 1vh; --dvh: 1dvh; --z: 1; }
@media (min-width: 1280px) {
  html { zoom: .8; }
  :root { --vw: 1.25vw; --vh: 1.25vh; --dvh: 1.25dvh; --z: .8; }
}

/* ---------- Cross-page transitions (Chrome/Edge/Safari; ignored elsewhere) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

/* ---------- Rendering cost: skip off-screen sections until needed ---------- */
main > section:nth-of-type(n+4), .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- Tighter vertical rhythm between sections ---------- */
.section { padding-block: clamp(40px, calc(4.2 * var(--vw)), 76px); }
.mt-80 { margin-top: clamp(28px, calc(3 * var(--vw)), 52px); }
.counters + .section, .section + .panel > .rating { margin-top: 0; }
.counters + .section { padding-top: clamp(36px, calc(3.6 * var(--vw)), 64px); }
.section:has(.qcard) { padding-bottom: clamp(30px, calc(3 * var(--vw)), 52px); }
.panel:has(> .rating) + .pkgs { margin-top: clamp(16px, calc(1.6 * var(--vw)), 24px); }
.shead { margin-bottom: clamp(22px, calc(2.4 * var(--vw)), 38px); }
.cnav { margin-top: clamp(16px, calc(2 * var(--vw)), 26px); }

/* ---------- FAQ: show the full image, keep the contact card inside the band ---------- */
.faqband { overflow: hidden; }
.faqband__row { align-items: center; }
.faqband__media { margin: 0 auto; width: 100%; max-width: 380px; padding-left: 30px; }
.faqband__media > img { width: 100%; height: auto; min-height: 0; aspect-ratio: 364 / 597; object-fit: cover; display: block; box-shadow: var(--shadow-lg); }
.faqband__ask { left: 0; right: auto; top: auto; bottom: 34px; width: min(300px, 88%); animation: bob 5s ease-in-out infinite; }
.acc summary { line-height: 1.45; }
.acc summary > :first-child { min-width: 0; }
.acc__a p { margin: 0; line-height: 1.7; }
@media (max-width: 1100px) {
  .faqband__media { max-width: 340px; padding-left: 0; }
  .faqband__ask { left: -14px; }
}
@media (max-width: 767px) {
  .faqband__media { max-width: 260px; }
  .faqband__ask { position: relative; left: 0; bottom: 0; margin: -48px auto 0; width: 100%; animation: none; }
  .acc summary { padding: 15px 16px; gap: 12px; }
  .acc__a { padding: 0 16px 16px; }
}

/* ---------- Health packages: static three-column grid (as on the live site) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, calc(2 * var(--vw)), 30px); align-items: stretch; margin-top: 8px; }
.pgrid > .pcard { height: 100%; }
.pgrid .pcard .btn { margin-top: auto; }
.pgrid .pcard--hl { box-shadow: 0 30px 60px -28px rgba(9, 36, 60, .55); }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pgrid { grid-template-columns: 1fr; } }

/* ---------- Blog: full cards only, no cropped peeks ---------- */
.bcard__img { aspect-ratio: 744 / 520; overflow: hidden; display: block; position: relative; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; }
.bcard h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carousel.is-locked .cnav, .carousel:has(.swiper-scrollbar-lock) .swiper-scrollbar { display: none; }

/* ---------- Continuous auto-scroll rows (specialities, facilities) ---------- */
.is-marquee .swiper { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.is-marquee .mq-track { display: flex; width: max-content; gap: var(--mq-gap, 28px); animation: mqScroll var(--mq-dur, 60s) linear infinite; will-change: transform; }
.is-marquee .mq-track > .swiper-slide { flex: none; width: var(--mq-w, 340px); height: auto; display: flex; }
.is-marquee .mq-track > .swiper-slide > * { width: 100%; }
.is-marquee:hover .mq-track, .is-marquee:focus-within .mq-track, .is-marquee.is-held .mq-track { animation-play-state: paused; }
.is-marquee .cnav__mid, .is-marquee .swiper-scrollbar { display: none; }
@keyframes mqScroll { to { transform: translate3d(calc(-50% - var(--mq-gap, 28px) / 2), 0, 0); } }

/* ---------- Floating quick-action dock (desktop) ---------- */
.fmenu { gap: 10px; right: 0; transform: translate(120%, -50%); }
.fmenu.is-visible { transform: translate(0, -50%); }
.fmenu a { height: 54px; padding: 0 7px; gap: 0; border-radius: 16px 0 0 16px; overflow: hidden; justify-content: flex-start; box-shadow: 0 12px 26px -12px rgba(9, 36, 60, .55); transition: padding .45s var(--ease), box-shadow .3s; }
.fmenu__ic { width: 40px; height: 40px; background: rgba(255, 255, 255, .2); transition: transform .5s var(--spring), background .3s; }
.fmenu__ic svg { width: 21px; height: 21px; color: #fff; }
.fmenu__lbl { max-width: 0; opacity: 0; white-space: nowrap; font-size: 14.5px; transition: max-width .5s var(--ease), opacity .3s, margin .5s var(--ease); }
.fmenu a:hover, .fmenu a:focus-visible { padding-right: 18px; box-shadow: 0 16px 34px -12px rgba(9, 36, 60, .65); }
.fmenu a:hover .fmenu__lbl, .fmenu a:focus-visible .fmenu__lbl { max-width: 190px; opacity: 1; margin-left: 12px; }
.fmenu a:hover .fmenu__ic { transform: rotate(-10deg) scale(1.08); background: rgba(255, 255, 255, .3); }
.fmenu .c-yellow .fmenu__ic { animation: dockPulse 2.6s ease-in-out infinite; }
@keyframes dockPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 60% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }
.fmenu.is-visible a { animation: dockIn .8s var(--ease) both; }
@keyframes dockIn { from { opacity: 0; transform: translateX(40px); } }

/* Mobile bottom bar with inline icons */
.mbar__ic { width: 28px; height: 28px; display: grid; place-items: center; color: var(--teal); }
.mbar__ic svg { width: 23px; height: 23px; }
.mbar a:first-child .mbar__ic { color: #fff; }
.mbar a { transition: background .2s, transform .2s; }
.mbar a:active { transform: scale(.96); }
@media (max-width: 767px) {
  .wa-fab { width: 48px; height: 48px; left: 14px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .wa-fab svg { width: 26px; height: 26px; }
  .to-top { width: 46px; height: 46px; right: 14px; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Extra motion ---------- */
/* Card light-sweep on hover */
.scard, .fcard, .bcard, .pcard, .tcard, .qcard { position: relative; }
.scard::after, .fcard::after, .bcard::after, .tcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0s; z-index: 3; }
@media (hover: hover) {
  .scard:hover::after, .fcard:hover::after, .bcard:hover::after, .tcard:hover::after { transform: translateX(120%); transition: transform 1s var(--ease); }
  .scard:hover, .bcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
  .scard__img img, .fcard__img img, .bcard__img img, .tcard__img img { transition: transform 1.1s var(--ease), filter .6s; }
  .scard:hover .scard__img img, .fcard:hover .fcard__img img, .bcard:hover .bcard__img img, .tcard:hover .tcard__img img { transform: scale(1.08); }
  .btn svg { transition: transform .4s var(--spring); }
  .btn:hover svg { transform: translateX(4px); }
}

/* Section eyebrow: icon spins in, label slides */
.shead__sub img { transition: transform 1s var(--spring); }
.shead__sub.is-in img { animation: eyebrowSpin 1.1s var(--spring) both; }
@keyframes eyebrowSpin { from { transform: rotate(-180deg) scale(.4); opacity: 0; } }

/* Headings get an animated accent rule */
.shead h2 { position: relative; }
.shead--center h2::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; margin: 14px auto 0; background: linear-gradient(90deg, var(--teal), var(--navy)); transform: scaleX(0); transition: transform 1.2s var(--ease) .3s; }
.shead--center h2.is-in::after { transform: scaleX(1); }

/* Price ticks, package list items cascade in */
.pgrid .pcard.is-in .pcard__list li { animation: liIn .6s var(--ease) both; }
.pgrid .pcard.is-in .pcard__list li:nth-child(n) { animation-delay: calc(var(--li, 0) * 40ms + .25s); }
@keyframes liIn { from { opacity: 0; transform: translateX(-10px); } }
.pcard__price { background: linear-gradient(90deg, var(--teal), #36C3C6, var(--teal)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: priceShine 4s linear infinite; }
.pcard--hl .pcard__price { background-image: linear-gradient(90deg, #fff, var(--yellow), #fff); }
@keyframes priceShine { to { background-position: -200% 0; } }

/* Scroll-linked motion where the browser supports it (no JS cost) */
@supports (animation-timeline: view()) {
  .ptitle__bg { animation: scrollZoom linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes scrollZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
  .counters__row > * { animation: scrollRise linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  @keyframes scrollRise { from { transform: translateY(40px) scale(.96); opacity: .3; } }
  .pkg-feats span { animation: scrollRise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
}

/* Soft ambient orbs on grey panels */
.panel--grey, .pkgs { position: relative; isolation: isolate; overflow: hidden; }
.panel--grey::before, .pkgs::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events: none; animation: floatBlob 16s ease-in-out infinite alternate; }
.panel--grey::before { background: radial-gradient(circle, #9ADBDC, transparent 70%); left: -120px; bottom: -140px; }
.pkgs::after { background: radial-gradient(circle, #BFD9EE, transparent 70%); left: 30%; top: -180px; animation-duration: 20s; }

@media (prefers-reduced-motion: reduce) {
  .is-marquee .mq-track, .faqband__ask, .pcard__price, .fmenu .c-yellow .fmenu__ic, .panel--grey::before, .pkgs::after { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
