/* ==========================================================================
   Aram Health Care – main stylesheet
   Brand colours come from the logo: caring-hands green + figures blue.
   ========================================================================== */

:root {
	--green: #10a65c;
	--green-600: #0a7740;
	--green-50: #eaf8f1;
	--blue: #2272b4;
	--blue-700: #174f80;
	--blue-50: #ebf3fb;
	--teal: #1a8f8a;
	--navy: #0b2742;
	--ink: #17283a;
	--muted: #5a6b7d;
	--line: #e2eaf1;
	--white: #fff;
	--bg-soft: #f5faf8;
	--grad: linear-gradient(135deg, #10a65c 0%, #1a8f8a 50%, #2272b4 100%);
	--grad-soft: linear-gradient(135deg, #eaf8f1 0%, #ebf3fb 100%);
	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 4px 14px rgba(11, 39, 66, .06);
	--shadow-md: 0 14px 34px rgba(11, 39, 66, .10);
	--shadow-lg: 0 28px 60px rgba(11, 39, 66, .16);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--font: 'Plus Jakarta Sans', 'Noto Sans Tamil', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; overflow-x: clip; }
body {
	font-family: var(--font);
	color: var(--ink);
	background: var(--white);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-x: clip;
}
.lang-ta body { font-size: 15.5px; line-height: 1.85; }
h1, h2, h3, h4, h5 { font-family: var(--font); color: var(--navy); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.lang-ta h1, .lang-ta h2, .lang-ta h3 { letter-spacing: 0; line-height: 1.4; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.lang-ta h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
a { color: var(--blue); text-decoration: none; transition: color .25s; }
a:hover { color: var(--green-600); }
img { max-width: 100%; height: auto; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 3px solid rgba(16, 166, 92, .45); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.dev-warning { background: #b42318; color: #fff; font-size: 13px; text-align: center; padding: 6px 12px; }

.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--green-600); background: var(--green-50);
	padding: 6px 14px; border-radius: 50px; margin-bottom: 14px;
}
.lang-ta .eyebrow { letter-spacing: .02em; text-transform: none; font-size: .85rem; }
.eyebrow-light { color: #fff; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.lead { font-size: 1.12rem; color: var(--muted); }
.lead-sm { font-size: 1.05rem; }

.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-blue { background: linear-gradient(180deg, var(--blue-50), #fff); }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.section-head.d-md-flex { max-width: none; gap: 20px; }
.section-head p { color: var(--muted); margin: 12px 0 0; }
@media (max-width: 767px) { .section { padding: 70px 0; } .section-head { margin-bottom: 32px; } }

/* ---------- Buttons ---------- */
.btn-brand, .btn-outline-brand, .btn-light-brand, .btn-ghost-light, .btn-wa {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font-weight: 700; font-size: .95rem; border-radius: 50px; padding: 12px 24px;
	border: 2px solid transparent; cursor: pointer; position: relative; overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
	white-space: nowrap;
}
.btn-brand { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: 0 10px 24px rgba(16, 166, 92, .28); }
.btn-brand:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(34, 114, 180, .32); background-position: 100% 0; }
.btn-outline-brand { border-color: var(--green); color: var(--green-600); background: #fff; }
.btn-outline-brand:hover { background: var(--green); color: #fff; transform: translateY(-3px); }
.btn-light-brand { background: #fff; color: var(--blue-700); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn-light-brand:hover { color: var(--green-600); transform: translateY(-3px); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--blue-700); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; color: #fff; transform: translateY(-3px); }
.btn-lg-brand { padding: 15px 30px; font-size: 1rem; }
.btn-sm-brand { padding: 8px 16px; font-size: .85rem; }
.btn-link-brand { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.btn-link-brand i { transition: transform .3s var(--ease); }
.btn-link-brand:hover i { transform: translateX(5px); }
.btn-shine::after {
	content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
	background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .45), transparent);
	transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-shine:hover::after { left: 130%; }

/* ---------- Preloader ---------- */
#preloader {
	position: fixed; inset: 0; z-index: 9999; background: #fff;
	display: grid; place-items: center; transition: opacity .6s, visibility .6s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-inner img { animation: beat 1.2s infinite; }
.preloader-inner span { display: block; color: var(--muted); font-size: .85rem; font-weight: 600; margin-top: 6px; }
.preloader-ecg { width: 200px; height: 40px; display: block; margin: 6px auto 0; }
.preloader-ecg path, .cta-ecg path, .ecg-path {
	fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
	stroke-dasharray: 400; stroke-dashoffset: 400; animation: ecg 1.8s linear infinite;
}
@keyframes ecg { to { stroke-dashoffset: 0; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--grad); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .82rem; padding: 8px 0; }
.topbar-info { gap: 24px; }
.topbar-info i, .topbar-actions i { color: #5fd49a; margin-right: 4px; }
.topbar-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.topbar a { color: rgba(255, 255, 255, .9); display: inline-flex; align-items: center; }
.topbar a:hover { color: #fff; }

/* ---------- Header & nav ---------- */
.site-header {
	position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
	height: var(--header-h); display: flex; align-items: center;
	transition: height .35s var(--ease), box-shadow .35s;
	border-bottom: 1px solid rgba(226, 234, 241, .7);
}
.site-header.scrolled { --header-h: 70px; box-shadow: 0 8px 30px rgba(11, 39, 66, .08); }
.site-header > .container { gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand-text strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--green-600); letter-spacing: .02em; line-height: 1.1; }
.brand-text strong em { font-style: normal; color: var(--blue); }
.brand-text small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language dropdown */
.lang-dd { position: relative; }
.lang-dd-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: .88rem; padding: 9px 14px; border-radius: 50px; transition: border-color .25s, box-shadow .25s; }
.lang-dd-btn:hover, .lang-dd.open .lang-dd-btn { border-color: var(--green); box-shadow: 0 6px 16px rgba(16, 166, 92, .15); }
.lang-dd-btn .bi-translate { color: var(--green-600); font-size: 1.05rem; }
.lang-dd-caret { font-size: .7rem; transition: transform .3s var(--ease); }
.lang-dd.open .lang-dd-caret { transform: rotate(180deg); }
.lang-dd-menu { list-style: none; margin: 0; padding: 8px; position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); z-index: 1060; }
.lang-dd.open .lang-dd-menu { opacity: 1; visibility: visible; transform: none; }
.lang-dd-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.lang-dd-menu a b { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); font-size: .78rem; }
.lang-dd-menu a i { margin-left: auto; color: var(--green-600); visibility: hidden; }
.lang-dd-menu a.active { background: var(--green-50); color: var(--green-600); }
.lang-dd-menu a.active i { visibility: visible; }
.lang-dd-menu a:hover { background: var(--bg-soft); }
@media (max-width: 575px) { .lang-dd-btn { padding: 8px 11px; font-size: .8rem; gap: 6px; } .lang-dd-caret { display: none; } }

.navmenu ul { list-style: none; margin: 0; padding: 0; }
.navmenu > ul { display: flex; align-items: center; gap: 2px; }
.navmenu > ul > li { position: relative; }
.navmenu > ul > li > a {
	display: flex; align-items: center; gap: 4px; padding: 10px 13px; color: var(--ink);
	font-weight: 600; font-size: .93rem; border-radius: 10px; position: relative;
}
.lang-ta .navmenu > ul > li > a { font-size: .86rem; padding: 10px 9px; }
.navmenu > ul > li > a::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
	background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.navmenu > ul > li > a:hover::after, .navmenu > ul > li > a.active::after, .navmenu > ul > li.active > a::after { transform: scaleX(1); }
.navmenu > ul > li > a:hover, .navmenu a.active, .navmenu li.active > a { color: var(--green-600); }
.toggle-dropdown { font-size: .7rem; transition: transform .3s; }
.dropdown-panel {
	position: absolute; top: calc(100% + 12px); left: 0; min-width: 250px; background: #fff;
	border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.dropdown-panel::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown-panel a {
	display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
	color: var(--ink); font-weight: 600; font-size: .9rem; transition: background .25s, color .25s, padding .25s;
}
.dropdown-panel a i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--green-50); color: var(--green-600); transition: all .25s; }
.dropdown-panel a:hover, .dropdown-panel a.active { background: var(--bg-soft); color: var(--green-600); padding-left: 16px; }
.dropdown-panel a:hover i { background: var(--grad); color: #fff; }
@media (min-width: 1400px) {
	.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
	.dropdown:hover .toggle-dropdown { transform: rotate(180deg); }
}

.mobile-nav-toggle { width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--green-50); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.mobile-nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(11, 39, 66, .45); z-index: 1040; opacity: 0; visibility: hidden; transition: all .35s; }

@media (max-width: 1399px) {
	.navmenu {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 1050;
		transform: translateX(105%); transition: transform .45s var(--ease); display: flex; flex-direction: column;
		box-shadow: var(--shadow-lg); overflow-y: auto;
	}
	.navmenu-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
	.nav-close { border: 0; background: var(--bg-soft); width: 42px; height: 42px; border-radius: 12px; font-size: 1.1rem; }
	.navmenu > ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 0; }
	.navmenu > ul > li > a { justify-content: space-between; padding: 13px 14px; font-size: 1rem; }
	.lang-ta .navmenu > ul > li > a { font-size: .95rem; padding: 13px 14px; }
	.navmenu > ul > li > a::after { display: none; }
	.dropdown-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 8px; min-width: 0; display: none; }
	.dropdown.open .dropdown-panel { display: block; animation: fadeDown .35s var(--ease); }
	.dropdown.open .toggle-dropdown { transform: rotate(180deg); }
	.navmenu-foot { padding: 16px 20px 28px; display: grid; gap: 10px; margin-top: auto; }
	body.nav-open { overflow: hidden; }
	body.nav-open .navmenu { transform: none; }
	body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
	body.nav-open .mobile-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	body.nav-open .mobile-nav-toggle span:nth-child(2) { opacity: 0; }
	body.nav-open .mobile-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 575px) {
	.brand-text strong { font-size: .98rem; }
	.site-header > .container { gap: 8px; }
	.header-actions { gap: 8px; }
	.mobile-nav-toggle { width: 42px; height: 42px; }
}
@media (max-width: 420px) {
	.brand-text small { display: none; }
	.brand-text strong { font-size: .9rem; }
	.brand-text strong em { display: block; }
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: 70px 0 110px; overflow: hidden; background: linear-gradient(160deg, #f3fbf7 0%, #fff 45%, #eef5fc 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 42% 58% 63% 37% / 42% 45% 55% 58%; filter: blur(2px); opacity: .55; animation: morph 14s ease-in-out infinite alternate; }
.blob-1 { width: 420px; height: 420px; background: radial-gradient(circle at 30% 30%, #c9f0db, transparent 70%); top: -120px; left: -120px; }
.blob-2 { width: 520px; height: 520px; background: radial-gradient(circle at 60% 40%, #cfe3f6, transparent 70%); bottom: -220px; right: -160px; animation-duration: 18s; }
.blob-3 { width: 240px; height: 240px; background: radial-gradient(circle, #d9f3e6, transparent 70%); top: 40%; left: 45%; animation-duration: 11s; }
@keyframes morph {
	0% { border-radius: 42% 58% 63% 37% / 42% 45% 55% 58%; transform: translate(0, 0) rotate(0); }
	100% { border-radius: 63% 37% 41% 59% / 55% 62% 38% 45%; transform: translate(30px, -20px) rotate(25deg); }
}
.float-plus { position: absolute; color: var(--green); opacity: .25; font-size: 1.6rem; animation: floatY 6s ease-in-out infinite; }
.float-plus.p1 { top: 14%; left: 6%; }
.float-plus.p2 { top: 70%; left: 42%; color: var(--blue); animation-delay: -2s; }
.float-plus.p3 { top: 18%; right: 8%; font-size: 1.2rem; color: #e25b7a; animation-delay: -4s; }
.float-plus.p4 { bottom: 12%; left: 12%; font-size: 1rem; color: var(--blue); animation-delay: -1s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); margin-bottom: 20px; }
.lang-ta .hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.rotator { display: inline-block; position: relative; color: var(--green-600); min-height: 1.2em; }
.rotator-word { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator-word.out { animation: wordOut .45s var(--ease) forwards; }
.rotator-word.in { animation: wordIn .55s var(--ease) forwards; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 10px; background: rgba(16, 166, 92, .15); border-radius: 6px; z-index: -1; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-40%) rotateX(60deg); filter: blur(4px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(40%) rotateX(-60deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.hero-trust i { color: var(--green); }

.hero-visual { position: relative; max-width: 560px; margin: 0 auto; aspect-ratio: 1 / 1; }
.hero-ring { position: absolute; inset: -4%; border-radius: 50%; border: 2px dashed rgba(34, 114, 180, .25); animation: spin 40s linear infinite; }
.hero-ring::before, .hero-ring::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--green); top: 10%; left: 14%; box-shadow: 0 0 0 6px rgba(16, 166, 92, .2); }
.hero-ring::after { background: var(--blue); top: auto; left: auto; bottom: 12%; right: 10%; box-shadow: 0 0 0 6px rgba(34, 114, 180, .2); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-img-main { position: absolute; inset: 6%; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; animation: morphSoft 12s ease-in-out infinite alternate; }
@keyframes morphSoft { to { border-radius: 54% 46% 44% 56% / 46% 54% 46% 54%; } }
.hero-swiper, .hero-swiper .swiper-slide { width: 100%; height: 100%; }
.hero-swiper img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 7s linear; }
.hero-swiper .swiper-slide-active img { transform: scale(1); }
.hero-float {
	position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .95);
	padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow-md); backdrop-filter: blur(8px);
	animation: floatY 5s ease-in-out infinite; z-index: 2;
}
.hero-float strong { display: block; font-size: .9rem; color: var(--navy); }
.hero-float small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.hf-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; color: #fff; }
.hf-icon.green { background: var(--green); }
.hf-icon.blue { background: var(--blue); }
.hf-1 { top: 10%; left: -6%; }
.hf-2 { bottom: 16%; right: -6%; animation-delay: -2.5s; }
.hf-3 { bottom: 2%; left: 4%; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -1.2s; }
.hf-3 svg { width: 120px; height: 34px; }
@media (max-width: 991px) { .hf-1 { left: 0; } .hf-2 { right: 0; } }
@media (max-width: 575px) { .hero { padding: 40px 0 70px; } .hero-float { padding: 8px 12px; } .hf-icon { width: 36px; height: 36px; font-size: 1rem; } .hf-3 { display: none; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--grad); color: #fff; overflow: hidden; padding: 16px 0; margin: 0; position: relative; z-index: 3; box-shadow: var(--shadow-md); }
.ticker-track { display: flex; gap: 46px; width: max-content; animation: ticker 50s linear infinite; }
.ticker span { font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; }
.ticker span i { font-size: 1.15rem; opacity: .85; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Philosophy ---------- */
.philo-visual { position: relative; padding: 0 0 70px 0; }
.philo-img-1 { width: 85%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; object-fit: cover; }
.philo-img-2 { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; object-fit: cover; }
.philo-word { position: absolute; left: -10px; bottom: 0; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; line-height: 1; font-family: 'Noto Sans Tamil', sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.kural { margin: 22px 0; padding: 18px 22px; border-left: 4px solid var(--green); background: var(--grad-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.kural p { font-size: 1.12rem; font-weight: 700; color: var(--navy); margin: 0 0 6px; line-height: 1.7; }
.kural cite { font-style: normal; font-size: .88rem; color: var(--muted); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 12px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease); }
.stat:hover { transform: translateY(-5px); }
.stat span, .stat b { font-size: 2rem; font-weight: 800; color: var(--green-600); line-height: 1; }
.stat b { color: var(--blue); }
.stat small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; margin-top: 6px; line-height: 1.35; }
@media (max-width: 575px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.service-card {
	display: block; height: 100%; background: #fff; border-radius: var(--radius-lg); padding: 32px 28px;
	border: 1px solid var(--line); color: var(--ink); position: relative; overflow: hidden;
	transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
	transform-style: preserve-3d;
}
.service-card::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .45s var(--ease); z-index: 0; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { color: #fff; box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card:hover h3, .service-card:hover p, .service-card:hover .service-more { color: #fff; }
.service-icon { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; font-size: 1.8rem; color: var(--green-600); background: var(--green-50); margin-bottom: 20px; transition: all .45s var(--ease); }
.service-card:hover .service-icon { background: rgba(255, 255, 255, .2); color: #fff; transform: rotate(-8deg) scale(1.08); }
.service-card h3 { margin-bottom: 10px; transition: color .3s; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; transition: color .3s; }
.service-more { font-weight: 700; font-size: .9rem; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }
.service-more i { transition: transform .3s var(--ease); }
.service-card:hover .service-more i { transform: translateX(6px); }

.info-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.info-card .icon-tile { margin-bottom: 18px; }
.info-card p { color: var(--muted); margin: 8px 0 0; font-size: .95rem; }
.icon-tile { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--grad); box-shadow: 0 10px 20px rgba(16, 166, 92, .25); }
.icon-tile.alt { background: linear-gradient(135deg, var(--blue), #4ea0dc); box-shadow: 0 10px 20px rgba(34, 114, 180, .25); }

.why-card { position: relative; height: 100%; padding: 34px 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.why-num { position: absolute; top: 12px; right: 22px; font-size: 3.6rem; font-weight: 800; color: var(--blue-50); line-height: 1; transition: color .4s; }
.why-card:hover .why-num { color: var(--green-50); }
.why-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: var(--grad-soft); color: var(--green-600); margin-bottom: 18px; position: relative; }
.why-icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed rgba(16, 166, 92, .35); animation: spin 14s linear infinite; }
.why-card p { color: var(--muted); margin: 8px 0 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: "\F26E"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; font-size: .9rem; line-height: 1; }
.check-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 575px) { .check-list.cols-2 { grid-template-columns: 1fr; } }
.check-light li { color: #fff; }
.check-light li::before { background: rgba(255, 255, 255, .2); color: #fff; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip-list li { background: #fff; border: 1px solid var(--line); border-radius: 50px; padding: 8px 16px; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; transition: all .3s; }
.chip-list li i { color: var(--green); }
.chip-list li:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- OPD widget ---------- */
.opd-widget { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 26px; border: 1px solid var(--line); }
.opd-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.opd-head h3 { margin: 0; font-size: 1.15rem; }
.opd-clock { margin: 0; font-size: .85rem; color: var(--muted); font-weight: 600; }
.live-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.opd-list { list-style: none; padding: 0; margin: 0 0 18px; }
.opd-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.opd-list img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--green-50); }
.opd-info { flex: 1; min-width: 0; }
.opd-info strong { display: block; font-size: .93rem; color: var(--navy); }
.opd-info small { color: var(--muted); font-size: .78rem; }
.opd-badge, .doctor-status b { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 50px; white-space: nowrap; background: var(--bg-soft); color: var(--muted); }
.opd-badge.is-open, .doctor-status.is-open b { background: var(--green-50); color: var(--green-600); }
.opd-badge.is-later { background: var(--blue-50); color: var(--blue-700); }
.opd-badge.is-closed { background: #fdf0f0; color: #b54747; }

/* ---------- Posters ---------- */
.poster-swiper { padding: 10px 0 46px; }
.poster-swiper .swiper-slide { width: 290px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.poster-swiper img { width: 100%; display: block; }
.swiper-pagination-bullet-active { background: var(--green) !important; }

/* ---------- Doctors ---------- */
.doctor-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .45s var(--ease), transform .45s var(--ease); transform-style: preserve-3d; }
.doctor-card:hover { box-shadow: var(--shadow-lg); }
.doctor-photo { position: relative; aspect-ratio: 4 / 4.3; overflow: hidden; background: var(--grad-soft); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.doctor-card:hover .doctor-photo img { transform: scale(1.07); }
.doctor-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(11, 39, 66, .35)); }
.doctor-status { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; }
.doctor-status i { display: none; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16, 166, 92, .25); animation: beat 1.4s infinite; }
.doctor-status.is-open i { display: inline-block; }
.doctor-status b { background: rgba(255, 255, 255, .95); }
.doctor-status b:empty { display: none; }
.doctor-exp { position: absolute; right: 14px; bottom: 14px; z-index: 2; background: var(--grad); color: #fff; padding: 6px 12px; border-radius: 12px; font-size: .75rem; font-weight: 600; }
.doctor-exp strong { font-size: 1rem; }
.doctor-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.doctor-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.doctor-role { color: var(--green-600); font-weight: 700; font-size: .88rem; margin-bottom: 12px; }
.doctor-quals { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.doctor-quals span { font-size: .72rem; font-weight: 700; background: var(--blue-50); color: var(--blue-700); padding: 4px 9px; border-radius: 8px; }
.doctor-quals .more { background: var(--green-50); color: var(--green-600); }
.doctor-time { font-size: .83rem; color: var(--muted); font-weight: 600; display: flex; gap: 8px; margin-bottom: 16px; }
.doctor-time i { color: var(--green); }
.doctor-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.doctor-modal .modal-content { border: 0; border-radius: var(--radius-lg); overflow: hidden; }
.doctor-modal .btn-close { position: absolute; top: 14px; right: 14px; z-index: 5; background-color: #fff; border-radius: 50%; padding: 10px; opacity: 1; box-shadow: var(--shadow-sm); }
.doctor-modal-photo { background: var(--grad-soft); }
.doctor-modal-photo img { display: block; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: top; }
/* The content sits in a .row, so Bootstrap's scrollable-body styles don't apply: scroll the panel ourselves. */
.doctor-modal .modal-content { max-height: calc(100dvh - 2rem); }
.doctor-modal .modal-content > .row { min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (min-width: 768px) {
	.doctor-modal .modal-content > .row { overflow: hidden; flex-wrap: nowrap; }
	.doctor-modal-photo { padding: 28px; display: flex; align-items: flex-start; }
	.doctor-modal-photo img { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: var(--shadow-md); }
	.doctor-modal .modal-content > .row > .col-md-7 { max-height: calc(100dvh - 3.5rem); overflow-y: auto; overscroll-behavior: contain; }
}
/* html has overflow-x: clip, so body overflow alone no longer locks page scroll behind overlays. */
html:has(body.modal-open), html:has(body.nav-open) { overflow: hidden; }
.doctor-modal .modal-body { padding: 34px; }
.doctor-modal h4 { font-size: 1rem; margin: 20px 0 10px; }

.doctor-profile { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; border: 1px solid var(--line); }
.doctor-profile + .doctor-profile { margin-top: 40px; }
.doctor-profile-photo { position: relative; height: 100%; min-height: 360px; background: var(--grad-soft); }
.doctor-profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doctor-profile-body { padding: 40px; }
@media (max-width: 767px) { .doctor-profile-body { padding: 26px; } }

/* ---------- Journey ---------- */
.journey-section { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.journey-line { position: absolute; top: 38px; left: 8%; right: 8%; height: 4px; background: var(--line); border-radius: 4px; }
.journey-line span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; transition: width 2.2s var(--ease); }
.journey.in-view .journey-line span { width: 100%; }
.journey-step { text-align: center; position: relative; opacity: .35; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * .3s); }
.journey.in-view .journey-step { opacity: 1; transform: none; }
.journey-icon { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; background: #fff; border: 4px solid var(--green-50); display: grid; place-items: center; font-size: 1.8rem; color: var(--green-600); position: relative; box-shadow: var(--shadow-sm); transition: all .4s var(--ease); }
.journey-step:hover .journey-icon { background: var(--grad); color: #fff; transform: scale(1.08); }
.journey-icon b { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .8rem; display: grid; place-items: center; }
.journey-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.journey-step p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (max-width: 991px) {
	.journey { grid-template-columns: 1fr; gap: 0; padding-left: 10px; }
	.journey-line { top: 0; bottom: 0; left: 49px; right: auto; width: 4px; height: auto; }
	.journey-line span { width: 100% !important; height: 0; transition: height 2.2s var(--ease); }
	.journey.in-view .journey-line span { height: 100%; }
	.journey-step { display: grid; grid-template-columns: 80px 1fr; column-gap: 20px; text-align: left; padding-bottom: 26px; }
	.journey-icon { grid-row: span 2; margin: 0; }
	.journey-step h3 { align-self: end; margin: 0; }
}

/* ---------- Camp ---------- */
.camp-card { background: linear-gradient(135deg, var(--blue-700), var(--blue) 45%, var(--teal)); border-radius: var(--radius-lg); overflow: hidden; color: #fff; box-shadow: var(--shadow-lg); position: relative; }
.camp-card::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.camp-poster { background: rgba(255, 255, 255, .08); padding: 24px; display: flex; align-items: center; justify-content: center; }
.camp-poster img { border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 460px; transform: rotate(-3deg); transition: transform .5s var(--ease); }
.camp-poster a:hover img { transform: rotate(0) scale(1.03); }
.camp-body { padding: 44px; position: relative; }
.camp-body h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.camp-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0; font-weight: 600; }
.camp-meta i { color: #8ff0bf; margin-right: 6px; }
@media (max-width: 575px) { .camp-body { padding: 28px 22px; } }
.countdown { display: flex; gap: 12px; margin: 10px 0 24px; flex-wrap: wrap; }
.countdown .cd-box { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; padding: 10px 14px; min-width: 76px; text-align: center; backdrop-filter: blur(6px); }
.countdown .cd-box strong { display: block; font-size: 1.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown .cd-box small { font-size: .72rem; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.countdown .cd-msg { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .16); padding: 10px 18px; border-radius: 50px; font-weight: 700; }
.countdown.light .cd-box { background: var(--grad-soft); border-color: var(--line); color: var(--navy); }
.countdown.light .cd-msg { background: var(--green-50); color: var(--green-600); }

/* ---------- Mosaic & gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.mosaic-item { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.mosaic-item.m0 { grid-column: span 2; grid-row: span 2; }
.mosaic-item.m3 { grid-row: span 2; }
.mosaic-item img, .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic-item span, .gallery-item span { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; font-weight: 700; font-size: .88rem; opacity: 0; transform: translateY(10px); transition: all .4s var(--ease); z-index: 2; }
.mosaic-item::after, .gallery-item::after { content: "\F52A"; font-family: 'bootstrap-icons'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.8rem; background: linear-gradient(180deg, rgba(16, 166, 92, .25), rgba(11, 39, 66, .7)); opacity: 0; transition: opacity .4s; }
.mosaic-item:hover img, .gallery-item:hover img { transform: scale(1.1); }
.mosaic-item:hover::after, .gallery-item:hover::after, .mosaic-item:hover span, .gallery-item:hover span { opacity: 1; transform: none; }
@media (max-width: 767px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .mosaic-item.m3 { grid-row: span 1; } }

.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter-tabs button { border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; padding: 9px 20px; border-radius: 50px; transition: all .3s var(--ease); }
.filter-tabs button:hover { border-color: var(--green); color: var(--green-600); }
.filter-tabs button.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(16, 166, 92, .25); }
.gallery-grid { columns: 3 280px; column-gap: 16px; }
.gallery-item { position: relative; display: block; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; break-inside: avoid; transition: opacity .4s, transform .4s var(--ease); }
.gallery-item img { display: block; height: auto; }
.filter-item.is-hidden { display: none; }
.filter-item.is-showing { animation: popIn .5s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Review & map ---------- */
.review-card { height: 100%; background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; }
.review-card::after { content: "\201C"; position: absolute; right: 20px; bottom: -70px; font-size: 16rem; line-height: 1; opacity: .12; font-family: Georgia, serif; }
.review-card h2 { color: #fff; font-size: 1.7rem; }
.review-stars { color: #ffd257; font-size: 1.2rem; display: flex; gap: 4px; margin-bottom: 14px; }
.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); height: 100%; min-height: 360px; }
.map-card iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: saturate(1.1); }
.map-card-info { position: absolute; left: 16px; right: 16px; bottom: 16px; background: #fff; border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-md); }
.map-card-info > i { font-size: 1.5rem; color: var(--green); }
.map-card-info div { flex: 1; min-width: 0; }
.map-card-info strong { display: block; color: var(--navy); }
.map-card-info span { font-size: .82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 90px; position: relative; z-index: 2; margin-bottom: -60px; }
.cta-band-inner { background: var(--grad); border-radius: var(--radius-lg); padding: 44px 50px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-ecg { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 60px; transform: translateY(-50%); opacity: .18; }
.cta-ecg path { stroke: #fff; stroke-width: 3; animation-duration: 3s; stroke-dasharray: 800; stroke-dashoffset: 800; }
.cta-band-text, .cta-band-actions { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 991px) { .cta-band-inner { flex-direction: column; text-align: center; padding: 36px 26px; } .cta-band-actions { justify-content: center; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 130px 0 0; position: relative; font-size: .93rem; }
.footer-wave { position: absolute; top: -1px; left: 0; right: 0; height: 60px; overflow: hidden; }
.footer-wave svg { width: 100%; height: 100%; transform: rotate(180deg); }
.footer-wave path { fill: #fff; }
.site-footer .footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer .footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--grad); }
.footer-logo { display: inline-block; background: #fff; border-radius: 18px; padding: 10px 14px; margin-bottom: 16px; }
.footer-tagline { color: #8ff0bf; font-weight: 700; margin-bottom: 8px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .72); transition: color .25s, padding .25s; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: #5fd49a; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-hours { display: grid; gap: 8px; }
.footer-hours div { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 10px 14px; }
.footer-hours strong { display: block; color: #fff; font-size: .85rem; }
.footer-hours span { font-size: .8rem; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: all .3s var(--ease); }
.footer-social a:hover { background: var(--grad); transform: translateY(-4px); color: #fff; }
.footer-disclaimer { margin: 50px 0 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .6); }
.footer-disclaimer i { color: #5fd49a; }
.footer-disclaimer a { color: #8ff0bf; }
.footer-bottom { background: rgba(0, 0, 0, .2); padding: 18px 0; font-size: .85rem; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-legal a { color: rgba(255, 255, 255, .72); }
.footer-legal a:hover { color: #fff; }
@media (max-width: 575px) { .site-footer { padding-bottom: 70px; } }

/* ---------- Floating actions ---------- */
.float-wa { position: fixed; right: 22px; bottom: 92px; z-index: 990; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 26px rgba(37, 211, 102, .45); transition: transform .3s var(--ease); }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite; }
.float-wa:hover { color: #fff; transform: scale(1.08); }
.float-wa-tip { position: absolute; right: 70px; background: #fff; color: var(--navy); font-size: .82rem; font-weight: 700; padding: 7px 14px; border-radius: 10px; white-space: nowrap; box-shadow: var(--shadow-md); opacity: 0; transform: translateX(10px); transition: all .3s var(--ease); pointer-events: none; }
.float-wa:hover .float-wa-tip { opacity: 1; transform: none; }
.back-to-top { position: fixed; right: 26px; bottom: 26px; z-index: 990; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--green-600); box-shadow: var(--shadow-md); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.back-to-top circle { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 132; stroke-dashoffset: 132; stroke-linecap: round; }
.back-to-top i { font-size: 1.2rem; }
.mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 995; background: #fff; display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 0 -6px 24px rgba(11, 39, 66, .12); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
.mobile-actions a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .72rem; font-weight: 700; color: var(--navy); padding: 6px 0; border-radius: 12px; }
.mobile-actions a i { font-size: 1.2rem; color: var(--green-600); }
.mobile-actions a.primary { background: var(--grad); color: #fff; }
.mobile-actions a.primary i { color: #fff; }
@media (max-width: 575px) { .float-wa { bottom: 84px; right: 16px; width: 52px; height: 52px; } .back-to-top { bottom: 146px; right: 20px; width: 44px; height: 44px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 90px 0 120px; color: #fff; overflow: hidden; background: var(--navy); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; transform: scale(1.1); animation: kenburns 20s ease-in-out infinite alternate; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(11, 39, 66, .96) 15%, rgba(23, 79, 128, .85) 55%, rgba(16, 166, 92, .7)); z-index: 1; }
@keyframes kenburns { to { transform: scale(1.22) translate(-2%, -2%); } }
.page-hero .container { z-index: 2; }
.page-hero-blobs span { position: absolute; z-index: 1; border-radius: 50%; background: rgba(255, 255, 255, .07); animation: floatY 8s ease-in-out infinite; }
.page-hero-blobs span:first-child { width: 320px; height: 320px; right: -80px; top: -100px; }
.page-hero-blobs span:last-child { width: 160px; height: 160px; right: 22%; bottom: -40px; animation-delay: -3s; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 860px; margin-bottom: 14px; }
.lang-ta .page-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.page-hero .lead { color: rgba(255, 255, 255, .85); max-width: 720px; margin: 0; }
.page-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; z-index: 2; }
.page-hero-wave path { fill: #fff; }
.crumbs { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; font-weight: 600; }
.crumbs li + li::before { content: "\F285"; font-family: 'bootstrap-icons'; font-size: .7rem; margin-right: 6px; opacity: .6; }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #8ff0bf; }

/* ---------- Inner page blocks ---------- */
.split-img { position: relative; }
.split-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-img .split-badge { position: absolute; left: -16px; bottom: 26px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-md); padding: 14px 18px; display: flex; gap: 12px; align-items: center; animation: floatY 5s ease-in-out infinite; }
.split-img .split-badge strong { display: block; color: var(--navy); }
.split-img .split-badge small { color: var(--muted); font-weight: 600; }
.split-img::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border-radius: var(--radius-lg); background: var(--grad-soft); z-index: -1; }
@media (max-width: 575px) { .split-img .split-badge { left: 10px; } }

.mv-card { height: 100%; border-radius: var(--radius-lg); padding: 40px; color: #fff; position: relative; overflow: hidden; }
.mv-card.vision { background: linear-gradient(135deg, var(--green-600), var(--teal)); }
.mv-card.mission { background: linear-gradient(135deg, var(--blue-700), var(--blue)); }
.mv-card h3 { color: #fff; font-size: 1.5rem; }
.mv-card > i { position: absolute; right: -10px; bottom: -30px; font-size: 9rem; opacity: .12; }
.mv-card p { font-size: 1.05rem; margin: 0; opacity: .95; }

.value-card { text-align: center; padding: 30px 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); height: 100%; transition: all .45s var(--ease); }
.value-card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--shadow-md); border-color: transparent; }
.value-card .icon-tile { margin: 0 auto 16px; }
.value-card p { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }

.notice { border-radius: var(--radius); padding: 18px 22px; background: var(--blue-50); border-left: 4px solid var(--blue); color: var(--navy); display: flex; gap: 14px; }
.notice i { color: var(--blue); font-size: 1.3rem; }
.notice.green { background: var(--green-50); border-color: var(--green); }
.notice.green i { color: var(--green-600); }

.big-quote { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: var(--navy); line-height: 1.35; }

.service-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; height: 100%; display: flex; gap: 18px; transition: all .4s var(--ease); scroll-margin-top: 120px; }
.service-detail:hover, .service-detail:target { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: var(--green); }
.service-detail .icon-tile { flex: none; }
.service-detail h3 { font-size: 1.1rem; margin-bottom: 6px; }
.service-detail p { color: var(--muted); font-size: .93rem; margin: 0; }

.process { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.process-step { position: relative; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.process-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 2.4rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; display: block; margin-bottom: 10px; }
.process-step p { color: var(--muted); margin: 6px 0 0; font-size: .92rem; }

.feature-panel { background: var(--grad-soft); border-radius: var(--radius-lg); padding: 40px; }

/* ---------- Health tools ---------- */
.tool-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 34px; height: 100%; border: 1px solid var(--line); }
.tool-card h3 { display: flex; align-items: center; gap: 12px; }
.tool-card label { font-weight: 700; font-size: .88rem; color: var(--navy); margin-bottom: 6px; display: block; }
.tool-card input[type=number], .tool-card select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font: inherit; transition: border-color .25s, box-shadow .25s; background: #fff; }
.tool-card input:focus, .tool-card select:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(16, 166, 92, .12); }
.gauge { position: relative; width: 220px; margin: 20px auto 6px; }
.gauge svg { width: 100%; display: block; }
.gauge .g-track { fill: none; stroke: var(--line); stroke-width: 16; stroke-linecap: round; }
.gauge .g-fill { fill: none; stroke: url(#gaugeGrad); stroke-width: 16; stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: 283; transition: stroke-dashoffset 1.2s var(--ease); }
.gauge-value { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; }
.gauge-value strong { display: block; font-size: 2.2rem; color: var(--navy); line-height: 1; }
.gauge-value small { font-weight: 700; color: var(--muted); }
.tool-result { text-align: center; font-weight: 700; padding: 12px; border-radius: 12px; margin-top: 12px; background: var(--bg-soft); transition: background .3s, color .3s; }
.tool-result.ok { background: var(--green-50); color: var(--green-600); }
.tool-result.warn { background: #fff6e5; color: #a86500; }
.tool-result.high { background: #fdf0f0; color: #b54747; }
.tool-result.info { background: var(--blue-50); color: var(--blue-700); }
.tool-note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.faq-search { position: relative; max-width: 560px; margin: 0 auto 36px; }
.faq-search input { width: 100%; border: 1.5px solid var(--line); border-radius: 50px; padding: 15px 22px 15px 52px; font: inherit; box-shadow: var(--shadow-sm); }
.faq-search input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(16, 166, 92, .12); }
.faq-search i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--green); }
.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--green); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\F4FE"; font-family: 'bootstrap-icons'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
.faq-item[open] summary::after { content: "\F2EA"; background: var(--grad); color: #fff; transform: translateY(-50%) rotate(180deg); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--muted); animation: fadeDown .35s var(--ease); }
.faq-empty { text-align: center; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); height: 100%; color: var(--ink); transition: all .35s var(--ease); }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green); color: var(--ink); }
.contact-card strong { display: block; color: var(--navy); }
.contact-card div > span { color: var(--muted); font-size: .9rem; word-break: break-word; display: block; }
.contact-card .icon-tile { color: #fff; flex: none; }
.form-shell { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; border: 1px solid var(--line); position: relative; }
@media (max-width: 575px) { .form-shell { padding: 26px 20px; } }

.directions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: dir; }
.dir-step { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.dir-step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.dir-step:hover img { transform: scale(1.08); }
.dir-step p { padding: 14px 16px 16px; margin: 0; font-size: .88rem; font-weight: 600; color: var(--navy); }
.dir-step::before { counter-increment: dir; content: counter(dir); position: absolute; top: 10px; left: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
@media (max-width: 991px) { .directions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .directions { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.float-field { position: relative; }
.float-field input, .float-field select, .float-field textarea {
	width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 24px 44px 8px 16px; font: inherit; font-size: .95rem;
	background: #fff; color: var(--ink); transition: border-color .25s, box-shadow .25s; appearance: none;
}
.float-field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%235a6b7d' d='M1.6 4.6a.75.75 0 0 1 1.06 0L8 9.94l5.34-5.34a.75.75 0 1 1 1.06 1.06l-5.87 5.87a.75.75 0 0 1-1.06 0L1.6 5.66a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E") no-repeat right 16px center; }
.float-field textarea { resize: vertical; min-height: 110px; }
.float-field label { position: absolute; left: 17px; top: 16px; color: var(--muted); font-size: .95rem; pointer-events: none; transition: all .2s var(--ease); }
.float-field input:focus, .float-field select:focus, .float-field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(16, 166, 92, .12); }
.float-field input:focus + label, .float-field input:not(:placeholder-shown) + label,
.float-field textarea:focus + label, .float-field textarea:not(:placeholder-shown) + label,
.float-field input[type=date] + label, .float-field .label-fixed { top: 6px; font-size: .72rem; font-weight: 700; color: var(--green-600); }
.float-field > i { position: absolute; right: 16px; top: 18px; color: var(--muted); }
.float-field.invalid input, .float-field.invalid select { border-color: #d64545; }
.dept-hint { font-size: .82rem; color: var(--blue-700); font-weight: 600; margin: 6px 0 0 4px; min-height: 1em; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.form-error { margin-top: 14px; background: #fdf0f0; color: #b54747; border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: .9rem; }
.aram-form.loading button[type=submit] { pointer-events: none; opacity: .75; }
.aram-form.loading button[type=submit] i { animation: spin 1s linear infinite; }
.form-success { position: absolute; inset: 0; background: #fff; border-radius: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; z-index: 5; animation: popIn .5s var(--ease); }
.form-success[hidden] { display: none; }
.check-anim { width: 92px; height: 92px; margin-bottom: 16px; }
.check-anim circle { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s var(--ease) forwards; }
.check-anim path { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.doctor-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 26px; }
.doctor-pick label { cursor: pointer; display: block; position: relative; }
.doctor-pick input { position: absolute; opacity: 0; }
.doctor-pick .pick { display: flex; flex-direction: column; align-items: center; border: 2px solid var(--line); border-radius: 16px; padding: 12px; text-align: center; transition: all .3s var(--ease); background: #fff; height: 100%; }
.doctor-pick img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; margin-bottom: 8px; }
.doctor-pick strong { display: block; font-size: .85rem; color: var(--navy); line-height: 1.3; }
.doctor-pick small { font-size: .74rem; color: var(--muted); line-height: 1.3; display: block; }
.doctor-pick input:checked + .pick { border-color: var(--green); background: var(--green-50); box-shadow: 0 8px 20px rgba(16, 166, 92, .18); transform: translateY(-3px); }
.doctor-pick input:focus-visible + .pick { outline: 3px solid rgba(16, 166, 92, .45); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.prose p, .prose li { color: #3c4d5e; }

/* ---------- 404 ---------- */
.not-found { padding: 120px 0; text-align: center; }
.not-found .code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Tilt ---------- */
.tilt { will-change: transform; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.journey-step { opacity: 1; transform: none; }
}

/* ---------- Additions: inner pages ---------- */
.text-grad-light { background: linear-gradient(90deg, #8ff0bf, #9fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text .brand-ta { font-size: 1.12rem; letter-spacing: 0; }
.founder-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--grad-soft); max-width: 360px; margin: 0 auto; }
.founder-card img { width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover; object-position: top; display: block; transition: transform .8s var(--ease); }
.founder-card:hover img { transform: scale(1.05); }
.founder-tag { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .95); border-radius: 14px; padding: 12px 16px; backdrop-filter: blur(6px); }
.founder-tag strong { display: block; color: var(--navy); }
.founder-tag span { font-size: .82rem; color: var(--green-600); font-weight: 700; }
.img-trio { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; height: 440px; }
.img-trio img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; border-radius: var(--radius); box-shadow: var(--shadow-md); transition: transform .6s var(--ease); display: block; }
.img-trio img:first-child { grid-row: span 2; }
.img-trio img:hover { transform: scale(1.03); }
@media (max-width: 575px) { .img-trio { height: 320px; gap: 10px; } }

/* ---------- Tamil typography ---------- */
.lang-ta { --font: 'Noto Sans Tamil', 'Plus Jakarta Sans', system-ui, sans-serif; }
.lang-ta h3 { font-size: 1.08rem; }
.lang-ta .lead { font-size: 1.04rem; }
.lang-ta .service-card h3, .lang-ta .why-card h3 { font-size: 1.05rem; }
.lang-ta .btn-brand, .lang-ta .btn-outline-brand, .lang-ta .btn-light-brand, .lang-ta .btn-ghost-light, .lang-ta .btn-wa { font-size: .9rem; white-space: normal; text-align: center; line-height: 1.4; }
.lang-ta .stat small, .lang-ta .doctor-quals span { line-height: 1.5; }
@media (max-width: 575px) {
	.lang-ta body { font-size: 15px; }
	.lang-ta .hero h1 { font-size: 1.6rem; }
	.lang-ta .page-hero h1 { font-size: 1.5rem; }
	.lang-ta h2 { font-size: 1.35rem; }
	.lang-ta .eyebrow { font-size: .78rem; }
	.lang-ta .navmenu > ul > li > a { font-size: .95rem; }
}
@media (max-width: 575px) {
	.hero-actions a { flex: 1 1 auto; }
	.page-hero { padding: 60px 0 90px; }
}

/* ---------- Mobile action bar: no overlap ---------- */
@media (max-width: 575px) {
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.site-footer { padding-bottom: 0; }
	.float-wa { display: none; }
	.mobile-actions { transform: translateY(110%); transition: transform .4s var(--ease); }
	.mobile-actions.show { transform: none; }
	.back-to-top { bottom: 84px; right: 16px; }
	body:not(.bar-visible) .back-to-top { bottom: 20px; }
}

/* ---------- Photo cards, profiles, misc ---------- */
.photo-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-md); color: #fff; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(11, 39, 66, .85)); }
.photo-card-body { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 14px; }
.photo-card-body strong { font-size: 1.15rem; flex: 1; color: #fff; }
.photo-card-body > i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.photo-card:hover img { transform: scale(1.08); }
.photo-card:hover .photo-card-body > i { transform: rotate(45deg); background: var(--green); }
.doctor-profile-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); }
.doctor-profile .doctor-status, .doctor-profile .doctor-exp { z-index: 2; }
.doctor-profile-photo .doctor-exp { position: absolute; right: 16px; bottom: 16px; }
@media (max-width: 767px) { .doctor-profile-photo { min-height: 0; aspect-ratio: 1 / 1; } }
.poster-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); display: block; transition: transform .5s var(--ease); }
.poster-frame:hover { transform: translateY(-6px) rotate(-1deg); }
.poster-frame img { width: 100%; display: block; }
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stat-strip div { background: #fff; border-radius: var(--radius); padding: 20px; text-align: center; border: 1px solid var(--line); }
.stat-strip strong { display: block; font-size: 1.6rem; color: var(--green-600); }
.stat-strip span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 6px; bottom: 6px; width: 3px; background: var(--grad); border-radius: 3px; }
.timeline li { position: relative; padding: 0 0 26px 66px; }
.timeline li > i { position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--green-50); color: var(--green-600); display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow-sm); }
.timeline h3 { font-size: 1.05rem; margin: 10px 0 4px; }
.timeline p { color: var(--muted); margin: 0; font-size: .93rem; }
.big-icon-bg { position: relative; overflow: hidden; }
.big-icon-bg > .bi-bg { position: absolute; right: -40px; bottom: -60px; font-size: 18rem; color: var(--green-50); z-index: 0; line-height: 1; }
.big-icon-bg > .container { position: relative; z-index: 1; }

/* ---------- Community, camps, training, booking ---------- */
.initiative-card { display: grid; grid-template-columns: 42% 1fr; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.initiative-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--ink); }
.initiative-img { overflow: hidden; min-height: 220px; }
.initiative-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.initiative-card:hover .initiative-img img { transform: scale(1.08); }
.initiative-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.initiative-body strong { font-size: 1.15rem; color: var(--navy); }
.initiative-body > span:not(.icon-tile) { color: var(--muted); font-size: .93rem; }
.initiative-body em { font-style: normal; font-weight: 700; color: var(--blue); margin-top: auto; }
@media (max-width: 575px) { .initiative-card { grid-template-columns: 1fr; } .initiative-img { min-height: 0; aspect-ratio: 16 / 9; } }

.cpr-visual { margin-top: 24px; background: linear-gradient(135deg, #fff1f3, var(--blue-50)); border-radius: var(--radius-lg); padding: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cpr-heart { width: 70px; height: 70px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 2rem; color: #e0475f; box-shadow: var(--shadow-md); animation: cpr .55s ease-in-out infinite; flex: none; }
@keyframes cpr { 50% { transform: scale(.86); } }
.cpr-visual svg { flex: 1; min-width: 140px; height: 50px; }
.cpr-visual .ecg-path { stroke: #e0475f; stroke-dasharray: 600; stroke-dashoffset: 600; }
.cpr-visual span { width: 100%; font-weight: 700; color: var(--navy); font-size: .9rem; }

.camp-slider { padding-bottom: 44px; }
.camp-photo { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.camp-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.camp-photo:hover img { transform: scale(1.08); }

.booking-side { position: sticky; top: 100px; display: grid; gap: 20px; }
.quick-contact { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 24px; }
@media (max-width: 991px) { .booking-side { position: static; } }

/* ---------- Layout fixes ---------- */
.brand { flex-shrink: 0; }
.brand-text strong, .brand-text small { white-space: nowrap; }
.navmenu { min-width: 0; }
@media (min-width: 1400px) and (max-width: 1499px) {
	.brand-text small { display: none; }
	.brand-text strong { font-size: 1.02rem; }
	.navmenu > ul > li > a { padding: 10px 9px; font-size: .9rem; }
	.lang-ta .navmenu > ul > li > a { padding: 10px 6px; font-size: .82rem; }
	.header-actions .btn-brand { padding: 11px 18px; }
	.lang-dd-btn { padding: 8px 12px; }
}
.lang-ta .header-actions .btn-brand span { white-space: nowrap; }
.quick-contact .contact-card { height: auto; }
.cta-band-text { flex: 1 1 auto; min-width: 0; }
.cta-band-actions { flex: 0 0 auto; }
.cta-ecg { top: auto; bottom: 6px; transform: none; height: 46px; opacity: .14; }
.topbar-actions a, .topbar-info span { white-space: nowrap; }
.navmenu > ul > li > a { white-space: nowrap; }
@media (max-width: 1599px) { .lang-ta .topbar-info span + span { display: none; } }
@media (max-width: 1199px) { .lang-ta .topbar-info { display: none !important; } }
.contact-cards .contact-card { flex-direction: column; gap: 12px; }
.contact-card div > span { word-break: normal; overflow-wrap: anywhere; }

/* Off-canvas menu: a backdrop-filter on the header would trap the fixed menu inside it. */
@media (max-width: 1399px) {
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .98); }
	body.nav-open .site-header { z-index: 1045; }
}
.navmenu-head img { height: 58px; width: auto; }
.navmenu-head .nav-close { flex: none; }

/* Full circular client logo in the header */
:root { --header-h: 116px; }
.site-header.scrolled { --header-h: 96px; }
.brand { position: relative; z-index: 2; }
.brand-mark, .site-header.scrolled .brand-mark { width: auto; transition: height .35s var(--ease), transform .45s var(--ease), filter .45s var(--ease); transform-origin: left center; will-change: transform; }
.brand-mark { height: 100px; }
.site-header.scrolled .brand-mark { height: 82px; }
.brand:hover .brand-mark, .brand:focus-visible .brand-mark, .brand-mark:hover { transform: scale(1.18); filter: drop-shadow(0 8px 18px rgba(16, 166, 92, .28)); }
@media (max-width: 575px) {
	:root { --header-h: 92px; }
	.site-header.scrolled { --header-h: 82px; }
	.brand-mark { height: 76px; }
	.site-header.scrolled .brand-mark { height: 66px; }
}

/* ---------- Moving bar: camps & offers (managed from /admin) ---------- */
.announce { position: relative; z-index: 1001; overflow-anchor: none; contain: layout paint; display: flex; align-items: stretch; background: linear-gradient(90deg, #072033, #0b2742 40%, #123c63); color: #fff; font-size: .86rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.announce-label { flex: none; display: flex; align-items: center; gap: 6px; padding: 0 16px; font-weight: 800; letter-spacing: .03em; background: var(--grad); position: relative; z-index: 2; white-space: nowrap; }
.announce-label::after { content: ""; position: absolute; right: -14px; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(16, 166, 92, .35), transparent); }
.announce-viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.announce-track { display: flex; width: max-content; animation: announce var(--announce-dur, 40s) linear infinite; will-change: transform; backface-visibility: hidden; }
/* Pause to read only with a real mouse or keyboard focus. On phones a tap leaves a "sticky" hover/focus
   behind (e.g. after tapping the megaphone or closing a popup), which used to freeze the bar. */
@media (hover: hover) and (pointer: fine) { .announce:hover .announce-track { animation-play-state: paused; } }
.announce:has(.announce-item:focus-visible) .announce-track { animation-play-state: paused; }
@keyframes announce { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.announce-list { display: flex; list-style: none; margin: 0; padding: 0; }
.announce-list li { display: flex; align-items: center; }
.announce-list li::after { content: "✦"; color: rgba(143, 240, 191, .55); margin: 0 18px; font-size: .7rem; }
.announce-item { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; color: #fff; padding: 8px 6px; border-radius: 8px; cursor: pointer; white-space: nowrap; font: inherit; transition: background .25s; }
.announce-item:hover, .announce-item:focus-visible { background: rgba(255, 255, 255, .08); }
.announce-item strong { font-weight: 700; }
.announce-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 50px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.lang-ta .announce-badge { text-transform: none; letter-spacing: 0; font-size: .74rem; }
.announce-meta { color: rgba(255, 255, 255, .72); }
.announce-view { display: inline-flex; align-items: center; gap: 4px; color: #8ff0bf; font-weight: 700; font-size: .78rem; }
@media (max-width: 575px) {
	.announce { font-size: .8rem; }
	.announce-label { padding: 0 12px; }
	.announce-meta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.announce-track { animation: none; }
	.announce-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.announce-list[aria-hidden] { display: none; }
}

/* Offers section on the Health Camps page */
.offer-card { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: var(--ink); }
.offer-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.offer-card-body { padding: 20px; }
.offer-card-body h3 { font-size: 1.1rem; margin: 10px 0 6px; }
.offer-card-body p { color: var(--muted); font-size: .9rem; margin: 0; }
.camp-block { scroll-margin-top: 130px; }
.camp-block + .camp-block { padding-top: 40px; border-top: 1px dashed var(--line); }
.announce-addr { display: inline-flex; align-items: center; gap: 5px; color: #ffe08a; font-weight: 600; }
.announce-addr i, .announce-meta i { font-size: .8em; }
.announce-meta i { color: #8ff0bf; }

/* <picture> wrappers (WebP + fallback) must not change image sizing */
picture { display: contents; }

/* ==========================================================================
   Nov 2026 additions: working hours, specialities, blog / Unave Marundhu,
   lab packages, training, research, patient stories
   ========================================================================== */

/* ---------- Working hours (every page) ---------- */
.topbar-hours { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; }
.topbar-hours i { color: #5fd49a; }
.hours-status { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 800; letter-spacing: .02em; padding: 2px 9px; border-radius: 50px; line-height: 1.5; white-space: nowrap; }
.hours-status:empty { display: none; }
.hours-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hours-status.is-open { background: rgba(16, 166, 92, .16); color: #0a7740; }
.hours-status.is-open::before { animation: pulseDot 1.6s ease-in-out infinite; }
.hours-status.is-closed { background: rgba(180, 35, 24, .1); color: #b42318; }
.topbar .hours-status.is-open, .site-footer .hours-status.is-open { background: rgba(95, 212, 154, .18); color: #8ff0bf; }
.topbar .hours-status.is-closed, .site-footer .hours-status.is-closed { background: rgba(255, 255, 255, .12); color: #ffd0cb; }
@keyframes pulseDot { 50% { opacity: .35; } }
.footer-hours .footer-hours-main { background: rgba(16, 166, 92, .18); border: 1px solid rgba(95, 212, 154, .35); }
.footer-hours-main strong { display: flex !important; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-hours-main strong i { color: #5fd49a; }
.nav-hours { margin: 0 0 4px; font-size: .88rem; font-weight: 700; color: var(--green-600); background: var(--green-50); border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
@media (max-width: 575px) {
	.topbar { font-size: .76rem; }
	.topbar .container { gap: 8px !important; }
	.topbar-actions { gap: 10px; }
	.topbar-hours .hours-status { padding: 1px 7px; font-size: .66rem; }
}
@media (max-width: 380px) { .topbar-hours > .bi-clock-fill { display: none; } }
/* Tamil text is longer: on phones the call button lives in the bottom action bar, so the top bar shows only the hours. */
@media (max-width: 575px) { .lang-ta .topbar-actions { display: none; } }

/* Wide dropdown (Specialities: two columns on desktop) */
@media (min-width: 1400px) {
	.dropdown-panel.dropdown-wide { display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: 2px 6px; min-width: 540px; }
	.dropdown-panel.dropdown-wide li:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 4px; }
	.dropdown-panel.dropdown-wide a { font-size: .86rem; padding: 8px 10px; }
}

/* ---------- Speciality cards ---------- */
.spec-card { display: flex; flex-direction: column; gap: 8px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; color: var(--ink); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.spec-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--green-50); transition: transform .6s var(--ease); z-index: 0; }
.spec-card.tone-blue::after { background: var(--blue-50); }
.spec-card > * { position: relative; z-index: 1; }
.spec-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--ink); }
.spec-card:hover::after { transform: scale(2.6); }
.spec-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.45rem; color: #fff; background: var(--grad); box-shadow: 0 10px 20px rgba(16, 166, 92, .22); margin-bottom: 6px; }
.tone-blue .spec-icon { background: linear-gradient(135deg, var(--blue), #4ea0dc); box-shadow: 0 10px 20px rgba(34, 114, 180, .22); }
.spec-card strong { font-size: 1.05rem; color: var(--navy); line-height: 1.3; }
.spec-text { color: var(--muted); font-size: .88rem; line-height: 1.55; }
.spec-more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .88rem; color: var(--green-600); }
.spec-more i { transition: transform .3s var(--ease); display: inline-block; }
.spec-card:hover .spec-more i { transform: translateX(5px); }
@media (max-width: 575px) {
	.spec-card { padding: 18px 16px; border-radius: var(--radius); }
	.spec-icon { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 12px; }
	.spec-card strong { font-size: .94rem; }
	.spec-text { display: none; }
}

.spec-side { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 16px; position: sticky; top: 120px; }
@media (max-width: 991px) { .spec-side { position: static; } }
.spec-doctor { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.spec-doctor img { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; flex: none; }
.spec-doctor small { display: block; color: var(--green-600); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.lang-ta .spec-doctor small { text-transform: none; letter-spacing: 0; }
.spec-doctor strong { display: block; color: var(--navy); font-size: 1.05rem; }
.spec-doctor > div > span:not(.doctor-quals) { display: block; color: var(--muted); font-size: .88rem; }
.spec-doctor .doctor-quals { display: flex; flex-wrap: wrap; gap: 4px; }
.spec-time { margin: 0; font-size: .9rem; font-weight: 600; color: var(--navy); }
.spec-time i { color: var(--green-600); margin-right: 6px; }
.spec-hours { display: flex; gap: 14px; align-items: flex-start; }
.spec-hours .icon-tile { width: 46px; height: 46px; font-size: 1.15rem; border-radius: 12px; flex: none; }
.spec-hours strong { display: block; color: var(--navy); }
.spec-hours > div > span:not(.hours-status) { display: block; color: var(--muted); font-size: .9rem; }
.spec-hours .hours-status { margin-top: 6px; }

/* ---------- Blog ---------- */
.post-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.post-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.07); }
.post-chip { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .95); color: var(--green-600); font-weight: 700; font-size: .76rem; padding: 5px 12px; border-radius: 50px; box-shadow: var(--shadow-sm); }
.post-card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-body h3 { font-size: 1.12rem; margin: 0; line-height: 1.35; }
.post-card-body h3 a { color: var(--navy); }
.post-card-body h3 a:hover { color: var(--green-600); }
.post-card-body > p:not(.post-meta) { color: var(--muted); font-size: .92rem; margin: 0; }
.post-card-body .btn-link-brand { margin-top: auto; padding-top: 6px; align-self: flex-start; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: .78rem; color: var(--muted); font-weight: 600; }
.post-meta i { color: var(--green-600); margin-right: 3px; }
.post-age { background: var(--blue-50); color: var(--blue-700); border-radius: 50px; padding: 1px 10px; }
.post-age i { color: var(--blue); }
.post-meta-lg { font-size: .88rem; margin-bottom: 20px; }
.post-figure { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.post-figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.post-body { font-size: 1.04rem; line-height: 1.85; }
.lang-ta .post-body { font-size: 1rem; line-height: 1.95; }
.post-body h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.lang-ta .post-body h2 { font-size: 1.25rem; }
.post-body h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.post-body ul { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 0 0 18px; }
.post-body ul li { position: relative; padding-left: 28px; }
.post-body ul li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
.post-body p { margin-bottom: 16px; }
.post-body strong { color: var(--navy); }
.post-aside { position: sticky; top: 120px; display: grid; gap: 20px; }
@media (max-width: 991px) { .post-aside { position: static; } }
.post-cta { background: var(--grad-soft); border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); }
.post-cta h3 { font-size: 1.15rem; margin: 14px 0 8px; }
.post-cta p { color: var(--muted); font-size: .92rem; }
.post-cats { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 4px; }
.post-cats a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.post-cats a:hover { background: var(--bg-soft); color: var(--green-600); }
.post-cats a i { color: var(--green-600); }

.share-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--line); }
.share-bar > span { font-weight: 700; color: var(--navy); margin-right: 4px; }
.share-bar a, .share-bar button { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 0; font-size: 1.1rem; color: #fff; transition: transform .3s var(--ease), box-shadow .3s; position: relative; }
.share-bar a:hover, .share-bar button:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: #fff; }
.share-wa { background: #25d366; }
.share-fb { background: #1877f2; }
.share-x { background: #111; }
.share-copy { background: var(--navy); }
.share-copy.copied::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: .75rem; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }

/* Unave Marundhu */
.unave-banner { display: flex; align-items: center; gap: 22px; background: linear-gradient(120deg, #fff8e8, var(--green-50) 55%, var(--blue-50)); border: 1px solid #f2e3bd; border-radius: var(--radius-lg); padding: 24px 30px; margin-bottom: 40px; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
.unave-banner:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--ink); }
.unave-word { font-family: 'Noto Sans Tamil', sans-serif; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; line-height: 1.5; }
.unave-banner strong { display: block; color: var(--navy); font-size: 1.08rem; }
.unave-banner span:not(.unave-word) { color: var(--muted); font-size: .92rem; }
.unave-banner > i { margin-left: auto; font-size: 2rem; color: var(--green); flex: none; }
@media (max-width: 767px) { .unave-banner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; } .unave-banner > i { display: none; } }
.age-wheel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.age-chip { display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-weight: 700; color: var(--navy); font-size: .92rem; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.age-chip i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); font-size: 1.15rem; flex: none; transition: all .3s; }
.age-chip:nth-child(even) i { background: var(--blue-50); color: var(--blue); }
.age-chip:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--shadow-md); }
.age-chip:hover i { background: var(--grad); color: #fff; }
@media (max-width: 400px) { .age-chip { padding: 12px; font-size: .84rem; gap: 8px; } .age-chip i { width: 36px; height: 36px; } }

/* ---------- Lab packages ---------- */
.package-card { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; scroll-margin-top: 130px; }
.package-card:hover, .package-card:target { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--green); }
.package-card.is-popular { border: 2px solid var(--green); box-shadow: 0 16px 40px rgba(16, 166, 92, .14); }
.package-flag { position: absolute; top: -13px; right: 18px; background: var(--grad); color: #fff; font-size: .74rem; font-weight: 800; padding: 4px 12px; border-radius: 50px; box-shadow: var(--shadow-sm); }
.package-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.package-head .icon-tile { width: 48px; height: 48px; font-size: 1.2rem; border-radius: 14px; flex: none; }
.package-head h3 { font-size: 1.08rem; margin: 0 0 4px; line-height: 1.3; }
.package-head small { color: var(--muted); font-size: .82rem; font-weight: 600; line-height: 1.4; display: block; }
.package-tests { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; font-size: .9rem; }
.package-tests li { display: flex; gap: 8px; align-items: flex-start; }
.package-tests i { color: var(--green-600); font-weight: 800; margin-top: 1px; }
.package-foot { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 16px; }
.package-price { font-size: 1.5rem; font-weight: 800; color: var(--green-600); margin: 0 0 12px; line-height: 1.2; }
.package-price span { font-size: .95rem; color: var(--blue-700); }
.package-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- Training ---------- */
.programme-card { position: relative; height: 100%; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px 24px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.programme-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.programme-card h3 { font-size: 1.12rem; margin: 8px 0 0; }
.programme-card > p { color: var(--muted); font-size: .92rem; margin: 0; }
.programme-badge { position: absolute; top: 20px; right: 20px; font-size: .72rem; font-weight: 800; color: var(--green-600); background: var(--green-50); padding: 4px 10px; border-radius: 50px; }
.programme-card p.programme-for { font-size: .84rem; font-weight: 600; color: var(--blue-700); }
.programme-actions { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.why-chip { display: flex; align-items: center; gap: 10px; height: 100%; background: var(--grad-soft); border-radius: var(--radius); padding: 14px 16px; font-weight: 700; color: var(--navy); font-size: .9rem; }
.why-chip i { font-size: 1.3rem; color: var(--green-600); flex: none; }
.photo-placeholders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-ph { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); border: 2px dashed #c7d8e6; background: repeating-linear-gradient(135deg, #fff, #fff 12px, #f4f8fb 12px, #f4f8fb 24px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 12px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.photo-ph i { font-size: 2rem; color: var(--green); opacity: .6; }
@media (max-width: 767px) { .photo-placeholders { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- Research ---------- */
.research-list { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: grid; gap: 14px; }
.research-list li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; flex-wrap: wrap; }
.research-year { font-weight: 800; font-size: 1.2rem; color: var(--blue); min-width: 52px; }
.research-list .icon-tile { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; }
.research-list li > div { flex: 1; min-width: 200px; }
.research-list small { display: block; color: var(--green-600); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.research-list strong { display: block; color: var(--navy); }
.research-list li > div > span { color: var(--muted); font-size: .9rem; }

/* ---------- Patient stories / empty states ---------- */
.empty-state { max-width: 640px; margin: 0 auto; text-align: center; background: var(--bg-soft); border: 2px dashed var(--line); border-radius: var(--radius-lg); padding: 44px 28px; }
.empty-state .icon-tile { margin: 0 auto 16px; }
.empty-state p { color: var(--muted); margin: 0; }
.story-card { position: relative; height: 100%; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.story-quote { position: absolute; right: 22px; top: 12px; font-size: 3rem; color: var(--green-50); line-height: 1; }
.story-card blockquote { margin: 0 0 20px; flex: 1; }
.story-card blockquote p { font-size: 1rem; color: var(--ink); margin: 0; }
.story-card figcaption { display: flex; align-items: center; gap: 12px; }
.story-card figcaption img, .story-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.story-avatar { display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.2rem; }
.story-card figcaption strong { display: block; color: var(--navy); }
.story-card figcaption span { color: var(--muted); font-size: .85rem; }
/* Lightbox caption on phones: full text (no "See more"), scrolls if long, links easy to tap */
.glightbox-mobile .glightbox-container .gslide-description { max-height: 38vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.glightbox-container .gslide-description a[href]:not(.desc-more) { display: inline-block; padding: 6px 0; font-weight: 700; }
.glightbox-mobile .glightbox-container .gslide-description a[href]:not(.desc-more) { color: #8ff0bf; }
.glightbox-container .gdesc-inner .gslide-desc p { margin-bottom: 6px; }

/* ---------- Support team (lab technician etc.) ---------- */
.staff-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: transform .45s var(--ease), box-shadow .45s var(--ease); max-width: 420px; margin: 0 auto; }
.staff-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.staff-photo { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: linear-gradient(180deg, #eef5fc, #f5faf8); }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; transition: transform .9s var(--ease); }
.staff-card:hover .staff-photo img { transform: scale(1.05); }
.staff-dept { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .95); color: var(--green-600); font-weight: 700; font-size: .78rem; padding: 6px 12px; border-radius: 50px; box-shadow: var(--shadow-sm); }
.staff-body { padding: 20px 22px 24px; }
.staff-body h3 { font-size: 1.15rem; margin: 0 0 2px; }
.staff-role { color: var(--blue); font-weight: 700; margin: 0 0 8px; }
.staff-body .doctor-quals { margin-bottom: 8px; }
.staff-text { color: var(--muted); font-size: .9rem; margin: 0; }
.review-card .btn-ghost-light { margin-left: 4px; }
@media (max-width: 575px) { .review-card { padding: 30px 22px; } .review-card .btn-ghost-light { margin-left: 0; } }

/* ---------- Small-screen safety net (long Tamil words, long button labels) ---------- */
h1, h2, h3, h4, p, li, blockquote, .eyebrow { overflow-wrap: break-word; }
.booking-side > *, .age-wheel > *, .photo-placeholders > *, .opd-list li > div { min-width: 0; }
.age-chip span, .photo-ph span { overflow-wrap: anywhere; min-width: 0; }
.doctor-actions { flex-wrap: wrap; }
@media (max-width: 575px) {
	.btn-brand, .btn-outline-brand, .btn-light-brand, .btn-ghost-light, .btn-wa { white-space: normal; text-align: center; max-width: 100%; }
	.btn-lg-brand { padding: 14px 22px; }
	.opd-widget { padding: 20px 16px; }
	.opd-list li { flex-wrap: wrap; }
	.opd-badge { white-space: normal; }
	.photo-ph { font-size: .8rem; padding: 10px 8px; }
	.photo-ph i { font-size: 1.6rem; }
}

/* ---------- "Coming soon" panel (lab packages until details are final) ---------- */
.soon-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #f2fbf6, #eef5fc); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.soon-panel::before { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 166, 92, .14), transparent 70%); pointer-events: none; }
.soon-copy h2 { margin: 14px 0 12px; }
.soon-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 50px; background: #fff3d6; color: #8a5a00; font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.lang-ta .soon-badge { text-transform: none; letter-spacing: 0; }
.soon-badge i { animation: soonTurn 2.4s ease-in-out infinite; }
@keyframes soonTurn { 0%, 40% { transform: rotate(0); } 60%, 100% { transform: rotate(180deg); } }
.soon-now { display: flex; gap: 8px; align-items: flex-start; color: var(--green-600); font-weight: 700; margin-bottom: 22px; }
.soon-plans { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.soon-plans small { display: block; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; margin-bottom: 12px; }
.soon-plans ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.soon-plans li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px dashed #c7d8e6; font-weight: 700; color: var(--navy); font-size: .88rem; min-width: 0; }
.soon-plans li span { overflow-wrap: anywhere; }
.soon-plans li i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.soon-plans li:nth-child(even) i { background: var(--blue-50); color: var(--blue); }
@media (max-width: 991px) { .soon-panel { grid-template-columns: 1fr; padding: 32px 22px; gap: 26px; } }
@media (max-width: 400px) { .soon-plans ul { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .soon-badge i { animation: none; } }
