/*
 * Klinik Utama Pandawa theme styles.
 *
 * The look follows the design doc ("Web Design" Google Doc, Klinik Pandawa
 * tab): modern, premium, trustworthy, mobile-first, rounded cards, authentic
 * clinic photos. Colours come from the logo (navy-blue, teal, light blue).
 * Poppins headings, Open Sans text (self-hosted). Pages are Elementor
 * containers; the .kp-* classes below are applied through Advanced → CSS
 * Classes. Forked from the Whizzy Growth theme.
 */

/* ------------------------------------------------------------------ tokens */
:root {
	--kp-navy: #1E2C6B;       /* headings, footer */
	--kp-navy-2: #2A3B85;
	--kp-brand: #354A9F;      /* logo blue: buttons, accents */
	--kp-brand-2: #2A3B85;    /* button hover */
	--kp-teal: #22A1B5;       /* logo teal */
	--kp-sky: #A3CAEB;        /* logo light blue */
	--kp-grad: linear-gradient(120deg, #354A9F 0%, #2C6FAE 55%, #22A1B5 100%);
	--kp-grad-dark: linear-gradient(125deg, #1E2C6B 0%, #2A4596 55%, #1F8FA8 100%);
	--kp-ink: #1B2340;        /* body text */
	--kp-muted: #566079;
	--kp-line: #DFE6F0;
	--kp-soft: #F4F8FC;       /* soft bands */
	--kp-tint: #E8F1FA;       /* chips, icon tiles */
	--kp-wa-bright: #25D366;
	--kp-shadow-sm: 0 2px 12px rgba(30, 44, 107, .06);
	--kp-shadow-md: 0 20px 44px rgba(30, 44, 107, .12);
	--kp-shadow-lg: 0 30px 70px rgba(30, 44, 107, .18);
	--kp-radius: 24px;
	--kp-container: 1240px;
	--kp-gutter: 32px;
	--kp-head: 'Poppins', Arial, sans-serif;
	--kp-sans: 'Open Sans', Arial, sans-serif;
	--kp-header-h: 72px;
	--kp-header-top: 16px;
	--kp-ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 767px) {
	:root { --kp-gutter: 20px; --kp-header-h: 62px; --kp-header-top: 10px; --kp-radius: 20px; }
}

/* -------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: #fff;
	color: var(--kp-ink);
	font-family: var(--kp-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a { color: var(--kp-brand); text-decoration: none; }
a:hover { color: var(--kp-navy); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, p { text-wrap: pretty; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kp-header-h) + var(--kp-header-top) + 16px); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.admin-bar { --kp-admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --kp-admin-bar: 46px; } }
@media (max-width: 600px) { .admin-bar { --kp-admin-bar: 0px; } }

:focus-visible { outline: 3px solid var(--kp-brand); outline-offset: 2px; }

.kp-skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	padding: 10px 16px; border-radius: 8px; background: var(--kp-navy); color: #fff; font-weight: 600;
}
.kp-skip-link:focus { top: 12px; color: #fff; }

.kp-container { width: 100%; max-width: var(--kp-container); margin-inline: auto; padding-inline: var(--kp-gutter); }
.kp-container--narrow { max-width: 820px; }
.kp-icon { flex: none; }

/* ----------------------------------------------------------------- buttons */
.kp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--kp-head); font-weight: 500; font-size: 15.5px; line-height: 1.2;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--kp-ease);
}
.kp-btn:hover { transform: translateY(-2px); }
.kp-btn--lg { padding: 16px 30px; font-size: 16.5px; }
.kp-btn--sm { padding: 10px 18px; font-size: 14px; gap: 8px; }
.kp-btn--block { display: flex; width: 100%; }
.kp-btn--wa, .kp-btn--dark {
	background: var(--kp-brand); border-color: var(--kp-brand); color: #fff;
	box-shadow: 0 10px 24px rgba(53, 74, 159, .28);
}
.kp-btn--wa:hover, .kp-btn--wa:focus-visible, .kp-btn--dark:hover {
	background: var(--kp-brand-2); border-color: var(--kp-brand-2); color: #fff;
	box-shadow: 0 14px 30px rgba(53, 74, 159, .36);
}
.kp-btn--outline { background: #fff; border-color: var(--kp-line); color: var(--kp-navy); }
.kp-btn--outline:hover { border-color: var(--kp-navy); color: var(--kp-navy); }
.kp-btn--wa.kp-btn--on-dark { background: #fff; border-color: #fff; color: var(--kp-navy); box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.kp-btn--wa.kp-btn--on-dark:hover { background: var(--kp-tint); border-color: var(--kp-tint); color: var(--kp-navy); }
@media (max-width: 480px) {
	.kp-btn { white-space: normal; text-align: center; }
}
.kp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Elementor Button widget, restyled: "kp-ebtn kp-ebtn--outline" (dark, link). */
.kp-ebtn .elementor-button {
	display: inline-flex; align-items: center; padding: 13px 26px; border-radius: 999px;
	border: 1.5px solid transparent; font-family: var(--kp-head); font-weight: 500;
	font-size: 15.5px; line-height: 1.2; fill: currentColor;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--kp-ease);
}
.kp-ebtn--sm .elementor-button { padding: 10px 18px; font-size: 14px; }
.kp-ebtn--dark .elementor-button { background: var(--kp-navy); border-color: var(--kp-navy); color: #fff; }
.kp-ebtn--dark .elementor-button:hover { background: var(--kp-navy-2); border-color: var(--kp-navy-2); color: #fff; transform: translateY(-2px); }
.kp-ebtn--outline .elementor-button { background: #fff; border-color: var(--kp-line); color: var(--kp-navy); }
.kp-ebtn--outline .elementor-button:hover { border-color: var(--kp-navy); color: var(--kp-navy); transform: translateY(-2px); }
.kp-ebtn--link .elementor-button { background: none; padding: 4px 0; border-radius: 0; color: var(--kp-brand); font-size: 15px; }
.kp-ebtn--link .elementor-button:hover { color: var(--kp-navy); }

/* ------------------------------------------------------------------ header */
/* A white rounded bar floating over the page, fixed while scrolling. */
.kp-header {
	position: fixed; z-index: 50; left: 0; right: 0;
	top: calc(var(--kp-admin-bar, 0px) + var(--kp-header-top));
	padding-inline: var(--kp-gutter); pointer-events: none;
}
.kp-header__bar {
	pointer-events: auto; position: relative;
	max-width: calc(var(--kp-container) - 2 * var(--kp-gutter) + 32px); margin-inline: auto;
	min-height: var(--kp-header-h); padding: 10px 12px 10px 24px;
	display: flex; align-items: center; gap: 16px;
	background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border: 1px solid rgba(223, 230, 240, .9); border-radius: 999px; box-shadow: var(--kp-shadow-sm);
	transition: box-shadow .25s, background-color .25s;
}
.kp-header.is-scrolled .kp-header__bar { box-shadow: var(--kp-shadow-md); background: rgba(255, 255, 255, .97); }
.kp-header__brand { display: flex; flex: none; }
.kp-header__logo { display: block; width: auto; height: 40px; }
.kp-nav { margin-left: auto; display: flex; align-items: center; }
.kp-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.kp-nav__list > li { position: relative; display: flex; align-items: center; }
.kp-nav__list a {
	display: block; padding: 9px 14px; border-radius: 999px;
	font-family: var(--kp-head); font-size: 15px; font-weight: 500; color: var(--kp-navy); white-space: nowrap;
	transition: background-color .15s, color .15s;
}
.kp-nav__list a:hover, .kp-nav__list .current-menu-item > a { background: var(--kp-tint); color: var(--kp-brand); }
.kp-nav__toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: -10px;
	border: 0; border-radius: 50%; background: none; color: var(--kp-navy); cursor: pointer; transition: transform .2s;
}
.kp-nav__list li.is-open > .kp-nav__toggle { transform: rotate(180deg); }
.kp-nav__list .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 12px); left: 0; min-width: 280px;
	background: #fff; border: 1px solid var(--kp-line); border-radius: 18px; box-shadow: var(--kp-shadow-md);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--kp-ease), visibility .2s;
}
/* Bridge the gap so the pointer can travel into the dropdown. */
.kp-nav__list .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.kp-nav__list .sub-menu a { padding: 10px 14px; border-radius: 12px; white-space: normal; }
@media (min-width: 1025px) {
	.kp-nav__list > li:hover > .sub-menu,
	.kp-nav__list > li:focus-within > .sub-menu,
	.kp-nav__list > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
.kp-nav__cta-mobile { display: none; }
.kp-header__cta { flex: none; }
.kp-header__menu {
	display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: var(--kp-tint); color: var(--kp-navy); cursor: pointer; align-items: center; justify-content: center;
}
.kp-header__menu-close { display: none; }
/* Seven menu items plus the CTA don't fit a laptop-width bar: tighter links
   and an icon-only CTA (the floating button and every section repeat it). */
@media (min-width: 1025px) and (max-width: 1240px) {
	.kp-nav__list a { padding: 9px 9px; font-size: 14.5px; }
	.kp-nav__toggle { margin-left: -8px; }
	.kp-header__cta span { display: none; }
	.kp-header__cta.kp-btn--sm { padding: 11px; }
}

@media (max-width: 1024px) {
	.kp-header__bar { padding: 8px 8px 8px 18px; border-radius: 22px; flex-wrap: wrap; }
	.kp-header__logo { height: 34px; }
	.kp-header__cta { margin-left: auto; }
	.kp-header__menu { display: inline-flex; }
	.kp-nav {
		display: none; order: 3; flex-basis: 100%; margin: 0;
		flex-direction: column; align-items: stretch; gap: 12px; padding: 8px 4px 12px;
		max-height: calc(100vh - 120px); overflow-y: auto;
	}
	.kp-header.is-open .kp-nav { display: flex; }
	.kp-header.is-open .kp-header__menu-open { display: none; }
	.kp-header.is-open .kp-header__menu-close { display: inline-flex; }
	.kp-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.kp-nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--kp-line); }
	.kp-nav__list > li > a { flex: 1; padding: 14px 6px; border-radius: 0; font-size: 16px; }
	.kp-nav__list a:hover { background: none; }
	.kp-nav__toggle { width: 44px; height: 44px; margin: 0; }
	.kp-nav__list .sub-menu {
		position: static; display: none; flex-basis: 100%; min-width: 0; padding: 0 0 10px 12px;
		border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
	}
	.kp-nav__list .sub-menu::before { display: none; }
	.kp-nav__list li.is-open > .sub-menu { display: block; }
	.kp-nav__list .sub-menu a { padding: 9px 6px; color: var(--kp-muted); }
	.kp-nav__cta-mobile { display: block; }
	body.kp-menu-open { overflow: hidden; }
}
@media (max-width: 480px) {
	/* The icon carries the button; the floating button and every section repeat the CTA. */
	.kp-header__cta span { display: none; }
	.kp-header__cta.kp-btn--sm { padding: 11px; }
	.kp-header__logo { height: 30px; }
}

/* ---------------------------------------------------------- page sections */
.elementor-widget-text-editor p:last-child,
.elementor-widget-text-editor ul:last-child { margin-bottom: 0; }
.elementor-widget-text-editor p:first-child { margin-top: 0; }

.kp-eyebrow, .kp-eyebrow p {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--kp-head); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--kp-brand);
}
.kp-eyebrow p::before, p.kp-eyebrow::before {
	content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--kp-grad);
}
.kp-eyebrow--light, .kp-eyebrow--light p { color: #A3CAEB; }
.kp-h1 .elementor-heading-title {
	font-family: var(--kp-head); font-weight: 600; font-size: clamp(34px, 4.6vw, 56px);
	line-height: 1.1; letter-spacing: -.02em; color: var(--kp-navy);
}
.kp-h2 .elementor-heading-title, h2.kp-h2 {
	margin: 0; font-family: var(--kp-head); font-weight: 600; font-size: clamp(28px, 3.3vw, 42px);
	line-height: 1.16; letter-spacing: -.018em; color: var(--kp-navy);
}
.kp-h2--light .elementor-heading-title { color: #fff; }
.kp-lead, .kp-lead p { font-size: 17px; line-height: 1.65; color: var(--kp-muted); }
p.kp-lead { margin: 0; }
.kp-lead--light, .kp-lead--light p { color: rgba(255, 255, 255, .82); }
.kp-center, .kp-center .elementor-heading-title, .kp-center .elementor-widget-text-editor { text-align: center; }
.kp-center .kp-eyebrow p { justify-content: center; }
.e-con.kp-center { align-self: center; margin-inline: auto; max-width: 780px; }
.kp-chip, .kp-chip p {
	display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
	background: var(--kp-tint); color: var(--kp-brand);
	font-family: var(--kp-head); font-size: 12.5px; font-weight: 500; line-height: 1.3;
}
.elementor-widget.kp-chip { width: auto; align-self: flex-start; }
.elementor-widget.kp-chip p { margin: 0; }

/* Rows of buttons keep their natural width (Elementor stretches flex children). */
.e-con.kp-inline > .e-con { --width: auto; width: auto; }
.e-con.kp-inline > .elementor-element { --container-widget-flex-grow: 0; flex-grow: 0; width: auto; }

.e-con.kp-band--soft, .kp-band--soft { background: var(--kp-soft); }
.e-con.kp-band--navy { background: var(--kp-grad-dark); color: #fff; }
.kp-band { padding-block: 80px; }

.kp-checks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kp-checks li { position: relative; padding-left: 30px; }
.kp-checks li::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--kp-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23354A9F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Scroll reveal: theme.js adds .kp-reveal-on to <html> and .is-in on view. */
.kp-reveal-on .kp-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--kp-ease), transform .7s var(--kp-ease); }
.kp-reveal-on .kp-reveal.is-in { opacity: 1; transform: none; }
.elementor-editor-active .kp-reveal { opacity: 1 !important; transform: none !important; }

/* ---------------------------------------------------------------- page hero */
.e-con.kp-pagehero {
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(53, 74, 159, .14), transparent 70%),
		radial-gradient(50% 70% at 0% 100%, rgba(34, 161, 181, .10), transparent 70%),
		var(--kp-soft);
	overflow: hidden;
}
.kp-pagehero--text .kp-pagehero__copy { max-width: 820px; }
.kp-pagehero__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--kp-shadow-lg); }

/* -------------------------------------------------------------------- tabs */
/* .elementor-widget-n-tabs in each selector: Elementor's nested-tabs CSS
   loads after the theme's with equal specificity and would win. */
.kp-tabs .e-n-tabs-heading {
	gap: 8px; justify-content: center !important; flex-wrap: nowrap;
	overflow-x: auto; scrollbar-width: none; padding-bottom: 4px;
}
.kp-tabs .e-n-tabs-heading::-webkit-scrollbar { display: none; }
.kp-tabs.elementor-widget-n-tabs .e-n-tab-title {
	flex: 0 0 auto; justify-content: center; padding: 10px 20px; border-radius: 999px;
	background: #fff !important; border: 1px solid var(--kp-line); color: var(--kp-navy) !important;
	font-family: var(--kp-head); font-weight: 500; font-size: 14.5px; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s;
}
.kp-tabs.elementor-widget-n-tabs .e-n-tab-title:hover { border-color: var(--kp-brand); }
.kp-tabs.elementor-widget-n-tabs .e-n-tab-title[aria-selected="true"] { background: var(--kp-navy) !important; border-color: var(--kp-navy); color: #fff !important; }
.kp-tabs.elementor-widget-n-tabs .e-n-tab-title-text { color: inherit !important; font: inherit; }
.kp-tabs .e-n-tabs-content > .e-con { border: 0; padding: 0; }
.kp-tabs .e-n-tabs-content { margin-top: 32px; }
.kp-tabs .e-n-tabs-content > .e-con.e-active { animation: kp-fade-in .45s var(--kp-ease); }
@keyframes kp-fade-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 767px) {
	.kp-tabs .e-n-tabs-heading { justify-content: flex-start !important; margin-inline: calc(var(--kp-gutter) * -1); padding-inline: var(--kp-gutter); }
	.kp-tabs.elementor-widget-n-tabs .e-n-tab-title { padding: 9px 15px; font-size: 13.5px; }
	.kp-tabs .e-n-tabs-content { margin-top: 22px; }
}

/* --------------------------------------------------------------- services */
.e-con.kp-svc {
	background: #fff; border: 1px solid var(--kp-line); border-radius: var(--kp-radius); overflow: hidden;
	box-shadow: var(--kp-shadow-sm); transition: box-shadow .3s, transform .3s var(--kp-ease), border-color .3s;
}
.e-con.kp-svc:hover { box-shadow: var(--kp-shadow-md); transform: translateY(-6px); border-color: rgba(53, 74, 159, .35); }
.kp-svc .kp-svc__img { overflow: hidden; }
.kp-svc .kp-svc__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--kp-ease); }
.e-con.kp-svc:hover .kp-svc__img img { transform: scale(1.05); }
.kp-svc__title .elementor-heading-title { font-family: var(--kp-head); font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--kp-navy); }
.kp-svc__text p { font-size: 14.5px; line-height: 1.6; color: var(--kp-muted); }
.e-con.kp-svc__body { flex-grow: 1; }
.e-con.kp-svc__foot { margin-top: auto; }

/* Accordion inside service cards: the open row lights up. */
.kp-acc .e-n-accordion { display: grid; gap: 6px; }
.kp-acc .e-n-accordion-item { border-radius: 14px; background: var(--kp-soft); transition: background-color .25s, box-shadow .25s; }
.kp-acc .e-n-accordion-item[open] { background: var(--kp-tint); box-shadow: inset 3px 0 0 var(--kp-brand); }
.kp-acc.elementor-widget-n-accordion .e-n-accordion-item-title {
	padding: 11px 14px; border: 0 !important; background: none !important; justify-content: space-between; gap: 10px;
}
.kp-acc.elementor-widget-n-accordion .e-n-accordion-item-title-text {
	font-family: var(--kp-head); font-weight: 500; font-size: 14.5px; line-height: 1.35; color: var(--kp-navy) !important;
}
.kp-acc.elementor-widget-n-accordion .e-n-accordion-item[open] .e-n-accordion-item-title-text { color: var(--kp-brand) !important; }
.kp-acc .e-n-accordion-item-title-header { flex: 1; text-align: left; }
.kp-acc.elementor-widget-n-accordion .e-n-accordion-item-title-icon { order: 2 !important; }
.kp-acc .e-n-accordion-item-title-icon svg, .kp-acc .e-n-accordion-item-title-icon i { fill: var(--kp-brand); color: var(--kp-brand); width: 12px; height: 12px; }
.kp-acc .e-n-accordion-item > .e-con { border: 0 !important; padding: 0 14px 14px !important; background: none; }
.kp-acc__text p { font-size: 14px; line-height: 1.55; color: var(--kp-muted); }

/* --------------------------------------------------------------- benefits */
.e-con.kp-benefit, .e-con.kp-feature {
	background: #fff; border: 1px solid var(--kp-line); border-radius: 20px;
	transition: border-color .25s, box-shadow .25s, transform .25s var(--kp-ease);
}
.e-con.kp-benefit:hover, .e-con.kp-feature:hover { border-color: rgba(53, 74, 159, .4); box-shadow: var(--kp-shadow-md); transform: translateY(-4px); }
.kp-band--soft .e-con.kp-benefit, .kp-band--soft .e-con.kp-feature { border-color: transparent; }
.kp-benefit__icon .elementor-icon {
	width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--kp-grad); color: #fff; font-size: 20px;
}
.kp-benefit__icon .elementor-icon svg { width: 20px; height: 20px; fill: #fff; }
.kp-benefit__num p, .kp-feature__num p {
	font-family: var(--kp-head); font-weight: 600; font-size: 14px; letter-spacing: .06em; color: var(--kp-brand);
}
.kp-benefit__title .elementor-heading-title, .kp-feature__title .elementor-heading-title {
	font-family: var(--kp-head); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--kp-navy);
}
.kp-benefit__text p, .kp-feature__text p { font-size: 14.5px; line-height: 1.6; color: var(--kp-muted); }
.kp-certline p {
	display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; border-radius: 14px;
	background: #fff; border: 1px dashed rgba(53, 74, 159, .4); font-size: 14.5px; color: var(--kp-navy);
}
.kp-certline .kp-icon { color: var(--kp-brand); }

/* ---------------------------------------------------------------- why us */
.e-con.kp-why__media { position: relative; }
.kp-why__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--kp-shadow-lg); }
.e-con.kp-why__stat {
	position: absolute; right: -20px; bottom: 32px; width: auto; --width: auto;
	background: var(--kp-grad); color: #fff; border-radius: 20px; box-shadow: var(--kp-shadow-md);
}
.kp-why__stat-num p { margin: 0; font-family: var(--kp-head); font-size: 34px; line-height: 1.1; color: #fff; }
.kp-why__stat-label p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .88); }
@media (max-width: 767px) {
	.kp-why__img img { aspect-ratio: 4 / 3; }
	.e-con.kp-why__stat { right: 12px; bottom: 12px; }
}

/* ----------------------------------------------------------------- process */
.e-con.kp-steps { position: relative; counter-reset: step; }
@media (min-width: 1025px) {
	/* A line through the numbers. */
	.e-con.kp-steps::before {
		content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px;
		background: linear-gradient(90deg, var(--kp-brand), #22A1B5); opacity: .25;
	}
}
.e-con.kp-step { position: relative; }
.kp-step__num p {
	margin: 0; width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: #fff; border: 2px solid var(--kp-tint); box-shadow: var(--kp-shadow-sm);
	font-family: var(--kp-head); font-weight: 600; font-size: 17px; color: var(--kp-brand);
	transition: background-color .3s, color .3s, border-color .3s;
}
.e-con.kp-step:hover .kp-step__num p { background: var(--kp-brand); border-color: var(--kp-brand); color: #fff; }
.kp-step__title .elementor-heading-title { font-family: var(--kp-head); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--kp-navy); }
.kp-step__text p { font-size: 14.5px; line-height: 1.6; color: var(--kp-muted); }

/* ------------------------------------------------------------- link cards */
a.e-con.kp-linkcard, .e-con.kp-linkcard {
	background: #fff; border: 1px solid var(--kp-line); border-radius: 20px; color: inherit;
	transition: border-color .25s, box-shadow .25s, transform .25s var(--kp-ease);
}
a.e-con.kp-linkcard:hover { border-color: var(--kp-brand); box-shadow: var(--kp-shadow-md); transform: translateY(-4px); }
.kp-linkcard__title .elementor-heading-title { font-family: var(--kp-head); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--kp-navy); }
.kp-linkcard__text p { font-size: 14.5px; line-height: 1.6; color: var(--kp-muted); }
.e-con.kp-linkcard > .kp-linkcard__more { margin-top: auto; }
.kp-linkcard__more p { font-family: var(--kp-head); font-weight: 500; font-size: 14.5px; color: var(--kp-brand); transition: letter-spacing .25s; }
a.e-con.kp-linkcard:hover .kp-linkcard__more p { letter-spacing: .02em; }
.kp-brandcard__logo img { display: block; height: 52px; width: auto; }
.kp-cat__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; box-shadow: var(--kp-shadow-md); }

/* --------------------------------------------------------------- contact */
.kp-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.kp-contact__card { display: flex; flex-direction: column; gap: 8px; padding: 26px; background: #fff; border: 1px solid var(--kp-line); border-radius: 20px; box-shadow: var(--kp-shadow-sm); }
.kp-contact__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--kp-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.kp-contact__label { margin: 0; font-family: var(--kp-head); font-size: 17px; font-weight: 600; color: var(--kp-navy); }
.kp-contact__value { margin: 0 0 8px; color: var(--kp-muted); font-size: 15px; }
.kp-contact__card .kp-btn { align-self: flex-start; margin-top: auto; }
.e-con.kp-pagehero + .e-con .kp-contact { margin-top: -40px; position: relative; }

/* ---------------------------------------------------------------- articles */
.kp-news { display: flex; flex-direction: column; gap: 32px; }
.kp-news__head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; }
.kp-news__head .kp-eyebrow { margin: 0 0 10px; }
.kp-news__head .kp-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--kp-grad); }
.kp-news__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.kp-news__card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--kp-line); border-radius: 22px; overflow: hidden;
	transition: box-shadow .25s, transform .25s var(--kp-ease);
}
.kp-news__card:hover { box-shadow: var(--kp-shadow-md); transform: translateY(-4px); }
.kp-news__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--kp-tint); }
.kp-news__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--kp-ease); }
.kp-news__card:hover .kp-news__thumb img { transform: scale(1.05); }
.kp-news__thumb-fallback { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.kp-news__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.kp-news__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--kp-muted); }
.kp-news__name { margin: 0; font-family: var(--kp-head); font-weight: 600; font-size: 18px; line-height: 1.35; }
.kp-news__name a { color: var(--kp-navy); }
.kp-news__name a:hover { color: var(--kp-brand); }
.kp-news__excerpt { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--kp-muted); }
.kp-posts-empty { padding: 16px; border: 1px dashed var(--kp-line); border-radius: 12px; color: var(--kp-muted); }

/* --------------------------------------------------------------- final CTA */
.e-con.kp-cta {
	position: relative; overflow: hidden; isolation: isolate; border-radius: 32px;
	background: var(--kp-grad-dark); box-shadow: var(--kp-shadow-lg);
}
.e-con.kp-cta::before, .e-con.kp-cta::after {
	content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); pointer-events: none;
}
.e-con.kp-cta::before { width: 420px; height: 420px; right: -120px; top: -160px; background: rgba(34, 161, 181, .45); animation: kp-float 12s ease-in-out infinite alternate; }
.e-con.kp-cta::after { width: 360px; height: 360px; left: -100px; bottom: -180px; background: rgba(53, 74, 159, .6); animation: kp-float 15s -5s ease-in-out infinite alternate; }
.kp-cta .kp-cta__title .elementor-heading-title { max-width: 18ch; margin-inline: auto; }
.kp-cta .kp-lead--light { max-width: 60ch; margin-inline: auto; }

/* ------------------------------------------------------------------ footer */
.kp-footer { background: var(--kp-navy); color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.7; }
.kp-footer a { color: rgba(255, 255, 255, .86); }
.kp-footer a:hover { color: #fff; }
.kp-footer__grid { padding-block: 72px 36px; display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.3fr; gap: 40px; }
@media (max-width: 1024px) {
	.kp-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kp-footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.kp-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-block: 52px 24px; }
	.kp-footer__grid > .kp-footer__col:last-child { grid-column: 1 / -1; }
}
.kp-footer__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kp-footer__col p { margin: 0; max-width: 44ch; }
.kp-footer__logo { display: block; width: auto; height: 46px; margin-bottom: 6px; }
.kp-footer__heading { font-family: var(--kp-head); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.kp-footer__links, .kp-footer__col .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kp-footer__links a, .kp-footer__links .kp-footer__addr { display: inline-flex; align-items: flex-start; gap: 10px; }
.kp-footer__links .kp-icon { color: #A3CAEB; margin-top: 4px; }
.kp-footer__addr strong { color: #fff; font-weight: 600; }
.kp-footer__social { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kp-footer__social a {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .22); font-size: 13.5px; transition: background-color .2s, border-color .2s;
}
.kp-footer__social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.kp-footer__bottom {
	/* padding-right: clear of the floating WhatsApp button. */
	border-top: 1px solid rgba(255, 255, 255, .14); padding: 22px 72px 28px 0;
	display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: rgba(255, 255, 255, .6);
}
.kp-footer__bottom p { margin: 0; }

/* --------------------------------------------------- floating WhatsApp button */
.kp-wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	width: 58px; height: 58px; border-radius: 50%; background: var(--kp-wa-bright); color: #fff;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
	transition: transform .2s var(--kp-ease);
}
.kp-wa-float::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--kp-wa-bright);
	z-index: -1; animation: kp-pulse 2.6s ease-out infinite;
}
@keyframes kp-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
.kp-wa-float:hover { color: #fff; transform: scale(1.06); }
body.kp-menu-open .kp-wa-float { display: none; }

/* ------------------------------------------- block-editor pages, posts, archive */
/* Clear the floating header. */
.kp-page { padding-block: calc(var(--kp-header-h) + var(--kp-header-top) + 56px) 80px; }
.kp-page__title {
	margin: 0 0 16px; font-family: var(--kp-head); font-weight: 600; font-size: clamp(30px, 4vw, 46px);
	line-height: 1.14; letter-spacing: -.02em; color: var(--kp-navy);
}
.kp-archive__head { display: flex; flex-direction: column; gap: 6px; max-width: 760px; margin-bottom: 40px; }
.kp-archive__head .kp-eyebrow, .kp-page .kp-eyebrow { margin: 0; }
.kp-archive .navigation.pagination { margin-top: 40px; }
.kp-archive .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.kp-archive .page-numbers { display: inline-flex; min-width: 42px; height: 42px; padding: 0 12px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--kp-line); color: var(--kp-navy); font-family: var(--kp-head); font-size: 14.5px; }
.kp-archive .page-numbers.current, .kp-archive .page-numbers:hover { background: var(--kp-navy); border-color: var(--kp-navy); color: #fff; }

.kp-article { padding-bottom: 0; }
.kp-article__head { margin-bottom: 28px; }
.kp-article__crumbs { margin: 0 0 14px; font-size: 13.5px; color: var(--kp-muted); }
.kp-article__crumbs a { color: var(--kp-muted); }
.kp-article__crumbs a:hover { color: var(--kp-brand); }
.kp-article__thumb { max-width: 1040px; margin-bottom: 40px; }
.kp-article__thumb img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--kp-shadow-md); }
.kp-article__cta {
	margin: 48px 0 72px; padding: 28px 30px; border-radius: 24px; background: var(--kp-grad-dark); color: #fff;
	display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
}
.kp-article__cta-title { margin: 0; font-family: var(--kp-head); font-weight: 600; font-size: 20px; line-height: 1.3; color: #fff; max-width: 32ch; }

.kp-prose { font-size: 17px; line-height: 1.75; color: var(--kp-ink); }
.kp-prose h2 { margin: 2em 0 .6em; font-family: var(--kp-head); font-weight: 600; font-size: clamp(23px, 2.6vw, 29px); line-height: 1.25; color: var(--kp-navy); }
.kp-prose h3 { margin: 1.6em 0 .5em; font-family: var(--kp-head); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--kp-navy); }
.kp-prose p, .kp-prose ul, .kp-prose ol { margin: 0 0 1.1em; }
.kp-prose ul, .kp-prose ol { padding-left: 1.3em; }
.kp-prose li { margin-bottom: .4em; }
.kp-prose a { text-decoration: underline; text-decoration-color: rgba(53, 74, 159, .35); text-underline-offset: 3px; }
.kp-prose a:hover { text-decoration-color: currentColor; }
.kp-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--kp-brand); color: var(--kp-navy); font-style: italic; }
.kp-prose img { border-radius: 16px; }
.kp-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.kp-prose th, .kp-prose td { padding: 10px 12px; border: 1px solid var(--kp-line); text-align: left; vertical-align: top; }
.kp-prose th { background: var(--kp-soft); font-family: var(--kp-head); font-weight: 600; color: var(--kp-navy); }
@media (max-width: 600px) {
	.kp-prose { font-size: 16.5px; }
	.kp-prose table { display: block; overflow-x: auto; }
}

/* ======================================================= Klinik Pandawa parts */

/* -------------------------------------------------------------- home hero */
/* Copy on top, the curated banner below at its own 2:1 ratio: its ribbon
   spans most of the width, so nothing may sit on it. */
.e-con.kp-hero {
	background:
		radial-gradient(60% 70% at 100% 0%, rgba(34, 161, 181, .12), transparent 70%),
		radial-gradient(50% 60% at 0% 30%, rgba(53, 74, 159, .10), transparent 70%),
		var(--kp-soft);
	overflow: hidden;
}
.e-con.kp-hero__copy { max-width: 860px; }
.kp-hero__title .elementor-heading-title { font-size: clamp(30px, 4vw, 52px); max-width: 22ch; margin-inline: auto; }
.kp-hero .kp-lead { max-width: 62ch; margin-inline: auto; }
.kp-hero__img img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 32px; box-shadow: var(--kp-shadow-lg); }
@media (max-width: 767px) {
	.kp-hero__img img { border-radius: 20px; }
	.kp-hero .kp-inline > .elementor-element { flex: 1 1 100%; }
	.kp-hero .kp-inline .kp-btn, .kp-hero .kp-ebtn .elementor-button { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------ breadcrumbs */
.kp-crumbs p { flex-wrap: wrap; gap: 6px; letter-spacing: .08em; }
.kp-crumbs a { color: var(--kp-brand); }
.kp-crumbs a:hover { color: var(--kp-navy); text-decoration: underline; }
.kp-crumbs span { color: var(--kp-muted); }

/* ---------------------------------------------------------- section titles */
.kp-h3 .elementor-heading-title {
	margin: 0; font-family: var(--kp-head); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px);
	line-height: 1.25; color: var(--kp-navy);
}

/* Category cards are links: the whole card is clickable. */
a.e-con.kp-svc { color: inherit; }
.kp-svc .kp-linkcard__more p { margin: 0; }

/* Link cards: label chip, sub-pages line. */
.kp-linkcard .kp-chip { margin-bottom: 2px; }
.kp-linkcard__subs p { margin: 0; font-size: 13.5px; color: var(--kp-navy); }

/* --------------------------------------------------------------- process */
.kp-process__img img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; box-shadow: var(--kp-shadow-md); }
.e-con.kp-step { flex-wrap: nowrap; align-items: flex-start; }
.e-con.kp-step > .elementor-widget.kp-step__num { width: auto; flex: none; }
.kp-step__num p {
	margin: 0; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: var(--kp-grad); color: #fff; font-family: var(--kp-head); font-weight: 600; font-size: 15px;
}
.kp-step__title .elementor-heading-title { font-family: var(--kp-head); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--kp-navy); }
.kp-step__text p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--kp-muted); }
@media (max-width: 767px) {
	.kp-process__img img { aspect-ratio: 16 / 10; }
}

/* --------------------------------------------------------------- doctors */
.e-con.kp-doc { background: #fff; border: 1px solid var(--kp-line); border-radius: 22px; overflow: hidden; transition: box-shadow .25s, transform .25s var(--kp-ease); }
.e-con.kp-doc:hover { box-shadow: var(--kp-shadow-md); transform: translateY(-4px); }
.kp-doc .kp-doc__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #EEF2F6; }
.kp-doc__name .elementor-heading-title { font-family: var(--kp-head); font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--kp-navy); }
.kp-doc__role p { margin: 0; font-size: 13.5px; color: var(--kp-muted); }
@media (max-width: 767px) {
	.kp-doc__name .elementor-heading-title { font-size: 15px; }
	.kp-doc__role p { font-size: 12.5px; }
	.e-con.kp-doc .e-con.kp-doc__body { padding: 12px 12px 14px !important; }
}
.kp-nurse img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }

/* --------------------------------------------------------------- gallery */
.e-con.kp-gallery__item { position: relative; overflow: hidden; border-radius: 22px; isolation: isolate; min-height: 240px; }
.e-con.kp-gallery__item--tall { grid-row: span 2; }
.kp-gallery__item > .kp-gallery__img { position: absolute; inset: 0; z-index: -1; margin: 0; }
.kp-gallery__item > .kp-gallery__img .elementor-widget-container { height: 100%; }
.kp-gallery .kp-gallery__img img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .7s var(--kp-ease); }
.e-con.kp-gallery__item:hover .kp-gallery__img img { transform: scale(1.05); }
.e-con.kp-gallery__item > .kp-gallery__cap { margin-top: auto; }
.kp-gallery__cap p {
	margin: 0; padding: 40px 18px 14px; color: #fff; font-family: var(--kp-head); font-weight: 500; font-size: 14.5px;
	background: linear-gradient(180deg, transparent, rgba(20, 30, 70, .78));
}
@media (max-width: 767px) {
	.e-con.kp-gallery__item { min-height: 210px; }
	.e-con.kp-gallery__item--tall { grid-row: span 1; }
	.e-con.kp-gallery__item--tall .kp-gallery__img img { object-position: center 70%; }
}

/* --------------------------------------------------------------- reviews */
.e-con.kp-reviews { background: var(--kp-tint); border-radius: var(--kp-radius); }
.e-con.kp-reviews__copy { max-width: 640px; }
.kp-stars { color: #F5B301; letter-spacing: .1em; }
.kp-reviews__eyebrow p::before { display: none; }
.e-con.kp-reviews > .kp-reviews__action { width: auto; }
.kp-reviews__action p { margin: 0; }

/* ------------------------------------------------------------- location */
.kp-contact-wrap .kp-contact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.kp-map-wrap, .kp-map-wrap .elementor-widget-container, .kp-map-wrap p { height: 100%; margin: 0; }
.kp-map { height: 100%; min-height: 380px; border-radius: var(--kp-radius); overflow: hidden; box-shadow: var(--kp-shadow-sm); background: var(--kp-soft); }
.kp-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.kp-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--kp-head); font-weight: 500; font-size: 14.5px; }
.kp-contact__card .kp-link { margin-top: auto; }

/* ----------------------------------------------------------- CTA (photo) */
/* The curated CTA banner is a framed card (3:1) whose doctor pops out of the
   top edge, so it is shown whole, not cropped: the copy sits in its light
   left half. Below 1025px it is too short for the copy, so the box becomes
   a plain tinted card. */
.e-con.kp-cta {
	aspect-ratio: 2172 / 724; justify-content: center; border-radius: 0; box-shadow: none;
	background-color: transparent; background-size: 100% 100% !important; background-position: center !important;
	padding: 3% 48% 3% 7% !important;
}
.e-con.kp-cta::before, .e-con.kp-cta::after { display: none; }
.kp-cta .kp-cta__title .elementor-heading-title { max-width: 20ch; margin: 0; font-size: clamp(26px, 2.6vw, 36px); }
.kp-cta .kp-cta__lead p { font-size: 16px; }
@media (max-width: 1024px) {
	.e-con.kp-cta {
		aspect-ratio: auto; background-image: none !important; background-color: var(--kp-tint);
		border-radius: var(--kp-radius); padding: 48px 32px !important;
	}
}
@media (max-width: 767px) {
	.e-con.kp-cta { padding: 36px 22px !important; }
	.kp-cta .kp-inline .kp-btn { width: 100%; }
	.e-con.kp-cta > .kp-inline { width: 100%; }
}

/* ------------------------------------------------------------ misc lists */
.kp-checks--cols ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
@media (max-width: 480px) { .kp-checks--cols ul { grid-template-columns: 1fr; } }
.kp-quote__text p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--kp-ink); }
.kp-prose-box { max-width: 820px; }

/* The articles section waits for the first published post. */
.e-con.kp-posts-section:not(:has(.kp-news)) { display: none; }
.elementor-editor-active .e-con.kp-posts-section { display: flex; }

/* Section head with a button on the right (doctors, facilities). */
.e-con.kp-headrow > .e-con { --width: auto; width: auto; flex: 1 1 420px; }
.e-con.kp-headrow > .elementor-widget { width: auto; flex: none; }
.e-con.kp-svc__body > .kp-linkcard__more { margin-top: auto; }

/* Long card lists on phones: two per row, name and link only. */
@media (max-width: 767px) {
	.kp-compact .kp-svc__text, .kp-compact .kp-linkcard__text, .kp-compact .kp-linkcard__subs { display: none; }
	.kp-compact .e-con.kp-svc__body { padding: 12px 12px 14px !important; gap: 6px; }
	.kp-compact .kp-svc__title .elementor-heading-title, .kp-compact .kp-linkcard__title .elementor-heading-title { font-size: 15px; }
	.kp-compact .e-con.kp-linkcard { padding: 14px !important; gap: 6px; }
	.kp-compact .kp-linkcard__more p { font-size: 13px; }
	.kp-compact .kp-chip p { font-size: 11px; padding: 3px 8px; }
}
