/* ==========================================================================
   Tridev Hospital — site theme
   Palette drawn from the logo: deep teal, leaf green, saffron gold.
   ========================================================================== */

:root {
    --ink: #0b2e2c;
    --ink-2: #0b3d3a;
    --teal: #0e6b5c;
    --teal-600: #0a5a4d;
    --teal-50: #e8f3f0;
    --teal-100: #d3ebe5;
    --leaf: #6db33f;
    --leaf-50: #eef7e6;
    --gold: #e0a526;
    --gold-50: #fdf5e2;
    --red: #d7343a;
    --red-600: #b8262c;

    --bg: #f5f8f6;
    --surface: #ffffff;
    --text: #1d2d2b;
    --muted: #5a6b68;
    --line: #e2eae7;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(11, 46, 44, .06), 0 2px 8px rgba(11, 46, 44, .05);
    --shadow: 0 10px 30px -12px rgba(11, 46, 44, .18), 0 2px 6px rgba(11, 46, 44, .05);
    --shadow-lg: 0 30px 60px -24px rgba(11, 46, 44, .35);

    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 84px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }
p { color: var(--muted); }
a { color: var(--teal); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-600); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal-100); color: var(--ink); }
.container-xl { max-width: 1240px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 2000;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn-t {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    cursor: pointer;
}
.btn-t:hover { transform: translateY(-2px); }
.btn-t-lg { padding: 16px 28px; font-size: 16px; }
.btn-t-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(14, 107, 92, .7); }
.btn-t-primary:hover { background: var(--teal-600); color: #fff; box-shadow: 0 16px 30px -12px rgba(14, 107, 92, .8); }
.btn-t-emergency { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(215, 52, 58, .7); }
.btn-t-emergency:hover { background: var(--red-600); color: #fff; }
.btn-t-light { background: #fff; color: var(--ink); }
.btn-t-light:hover { color: var(--teal); box-shadow: var(--shadow); }
.btn-t-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-t-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-t-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-t-outline:hover { background: var(--teal); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--teal);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow-light { color: #bfe3d8; }
.section { padding: 110px 0; }
.section-sm { padding: 80px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin: 14px 0 16px; }
.section-head h2 em { font-style: italic; color: var(--teal); }
.section-head p { font-size: 17px; margin: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #cfe5df; font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; gap: 28px; min-height: 42px; }
.topbar a { color: #cfe5df; }
.topbar a:hover { color: #fff; }
.topbar-emergency { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font-weight: 600; }
.topbar-emergency strong { color: #ffd479; font-weight: 800; letter-spacing: .02em; }
.topbar-meta { display: flex; gap: 26px; margin-left: auto; }
.topbar-meta i { color: var(--leaf); margin-right: 6px; }
.topbar-social { display: flex; gap: 6px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
.topbar-social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 12px; }
.topbar-social a:hover { background: rgba(255,255,255,.12); }
.pulse-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #ff5a5f; flex: none; }
.pulse-dot::after {
    content: ""; position: absolute; inset: -5px; border-radius: 50%;
    border: 2px solid #ff5a5f; animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}
body.nav-open .site-header { z-index: 1200; }
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(11,46,44,.45); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: #fff; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: var(--ink); }
.brand-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-top: 3px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-tag { color: #9fd3c4; }

/* Navigation (desktop) */
.main-nav { margin-left: auto; }
.main-nav-head, .main-nav-cta { display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 12px; border-radius: 10px;
    font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav-list > li > a:hover, .nav-list > li:focus-within > a { color: var(--teal); background: var(--teal-50); }
.nav-list > li.is-current > a { color: var(--teal); }
.nav-list > li.is-current > a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold);
}
.nav-caret { font-size: 10px; opacity: .6; transition: transform .25s var(--ease); }
.nav-list > li:hover .nav-caret { transform: rotate(180deg); }
.sub-toggle { display: none; }
.sub-menu {
    position: absolute; top: calc(100% + 10px); left: -8px; min-width: 270px;
    list-style: none; margin: 0; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-list > li:hover > .sub-menu, .nav-list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 10px;
    font-size: 14.5px; font-weight: 600; color: var(--text);
}
.sub-menu a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-100); flex: none; transition: background .2s; }
.sub-menu a:hover, .sub-menu a.active { background: var(--teal-50); color: var(--teal); }
.sub-menu a:hover::before, .sub-menu a.active::before { background: var(--leaf); }
.sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-call { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.header-call-icon {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: #fdeaea; color: var(--red); font-size: 16px; position: relative;
}
.header-call-text { display: flex; flex-direction: column; line-height: 1.15; }
.header-call-text small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.header-call-text strong { font-size: 16px; font-weight: 800; color: var(--ink); }
.header-book { padding: 11px 20px; }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--teal-50);
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.nav-toggle span:nth-child(2) { width: 70%; }
.nav-scrim { display: none; }

.site-header .container-xl, .topbar .container-xl { max-width: 1400px; }
.header-call { display: none; }
@media (max-width: 1379.98px) {
    .brand-tag { display: none; }
    .header-book .long { display: none; }
    .header-book { gap: 8px; }
    .nav-list > li > a { padding: 10px 10px; font-size: 14.5px; }
}

/* Navigation (mobile drawer) */
@media (max-width: 1199.98px) {
    :root { --header-h: 72px; }
    .nav-toggle { display: inline-flex; }
    .header-book { display: none; }
    .brand-tag { display: block; }
    .header-call { display: inline-flex; }
    .header-call-text { display: none; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100;
        width: min(380px, 88vw); margin: 0; padding: 18px 18px 28px;
        background: #fff; box-shadow: var(--shadow-lg);
        display: flex; flex-direction: column; overflow-y: auto;
        transform: translateX(105%); transition: transform .35s var(--ease);
    }
    body.nav-open .main-nav { transform: none; }
    .main-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
    .nav-close { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--teal-50); color: var(--ink); font-size: 18px; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-list > li { display: flex; flex-wrap: wrap; align-items: center; }
    .nav-list > li > a { flex: 1; padding: 13px 12px; font-size: 16px; }
    .nav-list > li.is-current > a::after { display: none; }
    .nav-list > li.is-current > a { background: var(--teal-50); }
    .nav-caret { display: none; }
    .sub-toggle {
        display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px;
        background: transparent; color: var(--muted);
    }
    .sub-toggle i { transition: transform .25s var(--ease); }
    .sub-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
    .sub-menu {
        position: static; flex-basis: 100%; min-width: 0; display: none;
        opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
        background: var(--bg); margin: 2px 0 8px; padding: 6px;
    }
    .sub-menu::before { display: none; }
    li.sub-open > .sub-menu { display: block; }
    .main-nav-cta { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; }
    .nav-scrim {
        display: block; position: fixed; inset: 0; z-index: 1050;
        background: rgba(11, 46, 44, .45); backdrop-filter: blur(2px);
        opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    }
    body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }
}
.topbar-meta > *, .topbar-emergency { white-space: nowrap; }
@media (max-width: 1199.98px) {
    .topbar-meta > span:last-child { display: none; }
}
@media (max-width: 991.98px) {
    .topbar-meta > span { display: none; }
    .topbar-social { display: none; }
}
@media (max-width: 575.98px) {
    .topbar-meta { display: none; }
    .topbar-inner { justify-content: center; }
    .brand-mark { width: 44px; height: 44px; border-radius: 12px; }
    .brand-name { font-size: 19px; }
    .brand-tag { font-size: 10px; letter-spacing: .05em; }
    .header-call { display: none; }
}

/* ==========================================================================
   HOME
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(760px, calc(100vh - 126px)); display: flex; align-items: center; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.08); }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(6, 34, 32, .94) 0%, rgba(8, 45, 42, .82) 32%, rgba(8, 45, 42, .35) 62%, rgba(8, 45, 42, .05) 100%),
        linear-gradient(0deg, rgba(6, 34, 32, .55) 0%, rgba(6, 34, 32, 0) 35%);
}
.hero-content { position: relative; padding-top: 90px; padding-bottom: 150px; }
.hero-copy { max-width: 640px; }
.hero-chip {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px);
    font-size: 13.5px; font-weight: 600; color: #e6f4f0;
}
.hero-chip b { white-space: nowrap; display: inline-grid; place-items: center; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { color: #fff; font-size: clamp(42px, 6.2vw, 78px); line-height: 1.02; margin: 26px 0 22px; letter-spacing: -.03em; }
.hero h1 em { font-style: italic; color: #b9e58f; font-weight: 500; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: #d6ebe5; max-width: 540px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; color: #d6ebe5; font-size: 14.5px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero-trust i { color: #b9e58f; }
.hero-dots { position: absolute; right: 32px; bottom: 150px; display: flex; flex-direction: column; gap: 10px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.4); transition: height .35s var(--ease), background .35s; }
.hero-dots button.is-active { height: 34px; background: #fff; }
.hero-caption { position: absolute; right: 32px; top: 32px; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(6,34,32,.55); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: #e6f4f0; }
.hero-caption i { color: var(--gold); }

/* Quick actions overlapping hero */
.quick-actions { position: relative; z-index: 5; margin-top: -92px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.quick-card { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 28px 26px; color: var(--text); border-right: 1px solid var(--line); transition: background .3s var(--ease); }
.quick-card:last-child { border-right: 0; }
.quick-card:hover { background: var(--teal-50); color: var(--text); }
.quick-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--teal-50); color: var(--teal); font-size: 21px; transition: transform .3s var(--ease), background .3s, color .3s; }
.quick-card:hover .quick-icon { transform: rotate(-6deg) scale(1.05); background: var(--teal); color: #fff; }
.quick-card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 800; margin: 2px 0 4px; }
.quick-card p { font-size: 14px; margin: 0; line-height: 1.5; }
.quick-card .quick-arrow { position: absolute; right: 22px; top: 26px; color: var(--teal); opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); }
.quick-card:hover .quick-arrow { opacity: 1; transform: none; }
.quick-card.is-emergency { background: linear-gradient(135deg, #c92a31, #e0484d); color: #fff; }
.quick-card.is-emergency h3, .quick-card.is-emergency p, .quick-card.is-emergency .quick-arrow { color: #fff; }
.quick-card.is-emergency p { opacity: .9; }
.quick-card.is-emergency .quick-icon { background: rgba(255,255,255,.18); color: #fff; }
.quick-card.is-emergency:hover { background: linear-gradient(135deg, #b8262c, #d7343a); }
.quick-card.is-emergency strong { display: block; font-size: 20px; letter-spacing: .01em; margin-top: 2px; }

/* ---------- Marquee band ---------- */
.care-band { padding: 46px 0 0; }
.care-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; color: var(--muted); font-weight: 700; font-size: 15px; }
.care-band-inner span { display: inline-flex; align-items: center; gap: 10px; }
.care-band-inner i { color: var(--leaf); }

/* ---------- About ---------- */
.about-media { position: relative; padding: 0 60px 60px 0; }
.about-media .img-main { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-media .img-sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--bg); box-shadow: var(--shadow); }
.about-badge {
    position: absolute; left: -22px; top: 36px; display: flex; align-items: center; gap: 14px;
    padding: 16px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg);
    animation: floaty 6s ease-in-out infinite;
}
.about-badge .n { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--red); line-height: 1; }
.about-badge .t { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.check-list { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.check-list li { display: flex; gap: 12px; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.check-list li i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--leaf-50); color: var(--leaf); font-size: 11px; }
.about-sign { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.about-phone { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.about-phone i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px dashed var(--teal); color: var(--teal); }
.about-phone small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.about-phone strong { font-size: 18px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 90px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { text-align: center; padding: 0 12px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 4.4vw, 56px); line-height: 1; color: var(--ink); }
.stat-num sup { font-size: .5em; color: var(--gold); top: -.8em; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); }

/* ---------- Specialities ---------- */
.specialities { background: #fff; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spec-card {
    position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--radius);
    background: var(--bg); border: 1px solid transparent; color: var(--text); overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background .35s;
}
.spec-card::after {
    content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
    background: radial-gradient(circle, var(--teal-100), transparent 70%); opacity: 0; transition: opacity .35s;
}
.spec-card:hover { transform: translateY(-6px); background: #fff; border-color: var(--line); box-shadow: var(--shadow); color: var(--text); }
.spec-card:hover::after { opacity: 1; }
.spec-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: #fff; color: var(--teal); font-size: 26px; box-shadow: var(--shadow-sm); margin-bottom: 24px; transition: background .35s, color .35s; }
.spec-card:hover .spec-icon { background: var(--teal); color: #fff; }
.spec-card h3 { font-family: var(--font-body); font-size: 20px; font-weight: 800; margin: 0 0 10px; }
.spec-card p { font-size: 15px; margin: 0 0 22px; }
.spec-card .link-arrow { margin-top: auto; font-size: 14.5px; }
.spec-card.is-feature { background: var(--ink-2); color: #fff; }
.spec-card.is-feature::after { background: radial-gradient(circle, rgba(109,179,63,.35), transparent 70%); opacity: 1; }
.spec-card.is-feature h3 { color: #fff; }
.spec-card.is-feature p { color: #bcd7d0; }
.spec-card.is-feature .spec-icon { background: var(--red); color: #fff; box-shadow: none; }
.spec-card.is-feature .link-arrow { color: #b9e58f; }
.spec-card.is-feature:hover { background: var(--ink); border-color: transparent; }

/* ---------- Facilities bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.bento-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); isolation: isolate; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento-item:hover img { transform: scale(1.06); }
.bento-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,34,32,0) 40%, rgba(6,34,32,.88) 100%); z-index: 0; }
.bento-item figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: #fff; }
.bento-item figcaption span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #b9e58f; }
.bento-item figcaption h3 { color: #fff; font-family: var(--font-body); font-size: 19px; font-weight: 800; margin: 6px 0 0; }
.bento-item figcaption p { color: #d0e4df; font-size: 14px; margin: 6px 0 0; max-width: 380px; }
.bento-item.span-2 { grid-column: span 2; }
.bento-item.row-2 { grid-row: span 2; }
.bento-item.row-2 figcaption h3 { font-size: 24px; }

/* ---------- Doctors ---------- */
.doctors { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.doc-card { display: grid; grid-template-columns: 240px 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doc-photo { position: relative; background: var(--teal-50); }
.doc-photo img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: center 20%; }
.doc-body { display: flex; flex-direction: column; padding: 30px 30px 28px; }
.doc-dept { display: inline-flex; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--leaf-50); color: #3f7d1c; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.doc-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin: 14px 0 4px; }
.doc-role { font-weight: 600; color: var(--teal); margin: 0 0 16px; }
.doc-facts { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.doc-facts li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); }
.doc-facts i { color: var(--teal); width: 18px; text-align: center; margin-top: 4px; font-size: 13px; }
.doc-body .btn-t { margin-top: auto; align-self: flex-start; padding: 10px 18px; font-size: 14px; }

/* ---------- Why choose us (dark) ---------- */
.why { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.why::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background:
        radial-gradient(600px 400px at 10% 0%, rgba(14,107,92,.7), transparent 60%),
        radial-gradient(500px 400px at 100% 100%, rgba(109,179,63,.25), transparent 60%);
}
.why .section-head h2 { color: #fff; }
.why .section-head h2 em { color: #b9e58f; }
.why .section-head p { color: #b6cfc9; }
.why .eyebrow { color: #b9e58f; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; }
.why-item { padding: 36px 30px; background: var(--ink); transition: background .35s; }
.why-item:hover { background: #0e3a37; }
.why-num { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--gold); }
.why-item i { display: block; font-size: 30px; color: #b9e58f; margin: 22px 0 20px; }
.why-item h3 { color: #fff; font-family: var(--font-body); font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.why-item p { color: #a9c4bd; font-size: 15px; margin: 0; }

/* ---------- Testimonials ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { position: relative; display: flex; flex-direction: column; margin: 0; padding: 34px 30px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.review::before { content: "\201C"; position: absolute; right: 24px; top: 4px; font-family: var(--font-display); font-size: 110px; line-height: 1; color: var(--teal-100); }
.review-stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; }
.review blockquote { margin: 16px 0 26px; font-size: 16.5px; line-height: 1.65; color: var(--text); }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.review-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 15px; }
.review-avatar.a2 { background: var(--gold); color: var(--ink); }
.review-avatar.a3 { background: var(--leaf); }
.review figcaption strong { display: block; color: var(--ink); font-size: 15.5px; }
.review figcaption span { font-size: 13px; color: var(--muted); }

/* ---------- Contact (home) ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.25fr; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-side { position: relative; padding: 46px 42px; color: #fff; background: var(--ink-2); isolation: isolate; overflow: hidden; }
.contact-side::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/site/reception.jpg") center / cover; opacity: .18; }
.contact-side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(11,61,58,.92), rgba(6,34,32,.96)); }
.contact-side h2 { color: #fff; font-size: 34px; margin: 14px 0 12px; }
.contact-side > p { color: #b6cfc9; }
.contact-lines { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 22px; }
.contact-lines li { display: flex; gap: 16px; }
.contact-lines i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.1); color: #b9e58f; font-size: 17px; }
.contact-lines small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fb7ad; }
.contact-lines a, .contact-lines span { color: #fff; font-weight: 600; }
.contact-map { border-radius: var(--radius); overflow: hidden; height: 190px; border: 1px solid rgba(255,255,255,.15); }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.contact-form-area { padding: 46px 46px; }
.contact-form-area h3 { font-family: var(--font-display); font-weight: 600; font-size: 30px; margin: 0 0 8px; }
.contact-form-area > p { margin-bottom: 28px; }

/* ---------- Forms (shared) ---------- */
.form-control, .form-select {
    min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
    background-color: var(--bg); color: var(--text); font-size: 15.5px; font-family: var(--font-body);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
textarea.form-control { min-height: 130px; }
select.form-control { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235a6b68' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 16px center; background-size: 14px; }
.form-control::placeholder { color: #8b9a97; }
.form-control:focus, .form-select:focus { border-color: var(--teal); background-color: #fff; box-shadow: 0 0 0 4px rgba(14,107,92,.12); }
.form-label-t { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-row .form-control { flex: 1; }
.captcha-code {
    display: grid; place-items: center; min-width: 120px; padding: 0 16px; border-radius: 12px;
    background: repeating-linear-gradient(45deg, var(--teal-50), var(--teal-50) 6px, #fff 6px, #fff 12px);
    border: 1.5px dashed var(--teal); font-family: "Courier New", monospace; font-weight: 800; font-size: 20px; letter-spacing: 4px; color: var(--ink); user-select: none;
}
.captcha-refresh { width: 52px; border: 0; border-radius: 12px; background: var(--teal-50); color: var(--teal); transition: transform .4s var(--ease), background .2s; }
.captcha-refresh:hover { background: var(--teal-100); transform: rotate(180deg); }
.form-message { display: none; margin-bottom: 18px; padding: 13px 16px; border-radius: 12px; font-weight: 600; font-size: 14.5px; }
.form-message.show { display: block; }
.form-message.success { background: var(--leaf-50); color: #2f6a12; border: 1px solid #cfe7bc; }
.form-message.error { background: #fdecec; color: var(--red-600); border: 1px solid #f6c9cb; }

/* ==========================================================================
   INNER PAGES (views use .hospital-* classes)
   ========================================================================== */
.hospital-page { background: var(--bg); }
.hospital-hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 96px 0 110px; color: #fff; background: var(--ink);
}
.hospital-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background: url("../img/site/hero-facilities.jpg") center 40% / cover no-repeat;
    transform: scale(1.04);
}
.hospital-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(6,34,32,.95) 0%, rgba(8,45,42,.86) 45%, rgba(8,45,42,.55) 100%),
        radial-gradient(500px 300px at 90% 120%, rgba(109,179,63,.35), transparent 70%);
}
.hospital-hero .container { position: relative; max-width: 1240px; }
.hospital-hero .container::after {
    content: ""; display: block; width: 64px; height: 3px; margin-top: 28px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--leaf));
}
.hospital-breadcrumb {
    display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px);
    font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #d6ebe5;
}
.hospital-breadcrumb i { color: #b9e58f; }
.hospital-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); margin: 20px 0 14px; max-width: 820px; letter-spacing: -.025em; }
.hospital-hero p { color: #c8e0da; font-size: clamp(16px, 1.5vw, 19px); max-width: 680px; margin: 0; }

.hospital-section { position: relative; padding: 0 0 100px; }
.hospital-section > .container { max-width: 1240px; position: relative; z-index: 2; margin-top: -50px; }
.hospital-card {
    height: 100%; padding: 36px 34px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.hospital-card h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 12px 0 14px; }
.hospital-card h3 { font-family: var(--font-body); font-size: 20px; font-weight: 800; margin: 10px 0 10px; }
.hospital-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
}
.hospital-kicker::before { content: ""; width: 20px; height: 2px; background: var(--gold); border-radius: 2px; }
.hospital-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.hospital-list li { position: relative; padding-left: 34px; color: var(--text); font-weight: 500; }
.hospital-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Pro"; font-weight: 900; font-size: 11px;
    position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 22px; height: 22px;
    border-radius: 50%; background: var(--leaf-50); color: var(--leaf);
}
.hospital-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 0; border-radius: 999px;
    background: var(--teal); color: #fff; font-weight: 700; font-size: 15.5px;
    box-shadow: 0 10px 24px -10px rgba(14,107,92,.7); transition: transform .25s var(--ease), background .25s;
}
.hospital-btn:hover { background: var(--teal-600); color: #fff; transform: translateY(-2px); }
.hospital-image { width: 100%; height: 100%; min-height: 320px; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; }
.hospital-icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.hospital-section > .container > .hospital-icon-grid:first-child .hospital-icon-card { box-shadow: var(--shadow); }
.hospital-icon-card {
    padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hospital-icon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.hospital-icon-card i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--teal-50); color: var(--teal); font-size: 23px; margin-bottom: 20px; transition: background .3s, color .3s; }
.hospital-icon-card:hover i { background: var(--teal); color: #fff; }
.hospital-icon-card h3 { font-family: var(--font-body); font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.hospital-icon-card p { margin: 0; font-size: 15px; }
.hospital-alert { padding: 14px 18px; border-radius: 12px; margin: 16px 0; font-weight: 600; }
.hospital-alert.success { background: var(--leaf-50); color: #2f6a12; border: 1px solid #cfe7bc; }
.hospital-alert.error { background: #fdecec; color: var(--red-600); border: 1px solid #f6c9cb; }
.hospital-alert ul { margin: 0; padding-left: 18px; }
.hospital-form { margin-top: 24px; }
.doctor-mini-card { display: flex; gap: 26px; align-items: center; }
.doctor-mini-card img { width: 150px; height: 180px; flex: none; object-fit: cover; object-position: center 20%; border-radius: var(--radius); }
.hospital-empty { padding: 60px 30px; text-align: center; background: #fff; border: 1px dashed var(--teal-100); border-radius: var(--radius-lg); color: var(--muted); font-weight: 600; box-shadow: var(--shadow-sm); }
.hospital-empty h2 { font-size: 30px; }
.hospital-filter-panel { padding: 26px 28px 10px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 28px; }
.hospital-filter-panel label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.hospital-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.hospital-media-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.hospital-media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hospital-media-card img, .hospital-media-card iframe { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 0; }
.hospital-media-body { padding: 16px 18px; }
.hospital-media-body h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin: 0; }
.hospital-news-list { display: grid; gap: 18px; }
.hospital-news-card { padding: 28px 30px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); border-left: 4px solid var(--teal); box-shadow: var(--shadow-sm); }
.hospital-news-card h2 { font-size: 24px; margin: 10px 0 8px; }
.hospital-news-date { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--gold-50); color: #8a5d00; font-size: 13px; font-weight: 700; }
.hospital-download-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #072624; color: #a9c4bd; margin-top: 0; }
.footer-cta { background: linear-gradient(120deg, var(--teal) 0%, #0b5249 60%, #0a4a42 100%); position: relative; overflow: hidden; }
.footer-cta::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px 12px; position: relative; z-index: 1; }
.footer-cta h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); margin: 12px 0 8px; }
.footer-cta p { color: #cde6df; margin: 0; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand p { margin: 22px 0 24px; color: #a9c4bd; max-width: 360px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); color: #d6ebe5; transition: background .25s, transform .25s var(--ease); }
.footer-social a:hover { background: var(--leaf); color: #fff; transform: translateY(-3px); }
.footer-col h3 { color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 8px 0 22px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: #a9c4bd; }
.footer-col a:hover { color: #fff; }
.footer-col:not(.footer-contact) a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s, transform .2s var(--ease); }
.footer-col:not(.footer-contact) a:hover { transform: translateX(4px); }
.footer-contact li { display: flex; gap: 14px; }
.footer-contact i { color: #b9e58f; margin-top: 5px; width: 16px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.dev-credit { display: inline-flex; align-items: center; gap: 10px; color: #8fb0a8; }
.dev-credit img { height: 26px; width: auto; background: #fff; border-radius: 6px; padding: 3px 6px; }

/* Mobile dock + back to top */
.mobile-dock { display: none; }
.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: var(--teal); color: #fff; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-card:nth-child(2) { border-right: 0; }
    .quick-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .doc-card { grid-template-columns: 200px 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991.98px) {
    .section { padding: 84px 0; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
    .hero-dots { right: 50%; transform: translateX(50%); bottom: 118px; flex-direction: row; }
    .hero-dots button.is-active { height: 10px; width: 34px; }
    .hero-caption { display: none; }
    .about-media { max-width: 560px; margin: 0 auto 30px; }
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .bento-item.row-2 { grid-row: span 2; }
    .doc-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
    .contact-wrap { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .stat:nth-child(2) { border-right: 0; }
    .footer-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
    body { padding-bottom: 68px; }
    .mobile-dock {
        display: grid; grid-template-columns: repeat(3, 1fr);
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
        background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11,46,44,.3);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-dock a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; color: var(--ink); font-size: 12px; font-weight: 700; }
    .mobile-dock a i { font-size: 18px; color: var(--teal); }
    .mobile-dock a.dock-emergency { background: var(--red); color: #fff; }
    .mobile-dock a.dock-emergency i { color: #fff; }
    .to-top { bottom: 84px; right: 16px; width: 44px; height: 44px; }

    .hero { min-height: 0; }
    .hero-content { padding-top: 64px; padding-bottom: 140px; }
    .hero::before { background: linear-gradient(180deg, rgba(6,34,32,.78) 0%, rgba(6,34,32,.9) 100%); }
    .hero-trust { gap: 12px 20px; margin-top: 32px; font-size: 13.5px; }
    .hero-actions .btn-t { flex: 1 1 auto; }
    .quick-actions { margin-top: -80px; }
    .quick-grid { grid-template-columns: 1fr; }
    .quick-card { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 22px; }
    .quick-card:last-child { border-bottom: 0; }
    .check-list { grid-template-columns: 1fr; }
    .about-media { padding: 0 30px 40px 0; }
    .about-badge { left: -6px; top: 20px; padding: 12px 14px; }
    .about-badge .n { font-size: 32px; }
    .spec-grid { grid-template-columns: 1fr; gap: 14px; }
    .spec-card { padding: 24px 22px; }
    .spec-icon { width: 52px; height: 52px; font-size: 22px; margin-bottom: 16px; }
    .spec-card p { margin-bottom: 14px; }
    .hero-chip { font-size: 12.5px; }
    .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .bento-item.span-2 { grid-column: auto; }
    .bento-item.row-2 { grid-row: auto; }
    .doc-card { grid-template-columns: 1fr; }
    .doc-photo img { min-height: 0; height: 320px; }
    .why-grid { grid-template-columns: 1fr; }
    .contact-side, .contact-form-area { padding: 32px 22px; }
    .captcha-row { flex-wrap: wrap; }
    .captcha-row .form-control { flex-basis: 100%; }
    .captcha-code { flex: 1; min-height: 52px; }
    .footer-main { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .hospital-hero { padding: 64px 0 90px; }
    .hospital-card { padding: 28px 22px; }
    .doctor-mini-card { flex-direction: column; align-items: flex-start; }
    .doctor-mini-card img { width: 100%; height: 280px; }
}

/* ==========================================================================
   CARDIOLOGY & CATH LAB PAGE
   ========================================================================== */
.cardio-hero::before { background-image: url("../img/site/hero-emergency.jpg"); background-position: center 30%; }
.cardio-hero { padding-bottom: 130px; }
.cardio-hero .container::after { display: none; }
.cardio-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: #bcd7d0; }
.cardio-crumbs a { color: #e6f4f0; }
.cardio-crumbs a:hover { color: #fff; }
.cardio-crumbs i.fa-chevron-right { font-size: 9px; opacity: .6; }
.cardio-crumbs [aria-current] { color: #b9e58f; }
.cardio-hero h1 { max-width: 900px; }
.cardio-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cardio-ecg { position: absolute; left: 0; right: 0; bottom: 60px; width: 100%; height: 90px; z-index: 0; pointer-events: none; }
.cardio-ecg path { fill: none; stroke: rgba(255, 110, 115, .55); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: ecg-draw 3.6s ease-in-out infinite; }
@keyframes ecg-draw { 0% { stroke-dashoffset: 1600; } 60%, 100% { stroke-dashoffset: 0; } }

.cardio-alert {
    display: flex; align-items: center; gap: 20px; padding: 22px 26px; margin-bottom: 26px;
    background: #fff; border: 1px solid #f6c9cb; border-left: 5px solid var(--red); border-radius: var(--radius); box-shadow: var(--shadow);
}
.cardio-alert-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fdecec; color: var(--red); font-size: 20px; }
.cardio-alert strong { display: block; color: var(--ink); font-size: 17px; }
.cardio-alert p { margin: 2px 0 0; font-size: 15px; }
.cardio-alert .btn-t { margin-left: auto; flex: none; }

.cardio-contact-card { height: 100%; padding: 36px 34px; border-radius: var(--radius-lg); background: var(--ink-2); color: #fff; box-shadow: var(--shadow); }
.cardio-contact-card h2 { color: #fff; font-size: 28px; margin: 12px 0 0; }
.cardio-contact-card .contact-lines { margin: 26px 0 28px; }

.cardio-services { grid-template-columns: repeat(3, 1fr); }
.cardio-services .spec-card { scroll-margin-top: calc(var(--header-h) + 24px); }
.cardio-services .spec-card p { margin-bottom: 0; }

.cardio-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.cardio-steps li { position: relative; padding: 34px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cardio-step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.cardio-steps h3 { font-family: var(--font-body); font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.cardio-steps p { margin: 0; font-size: 15px; }

.cardio-signs { padding: 34px 32px; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.cardio-signs h3 { color: #fff; font-family: var(--font-body); font-size: 19px; font-weight: 800; margin: 0 0 18px; }
.cardio-signs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cardio-signs li { display: flex; gap: 12px; color: #e6f4f0; font-weight: 600; }
.cardio-signs li i { color: #ff8a8e; margin-top: 4px; }
.cardio-signs-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: #a9c4bd; font-size: 14.5px; }

.cardio-faq { display: grid; gap: 12px; }
.cardio-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.cardio-faq summary { position: relative; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 16.5px; color: var(--ink); cursor: pointer; list-style: none; }
.cardio-faq summary::-webkit-details-marker { display: none; }
.cardio-faq summary::after { content: "\2b"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-50); color: var(--teal); font-size: 18px; font-weight: 700; }
.cardio-faq details[open] summary::after { content: "\2212"; background: var(--teal); color: #fff; }
.cardio-faq details p { margin: 0; padding: 0 24px 22px; }

.cardio-related { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-weight: 600; color: var(--muted); }
.cardio-related a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; }
.cardio-related a:hover { border-color: var(--teal); }

@media (max-width: 991.98px) {
    .cardio-services { grid-template-columns: repeat(2, 1fr); }
    .cardio-steps { grid-template-columns: 1fr; }
    .cardio-alert { flex-wrap: wrap; }
    .cardio-alert .btn-t { margin-left: 0; }
}
@media (max-width: 767.98px) {
    .cardio-services { grid-template-columns: 1fr; }
    .cardio-hero-actions .btn-t { flex: 1 1 100%; white-space: normal; text-align: center; }
    .cardio-ecg { bottom: 40px; height: 60px; }
    .cardio-contact-card { padding: 28px 22px; }
}

/* ==========================================================================
   DOCTOR CARDS — photo always paired with qualification
   ========================================================================== */
.doc-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 390px)); justify-content: center; }
.doc-grid > * { min-width: 0; }
.doc-card { grid-template-columns: 1fr; height: 100%; }
.doc-photo { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: linear-gradient(145deg, var(--teal-50), var(--teal-100)); }
.doc-photo img { position: absolute; inset: 0; min-height: 0; height: 100%; object-position: center 22%; transition: transform .8s var(--ease); }
.doc-card:hover .doc-photo img { transform: scale(1.04); }
.doc-qual-badge {
    position: absolute; left: 16px; bottom: 16px; z-index: 1;
    padding: 7px 14px; border-radius: 999px; background: var(--red); color: #fff;
    font-size: 13px; font-weight: 800; letter-spacing: .03em; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
}
.doc-initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 72px; font-weight: 600; color: var(--teal); opacity: .8; }
.doc-body { padding: 26px 26px 26px; }
.doc-body h3 { margin-top: 12px; font-size: 24px; }
.doc-qual { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; font-weight: 800; font-size: 15px; color: var(--ink); }
.doc-qual i { color: var(--gold); }
.doc-role { margin-bottom: 14px; }
.doc-facts i { color: var(--leaf); }

.doc-figure { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--teal-50); }
.doc-figure img { display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 20%; }
.doc-figure figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: var(--radius); background: rgba(11, 61, 58, .92); backdrop-filter: blur(6px); color: #fff; }
.doc-figure figcaption strong { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: #fff; }
.doc-figure-qual { align-self: flex-start; margin: 4px 0 2px; padding: 3px 10px; border-radius: 999px; background: var(--red); font-size: 12.5px; font-weight: 800; letter-spacing: .03em; }
.doc-figure figcaption small { color: #bcd7d0; font-size: 13px; }

@media (max-width: 767.98px) {
    .doc-grid { grid-template-columns: minmax(0, 1fr); }
    .doc-photo img { height: 100%; }
}
