/* ==========================================================================
   ClinicPro — main stylesheet
   Design language: deep clinical blue (#005885, inspired by excel-labs.com),
   warm accent orange for CTAs, soft blue-grey surfaces, rounded cards,
   Poppins headings + Inter body.
   ========================================================================== */

:root {
	--cp-primary: #005885;
	--cp-primary-rgb: 0 88 133;
	--cp-accent: #fe6a12;
	--cp-accent-rgb: 254 106 18;
	--cp-navy: #0b2e44;
	--cp-teal: #0fa3b1;
	--cp-green: #1fa84a;
	--cp-wa: #25d366;
	--cp-bg: #f4f8fb;
	--cp-surface: #ffffff;
	--cp-text: #16283a;
	--cp-muted: #5c6b7a;
	--cp-border: #e2eaf1;
	--cp-radius: 18px;
	--cp-radius-sm: 12px;
	--cp-shadow: 0 10px 30px -12px rgb(11 46 68 / 0.18);
	--cp-shadow-lg: 0 30px 60px -20px rgb(11 46 68 / 0.28);
	--cp-font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
	--cp-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--cp-container: 1240px;
	--cp-header-h: 84px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--cp-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--cp-text);
	background: var(--cp-surface);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--cp-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: color-mix(in srgb, var(--cp-primary), black 20%); }
h1, h2, h3, h4, h5 { font-family: var(--cp-font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--cp-navy); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 9999; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--cp-navy); color: #fff; border-radius: 8px; }
.cp-i { flex: none; }
.cp-i.flip { transform: scaleX(-1); }
.cp-i.flip-v { transform: rotate(180deg); }

.container { width: min(100% - 2.5rem, var(--cp-container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--soft { background: var(--cp-bg); }
.section-foot { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.empty { text-align: center; color: var(--cp-muted); padding: 3rem 1rem; }
.muted { color: var(--cp-muted); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--cp-font-head); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--cp-primary); margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--cp-accent); }
.eyebrow--light { color: #bfe3ff; }
.section-title span { color: var(--cp-primary); position: relative; }
.section-title span::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .32em; background: rgb(var(--cp-accent-rgb) / .18); z-index: -1; border-radius: 4px; }
.section-head { max-width: 720px; margin: 0 auto 2.75rem; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--left { margin-inline: 0; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.section-head--split .section-title { margin: 0; }
.section-text { color: var(--cp-muted); font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--cp-font-head); font-weight: 600; font-size: .95rem; line-height: 1;
	white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.02rem; }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--block { width: 100%; margin-top: .6rem; }
.btn--primary { background: var(--cp-primary); color: #fff; box-shadow: 0 10px 22px -10px rgb(var(--cp-primary-rgb) / .7); }
.btn--primary:hover { background: color-mix(in srgb, var(--cp-primary), black 12%); color: #fff; }
.btn--accent { background: var(--cp-accent); color: #fff; box-shadow: 0 12px 24px -10px rgb(var(--cp-accent-rgb) / .8); }
.btn--accent:hover { background: color-mix(in srgb, var(--cp-accent), black 10%); color: #fff; }
.btn--outline { border-color: rgb(var(--cp-primary-rgb) / .35); color: var(--cp-primary); background: #fff; }
.btn--outline:hover { background: var(--cp-primary); color: #fff; border-color: var(--cp-primary); }
.btn--white { background: #fff; color: var(--cp-primary); }
.btn--white:hover { background: #eef5fa; color: var(--cp-primary); }
.btn--glass { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .35); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgb(255 255 255 / .22); color: #fff; }
.btn--wa { background: var(--cp-wa); color: #fff; box-shadow: 0 12px 24px -10px rgb(37 211 102 / .7); }
.btn--wa:hover { background: #1ebe5b; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-family: var(--cp-font-head); font-size: .92rem; }
.link-arrow .cp-i { transition: transform .2s; }
.link-arrow:hover .cp-i { transform: translateX(3px); }

.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 600; font-family: var(--cp-font-head); background: rgb(var(--cp-primary-rgb) / .1); color: var(--cp-primary); }
.badge--accent { background: rgb(var(--cp-accent-rgb) / .14); color: #c9500a; }
.badge--float { position: absolute; top: 12px; left: 12px; background: #fff; box-shadow: var(--cp-shadow); }

/* --------------------------------------------------------------------------
   Top bar & header
   -------------------------------------------------------------------------- */
.topbar { background: var(--cp-navy); color: #cfe3f2; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 1.25rem; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .4rem; color: inherit; }
.topbar a:hover { color: #fff; }
.topbar__emergency { color: #ffd7bf !important; font-weight: 600; }
.topbar__social { display: flex; gap: .5rem; }
.topbar__social a { width: 26px; height: 26px; border-radius: 50%; background: rgb(255 255 255 / .08); justify-content: center; }
.topbar__social a:hover { background: var(--cp-accent); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgb(255 255 255 / .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--cp-border); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgb(11 46 68 / .25); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--cp-header-h); }
.site-branding { flex: none; }
.custom-logo-link img { max-height: 64px; width: auto; display: block; }
.site-logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--cp-navy); }
.site-logo__mark { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--cp-primary), var(--cp-teal)); box-shadow: 0 8px 18px -8px rgb(var(--cp-primary-rgb) / .8); }
.site-logo__text { font-family: var(--cp-font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.1; display: flex; flex-direction: column; }
.site-logo__text small { font-weight: 500; font-size: .7rem; color: var(--cp-muted); letter-spacing: .04em; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.menu { list-style: none; display: flex; gap: .25rem; }
.menu > li { position: relative; }
.menu a { display: flex; align-items: center; gap: .3rem; padding: .7rem .9rem; border-radius: 10px; font-family: var(--cp-font-head); font-weight: 500; font-size: .95rem; color: var(--cp-text); }
.menu > li > a:hover, .menu > li.current-menu-item > a, .menu > li.current-menu-ancestor > a, .menu > li.current_page_parent > a { color: var(--cp-primary); background: rgb(var(--cp-primary-rgb) / .07); }
.menu .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: .25rem; opacity: .6; }
.menu .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: 14px; box-shadow: var(--cp-shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .22s ease; border: 1px solid var(--cp-border); }
.menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(4px); }
.menu .sub-menu a { padding: .6rem .8rem; font-weight: 500; font-size: .9rem; border-radius: 8px; }
.menu .sub-menu a:hover { background: var(--cp-bg); color: var(--cp-primary); }
.menu .sub-menu li:first-child a { font-weight: 600; color: var(--cp-primary); }
.main-nav__mobile-cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.header-search { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--cp-primary); background: var(--cp-bg); }
.header-search:hover { background: rgb(var(--cp-primary-rgb) / .12); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--cp-bg); border-radius: 12px; color: var(--cp-navy); align-items: center; justify-content: center; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }
.nav-backdrop { position: fixed; inset: 0; background: rgb(11 46 68 / .5); z-index: 90; opacity: 0; visibility: hidden; transition: .25s; }
.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; background: linear-gradient(120deg, var(--cp-navy) 0%, var(--cp-primary) 55%, color-mix(in srgb, var(--cp-primary), var(--cp-teal) 45%) 100%); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(6rem, 10vw, 8rem); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero__blob--1 { width: 520px; height: 520px; right: -120px; top: -160px; background: var(--cp-teal); }
.hero__blob--2 { width: 420px; height: 420px; left: -160px; bottom: -200px; background: var(--cp-accent); opacity: .3; }
.hero__grid { position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, rgb(0 0 0 / .8), transparent 80%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .6rem; border-radius: 999px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .25); font-size: .82rem; font-weight: 600; font-family: var(--cp-font-head); backdrop-filter: blur(6px); margin-bottom: 1.25rem; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; line-height: 1.08; margin-bottom: 1.1rem; }
.hero__title span { color: #ffd9c2; background: linear-gradient(90deg, #ffe6d5, #ffb680); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { font-size: 1.12rem; color: rgb(255 255 255 / .85); max-width: 560px; margin-bottom: 1.75rem; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.hero__trust { list-style: none; display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: .88rem; color: rgb(255 255 255 / .85); }
.hero__trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__trust .cp-i { color: #9be5ff; }

.hero__visual { position: relative; }
.hero__frame { position: relative; border-radius: 28px; overflow: hidden; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); box-shadow: var(--cp-shadow-lg); aspect-ratio: 5 / 4; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__card { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; background: #fff; color: var(--cp-navy); border-radius: 16px; box-shadow: var(--cp-shadow-lg); animation: float 6s ease-in-out infinite; }
.hero__card strong { display: block; font-family: var(--cp-font-head); font-size: 1rem; line-height: 1.1; }
.hero__card small { color: var(--cp-muted); font-size: .75rem; }
.hero__card-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--cp-primary-rgb) / .1); color: var(--cp-primary); }
.hero__card-icon--green { background: rgb(31 168 74 / .12); color: var(--cp-green); }
.hero__card-icon--orange { background: rgb(var(--cp-accent-rgb) / .14); color: var(--cp-accent); }
.hero__card--1 { top: 8%; left: -8%; }
.hero__card--2 { bottom: 14%; left: -6%; animation-delay: 1.5s; }
.hero__card--3 { top: 40%; right: -6%; animation-delay: 3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --------------------------------------------------------------------------
   Quick action cards (overlap hero)
   -------------------------------------------------------------------------- */
.quick { position: relative; z-index: 5; margin-top: -4.5rem; }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--cp-shadow-lg); overflow: hidden; border: 1px solid var(--cp-border); }
.quick__item { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1.5rem; color: var(--cp-navy); border-right: 1px solid var(--cp-border); transition: background .2s; position: relative; }
.quick__item:last-child { border-right: 0; }
.quick__item:hover { background: var(--cp-bg); }
.quick__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--cp-primary); background: rgb(var(--cp-primary-rgb) / .1); flex: none; transition: .2s; }
.quick__item:hover .quick__icon { background: var(--cp-primary); color: #fff; transform: scale(1.05); }
.quick__text { display: flex; flex-direction: column; line-height: 1.25; }
.quick__text strong { font-family: var(--cp-font-head); font-size: .98rem; }
.quick__text small { color: var(--cp-muted); font-size: .8rem; margin-top: .2rem; }
.quick__arrow { margin-left: auto; color: var(--cp-muted); opacity: 0; transform: translateX(-6px); transition: .2s; }
.quick__item:hover .quick__arrow { opacity: 1; transform: none; color: var(--cp-accent); }

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar { position: relative; background: #fff; border: 1px solid var(--cp-border); border-radius: var(--cp-radius); padding: 1.75rem; box-shadow: var(--cp-shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.pillar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--pillar-color, var(--cp-primary)); }
.pillar--hospital { --pillar-color: var(--cp-primary); }
.pillar--lab { --pillar-color: var(--cp-teal); }
.pillar--college { --pillar-color: var(--cp-accent); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--cp-shadow-lg); }
.pillar__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.pillar__icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--pillar-color); box-shadow: 0 12px 24px -10px var(--pillar-color); }
.pillar__count { text-align: right; font-size: .78rem; color: var(--cp-muted); text-transform: uppercase; letter-spacing: .06em; }
.pillar__count strong { display: block; font-family: var(--cp-font-head); font-size: 1.5rem; color: var(--cp-navy); letter-spacing: 0; }
.pillar__title { font-size: 1.35rem; }
.pillar__title a { color: var(--cp-navy); }
.pillar__text { color: var(--cp-muted); }
.pillar__links { list-style: none; margin: 1rem 0 1.25rem; display: grid; gap: .45rem; }
.pillar__links a { display: inline-flex; align-items: center; gap: .5rem; color: var(--cp-text); font-size: .93rem; }
.pillar__links .cp-i { color: var(--pillar-color); }
.pillar__links a:hover { color: var(--pillar-color); }
.pillar__more { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--cp-font-head); font-weight: 600; color: var(--pillar-color); }

/* --------------------------------------------------------------------------
   Tiles (services strip)
   -------------------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1rem; }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; text-align: center; padding: 1.4rem .75rem; background: #fff; border: 1px solid var(--cp-border); border-radius: 16px; color: var(--cp-navy); transition: .22s; }
.tile__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: var(--cp-primary); background: rgb(var(--cp-primary-rgb) / .08); transition: .22s; }
.tile__title { font-family: var(--cp-font-head); font-weight: 600; font-size: .85rem; line-height: 1.25; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--cp-shadow); border-color: transparent; }
.tile:hover .tile__icon { background: var(--cp-primary); color: #fff; }

/* --------------------------------------------------------------------------
   Grid & cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--cp-border); border-radius: var(--cp-radius); overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; height: 100%; }
.card:hover { transform: translateY(-5px); box-shadow: var(--cp-shadow-lg); }
.card--pad, .card--form { padding: 1.75rem; }
.card--pad:hover, .card--form:hover { transform: none; box-shadow: none; }
.card--pad h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; margin-bottom: 1rem; }
.card--pad + .card--pad { margin-top: 1.5rem; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cp-bg); }
.card__media img, .cp-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.cp-placeholder { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--cp-primary), var(--cp-teal)); min-height: 180px; }
.card__body { padding: 1.25rem 1.35rem 1.35rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__tag { display: inline-flex; align-self: flex-start; padding: .25rem .65rem; border-radius: 999px; background: rgb(var(--cp-primary-rgb) / .08); color: var(--cp-primary); font-size: .72rem; font-weight: 600; font-family: var(--cp-font-head); letter-spacing: .03em; text-transform: uppercase; }
.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.card__tag--alt { background: rgb(var(--cp-accent-rgb) / .12); color: #c9500a; }
.profile-hero .card__tag--alt { background: rgb(255 214 170 / .25); color: #ffd9c2; }
.card__title { font-size: 1.1rem; margin: .25rem 0 0; }
.card__title a { color: var(--cp-navy); }
.card__title a:hover { color: var(--cp-primary); }
.card__meta { color: var(--cp-primary); font-weight: 600; font-size: .9rem; margin: 0; }
.card__sub { color: var(--cp-muted); font-size: .85rem; margin: 0; }
.card__text { color: var(--cp-muted); font-size: .93rem; margin: .25rem 0 .75rem; }
.card__foot { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px dashed var(--cp-border); }
.card__price { font-family: var(--cp-font-head); font-weight: 700; color: var(--cp-navy); font-size: 1.05rem; display: flex; flex-direction: column; line-height: 1.1; }
.card__price small { font-weight: 500; font-size: .7rem; color: var(--cp-muted); text-transform: uppercase; letter-spacing: .06em; }
.card__price s { color: var(--cp-muted); font-weight: 500; font-size: .8rem; }

.card--doctor__photo { position: relative; display: block; aspect-ratio: 5 / 6; overflow: hidden; background: linear-gradient(180deg, var(--cp-bg), #e6eef5); }
.card--doctor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.card:hover .card--doctor__photo img { transform: scale(1.04); }
.card--service__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--cp-bg); color: var(--cp-primary); margin-bottom: 1.1rem; }
.card--test__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.card--test__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgb(15 163 177 / .12); color: var(--cp-teal); }
.card--test__meta, .card--course__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; color: var(--cp-muted); margin: .4rem 0 .25rem; }
.card--test__meta li, .card--course__meta li { display: inline-flex; align-items: center; gap: .3rem; }
.card--test__meta .is-green { color: var(--cp-green); font-weight: 600; }

.card--highlight { background: linear-gradient(160deg, #fff, var(--cp-bg)); border-color: rgb(var(--cp-primary-rgb) / .2); }
.card--highlight small { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--cp-muted); font-weight: 600; }
.card--highlight__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--cp-primary); color: #fff; margin-bottom: 1rem; }
.price-big { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin: .25rem 0 1rem; }
.price-big strong { font-family: var(--cp-font-head); font-size: 2rem; color: var(--cp-navy); }
.price-big s { color: var(--cp-muted); }

/* --------------------------------------------------------------------------
   About + stats
   -------------------------------------------------------------------------- */
.about-home__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-home__visual { position: relative; padding-bottom: 3rem; padding-right: 3rem; }
.about-home__img { border-radius: 26px; overflow: hidden; box-shadow: var(--cp-shadow-lg); aspect-ratio: 4 / 3; }
.about-home__img img, .about-home__img .cp-placeholder { width: 100%; height: 100%; object-fit: cover; }
.about-home__img--2 { position: absolute; right: 0; bottom: 0; width: 45%; aspect-ratio: 1; border: 6px solid #fff; }
.about-home__badge { position: absolute; left: -1rem; bottom: 1.5rem; background: var(--cp-accent); color: #fff; padding: 1rem 1.4rem; border-radius: 18px; box-shadow: 0 16px 30px -12px rgb(var(--cp-accent-rgb) / .8); text-align: center; }
.about-home__badge strong { display: block; font-family: var(--cp-font-head); font-size: 1.7rem; line-height: 1; }
.about-home__badge span { font-size: .78rem; opacity: .95; }
.about-home__actions { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-top: 1.5rem; }
.check-list { list-style: none; display: grid; gap: .6rem; margin: 1.25rem 0; }
.check-list li { display: flex; align-items: flex-start; gap: .6rem; }
.check-list .cp-i { color: var(--cp-green); margin-top: .15rem; }
.check-list--2col { grid-template-columns: 1fr 1fr; }
.check-list--sm { font-size: .92rem; gap: .4rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; background: linear-gradient(120deg, var(--cp-navy), var(--cp-primary)); border-radius: 24px; padding: 2rem; color: #fff; box-shadow: var(--cp-shadow-lg); }
.stat { text-align: center; padding: .75rem; border-right: 1px solid rgb(255 255 255 / .15); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-family: var(--cp-font-head); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1; margin-bottom: .35rem; color: #fff; }
.stat__label { font-size: .88rem; color: rgb(255 255 255 / .8); }

/* --------------------------------------------------------------------------
   Slider (doctors)
   -------------------------------------------------------------------------- */
.slider { position: relative; }
.slider__track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .25rem .25rem 1rem; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 calc(25% - 1.125rem); scroll-snap-align: start; }
.slider__nav { display: flex; gap: .5rem; justify-content: flex-end; margin-top: .5rem; }
.slider__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--cp-border); background: #fff; color: var(--cp-primary); display: grid; place-items: center; transition: .2s; }
.slider__btn:hover { background: var(--cp-primary); color: #fff; border-color: var(--cp-primary); }

/* --------------------------------------------------------------------------
   Test search & chips
   -------------------------------------------------------------------------- */
.test-search { display: flex; align-items: center; gap: .5rem; max-width: 760px; margin: 0 auto 1.25rem; padding: .5rem .5rem .5rem 1.1rem; background: #fff; border: 1px solid var(--cp-border); border-radius: 999px; box-shadow: var(--cp-shadow); }
.test-search__icon { color: var(--cp-primary); display: grid; }
.test-search input { flex: 1; border: 0; outline: 0; padding: .7rem .5rem; font-size: 1rem; background: transparent; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--cp-border); color: var(--cp-text); font-size: .85rem; font-weight: 500; font-family: var(--cp-font-head); transition: .2s; }
.chip span { font-size: .72rem; color: var(--cp-muted); background: var(--cp-bg); padding: .1rem .45rem; border-radius: 999px; }
.chip:hover, .chip.is-active { background: var(--cp-primary); color: #fff; border-color: var(--cp-primary); }
.chip:hover span, .chip.is-active span { background: rgb(255 255 255 / .2); color: #fff; }

.filter-bar { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.filter-bar__search { display: flex; align-items: center; gap: .6rem; max-width: 640px; padding: .35rem .5rem .35rem 1rem; background: #fff; border: 1px solid var(--cp-border); border-radius: 999px; box-shadow: var(--cp-shadow); color: var(--cp-primary); }
.filter-bar__search input { flex: 1; border: 0; outline: 0; padding: .6rem .25rem; font-size: 1rem; background: transparent; min-width: 0; color: var(--cp-text); }
.chips--filter { justify-content: flex-start; margin-bottom: 0; }

.lab-usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.lab-usp div { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border-radius: 14px; background: var(--cp-bg); color: var(--cp-navy); font-weight: 600; font-family: var(--cp-font-head); font-size: .9rem; }
.lab-usp .cp-i { color: var(--cp-teal); }

.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 3rem; padding: 1.75rem 2rem; border-radius: 22px; background: linear-gradient(120deg, var(--cp-navy), var(--cp-primary)); color: #fff; }
.cta-strip h3 { color: #fff; margin-bottom: .25rem; }
.cta-strip p { margin: 0; color: rgb(255 255 255 / .8); }

/* --------------------------------------------------------------------------
   Appointment band
   -------------------------------------------------------------------------- */
.appt-band { position: relative; color: #fff; overflow: hidden; }
.appt-band__bg { position: absolute; inset: 0; background: linear-gradient(120deg, var(--cp-navy), var(--cp-primary) 60%, var(--cp-teal)); z-index: -1; }
.appt-band__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .1) 1px, transparent 1px); background-size: 26px 26px; }
.appt-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.appt-band .section-title { color: #fff; }
.appt-band .section-title span { color: #ffd9c2; }
.appt-band .section-title span::after { display: none; }
.appt-band p { color: rgb(255 255 255 / .85); }
.steps { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.steps li { display: flex; align-items: center; gap: .6rem; font-weight: 500; font-size: .95rem; }
.steps li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cp-accent); color: #fff; font-family: var(--cp-font-head); font-weight: 700; font-size: .85rem; flex: none; }
.steps--vertical { flex-direction: column; gap: .8rem; margin: .5rem 0 1.5rem; }
.steps--vertical li { color: var(--cp-text); }
.steps--vertical li span { background: var(--cp-primary); }
.appt-band__contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.appt-band__contact a { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; font-family: var(--cp-font-head); }
.appt-band__form { color: var(--cp-text); }
.appt-band__form h3 { margin-bottom: 1.25rem; }
.appt-cta { align-self: center; background: #fff; color: var(--cp-text); border-radius: var(--cp-radius); padding: 2rem 1.9rem; box-shadow: var(--cp-shadow-lg); }
.appt-cta h3 { margin: 0 0 .5rem; font-size: 1.3rem; color: var(--cp-navy); }
.appt-cta p { color: var(--cp-muted); margin: 0 0 1.4rem; }
.appt-cta .btn { margin-top: .7rem; }
.appt-cta__call { border: 2px solid var(--cp-border); color: var(--cp-primary); background: #fff; }
.appt-cta__call:hover { background: var(--cp-bg); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.cp-form { position: relative; }
.cp-hp { position: absolute; left: -9999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field > span { font-size: .9rem; font-weight: 600; color: var(--cp-navy); font-family: var(--cp-font-head); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .8rem 1rem; border: 1px solid var(--cp-border); border-radius: 12px; background: #fbfdfe; color: var(--cp-text); font-size: 1rem; outline: 0; transition: border .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cp-primary); box-shadow: 0 0 0 4px rgb(var(--cp-primary-rgb) / .12); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field--check { flex-direction: row; align-items: center; gap: .6rem; }
.field--check input { width: 18px; height: 18px; accent-color: var(--cp-primary); }
.field--check span { font-weight: 500; }
.cp-form--compact .form-grid { gap: .75rem; }
.cp-form .btn--block { margin-top: 1rem; }
.form-note { font-size: .75rem; color: var(--cp-muted); margin: .75rem 0 0; }
.form-msg { padding: .9rem 1rem; border-radius: 12px; font-size: .92rem; margin: 1rem 0 0; }
.form-msg--ok { background: rgb(31 168 74 / .12); color: #14733a; border: 1px solid rgb(31 168 74 / .3); }
.form-msg--err { background: rgb(214 54 56 / .1); color: #a11e20; border: 1px solid rgb(214 54 56 / .3); }
.form-msg a { font-weight: 600; }
.cp-form.is-sending .btn { opacity: .7; pointer-events: none; }
.cp-form.is-done .form-grid, .cp-form.is-done .btn--block, .cp-form.is-done .form-note { display: none; }

/* --------------------------------------------------------------------------
   Testimonials, values, departments, process
   -------------------------------------------------------------------------- */
.review { position: relative; margin: 0; padding: 2rem 1.75rem 1.75rem; background: #fff; border: 1px solid var(--cp-border); border-radius: var(--cp-radius); box-shadow: var(--cp-shadow); }
.review__quote { position: absolute; top: -18px; left: 1.5rem; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cp-accent); color: #fff; }
.review__stars { display: flex; gap: 2px; color: #f5a623; margin-bottom: .75rem; }
.review__stars .cp-i { fill: currentColor; }
.review blockquote { margin: 0 0 1.25rem; color: var(--cp-text); font-size: .98rem; }
.review figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; }
.review__avatar { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--cp-primary), var(--cp-teal)); color: #fff; font-family: var(--cp-font-head); font-weight: 700; }
.review__avatar--img { object-fit: cover; }
.review figcaption strong { font-family: var(--cp-font-head); font-size: .95rem; }
.review figcaption small { color: var(--cp-muted); font-size: .8rem; }

.value { padding: 1.75rem; background: #fff; border: 1px solid var(--cp-border); border-radius: var(--cp-radius); transition: .25s; position: relative; }
.value:hover { transform: translateY(-5px); box-shadow: var(--cp-shadow-lg); }
.value__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgb(var(--cp-primary-rgb) / .1); color: var(--cp-primary); margin-bottom: 1rem; }
.value h3 { font-size: 1.1rem; }
.value p { color: var(--cp-muted); font-size: .93rem; margin: 0; }
.value--sm { padding: 1.4rem; }
.value--sm .value__icon { width: 48px; height: 48px; }
.process__num { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--cp-font-head); font-size: 2rem; font-weight: 800; color: rgb(var(--cp-primary-rgb) / .12); }

.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dept { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--cp-border); border-radius: 16px; color: var(--cp-navy); transition: .2s; }
.dept > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; line-height: 1.2; }
.dept small { color: var(--cp-muted); font-size: .78rem; }
.dept__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--cp-primary-rgb) / .08); color: var(--cp-primary); flex: none; }
.dept:hover { border-color: var(--cp-primary); box-shadow: var(--cp-shadow); transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.mosaic__item { position: relative; border-radius: 16px; overflow: hidden; display: block; }
.mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic__item:hover img { transform: scale(1.06); }
.mosaic__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .9rem; background: linear-gradient(to top, rgb(11 46 68 / .85), transparent); color: #fff; font-family: var(--cp-font-head); font-weight: 600; font-size: .9rem; display: flex; flex-direction: column; }
.mosaic__caption small { font-weight: 400; font-size: .75rem; opacity: .85; }
.masonry { columns: 3; column-gap: 1rem; }
.masonry__item { position: relative; display: block; break-inside: avoid; margin-bottom: 1rem; border-radius: 16px; overflow: hidden; }
.masonry__item img { width: 100%; transition: transform .5s; }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item[hidden] { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgb(11 46 68 / .92); display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; visibility: hidden; transition: .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 85vh; max-width: 100%; border-radius: 12px; box-shadow: var(--cp-shadow-lg); }
.lightbox__caption { position: absolute; bottom: 1.5rem; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--cp-font-head); }
.lightbox__btn { position: absolute; border: 0; background: rgb(255 255 255 / .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lightbox__btn:hover { background: rgb(255 255 255 / .25); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   Location & info lists
   -------------------------------------------------------------------------- */
.location-home__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: stretch; }
.location-home__map { border-radius: 24px; overflow: hidden; box-shadow: var(--cp-shadow-lg); min-height: 420px; }
.location-home__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.map-full iframe { width: 100%; height: 420px; border: 0; }
.info-list { list-style: none; display: grid; gap: 1.1rem; margin: 1.5rem 0; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list li > div { display: flex; flex-direction: column; }
.info-list strong { font-family: var(--cp-font-head); color: var(--cp-navy); font-size: .95rem; }
.info-list__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgb(var(--cp-primary-rgb) / .1); color: var(--cp-primary); flex: none; }
.info-list--compact { gap: .6rem; margin: 1rem 0; font-size: .93rem; }
.info-list--compact li { align-items: center; gap: .6rem; }
.info-list--compact .cp-i { color: var(--cp-primary); }

/* --------------------------------------------------------------------------
   Inner page hero, breadcrumbs, profile layout
   -------------------------------------------------------------------------- */
.page-hero { position: relative; color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background: linear-gradient(120deg, var(--cp-navy), var(--cp-primary) 70%, var(--cp-teal)); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to right, transparent, black); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero--photo .page-hero__bg { z-index: 1; background: linear-gradient(120deg, rgba(10,26,45,.92), rgba(0,74,110,.80) 60%, rgba(4,60,80,.62)); }
.page-hero__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .25); margin-bottom: 1rem; }
.page-hero__icon--img { width: 88px; height: 88px; background: #fff; border-color: #fff; padding: 8px; overflow: hidden; }
.page-hero__icon--img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.page-hero__title { color: #fff; margin-bottom: .5rem; }
.page-hero__sub { color: rgb(255 255 255 / .85); font-size: 1.05rem; max-width: 720px; margin-bottom: 1rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .82rem; color: rgb(255 255 255 / .7); }
.breadcrumbs a { color: rgb(255 255 255 / .85); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs i { font-style: normal; opacity: .5; }
.breadcrumbs span { color: #fff; }

.profile-hero { position: relative; color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.profile-hero__bg { position: absolute; inset: 0; background: linear-gradient(120deg, var(--cp-navy), var(--cp-primary) 70%, var(--cp-teal)); }
.profile-hero__inner { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: center; }
.profile-hero__photo { border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 6; box-shadow: var(--cp-shadow-lg); border: 4px solid rgb(255 255 255 / .2); background: #fff; }
.profile-hero__photo img, .profile-hero__photo .cp-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile-hero .breadcrumbs { margin-bottom: 1rem; }
.profile-hero .card__tag { background: rgb(255 255 255 / .16); color: #fff; }
.profile-hero__title { color: #fff; margin: .6rem 0 .25rem; }
.profile-hero__designation { font-size: 1.15rem; font-weight: 600; color: #bfe3ff; margin: 0 0 .2rem; font-family: var(--cp-font-head); }
.profile-hero__qual { color: rgb(255 255 255 / .8); margin-bottom: 1.25rem; }
.profile-hero__actions { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.profile-hero__fee { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--cp-font-head); font-weight: 700; font-size: 1.3rem; padding-left: .5rem; }
.profile-hero__fee small { font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }

.profile-grid { display: grid; grid-template-columns: 1fr 420px; gap: 2.5rem; align-items: start; }
.profile-side .form-grid { grid-template-columns: 1fr; }
.profile-side .card--form { padding: 1.75rem; }
.profile-grid--contact { grid-template-columns: 1.4fr 1fr; }
.profile-side { position: sticky; top: calc(var(--cp-header-h) + 1rem); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.fact { display: flex; align-items: center; gap: .8rem; padding: 1rem; background: var(--cp-bg); border-radius: 14px; }
.fact__icon { width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--cp-primary); display: grid; place-items: center; flex: none; }
.fact small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cp-muted); }
.fact strong { font-family: var(--cp-font-head); font-size: .95rem; color: var(--cp-navy); }
.schedule { width: 100%; border-collapse: collapse; font-size: .93rem; }
.schedule th, .schedule td { padding: .6rem .25rem; border-bottom: 1px solid var(--cp-border); text-align: left; }
.schedule th { font-family: var(--cp-font-head); font-weight: 600; color: var(--cp-navy); }
.schedule td { color: var(--cp-muted); text-align: right; }
.side-list { list-style: none; display: grid; gap: .2rem; }
.side-list li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.side-list a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 0; color: var(--cp-text); font-size: .93rem; }
.side-list a:hover { color: var(--cp-primary); }
.side-list em { font-style: normal; font-weight: 600; font-size: .85rem; color: var(--cp-primary); white-space: nowrap; }
.notice-box { display: flex; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: 14px; background: rgb(var(--cp-accent-rgb) / .09); border: 1px solid rgb(var(--cp-accent-rgb) / .3); color: #7a3a0a; margin-bottom: 2rem; }
.notice-box .cp-i { color: var(--cp-accent); flex: none; margin-top: .15rem; }
.notice-box p { margin: .2rem 0 0; color: var(--cp-text); }
.related { margin-top: 2.5rem; }
.related h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }

.tabs__nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.tabs__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.2rem; border-radius: 999px; border: 1px solid var(--cp-border); background: #fff; font-family: var(--cp-font-head); font-weight: 600; color: var(--cp-text); transition: .2s; }
.tabs__btn.is-active, .tabs__btn:hover { background: var(--cp-primary); color: #fff; border-color: var(--cp-primary); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }

/* --------------------------------------------------------------------------
   Entry content
   -------------------------------------------------------------------------- */
.entry-thumb { margin: 0 0 2rem; border-radius: 22px; overflow: hidden; box-shadow: var(--cp-shadow); }
.entry { font-size: 1.05rem; }
.entry h2 { font-size: 1.6rem; margin-top: 2rem; }
.entry h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.entry ul, .entry ol { padding-left: 1.4rem; margin-bottom: 1.25rem; }
.entry li { margin-bottom: .4rem; }
.entry img { border-radius: 14px; }
.entry blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--cp-accent); background: var(--cp-bg); border-radius: 0 12px 12px 0; }
.entry table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.entry th, .entry td { padding: .6rem .75rem; border: 1px solid var(--cp-border); text-align: left; }
.entry th { background: var(--cp-bg); }
.wp-block-image, .wp-block-embed { margin: 1.5rem 0; }
.alignwide { margin-inline: -4rem; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--cp-border); font-weight: 600; }
.entry-tags a { display: inline-block; margin: 0 .3rem .3rem 0; padding: .25rem .7rem; border-radius: 999px; background: var(--cp-bg); font-size: .8rem; }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .75rem; border-radius: 12px; border: 1px solid var(--cp-border); background: #fff; color: var(--cp-text); font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--cp-primary); color: #fff; border-color: var(--cp-primary); }

.error-404__inner { text-align: center; padding: 3rem 0; }
.error-404__code { display: block; font-family: var(--cp-font-head); font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--cp-primary), var(--cp-teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-404__links { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--cp-navy); color: #b9cede; margin-top: 0; }
.site-footer__cta { background: linear-gradient(120deg, var(--cp-primary), var(--cp-teal)); }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2rem 0; }
.footer-cta h3 { color: #fff; margin-bottom: .2rem; font-size: 1.35rem; }
.footer-cta p { margin: 0; color: rgb(255 255 255 / .85); }
.footer-cta__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; position: relative; padding-bottom: .6rem; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--cp-accent); }
.footer-col p { font-size: .93rem; }
.site-logo--footer { color: #fff; margin-bottom: 1rem; }
.site-logo--footer .site-logo__text { color: #fff; font-size: 1.15rem; }
.footer-menu { list-style: none; display: grid; gap: .45rem; }
.footer-menu a { color: #b9cede; font-size: .93rem; display: inline-flex; align-items: center; gap: .4rem; }
.footer-menu a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cp-teal); opacity: .8; }
.footer-menu a:hover { color: #fff; padding-left: .2rem; }
.footer-contact { list-style: none; display: grid; gap: .8rem; font-size: .93rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .cp-i { color: var(--cp-teal); flex: none; margin-top: .15rem; }
.footer-contact a { color: #b9cede; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: .5rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / .08); color: #fff; transition: .2s; }
.social a:hover { background: var(--cp-accent); transform: translateY(-2px); }
.social--contact a { background: rgb(var(--cp-primary-rgb) / .1); color: var(--cp-primary); }
.social--contact a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / .1); padding: 1.25rem 0; font-size: .82rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.site-footer__disclaimer { opacity: .6; }
.site-footer__credits { text-align: center; opacity: .55; margin: .4rem 0 0; font-size: .78rem; }
.site-footer__credits a { color: inherit; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Floating actions & back-to-top
   -------------------------------------------------------------------------- */
.float-actions { position: fixed; left: 0; top: 50%; transform: translateY(-40%); z-index: 80; display: flex; flex-direction: column; gap: 6px; }
.float-btn { display: inline-flex; align-items: center; gap: .55rem; height: 48px; padding: 0 24px 0 18px; border-radius: 0 18px 18px 0; border: 1px solid #fff; border-left: 0; color: #fff; font-family: var(--cp-font-head); font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: .01em; box-shadow: -4px 7px 12px rgb(0 0 0 / .35); transition: transform .2s, box-shadow .2s; }
.float-btn:hover { transform: translateX(4px); color: #fff; box-shadow: -4px 7px 14px rgb(0 0 0 / .45); }
.float-btn--call { background: var(--cp-primary); }
.float-btn--wa { background: #2b9820; }
.float-btn .cp-i { width: 22px; height: 22px; }
.float-btn--wa .cp-i { animation: pulse 2s infinite; }
.wa-menu { position: relative; display: inline-flex; }
.wa-menu > summary { list-style: none; cursor: pointer; }
.wa-menu > summary::-webkit-details-marker { display: none; }
.wa-menu__list { position: absolute; bottom: calc(100% + 8px); left: 0; display: flex; flex-direction: column; gap: 6px; min-width: 200px; z-index: 90; }
.wa-menu__item { display: flex; align-items: center; gap: 9px; background: #2b9820; color: #fff; padding: 10px 14px; border-radius: 14px; text-decoration: none; box-shadow: -2px 6px 16px rgb(0 0 0 / .3); }
.wa-menu__item:hover { background: #23791a; color: #fff; }
.wa-menu__item span { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--cp-font-head); font-weight: 700; font-size: 14px; }
.wa-menu__item small { font-weight: 400; opacity: .9; font-size: 12px; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.back-top { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--cp-navy); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; box-shadow: var(--cp-shadow-lg); }
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
/* Hero areas are always visible at rest; only sections below the fold animate in. */
.hero [data-reveal], .profile-hero [data-reveal], .page-hero [data-reveal], .quick [data-reveal] { opacity: 1; transform: none; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; transform: none; transition: none; }
	.hero__card, .float-btn--wa .cp-i { animation: none; }
	html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Widgets (blog sidebar), comments
   -------------------------------------------------------------------------- */
.widget { margin-bottom: 2rem; }
.widget ul { list-style: none; }
.comment-list { list-style: none; }
.comment-body { padding: 1rem; background: var(--cp-bg); border-radius: 12px; margin-bottom: 1rem; }
.comment-form textarea, .comment-form input:not([type=submit]):not([type=checkbox]) { width: 100%; padding: .7rem .9rem; border: 1px solid var(--cp-border); border-radius: 12px; }
.comment-form .submit { padding: .8rem 1.4rem; border-radius: 999px; border: 0; background: var(--cp-primary); color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.tiles { grid-template-columns: repeat(4, 1fr); }
	.grid--4 { grid-template-columns: repeat(3, 1fr); }
	.slider__slide { flex-basis: calc(33.333% - 1rem); }
	.site-header__cta span { display: none; }
	.site-header__cta { padding: .7rem; border-radius: 50%; }
	.menu a { padding: .6rem .6rem; font-size: .9rem; }
	.hero__card--1, .hero__card--2 { left: -2%; }
	.hero__card--3 { right: -2%; }
}

@media (max-width: 900px) {
	:root { --cp-header-h: 70px; }
	.topbar__hours, .topbar__left a:nth-child(2), .topbar__social { display: none; }
	.nav-toggle { display: inline-flex; }
	.main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: #fff; z-index: 95; transform: translateX(105%); transition: transform .3s ease; overflow-y: auto; padding: 5.5rem 1.5rem 2rem; display: block; box-shadow: var(--cp-shadow-lg); }
	.nav-open .main-nav { transform: none; }
	.nav-open .site-header { z-index: 96; }
	/* backdrop-filter on the header creates a containing block that traps the
	   fixed nav drawer inside the header. Remove it on mobile so the drawer can
	   fill the whole viewport height. */
	.site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.menu { flex-direction: column; gap: .1rem; }
	.menu a { padding: .85rem .5rem; font-size: 1.02rem; border-bottom: 1px solid var(--cp-border); border-radius: 0; }
	.menu .menu-item-has-children > a::after { margin-left: auto; transition: transform .2s; }
	.menu .menu-item-has-children.is-open > a::after { transform: rotate(-135deg) translateY(-2px); }
	.menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; display: none; min-width: 0; }
	.menu .menu-item-has-children.is-open > .sub-menu { display: block; }
	.menu .sub-menu a { font-size: .95rem; }
	.main-nav__mobile-cta { display: grid; gap: .6rem; margin-top: 1.5rem; }
	.hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
	.hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
	.hero__card--1 { left: 2%; }
	.hero__card--2 { left: 2%; }
	.hero__card--3 { right: 2%; }
	.quick__grid { grid-template-columns: 1fr 1fr; }
	.quick__item:nth-child(2) { border-right: 0; }
	.quick__item:nth-child(-n+2) { border-bottom: 1px solid var(--cp-border); }
	.pillars__grid, .grid--3, .dept-grid { grid-template-columns: repeat(2, 1fr); }
	.about-home__grid, .appt-band__grid, .location-home__grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.about-home__visual { padding-right: 2rem; }
	.stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
	.stat { border-right: 0; }
	.mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
	.masonry { columns: 2; }
	.profile-grid, .profile-grid--contact { grid-template-columns: 1fr; }
	.profile-side .form-grid { grid-template-columns: 1fr 1fr; }
	.profile-side { position: static; }
	.profile-hero__inner { grid-template-columns: 220px 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.lab-usp { grid-template-columns: repeat(2, 1fr); }
	.facts { grid-template-columns: repeat(2, 1fr); }
	.alignwide { margin-inline: 0; }
}

@media (max-width: 600px) {
	.section { padding: 3rem 0; }
	.topbar__left a:first-child { font-size: .78rem; }
	.hero { padding-bottom: 6rem; }
	.hero__actions .btn { width: 100%; }
	.hero__card { display: none; }
	.hero__card--1 { display: flex; left: 0; top: auto; bottom: -1rem; }
	.quick__grid { grid-template-columns: 1fr; }
	.quick__item { border-right: 0 !important; border-bottom: 1px solid var(--cp-border); }
	.quick__item:last-child { border-bottom: 0; }
	.pillars__grid, .grid--2, .grid--3, .grid--4, .dept-grid, .form-grid, .lab-usp, .facts { grid-template-columns: 1fr; }
	.tiles, .tiles--4 { grid-template-columns: repeat(2, 1fr); }
	.slider__slide { flex-basis: 85%; }
	.stats { grid-template-columns: 1fr 1fr; padding: 1.25rem; }
	.about-home__img--2 { display: none; }
	.about-home__visual { padding: 0 0 2rem; }
	.about-home__badge { left: 1rem; bottom: 0; }
	.mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
	.masonry { columns: 1; }
	.profile-hero__inner { grid-template-columns: 1fr; }
	.profile-hero__photo { max-width: 260px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
	.check-list--2col { grid-template-columns: 1fr; }
	/* Floating quick actions: compact round icons at the bottom-right so they
	   never overlap the page content on small screens. */
	.float-actions { left: auto; right: 12px; top: auto; bottom: 16px; transform: none; gap: 10px; }
	.float-btn { width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 2px solid #fff; justify-content: center; gap: 0; }
	.float-btn span { display: none; }
	.float-btn .cp-i { width: 24px; height: 24px; }
	.wa-menu__list { left: auto; right: 0; }
	.cta-strip, .footer-cta { text-align: center; justify-content: center; }
	.section-head--split { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Patient reports lookup
   -------------------------------------------------------------------------- */
.reports-form h3 { display: flex; align-items: center; gap: .5rem; }
.report-list { margin-top: 2rem; }
.report-list h3 { margin-bottom: 1rem; }
.report-row { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--cp-border); border-radius: 16px; margin-bottom: .75rem; }
.report-row__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: rgb(var(--cp-primary-rgb) / .1); color: var(--cp-primary); }
.report-row.is-pending .report-row__icon { background: rgb(var(--cp-accent-rgb) / .12); color: var(--cp-accent); }
.report-row__body { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.report-row__body strong { font-family: var(--cp-font-head); color: var(--cp-navy); }
.report-row__body small { color: var(--cp-muted); }
.report-row__body p { margin: .35rem 0 0; font-size: .9rem; color: var(--cp-muted); }
@media (max-width: 600px) { .report-row { flex-wrap: wrap; } .report-row .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   Lab test price list (Excel Labs style rows, no images)
   -------------------------------------------------------------------------- */
.test-list { border: 1px solid var(--cp-border); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--cp-shadow); }
.test-list__head { display: grid; grid-template-columns: minmax(0,1fr) 170px 150px 110px; gap: 1rem; align-items: center; padding: .85rem 1.25rem; background: var(--cp-navy); color: #fff; font-family: var(--cp-font-head); font-weight: 600; font-size: .82rem; letter-spacing: .03em; text-transform: uppercase; }
.test-row { display: grid; grid-template-columns: minmax(0,1fr) 170px 150px 110px; gap: 1rem; align-items: center; padding: .85rem 1.25rem; border-top: 1px solid var(--cp-border); transition: background .15s; }
.test-list__head + .test-row { border-top: 0; }
.test-row:nth-child(even) { background: #fafcfe; }
.test-row:hover { background: rgb(var(--cp-primary-rgb) / .05); }
.test-row__main { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.test-row__icon { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: rgb(15 163 177 / .12); color: var(--cp-teal); }
.test-row__name { display: flex; flex-direction: column; min-width: 0; }
.test-row__name > a { font-family: var(--cp-font-head); font-weight: 600; color: var(--cp-navy); font-size: 1rem; line-height: 1.25; }
.test-row__name > a:hover { color: var(--cp-primary); }
.test-row__name small { display: flex; flex-wrap: wrap; gap: .35rem .6rem; margin-top: .2rem; }
.test-row__code { font-family: var(--cp-font-head); font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--cp-primary); background: rgb(var(--cp-primary-rgb) / .08); padding: .1rem .45rem; border-radius: 5px; }
.test-row__cat { font-size: .78rem; color: var(--cp-muted); }
.test-row__home { display: inline-flex; align-items: center; gap: .25rem; font-size: .74rem; font-weight: 600; color: var(--cp-green); }
.test-row__time { color: var(--cp-muted); font-size: .9rem; display: flex; align-items: center; gap: .35rem; }
.test-row__time .cp-i { color: var(--cp-teal); }
.test-row__price { font-family: var(--cp-font-head); }
.test-row__price strong { font-size: 1.1rem; color: var(--cp-navy); }
.test-row__price s { color: var(--cp-muted); font-weight: 500; font-size: .82rem; margin-right: .2rem; }
.test-row__ask { font-size: .85rem !important; color: var(--cp-muted); font-weight: 600; }
.test-row__action { text-align: right; }
.test-row__label { display: none; font-family: var(--cp-font-head); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--cp-muted); font-weight: 600; }
.test-list [data-filter-item][hidden] { display: none; }
/* Hidden filter items must disappear in every archive grid (courses, services,
   doctors, lab tests), not only inside .test-list. */
[data-filter-item][hidden] { display: none !important; }

@media (max-width: 820px) {
	.test-list__head { display: none; }
	.test-row { grid-template-columns: 1fr auto; grid-template-areas: "main price" "main action"; row-gap: .35rem; column-gap: .75rem; padding: 1rem; }
	.test-row__main { grid-area: main; }
	.test-row__time { display: none; }
	.test-row__price { grid-area: price; text-align: right; }
	.test-row__action { grid-area: action; }
	.test-row__label { display: inline; margin-right: .3rem; }
}
@media (max-width: 480px) {
	.test-row { grid-template-columns: 1fr; grid-template-areas: "main" "price" "action"; }
	.test-row__price, .test-row__action { text-align: left; }
	.test-row__action .btn { width: 100%; }
}

/* Lab tests: home sampling row */
.lab-book-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: 14px; background: rgb(31 168 74 / .08); border: 1px solid rgb(31 168 74 / .25); }
.lab-book-row p { margin: 0; color: var(--cp-navy); font-size: .95rem; display: flex; align-items: center; gap: .5rem; }
.lab-book-row .cp-i { color: var(--cp-green); }
@media (max-width: 600px) { .lab-book-row { justify-content: center; text-align: center; } .lab-book-row .btn { width: 100%; } }

/* Home: intro videos */
.video-grid { display: grid; gap: 1.5rem; }
.video-grid--two { grid-template-columns: 1fr 1fr; }
.video-grid--one { grid-template-columns: minmax(0, 820px); justify-content: center; }
.video-card { border-radius: 18px; overflow: hidden; box-shadow: var(--cp-shadow-lg); background: #000; aspect-ratio: 16 / 9; }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
@media (max-width: 820px) { .video-grid--two { grid-template-columns: 1fr; } }
