/* ==========================================================
   Meenakshi Fertility Centre – main stylesheet
   Brand colours come from the logo (green + blue).
   ========================================================== */
:root {
    --navy: #0c2e55;
    --navy-2: #0f3d6e;
    --blue: #1d5fae;
    --blue-50: #eef4fc;
    --green: #1f9a4b;
    --green-600: #157a39;
    --green-50: #eaf6ef;
    --coral: #ef7d57;
    --coral-600: #d9643d;
    --cream: #fbf8f3;
    --ink: #10233d;
    --text: #33475e;
    --muted: #64768b;
    --line: #e2e9f1;
    --white: #ffffff;
    --grad: linear-gradient(135deg, #1f9a4b 0%, #1d5fae 100%);
    --grad-soft: linear-gradient(135deg, #eaf6ef 0%, #eef4fc 100%);
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(16, 35, 61, .06);
    --shadow: 0 12px 32px -12px rgba(16, 35, 61, .18);
    --shadow-lg: 0 30px 60px -20px rgba(12, 46, 85, .30);
    --font-head: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --container: 1240px;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; color: #fff; }

.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.icon--sm { width: 16px; height: 16px; }
.icon--star { width: 16px; height: 16px; fill: #f5b301; stroke: #f5b301; }

/* Section label: soft pill badge */
.eyebrow {
    display: inline-flex; align-items: center;
    padding: 8px 20px; border-radius: 999px;
    background: linear-gradient(135deg, #eaf6ef 0%, #eef4fc 100%);
    border: 1px solid #cfe8d8;
    box-shadow: 0 6px 16px -10px rgba(31, 154, 75, .55);
    font-size: .92rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
    color: var(--green-600); margin-bottom: 18px;
}
.eyebrow--light { color: #d4f7e1; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); box-shadow: none; backdrop-filter: blur(6px); }
.lead { font-size: 1.12rem; color: var(--muted); }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: .98rem; line-height: 1.2; text-align: center;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 154, 75, .6); }
.btn--primary:hover { color: #fff; box-shadow: 0 16px 30px -10px rgba(29, 95, 174, .55); }
.btn--accent { background: var(--coral); color: #fff; }
.btn--accent:hover { background: var(--coral-600); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--green-600); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { color: var(--navy); background: rgba(255,255,255,.7); border-color: var(--line); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-600); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------------- Top bar & header ---------------- */
.topbar { background: var(--navy); color: #d9e5f3; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__news { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar__news .icon { color: #8fe3b0; width: 16px; height: 16px; }
.topbar__links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__links a { color: #d9e5f3; display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: #fff; }
.topbar__links .icon { width: 15px; height: 15px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(16,35,61,.35); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex-shrink: 0; display: block; }
.site-header .container { max-width: 1480px; } /* header is wider than page content so the full logo + menu fit */
.brand img { width: 210px; max-width: none; height: auto; }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav__list > li { position: relative; }
.main-nav__list > li > a, .main-nav__toggle {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 12px; border-radius: 10px; border: 0; background: none;
    color: var(--ink); font-weight: 600; font-size: .93rem; white-space: nowrap;
}
.main-nav__list > li > a:hover, .main-nav__toggle:hover, .main-nav__list > li > a[aria-current] { color: var(--green-600); background: var(--green-50); }
.main-nav__toggle .icon { transition: transform .2s; }
.has-mega.is-open .main-nav__toggle .icon, .has-drop.is-open .main-nav__toggle .icon { transform: rotate(180deg); }
.main-nav__mobile-cta { display: none; }

.drop, .mega {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 50;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.drop { list-style: none; margin: 0; padding: 10px; min-width: 320px; }
.drop a { white-space: nowrap; }
.drop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .93rem; }
.drop a .icon { color: var(--green); }
.drop a:hover { background: var(--green-50); color: var(--green-600); }
.mega { left: 50%; transform: translate(-50%, 8px); width: min(660px, 92vw); padding: 14px; }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega__item { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.mega__item:hover { background: var(--green-50); color: var(--ink); }
.mega__item strong { display: block; font-size: .95rem; }
.mega__item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.mega__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-soft); color: var(--green-600); display: grid; place-items: center; flex-shrink: 0; }

.has-mega:hover .mega, .has-mega.is-open .mega,
.has-drop:hover .drop, .has-drop.is-open .drop { opacity: 1; visibility: visible; }
.has-drop:hover .drop, .has-drop.is-open .drop { transform: translateY(0); }
.has-mega:hover .mega, .has-mega.is-open .mega { transform: translate(-50%, 0); }
/* invisible bridge so hover doesn't drop between button and panel */
.has-mega::after, .has-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }

.nav-burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); align-items: center; justify-content: center; }

/* ---------------- Alerts ---------------- */
.alert { margin: 16px 0; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.alert--success { background: var(--green-50); color: var(--green-600); border: 1px solid #bfe5cd; }
.alert--error { background: #fdecec; color: #b42318; border: 1px solid #f6c9c9; }

/* ---------------- Sections ---------------- */
.section { padding: 64px 0; position: relative; }
.section--tight { padding: 48px 0; }
.section--soft { background: var(--grad-soft); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #c9d6e6; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section-head .eyebrow { justify-content: center; color: var(--green-600); }
.section-head .eyebrow--light { color: #d4f7e1; }
.section-head--left .eyebrow { justify-content: flex-start; }

/* ---------------- Home hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 90px; background: radial-gradient(1200px 500px at 85% -10%, #dff1e7 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #e3edfa 0%, transparent 60%), #fff; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); margin-bottom: 22px; }
.hero h1 em { font-style: italic; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding: 0; margin: 0; }
.hero__trust li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.hero__trust .icon { color: var(--green); }
.hero__media { position: relative; }
.hero__blob { position: relative; border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; overflow: hidden; aspect-ratio: 1 / 1.02; box-shadow: var(--shadow-lg); animation: morph 14s ease-in-out infinite; }
.hero__blob img { width: 100%; height: 100%; object-fit: cover; }
.hero__ring { position: absolute; inset: -18px; border: 2px dashed rgba(31,154,75,.35); border-radius: 50%; animation: spin 60s linear infinite; pointer-events: none; }
.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); line-height: 1.1; }
.float-card small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.float-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.float-card--a { left: -28px; bottom: 16%; }
.float-card--b { right: -10px; top: 10%; animation-delay: -2.5s; }
.float-card--b .float-card__icon { background: var(--blue-50); color: var(--blue); }

@keyframes morph { 0%,100% { border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; } 50% { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------------- Stats ---------------- */
.stats { margin-top: -50px; position: relative; z-index: 2; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 30px 24px; display: flex; align-items: center; gap: 16px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; flex-shrink: 0; }
.stat__icon .icon { width: 26px; height: 26px; }
.stat__num { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--ink); line-height: 1; }
.stat__label { color: var(--muted); font-weight: 600; font-size: .9rem; }

/* ---------------- Split / about ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.media-stack { position: relative; padding: 0 40px 40px 0; }
.media-stack__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__small { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); aspect-ratio: 1; }
.media-stack__small img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__badge { position: absolute; left: -20px; top: 28px; background: var(--grad); color: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); text-align: center; }
.media-stack__badge strong { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; }
.media-stack__badge span { font-size: .8rem; font-weight: 600; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 32px; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157a39' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
.tick-list.cols-2 { grid-template-columns: 1fr 1fr; }
.feature-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 30px; }
.feature-mini div { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--cream); }
.feature-mini .icon { color: var(--green); width: 26px; height: 26px; }
.feature-mini strong { display: block; color: var(--ink); font-size: .96rem; }
.feature-mini small { color: var(--muted); line-height: 1.4; display: block; }

/* ---------------- Service cards ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.service-card__link:hover { color: inherit; }
.service-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--grad-soft); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__icon { position: absolute; left: 16px; bottom: 16px; width: 50px; height: 50px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.service-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { margin-bottom: 8px; }
.service-card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-600); font-size: .92rem; }

.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dept { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s, box-shadow .2s; color: inherit; }
.dept:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.dept__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); color: var(--green-600); display: grid; place-items: center; flex-shrink: 0; }
.dept__icon .icon { width: 26px; height: 26px; }
.dept h3 { font-size: 1.1rem; margin-bottom: 4px; }
.dept p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------------- Process ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }
.section--navy .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--navy .step p { color: #b5c5d8; }

/* ---------------- TCP band ---------------- */
.promo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--grad); color: #eafff1; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.promo::before, .promo::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.promo::before { width: 380px; height: 380px; right: -120px; top: -160px; }
.promo::after { width: 220px; height: 220px; left: 38%; bottom: -120px; }
.promo h2 { color: #fff; }
.promo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.promo__list li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.12); padding: 14px 16px; border-radius: 14px; font-weight: 600; color: #fff; }
.promo__list .icon { margin-top: 2px; }
.promo > * { position: relative; z-index: 1; }

/* ---------------- Who we help ---------------- */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.help-item { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; font-weight: 600; }
.help-item__icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(143,227,176,.15); color: #8fe3b0; display: grid; place-items: center; flex-shrink: 0; }

/* ---------------- Doctors ---------------- */
.doctors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.doctor { display: grid; grid-template-columns: 200px 1fr; gap: 24px; background: #fff; border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.doctor__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.6; background: var(--grad-soft); }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doctor-initials { width: 100%; height: 100%; display: grid; place-items: center; background: var(--grad); }
.doctor-initials { flex-direction: column; gap: 12px; align-content: center; }
.doctor-initials__icon { width: 72px; height: 72px; color: rgba(255,255,255,.9); }
.doctor-initials span { font-family: var(--font-head); font-size: 1.3rem; color: #fff; font-weight: 600; }
.doctor h3 { margin-bottom: 2px; font-size: 1.35rem; }
.doctor__qual { color: var(--green-600); font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.doctor__role { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.doctor .tick-list { font-size: .9rem; gap: 6px; }
.doctor .tick-list li::before { width: 18px; height: 18px; background-size: 11px; top: 4px; }
.doctor .tick-list li { padding-left: 26px; }
.doctor-profile { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); }
.doctor-profile:last-child { border-bottom: 0; }
.doctor-profile__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/4.6; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 20px); }
.doctor-profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-600); font-weight: 700; font-size: .78rem; }
.chip:hover { background: var(--green); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }

/* ---------------- Testimonials ---------------- */
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 20px; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__nav { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; transition: background .2s, color .2s; }
.slider__btn:hover { background: var(--navy); color: #fff; }
.slider__btn--prev .icon { transform: rotate(90deg); }
.slider__btn--next .icon { transform: rotate(-90deg); }
.testimonial { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.testimonial::after { content: "“"; position: absolute; right: 22px; top: 2px; font-family: var(--font-head); font-size: 6rem; line-height: 1; color: var(--green-50); }
.testimonial blockquote { margin: 12px 0 20px; flex: 1; color: var(--text); position: relative; z-index: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption strong { display: block; color: var(--ink); }
.testimonial figcaption small { color: var(--muted); }
.testimonial__stars { display: flex; gap: 2px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------------- FAQ ---------------- */
.faq__title { margin-bottom: 24px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 12px; transition: box-shadow .2s, border-color .2s; }
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: #cfe6d8; }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; flex-shrink: 0; transition: transform .25s, background .2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq__answer { padding: 0 22px 18px; color: var(--text); }
.faq__answer p { margin: 0; }

/* ---------------- Forms ---------------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card__title { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin-bottom: 4px; }
.form-card__title .icon { color: var(--green); width: 24px; height: 24px; }
.form-card__sub { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.form-card__note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: .82rem; margin: 12px 0 0; }
.form-card__result:not(:empty) { margin-top: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.form-card--compact .form-grid { grid-template-columns: 1fr; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .86rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfcfe;
    font: inherit; font-size: .95rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(31,154,75,.12); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------- Page hero ---------------- */
.page-hero { position: relative; overflow: hidden; padding: 48px 0 56px; background: var(--grad-soft); }
.page-hero__bg { position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(31,154,75,.14), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(29,95,174,.12), transparent 70%); }
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.page-hero--image .page-hero__inner { grid-template-columns: 1.2fr .8fr; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 14px; max-width: 820px; }
.page-hero .lead { max-width: 680px; margin: 0; }
.page-hero__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: #fff; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: #a5b3c3; }
.breadcrumbs a { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs a:hover { color: var(--green-600); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------------- Content + sidebar layout ---------------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .93rem; }
.side-links a .icon { color: var(--green); }
.side-links a:hover, .side-links a[aria-current] { background: var(--green-50); color: var(--green-600); }
.side-call { background: var(--navy); color: #c9d6e6; border: 0; text-align: center; }
.side-call h3 { color: #fff; }
.side-call a.big { display: block; font-family: var(--font-head); font-size: 1.6rem; color: #fff; margin: 4px 0 12px; }

.prose { font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 1.6em 0 .6em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose > :first-child { margin-top: 0; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose ul:not(.tick-list), .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--green); background: var(--green-50); border-radius: 0 14px 14px 0; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--cream); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius); }
.content-block { margin-bottom: 44px; }
.who-box { background: var(--cream); border-radius: var(--radius); padding: 28px; margin: 34px 0; }
.who-box h2 { margin-top: 0 !important; }
.who-box .tick-list { grid-template-columns: 1fr 1fr; margin: 0; }
.steps--content { grid-template-columns: repeat(2, 1fr); margin: 20px 0 10px; }

/* ---------------- Gallery ---------------- */
.gallery { columns: 3 280px; column-gap: 18px; }
.gallery__item { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; position: relative; display: block; cursor: zoom-in; border: 0; padding: 0; background: none; width: 100%; }
.gallery__item img { width: 100%; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-weight: 600; font-size: .9rem; background: linear-gradient(transparent, rgba(12,46,85,.75)); text-align: left; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,20,38,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; width: auto; border-radius: 12px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; }
.lightbox__cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }

/* ---------------- Blog ---------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--grad-soft); display: block; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--green-600); }
.post-card__body > p { color: var(--muted); font-size: .94rem; flex: 1; }
.blog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 34px; }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.cat-filter a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .88rem; background: #fff; }
.cat-filter a:hover, .cat-filter a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.search-form { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; min-width: 280px; }
.search-form input { border: 0; outline: 0; font: inherit; flex: 1; background: transparent; padding: 8px 0; min-width: 0; }
.search-form button { border: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; list-style: none; padding: 0; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; color: var(--ink); background: #fff; }
.pagination a:hover { border-color: var(--green); color: var(--green-600); }
.pagination [aria-current] { background: var(--grad); color: #fff; border-color: transparent; }
.empty-state { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty-state .icon { width: 44px; height: 44px; color: var(--green); margin: 0 auto 12px; }

.article-hero { padding: 48px 0 0; background: var(--grad-soft); }
.article-hero h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; color: var(--muted); font-size: .92rem; margin-bottom: 30px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: -80px; position: relative; aspect-ratio: 16/8; background: #fff; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding-top: 130px; }
.toc { background: var(--cream); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 30px; }
.toc h2 { font-size: 1.05rem !important; margin: 0 0 10px !important; font-family: var(--font-body); font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .94rem; }
.toc .toc-h3 { margin-left: 1em; list-style: circle; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 34px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share strong { color: var(--ink); margin-right: 6px; }
.share a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--blue-50); color: var(--navy); font-weight: 600; font-size: .86rem; }
.share a:hover { background: var(--navy); color: #fff; }
.author-box { display: flex; gap: 18px; align-items: center; background: var(--grad-soft); border-radius: var(--radius); padding: 22px; }
.author-box .avatar { width: 64px; height: 64px; font-size: 1.4rem; }
.author-box p { margin: 0; color: var(--muted); font-size: .93rem; }
.medical-note { font-size: .85rem; color: var(--muted); background: var(--cream); padding: 14px 18px; border-radius: 12px; margin-top: 26px; }

/* ---------------- Contact ---------------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 50px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; gap: 16px; }
.contact-card .dept__icon { background: var(--grad); color: #fff; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: .95rem; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; height: 100%; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------------- Footer ---------------- */
.site-footer { background: #081f3b; color: #9fb1c7; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-logo { background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 18px; width: 200px; }
.footer-col h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: #9fb1c7; }
.footer-col a:hover { color: #8fe3b0; }
.footer-contact p { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: #8fe3b0; margin-top: 3px; }
.footer-contact strong { color: #fff; }
.social { list-style: none; display: flex !important; gap: 10px; padding: 0; margin: 0; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.social a:hover { background: var(--green); color: #fff; }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0 22px; font-size: .85rem; }
.footer-bottom__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #9fb1c7; }
.footer-disclaimer { margin-top: 10px !important; font-size: .78rem; color: #6f849c; }

/* ---------------- Floating actions ---------------- */
.float-actions { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: grid; gap: 10px; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: var(--shadow); color: #fff; }
.float-btn--call { background: var(--green); animation: pulse 2.4s infinite; }
.float-btn--call:hover { color: #fff; }
.float-btn--top { background: var(--navy); opacity: 0; visibility: hidden; transition: opacity .3s; }
.float-btn--top.is-visible { opacity: 1; visibility: visible; }
.float-btn--top .icon { transform: rotate(180deg); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,154,75,.55); } 70% { box-shadow: 0 0 0 16px rgba(31,154,75,0); } 100% { box-shadow: 0 0 0 0 rgba(31,154,75,0); } }
.mobile-bar { display: none; }

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================
   HOME PAGE (hospital layout)
   ========================================================== */
/* ---- Hero: endless slider, each photo moves with its own content ---- */
.h-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; height: 720px; }
.h-hero__track { display: flex; height: 100%; will-change: transform; }
.h-slide { position: relative; flex-shrink: 0; height: 100%; overflow: hidden; display: flex; align-items: center; }
.h-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
    linear-gradient(90deg, rgba(8,31,59,.95) 0%, rgba(8,31,59,.84) 40%, rgba(8,31,59,.35) 70%, rgba(8,31,59,.5) 100%),
    linear-gradient(0deg, rgba(8,31,59,.65) 0%, transparent 35%); }
.h-slide__content { position: relative; z-index: 2; padding-bottom: 40px; }
.h-slide__content > * { max-width: 640px; }
.h-slide__tag { font-family: var(--font-body); line-height: 1.4; letter-spacing: 0; color: #fff; display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; margin: 0 0 18px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-weight: 600; font-size: .88rem; }
.h-slide__tag span { width: 8px; height: 8px; border-radius: 50%; background: #8fe3b0; box-shadow: 0 0 0 4px rgba(143,227,176,.25); }
.h-slide__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.08; letter-spacing: -.015em; color: #fff; margin: 0 0 18px; }
.h-slide__title em { font-style: italic; color: #8fe3b0; }
.h-slide__text { font-size: 1.12rem; color: #e1e9f3; margin: 0 0 24px; line-height: 1.65; }
.h-slide__points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; max-width: 760px !important; }
.h-slide__points li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: #fff; line-height: 1.45; }
.h-slide__points .icon { margin-top: 2px; }
.h-slide__note { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: .92rem; color: #d3dfec; font-weight: 600; }
.h-slide__stars { display: inline-flex; gap: 2px; }
.h-slide__points .icon { color: #8fe3b0; }
.h-slide__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--navy); }

/* ---- Quick access cards ---- */
.h-quick { position: relative; z-index: 5; background: var(--navy); }
.h-quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); transform: translateY(40px); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.h-quick__card { display: flex; align-items: center; gap: 14px; padding: 26px 24px; color: #fff; transition: filter .2s; }
.h-quick__card:hover { color: #fff; filter: brightness(1.1); }
.h-quick__card strong { display: block; font-size: 1.02rem; }
.h-quick__card small { color: rgba(255,255,255,.85); font-size: .84rem; }
.h-quick__card--green { background: #1f9a4b; }
.h-quick__card--blue { background: #1d5fae; }
.h-quick__card--navy { background: #12406f; }
.h-quick__card--coral { background: #d9643d; }
.h-quick__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.h-quick__icon .icon { width: 26px; height: 26px; }

/* ---- Ticker ---- */
.h-ticker { overflow: hidden; background: var(--green-50); border-bottom: 1px solid #d3eadb; padding: 62px 0 16px; }
.h-ticker__track { display: flex; gap: 46px; width: max-content; animation: ticker 45s linear infinite; }
.h-ticker:hover .h-ticker__track { animation-play-state: paused; }
.h-ticker span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.h-ticker span .icon { color: var(--green); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- About ---- */
.h-about-media { position: relative; padding: 0 60px 50px 0; }
.h-about-media__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.3; box-shadow: var(--shadow-lg); }
.h-about-media__main img, .h-about-media__sub img { width: 100%; height: 100%; object-fit: cover; }
.h-about-media__sub { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); }
.h-play { position: absolute; left: calc(50% - 70px); top: calc(50% - 75px); width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #e52d27; animation: pulse 2.4s infinite; }
.h-play .icon { width: 34px; height: 34px; }
.h-exp { position: absolute; left: -16px; bottom: 40px; background: var(--grad); color: #fff; border-radius: 18px; padding: 18px 22px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.h-exp strong { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.h-exp span { font-size: .82rem; font-weight: 600; line-height: 1.3; }
.h-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 22px 0 30px; }
.h-checks span { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.h-checks .icon { color: var(--green); }
.h-about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }

/* ---- Departments tabs ---- */
.h-tabs { display: flex; justify-content: center; gap: 10px; margin: -20px 0 36px; flex-wrap: wrap; }
.h-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.h-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.h-panel[hidden] { display: none; }
.h-panel { animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.h-facilities { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; padding: 18px 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.h-facilities strong { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); margin-right: 6px; }
.h-facilities span { padding: 5px 12px; border-radius: 999px; background: var(--blue-50); color: var(--navy); font-size: .85rem; font-weight: 600; }

/* ---- Departments: photo bento grid ---- */
.dp { position: relative; overflow: hidden; padding: 64px 0; background: linear-gradient(180deg, #f3faf6 0%, #eef4fc 100%); }
.dp__blob { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.dp__blob--a { width: 420px; height: 420px; left: -160px; top: -120px; background: radial-gradient(circle, rgba(31,154,75,.16), transparent 70%); }
.dp__blob--b { width: 520px; height: 520px; right: -200px; bottom: -200px; background: radial-gradient(circle, rgba(29,95,174,.14), transparent 70%); }
.dp .container { position: relative; }
.dp__head { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; max-width: 760px; margin: 0 auto 32px; }
.dp__head h2 { margin: 0; }
.dp__head-side { margin-top: 10px; }
.dp__tabs { display: inline-flex; justify-content: flex-start; margin: 0; padding: 6px; gap: 4px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.dp__tabs .h-tab { border: 0; background: transparent; padding: 11px 20px; }
.dp__tabs .h-tab.is-active { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(31,154,75,.6); }

.dp-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 20px; }
.dp-card { position: relative; display: block; border-radius: 22px; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; box-shadow: 0 14px 30px -18px rgba(12,46,85,.55); transition: transform .35s ease, box-shadow .35s ease; }
.dp-card:hover { color: #fff; transform: translateY(-6px); box-shadow: 0 26px 46px -18px rgba(12,46,85,.6), 0 0 0 3px rgba(143,227,176,.65); }
.dp-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.dp-card:hover .dp-card__img { transform: scale(1.08); }
.dp-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,31,59,.05) 0%, rgba(8,31,59,.45) 45%, rgba(8,31,59,.94) 100%); transition: background .35s; }
.dp-card:hover::after { background: linear-gradient(180deg, rgba(8,31,59,.2) 0%, rgba(13,70,60,.7) 45%, rgba(8,31,59,.96) 100%); }
.dp-card__num { position: absolute; left: 20px; top: 16px; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: .04em; }
.dp-card__num::after { content: ""; display: block; width: 22px; height: 2px; margin-top: 4px; background: #8fe3b0; border-radius: 2px; }
.dp-card__icon { position: absolute; right: 16px; top: 16px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); transition: background .3s; }
.dp-card:hover .dp-card__icon { background: var(--grad); border-color: transparent; }
.dp-card__icon .icon { width: 24px; height: 24px; }
.dp-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px 22px; }
.dp-card h3 { color: #fff; font-size: 1.3rem; margin: 0 0 4px; }
.dp-card__text { display: block; font-size: .9rem; line-height: 1.5; color: #dbe6f2; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .35s ease, margin .35s; }
.dp-card:hover .dp-card__text, .dp-card:focus-visible .dp-card__text { max-height: 90px; opacity: 1; margin-bottom: 10px; }
.dp-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: #8fe3b0; }
.dp-card--feature { grid-column: span 2; grid-row: span 2; }
.dp-card--feature h3 { font-size: 2.2rem; }
.dp-card--feature .dp-card__text { max-height: none; opacity: 1; font-size: 1.05rem; margin-bottom: 14px; max-width: 460px; }
.dp-card--feature .dp-card__body { padding: 30px; }
.dp-card--feature .dp-card__icon { width: 60px; height: 60px; }
.dp-card--feature .dp-card__icon .icon { width: 30px; height: 30px; }
.dp-cta { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 26px; border-radius: 22px; background: var(--grad); color: #eafff1; box-shadow: 0 14px 30px -16px rgba(31,154,75,.6); transition: transform .3s; }
.dp-cta::before { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px; border-radius: 50%; background: rgba(255,255,255,.12); }
.dp-cta:hover { color: #fff; transform: translateY(-6px); }
.dp-cta--wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.dp-cta__icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.2); display: grid; place-items: center; position: relative; }
.dp-cta strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.25; margin-bottom: 4px; }
.dp-cta small { display: block; font-size: .9rem; color: rgba(255,255,255,.88); }
.dp-cta__btn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 11px 18px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: .9rem; white-space: nowrap; position: relative; }
.dp-cta--wide .dp-cta__btn { align-self: center; }
.dp .h-facilities { margin-top: 24px; }
@media (hover: none) {
    .dp-card__text { max-height: 90px; opacity: 1; margin-bottom: 10px; }
}
@media (max-width: 1080px) {
    .dp-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
    .dp-card--feature { grid-column: span 2; grid-row: span 1; }
    .dp-card--feature h3 { font-size: 1.7rem; }
    .dp-card--feature .dp-card__text { font-size: .95rem; }
}
@media (max-width: 720px) {
    .dp { padding: 48px 0; }
    .dp__tabs { display: flex; width: 100%; }
    .dp__tabs .h-tab { flex: 1; justify-content: center; padding: 10px 8px; font-size: .86rem; }
    .dp-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(230px, auto); gap: 14px; }
    .dp-card--feature, .dp-cta--wide { grid-column: auto; }
    .dp-card--feature { grid-row: span 1; }
    .dp-card--feature .dp-card__body { padding: 22px; }
    .dp-cta--wide { grid-template-columns: 1fr; }
    .dp-cta--wide .dp-cta__btn { align-self: flex-start; }
}

/* ---- Why choose us ---- */
.h-why { position: relative; padding: 64px 0; color: #c9d6e6; background: linear-gradient(100deg, rgba(8,31,59,.96) 0%, rgba(8,31,59,.88) 50%, rgba(15,61,110,.78) 100%), var(--why-bg) center/cover fixed; }
.h-why__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.h-why h2 { color: #fff; }
.h-why__list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.h-why__list li { display: flex; gap: 16px; align-items: flex-start; }
.h-why__list li > span { width: 50px; height: 50px; border-radius: 14px; background: rgba(143,227,176,.14); color: #8fe3b0; display: grid; place-items: center; flex-shrink: 0; }
.h-why__list strong { color: #fff; font-size: 1.05rem; }
.h-why__list p { margin: 2px 0 0; font-size: .94rem; }
.h-why__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.h-stat { padding: 30px 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); text-align: center; }
.h-stat__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; }
.h-stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; color: #fff; line-height: 1.1; }
.h-stat small { font-weight: 600; font-size: .9rem; }

/* ---- Two Cycle Program ---- */
.tcp { position: relative; padding: 64px 0; background: #fff; overflow: hidden; }
.tcp::before { content: ""; position: absolute; left: -10%; top: 300px; bottom: 0; width: 55%; background: linear-gradient(135deg, #eaf6ef 0%, #eef4fc 100%); border-radius: 0 240px 240px 0; z-index: 0; }
.tcp__inner { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.tcp__media { position: relative; }
.tcp__photo { border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.tcp__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.tcp__head { max-width: 860px; margin-bottom: 36px; position: relative; z-index: 1; }
.tcp__title { font-size: 1.6rem; margin-bottom: 12px; }
.tcp__lead { color: var(--muted); font-size: 1.08rem; line-height: 1.75; margin-bottom: 28px; }
@media (max-width: 1080px) {
    .tcp__inner { grid-template-columns: 1fr; gap: 50px; }
    .tcp__media { max-width: 520px; margin: 0 auto; width: 100%; }
    .tcp::before { width: 100%; left: 0; bottom: auto; height: 640px; border-radius: 0 0 200px 200px; }
}
@media (max-width: 720px) {
    .tcp { padding: 48px 0; }
                    }

/* ---- Testimonials: endless moving cards ---- */
.ts { padding: 64px 0; background: linear-gradient(180deg, #f3faf6 0%, #eef4fc 100%); overflow: hidden; }
.ts .section-head { margin-bottom: 28px; }
.ts__rows { display: grid; gap: 22px; }
.ts__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ts__track { display: flex; gap: 22px; width: max-content; padding: 10px 0 16px; animation: tsMove 80s linear infinite; }
.ts__row:hover .ts__track { animation-play-state: paused; }
@keyframes tsMove { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 11px)); } }
.ts-card { margin: 0; width: 380px; flex-shrink: 0; display: flex; flex-direction: column; padding: 26px 26px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -22px rgba(12,46,85,.45); transition: transform .3s, box-shadow .3s, border-color .3s; }
.ts-card:hover { transform: translateY(-6px); border-color: #bfe5cd; box-shadow: 0 24px 40px -22px rgba(31,154,75,.5); }
.ts-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ts-card__stars { display: inline-flex; gap: 2px; }
.ts-card__quote { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.ts-card__quote .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.ts-card blockquote { margin: 0 0 20px; flex: 1; }
.ts-card blockquote p { margin: 0; color: var(--text); font-size: .98rem; line-height: 1.7; }
.ts-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.ts-card figcaption strong { display: block; color: var(--ink); }
.ts-card figcaption small { color: var(--muted); font-size: .82rem; }
.ts__foot { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.ts__badge { display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ts__badge strong { font-family: var(--font-head); font-size: 1.6rem; line-height: 1; color: var(--green-600); }
.ts__badge span { font-weight: 600; color: var(--ink); }
@media (max-width: 720px) {
    .ts { padding: 48px 0; }
    .ts-card { width: 300px; padding: 22px; }
    .ts__row { -webkit-mask-image: none; mask-image: none; }
}

/* ---- Appointment band ---- */
.h-appoint { position: relative; padding: 64px 0; background: linear-gradient(90deg, rgba(21,122,57,.95) 0%, rgba(29,95,174,.9) 60%, rgba(29,95,174,.78) 100%), var(--ap-bg) center/cover; color: #e8f6ee; }
.h-appoint__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.h-appoint h2 { color: #fff; }
.h-appoint__info { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.h-appoint__info li { display: flex; align-items: center; gap: 14px; }
.h-appoint__info li > span { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; flex-shrink: 0; }
.h-appoint__info small { display: block; opacity: .8; font-size: .8rem; }
.h-appoint__info a { color: #fff; font-weight: 700; }

/* ---- FAQ ---- */
.h-faq { max-width: 880px; margin: 0 auto; }
.h-faq__foot { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }

/* ---- Home responsive ---- */
@media (max-width: 1080px) {
    .h-hero { height: 680px; }
    .h-slide::after { background: linear-gradient(90deg, rgba(8,31,59,.93), rgba(8,31,59,.65)), linear-gradient(0deg, rgba(8,31,59,.6), transparent 40%); }
    .h-quick__grid { grid-template-columns: repeat(2, 1fr); }
        .h-why__inner, .h-appoint__inner { grid-template-columns: 1fr; }
    .h-why { background-attachment: scroll, scroll; }
}
@media (max-width: 720px) {
    .h-hero { height: auto; }
    .h-hero__track, .h-slide { height: auto; }
    .h-slide { align-items: flex-start; }
    .h-slide .h-slide__content { padding-top: 36px; padding-bottom: 56px; }
    .h-slide__title { font-size: 2.1rem; }
    .h-slide__text { font-size: 1rem; }
    .h-slide__points { grid-template-columns: 1fr; gap: 8px; }
    .h-slide__points li { font-size: .94rem; }
    .h-slide__note { display: none; }
    .h-slide__ctas .btn { flex: 1 1 auto; }
    .h-slide::after { background: linear-gradient(180deg, rgba(8,31,59,.6) 0%, rgba(8,31,59,.78) 45%, rgba(8,31,59,.9) 100%); }
    .h-quick__grid { grid-template-columns: 1fr; transform: translateY(30px); }
    .h-quick__card { padding: 18px 20px; }
    .h-ticker { padding-top: 50px; }
        .h-stat { padding: 22px 12px; }
    .h-stat strong { font-size: 2rem; }
    .h-about-media { padding: 0 24px 50px 0; }
    .h-play { width: 66px; height: 66px; left: calc(50% - 45px); }
    .h-exp { left: 0; bottom: 10px; padding: 12px 16px; }
    .h-exp strong { font-size: 1.8rem; }
    .h-why, .h-appoint { padding: 48px 0; }
}

/* ---- About page ---- */
.ab-hero { position: relative; overflow: hidden; padding: 64px 0; color: #d3dfec; background: radial-gradient(700px 360px at 85% 0%, rgba(31,154,75,.35), transparent 70%), radial-gradient(600px 360px at 0% 100%, rgba(29,95,174,.4), transparent 70%), var(--navy); }
.ab-hero__inner { max-width: 860px; text-align: center; }
.ab-hero h1 { color: #fff; font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 16px; }
.ab-hero h1 em { font-style: italic; color: #8fe3b0; }
.ab-hero__lead { font-size: 1.08rem; max-width: 640px; margin: 0 auto 26px; }
.ab-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.ab-intro { padding: 56px 0; background: #fff; }
.ab-intro__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.ab-intro__text h2 { margin-bottom: 14px; }
.ab-intro__text p:last-child { color: var(--muted); font-size: 1.04rem; margin: 0; }
.ab-intro__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ab-stat { padding: 22px; border-radius: 20px; background: var(--grad-soft); border: 1px solid #d9ebe1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.ab-stat__icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.ab-stat strong { font-family: var(--font-head); font-size: 1.8rem; line-height: 1.1; color: var(--ink); }
.ab-stat small { color: var(--muted); font-weight: 600; }

.ab-leaders { background: linear-gradient(180deg, #f3faf6 0%, #eef4fc 100%); }
.ab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.ab-card { padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 44px -30px rgba(12,46,85,.45); scroll-margin-top: calc(var(--header-h) + 20px); }
.ab-card__head { display: flex; gap: 22px; align-items: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px dashed var(--line); }
.ab-card__photo { width: 150px; height: 150px; flex-shrink: 0; border-radius: 22px; overflow: hidden; background: var(--grad); border: 4px solid #fff; box-shadow: 0 0 0 2px #cfe8d8, 0 14px 26px -14px rgba(12,46,85,.5); }
.ab-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ab-card__id h3 { font-size: 1.6rem; margin: 0 0 4px; }
.ab-card__qual { margin: 0 0 8px; color: var(--green-600); font-weight: 700; }
.ab-card__role { display: inline-block; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-600); font-weight: 700; font-size: .8rem; }
.ab-card__hl { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--blue); font-weight: 700; font-size: .9rem; }
.ab-card__bio p { line-height: 1.75; margin: 0 0 12px; }
.ab-card__bio p:last-child { margin-bottom: 0; }
@media (max-width: 1080px) {
    .ab-intro__inner { grid-template-columns: 1fr; }
    .ab-grid { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
}
@media (max-width: 720px) {
    .ab-hero { padding: 44px 0; }
    .ab-hero__ctas .btn { flex: 1 1 auto; }
    .ab-intro { padding: 44px 0; }
    .ab-intro__stats { gap: 10px; }
    .ab-stat { padding: 14px; grid-template-columns: 1fr; text-align: center; justify-items: center; row-gap: 6px; }
    .ab-stat__icon { grid-row: auto; width: 44px; height: 44px; }
    .ab-stat strong { font-size: 1.45rem; }
    .ab-card { padding: 20px 18px; }
    .ab-card__head { flex-direction: column; text-align: center; gap: 14px; }
    .ab-card__photo { width: 130px; height: 130px; }
    .ab-card__hl { justify-content: center; }
}

/* ==========================================================
   INNER PAGES
   ========================================================== */
/* ---- Page hero banner ---- */
.pg-hero { position: relative; overflow: hidden; isolation: isolate; color: #d3dfec; background: var(--navy); padding: 84px 0; }
.pg-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pg-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,31,59,.95) 0%, rgba(8,31,59,.84) 42%, rgba(8,31,59,.45) 75%, rgba(8,31,59,.35) 100%); }
.pg-hero__inner { max-width: var(--container); }
.pg-hero__inner > * { max-width: 700px; }
.pg-hero h1 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.1rem); margin-bottom: 16px; }
.pg-hero__lead { font-size: 1.1rem; line-height: 1.7; margin: 0 0 26px; }
.pg-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Service page ---- */
.sv-overview { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.sv-overview__text p { font-size: 1.05rem; line-height: 1.8; }
.sv-media { position: relative; }
.sv-media__main { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-lg); background: var(--grad-soft); }
.sv-media__main img { width: 100%; height: 100%; object-fit: cover; }
.sv-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding: 0; list-style: none; }
.sv-trust li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--green-50); color: var(--green-600); font-weight: 700; font-size: .88rem; }
.sv-band { background: linear-gradient(180deg, #f3faf6 0%, #eef4fc 100%); }
.sv-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.sv-who li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -20px rgba(12,46,85,.45); font-weight: 600; color: var(--ink); line-height: 1.5; transition: transform .25s, border-color .25s; }
.sv-who li:hover { transform: translateY(-4px); border-color: #bfe5cd; }
.sv-who__icon { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--grad); color: #fff; }
.sv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: sv; }
.sv-step { position: relative; padding: 26px 24px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.sv-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sv-step::before { counter-increment: sv; content: counter(sv, decimal-leading-zero); position: absolute; right: 16px; top: 6px; font-family: var(--font-head); font-size: 3.6rem; font-weight: 700; line-height: 1; color: var(--green-50); }
.sv-step__num { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 14px; }
.sv-step h3 { position: relative; font-size: 1.12rem; margin-bottom: 6px; }
.sv-step p { position: relative; margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.sv-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sv-info--single { grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }
.sv-info__card { padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 34px -26px rgba(12,46,85,.45); }
.sv-info__card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 14px; }
.sv-info__card h3 .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--green-50); color: var(--green-600); flex-shrink: 0; }
.sv-info__card > div > *:last-child { margin-bottom: 0; }
.sv-faq { max-width: 880px; margin: 0 auto; }
.sv-book { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0; color: #e6f4ec; }
.sv-book__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sv-book::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21,122,57,.95) 0%, rgba(29,95,174,.9) 60%, rgba(29,95,174,.8) 100%); }
.sv-book__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sv-book h2 { color: #fff; }
.sv-book__list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.sv-book__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.sv-book__list .icon { color: #c9f5da; }
.sv-related .dp-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.sv-related .dp-card { flex: 0 1 calc(25% - 15px); height: 260px; }
@media (max-width: 1080px) {
    .sv-overview, .sv-book__inner { grid-template-columns: 1fr; }
    .sv-media { max-width: 560px; }
    .sv-who, .sv-steps { grid-template-columns: repeat(2, 1fr); }
    .sv-info { grid-template-columns: 1fr; }
    .sv-related .dp-card { flex-basis: calc(50% - 10px); }
}
@media (max-width: 720px) {
    .pg-hero { padding: 56px 0; }
    .pg-hero::after { background: linear-gradient(180deg, rgba(8,31,59,.82), rgba(8,31,59,.92)); }
    .pg-hero__ctas .btn { flex: 1 1 auto; }
    .sv-who, .sv-steps { grid-template-columns: 1fr; }
    .sv-related .dp-card { flex-basis: 100%; height: 230px; }
    .sv-info__card { padding: 22px 18px; }
    .sv-book { padding: 48px 0; }
}

/* ---- Testimonials page grid ---- */
.ts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ts-grid .ts-card { width: auto; }
.sidebar .form-grid { grid-template-columns: 1fr; }

/* ---- FAQs page ---- */
.faq-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 40px; max-width: 980px; }
.faq-jump a { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.faq-jump a:hover { background: var(--grad); border-color: transparent; color: #fff; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 20px); margin-bottom: 44px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group__title { text-align: center; font-size: 1.6rem; margin-bottom: 20px; }

/* ---- Contact page ---- */
.ct-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ct-card { position: relative; padding: 30px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 34px -26px rgba(12,46,85,.45); text-align: center; transition: transform .25s, box-shadow .25s; }
.ct-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ct-card__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(31,154,75,.55); }
.ct-card__icon .icon { width: 28px; height: 28px; }
.ct-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.ct-card p { margin: 0; line-height: 1.7; }
.ct-card a { font-weight: 700; }
.ct-main { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch; }
.ct-map { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 460px; border: 6px solid #fff; }
.ct-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.ct-soon { max-width: 720px; text-align: center; }
.ct-soon h2 { color: #fff; }
.ct-soon p { margin-bottom: 22px; }
@media (max-width: 1080px) {
    .ts-grid { grid-template-columns: repeat(2, 1fr); }
    .ct-cards { grid-template-columns: 1fr; }
    .ct-main { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .ts-grid { grid-template-columns: 1fr; }
    .ct-map, .ct-map iframe { min-height: 320px; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1480px) {
    .site-header__inner { gap: 16px; }
    .main-nav__list > li > a, .main-nav__toggle { padding: 10px 8px; font-size: .9rem; }
}
@media (max-width: 1320px) {
    .brand img { width: 180px; }
    .nav-hide-md { display: none; }
}
@media (max-width: 1200px) {
    .header-cta { display: none; }
}
@media (max-width: 1080px) {
    :root { --header-h: 72px; }
    .nav-burger { display: inline-flex; }
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    body.nav-open .site-header { z-index: 210; }
    .nav-burger { position: relative; z-index: 220; }
    .nav-burger .icon-close, .nav-burger[aria-expanded="true"] .icon-open { display: none; }
    .nav-burger[aria-expanded="true"] .icon-close { display: block; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 200; margin: 0;
        background: #fff; box-shadow: var(--shadow-lg); padding: 80px 18px 24px; overflow-y: auto;
        transform: translateX(105%); transition: transform .3s ease;
    }
    .main-nav.is-open { transform: none; }
    body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(8,20,38,.5); z-index: 150; }
    .main-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav__list > li > a, .main-nav__toggle { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1rem; }
    .drop, .mega { position: static; opacity: 1; visibility: visible; transform: none !important; box-shadow: none; border: 0; display: none; width: auto; padding: 0 0 8px 8px; }
    .has-mega:hover .mega, .has-drop:hover .drop { display: none; }
    .has-mega.is-open .mega, .has-drop.is-open .drop { display: block; }
    .mega { grid-template-columns: 1fr; }
    .mega__grid { grid-template-columns: 1fr; }
    .mega__item small { display: none; }
    .main-nav__mobile-cta { display: block; margin-top: 18px; }
    .nav-hide-md { display: block; }
    .header-cta { display: none; }
    .topbar__news { display: none; }
    .topbar__inner { justify-content: center; }

    .hero__inner, .split, .layout, .page-hero--image .page-hero__inner, .promo { grid-template-columns: 1fr; }
    .hero__media { max-width: 520px; margin: 0 auto; width: 100%; }
    .split--reverse > :first-child { order: 0; }
    .sidebar { position: static; }
    .cards, .post-grid, .testimonial-grid, .dept-grid, .help-grid { grid-template-columns: repeat(2, 1fr); }
    .cards--4 { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .doctors { grid-template-columns: 1fr; }
    .doctor-profile { grid-template-columns: 260px 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .slider__track { grid-auto-columns: calc((100% - 24px) / 2); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: 1fr; }
    .page-hero__media { max-width: 560px; }
}
@media (max-width: 720px) {
    body { font-size: 15.5px; padding-bottom: 64px; }
    .section { padding: 48px 0; }
    .section--tight { padding: 40px 0; }
    .container { padding: 0 16px; }
    .topbar__links li:first-child { display: none; }
    .hero { padding: 36px 0 80px; }
    .hero__ctas .btn { flex: 1 1 auto; }
    .float-card--a { left: 0; }
    .float-card--b { right: 0; }
    .float-card { padding: 10px 12px; }
    .float-card strong { font-size: 1.1rem; }
    .cards, .cards--4, .post-grid, .testimonial-grid, .dept-grid, .help-grid, .steps, .steps--content { grid-template-columns: 1fr; }
    .stat { padding: 20px 16px; flex-direction: column; text-align: center; gap: 10px; }
    .stat__num { font-size: 1.7rem; }
    .doctor { grid-template-columns: 1fr; }
    .doctor__photo { max-width: 260px; }
    .doctor-profile { grid-template-columns: 1fr; }
    .doctor-profile__photo { position: static; max-width: 320px; }
    .tick-list.cols-2, .who-box .tick-list, .feature-mini, .form-grid { grid-template-columns: 1fr; }
    .promo { padding: 34px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .slider__track { grid-auto-columns: 88%; }
    .media-stack { padding: 0 20px 30px 0; }
    .media-stack__badge { left: 10px; }
    .article-cover { margin-bottom: -40px; }
    .article-body { padding-top: 80px; }
    .search-form { min-width: 0; width: 100%; }
    .form-card { padding: 22px; }
    .float-actions { bottom: 80px; right: 14px; }
    .float-btn--call { display: none; }
    .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; box-shadow: 0 -6px 20px rgba(16,35,61,.12); }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; font-weight: 700; color: var(--navy); font-size: .95rem; }
    .mobile-bar__primary { background: var(--grad); color: #fff !important; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    /* The hero background slider (rule in pages/home.php) and the ticker keep moving by design. */
    .h-ticker__track { animation: ticker 60s linear infinite !important; }
    .ts__track { animation: tsMove 90s linear infinite !important; }
    .ts__row:hover .ts__track { animation-play-state: paused !important; }
}
@media print {
    .topbar, .site-header, .site-footer, .float-actions, .mobile-bar, .sidebar { display: none !important; }
}

/* ---- Treatment Plan (TCP) page ---- */
.tp-intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.tp-intro__media { position: relative; }
.tp-intro__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 60% center; border-radius: 32px; box-shadow: var(--shadow-lg); display: block; }
.tp-intro__media::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; border-radius: 32px; background: var(--grad-soft); z-index: -1; }
.tp-intro__badge { position: absolute; left: -18px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 20px; background: var(--grad); color: #fff; box-shadow: 0 18px 34px -14px rgba(29,95,174,.6); }
.tp-intro__badge strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.tp-intro__badge span { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.tp-intro__text h2 { margin-bottom: 16px; }
.tp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.tp-stats div { padding: 18px 16px; border-radius: 18px; background: var(--grad-soft); border: 1px solid var(--line); text-align: center; }
.tp-stats strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--green-600); margin-bottom: 4px; }
.tp-stats span { font-size: .86rem; color: var(--muted); line-height: 1.4; display: block; }

.tp-scen { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tp-scen__card { background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 40px -28px rgba(12,46,85,.45); transition: transform .25s, box-shadow .25s; }
.tp-scen__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tp-scen__img { position: relative; height: 240px; overflow: hidden; }
.tp-scen__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tp-scen__card:hover .tp-scen__img img { transform: scale(1.06); }
.tp-scen__num { position: absolute; left: 20px; top: 20px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--navy); font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.tp-scen__body { padding: 28px 30px 30px; }
.tp-scen__body h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin-bottom: 14px; }
.tp-scen__body h3 .icon { color: var(--green); }

.tp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.tp-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 52px; height: 3px; background: linear-gradient(90deg, var(--green), var(--blue)); opacity: .25; border-radius: 3px; }
.tp-step { position: relative; text-align: center; padding: 0 6px; }
.tp-step__num { position: absolute; top: 0; left: 50%; transform: translate(14px, -4px); width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; z-index: 2; box-shadow: 0 6px 14px -6px rgba(239,125,87,.8); }
.tp-step__icon { position: relative; z-index: 1; width: 104px; height: 104px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--green); box-shadow: 0 14px 30px -18px rgba(12,46,85,.5); transition: background .25s, color .25s; }
.tp-step__icon .icon { width: 36px; height: 36px; }
.tp-step:hover .tp-step__icon { background: var(--grad); color: #fff; border-color: transparent; }
.tp-step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tp-step p { font-size: .9rem; margin: 0; line-height: 1.55; }

.tp-cover { position: relative; background: var(--navy); color: #d3dfec; padding: 72px 0; overflow: hidden; }
.tp-cover::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(31,154,75,.35), transparent 70%); }
.tp-cover__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.tp-cover__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 85% center; border-radius: 28px; display: block; border: 6px solid rgba(255,255,255,.08); }
.tp-cover h2 { color: #fff; margin-bottom: 20px; }
.tp-cover__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.tp-cover__list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 500; }
.tp-cover__list .icon { color: #5fd38a; flex-shrink: 0; margin-top: 2px; }
.tp-cover__note { font-size: .9rem; color: #a9bdd3; margin: 0; }

.tp-ben { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tp-ben__card { padding: 30px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 34px -26px rgba(12,46,85,.45); transition: transform .25s, box-shadow .25s, border-color .25s; }
.tp-ben__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.tp-ben__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-soft); color: var(--green); margin-bottom: 16px; transition: background .25s, color .25s; }
.tp-ben__card:hover .tp-ben__icon { background: var(--grad); color: #fff; }
.tp-ben__card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tp-ben__card p { margin: 0; line-height: 1.65; }

@media (max-width: 1080px) {
    .tp-intro, .tp-cover__inner { grid-template-columns: 1fr; gap: 40px; }
    .tp-steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
    .tp-steps::before { display: none; }
    .tp-ben { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .tp-scen, .tp-ben { grid-template-columns: 1fr; }
    .tp-stats { grid-template-columns: 1fr; }
    .tp-steps { grid-template-columns: repeat(2, 1fr); }
    .tp-intro__badge { left: 12px; bottom: 12px; }
    .tp-intro__media::before { display: none; }
    .tp-cover { padding: 56px 0; }
}

/* ---- Header: menu centred between logo and button ---- */
@media (min-width: 1081px) {
    .main-nav { flex: 1; min-width: 0; display: flex; justify-content: center; margin-left: 0; }
    .site-header__actions { margin-left: 0; }
}
@media (min-width: 1481px) {
    .main-nav__list { gap: 4px; }
}
@media (min-width: 1680px) {
    .site-header .container { max-width: 1640px; }
}

/* ---- Footer (attractive version) ---- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, #0a2a4f 0%, #071a33 60%, #06162b 100%); color: #a9bbd0; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.site-footer::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(31,154,75,.22), transparent 70%); }
.footer-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 56px; padding-bottom: 8px; }
.footer-stats::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -220px; top: 40px; border-radius: 50%; background: radial-gradient(circle, rgba(29,95,174,.3), transparent 70%); }
.footer-stat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(4px); transition: transform .25s, background .25s, border-color .25s; }
.footer-stat:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); border-color: rgba(143,227,176,.35); }
.footer-stat__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(31,154,75,.7); }
.footer-stat__icon .icon { width: 24px; height: 24px; }
.footer-stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1.1; color: #fff; }
.footer-stat span { font-size: .88rem; color: #a9bbd0; }

.site-footer .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 44px; padding-top: 48px; padding-bottom: 48px; }
.footer-logo-link { display: inline-block; }
.site-footer .footer-logo { padding: 12px 16px; border-radius: 18px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); }
.footer-col--about p { line-height: 1.75; }
.footer-follow { margin: 22px 0 10px; color: #fff; font-weight: 700; font-size: .92rem; }
.site-footer .social a { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); transition: background .25s, transform .25s, border-color .25s; }
.site-footer .social a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }

.site-footer .footer-col h3 { position: relative; font-family: var(--font-head); font-size: 1.22rem; font-weight: 600; padding-bottom: 14px; margin-bottom: 20px; }
.site-footer .footer-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--grad); }
.footer-links { gap: 4px !important; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; color: #a9bbd0; transition: color .2s, transform .2s; }
.footer-links a .icon { width: 14px; height: 14px; color: #5fd38a; opacity: .7; transition: opacity .2s; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-links a:hover .icon { opacity: 1; }

.site-footer .footer-contact p { gap: 14px; margin-bottom: 16px; line-height: 1.6; }
.footer-contact__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(95,211,138,.12); border: 1px solid rgba(95,211,138,.25); }
.site-footer .footer-contact__icon .icon { margin: 0; width: 18px; height: 18px; color: #5fd38a; }
.footer-contact small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: #7f95ae; font-weight: 700; }
.footer-contact a { color: #fff; font-weight: 600; }

.site-footer .footer-bottom { background: rgba(0,0,0,.18); border-top: 1px solid rgba(255,255,255,.07); }
.site-footer .footer-bottom a:hover { color: #fff; }

@media (max-width: 1080px) {
    .footer-stats { grid-template-columns: repeat(2, 1fr); }
    .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .footer-stats { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 44px; }
    .footer-stat { flex-direction: column; text-align: center; padding: 16px 10px; }
    .footer-stat strong { font-size: 1.35rem; }
    .site-footer .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ---- Footer: compact ---- */
.site-footer .footer-grid { gap: 36px; padding-top: 44px; padding-bottom: 30px; }
.site-footer .footer-logo { width: 170px; margin-bottom: 12px; }
.footer-col--about p { margin-bottom: 14px; }
.site-footer .footer-col h3 { font-size: 1.1rem; padding-bottom: 10px; margin-bottom: 14px; }
.footer-links { gap: 2px !important; }
.footer-links a { padding: 2px 0; }
.site-footer .footer-contact p { margin-bottom: 10px; align-items: center; }
.footer-contact__icon { width: 34px; height: 34px; border-radius: 10px; }
.site-footer .footer-contact__icon .icon { width: 16px; height: 16px; }
.site-footer .social a { width: 38px; height: 38px; }
.site-footer .footer-bottom { padding: 12px 0 14px; }
.site-footer .footer-disclaimer { margin-top: 4px !important; }
.site-footer .footer-bottom__inner { justify-content: center; }
/* the generic `.footer-bottom p { margin: 0 }` rule cancels .container's auto margins; restore centring on wide screens */
.site-footer .footer-bottom p.container { margin-left: auto; margin-right: auto; }
.site-footer .footer-credit { margin-top: 10px !important; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); text-align: center; font-size: .8rem; color: #9fb1c7; }
.footer-credit a { color: #cfe0f2; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.site-footer .footer-disclaimer { text-align: center; }

/* ---- Header: polished menu ---- */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); opacity: 0; transition: opacity .3s; }
.site-header.is-scrolled::after { opacity: 1; }
@media (min-width: 1081px) {
    .main-nav { position: relative; }
    .main-nav::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 34px; transform: translateY(-50%); background: linear-gradient(180deg, transparent, var(--line), transparent); }
    .main-nav__list > li > a, .main-nav__toggle { position: relative; background: none !important; color: var(--ink); font-weight: 600; letter-spacing: .01em; transition: color .2s; }
    .main-nav__list > li > a::after, .main-nav__toggle::after {
        content: ""; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 3px; border-radius: 3px;
        background: var(--grad); transition: left .3s ease, right .3s ease;
    }
    .main-nav__list > li > a:hover, .main-nav__toggle:hover,
    .has-mega.is-open .main-nav__toggle, .has-drop.is-open .main-nav__toggle { color: var(--green-600); }
    .main-nav__list > li > a:hover::after, .main-nav__toggle:hover::after,
    .has-mega.is-open .main-nav__toggle::after, .has-drop.is-open .main-nav__toggle::after,
    .main-nav__list > li > a[aria-current]::after { left: 12px; right: 12px; }
    .main-nav__list > li > a[aria-current] { color: var(--green-600); }
    .main-nav__toggle .icon { color: var(--muted); }
    .main-nav__toggle:hover .icon, .is-open > .main-nav__toggle .icon { color: var(--green-600); }
}
.header-cta { position: relative; overflow: hidden; box-shadow: 0 12px 26px -12px rgba(29,95,174,.65); transition: transform .25s, box-shadow .25s; }
.header-cta::before { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: ctaShine 4s ease-in-out infinite; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(29,95,174,.7); }
@keyframes ctaShine { 0%, 60% { left: -75%; } 100% { left: 130%; } }

/* ---- Phone refinements ---- */
.h-appoint__inner > * { min-width: 0; }
.ct-cards > * { min-width: 0; }
.h-appoint__info a, .footer-contact a, .ct-card a { overflow-wrap: anywhere; }
@media (max-width: 720px) {
    .brand img { width: 150px; }
    /* 16px stops iOS Safari zooming the page when a field is focused */
    .field input, .field select, .field textarea, .search-form input { font-size: 16px; }
    .footer-links a { padding: 7px 0; }
    .topbar__links a { padding: 6px 0; }
}
@media (max-width: 380px) {
    .container { padding: 0 14px; }
    .brand img { width: 134px; }
    .h-slide__title { font-size: 1.85rem; }
    .dp__tabs .h-tab { font-size: .8rem; padding: 10px 6px; }
    .form-card { padding: 18px; }
    .mobile-bar a { font-size: .88rem; gap: 6px; }
}
