/* ==========================================================================
   Kashem Nagar — main stylesheet
   Brand: logo green (#04643A) + logo red (#E31B23)
   ========================================================================== */

:root {
	--c-primary: #04643a;
	--c-accent: #e31b23;
	--c-dark: #0b2a1c;
	--c-primary-700: color-mix(in srgb, var(--c-primary) 78%, #000);
	--c-primary-50: color-mix(in srgb, var(--c-primary) 7%, #fff);
	--c-primary-100: color-mix(in srgb, var(--c-primary) 14%, #fff);
	--c-accent-700: color-mix(in srgb, var(--c-accent) 80%, #000);
	--c-accent-50: color-mix(in srgb, var(--c-accent) 8%, #fff);
	--c-mint: #eef6f1;
	--c-text: #17261e;
	--c-muted: #5b6b63;
	--c-border: #dce7e0;
	--c-white: #fff;
	--font: "Plus Jakarta Sans", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 26px;
	--shadow-sm: 0 2px 10px rgba(11, 42, 28, .06);
	--shadow: 0 14px 40px -12px rgba(11, 42, 28, .18);
	--shadow-lg: 0 30px 60px -20px rgba(11, 42, 28, .28);
	--container: 1240px;
	--gutter: 20px;
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; color: var(--c-dark); font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-primary) 60%, transparent); outline-offset: 2px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000; top: 8px; left: 8px; padding: 12px 18px; background: var(--c-white); color: var(--c-primary); border-radius: 8px; box-shadow: var(--shadow); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

.section { padding: 100px 0; position: relative; }
.section--mint { background: var(--c-mint); }
.section--dark { background: var(--c-dark); color: rgba(255, 255, 255, .78); }
.section-actions { text-align: center; margin-top: 48px; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 36px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
	transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--c-primary) 70%, transparent); }
.btn--primary:hover { background: var(--c-primary-700); color: #fff; }
.btn--accent { background: var(--c-accent); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--c-accent) 70%, transparent); }
.btn--accent:hover { background: var(--c-accent-700); color: #fff; }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--white { background: #fff; color: var(--c-accent); }
.btn--white:hover { background: var(--c-dark); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: #fff; color: var(--c-primary); border-color: #fff; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--c-primary); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--c-mint); color: var(--c-dark); cursor: pointer; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--c-primary-100); color: var(--c-primary); font-weight: 700; font-size: .82rem; }
.badge .icon { width: 16px; height: 16px; }
.badge--accent { background: var(--c-accent-50); color: var(--c-accent); }

/* ---------- Section heading ---------- */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head--left { text-align: left; margin-left: 0; margin-bottom: 32px; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
	font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent);
}
.eyebrow::before {
	content: ""; width: 14px; height: 14px; background: currentColor; flex-shrink: 0;
	clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
}
.eyebrow--light { color: #fff; }
.eyebrow--light::before { display: none; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.section-text { color: var(--c-muted); font-size: 1.05rem; margin: 0; }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-text { color: rgba(255, 255, 255, .78); }
.section-head--light .eyebrow { color: #ff8a8f; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }

.pulse-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); flex-shrink: 0; }
.pulse-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--c-accent); animation: pulse 1.8s infinite; }
.pulse-dot--white { background: #fff; }
.pulse-dot--white::after { border-color: #fff; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.check-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--c-dark); }
.check-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--c-primary); color: #fff; margin-top: 2px; stroke-width: 3; }

.icon-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.icon-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.icon-list li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c-primary-100); color: var(--c-primary); flex-shrink: 0; }
.icon-list--light li { color: #fff; }
.icon-list--light li > span { background: rgba(255, 255, 255, .12); color: #fff; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .88rem; font-weight: 600; background: rgba(255, 255, 255, .04); transition: background .2s, border-color .2s; }
.chips li:hover { background: var(--c-primary); border-color: var(--c-primary); }

.cross-deco {
	position: absolute; width: 120px; height: 120px; background: var(--c-accent); z-index: -1;
	clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
}

/* ---------- Top bar ---------- */
.topbar { background: var(--c-dark); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; white-space: nowrap; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }
.topbar__note { margin: 0; display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; min-width: 0; }
.topbar__note span { overflow: hidden; text-overflow: ellipsis; }
.topbar__note .icon { width: 15px; height: 15px; color: #ff7a80; flex-shrink: 0; }
.topbar__right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.topbar__email { display: inline-flex; align-items: center; gap: 8px; }
.topbar__email .icon { width: 15px; height: 15px; color: #6fd39b; }
.topbar__emergency { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 12px; border-radius: 999px; background: var(--c-accent); color: #fff !important; font-weight: 600; }
.topbar__emergency:hover { background: var(--c-accent-700); }
.topbar__emergency .pulse-dot { width: 7px; height: 7px; }
.topbar__emergency .pulse-dot::after { inset: -4px; }
.topbar__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }

.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: var(--c-accent); color: #fff; transform: translateY(-2px); }
.social .icon { width: 16px; height: 16px; }
.social--topbar a { width: 28px; height: 28px; background: transparent; }
.social--topbar .icon { width: 14px; height: 14px; }
.social--contact a { background: var(--c-primary); }

/* ---------- Header ---------- */
.site-header { position: relative; background: #fff; border-bottom: 1px solid var(--c-border); z-index: 900; transition: box-shadow .3s; }
.nav-open .site-header { z-index: 1001; }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 42, 28, .35); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--c-dark); flex-shrink: 0; }
.brand:hover { color: var(--c-dark); }
.brand__logo { max-height: 62px; width: auto; }
.brand__icon { width: 58px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 1.32rem; font-weight: 800; text-transform: uppercase; color: var(--c-primary); letter-spacing: .02em; }
.brand__text small { font-size: .7rem; font-weight: 600; text-transform: uppercase; color: #6b6f6d; letter-spacing: .09em; margin-top: 4px; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: rgba(255, 255, 255, .6); }
.brand--footer .brand__icon { background: #fff; border-radius: 12px; padding: 6px; width: 64px; }

.main-nav { margin-left: auto; }
.main-nav__head, .main-nav__foot { display: none; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav .menu > li { position: relative; display: flex; align-items: center; }
.main-nav .menu a { display: block; white-space: nowrap; padding: 10px 12px; font-weight: 700; font-size: .95rem; color: var(--c-dark); border-radius: 10px; }
.main-nav .menu > li > a:hover, .main-nav .menu > .current-menu-item > a, .main-nav .menu > .current-menu-ancestor > a, .main-nav .menu > .current_page_item > a { color: var(--c-primary); background: var(--c-mint); }
.submenu-toggle { display: grid; place-items: center; width: 22px; height: 22px; margin-left: -10px; padding: 0; border: 0; background: none; color: var(--c-muted); cursor: pointer; }
.main-nav .sub-menu, .main-nav .children {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 260px;
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--c-border);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); z-index: 20;
}
.main-nav .sub-menu .sub-menu { top: 0; left: 100%; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 9px 14px; font-weight: 600; font-size: .9rem; }
.main-nav .sub-menu a:hover { background: var(--c-mint); color: var(--c-primary); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--c-mint); color: var(--c-dark); cursor: pointer; transition: background .2s, color .2s; }
.header-icon:hover { background: var(--c-primary); color: #fff; }
.header-icon .icon { width: 20px; height: 20px; }
.header-cart__count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--c-accent); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.header-cart__count.is-empty { background: var(--c-muted); }
.header-btn { margin-left: 4px; padding: 13px 22px; }
.nav-toggle { display: none; }
.nav-overlay { position: fixed; inset: 0; background: rgba(11, 42, 28, .5); opacity: 0; visibility: hidden; transition: .3s; z-index: 950; }

/* Search modal */
.search-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(11, 42, 28, .78); backdrop-filter: blur(6px); display: grid; place-items: start center; padding: 18vh 20px 20px; opacity: 0; transition: opacity .2s; }
.search-modal[hidden] { display: none; }
.search-modal.is-open { opacity: 1; }
.search-modal__inner { width: 100%; max-width: 720px; position: relative; }
.search-modal form { display: flex; gap: 10px; background: #fff; padding: 10px; border-radius: 999px; box-shadow: var(--shadow-lg); }
.search-modal input { flex: 1; border: 0; padding: 12px 20px; font-size: 1.1rem; background: transparent; outline: none; }
.search-modal .btn { padding: 14px 18px; }
.search-modal__close { position: absolute; top: -64px; right: 0; background: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- Hero ---------- */
.hero {
	position: relative; color: #fff; overflow: hidden; isolation: isolate;
	background: var(--c-dark) var(--bg) center / cover no-repeat;
	padding: 110px 0 170px;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(100deg, color-mix(in srgb, var(--c-dark) 96%, transparent) 0%, color-mix(in srgb, var(--c-primary) 88%, transparent) 46%, color-mix(in srgb, var(--c-primary) 30%, transparent) 100%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: .88rem; font-weight: 600; margin-bottom: 26px; backdrop-filter: blur(4px); }
.hero__title { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 22px; }
.hero__highlight { display: block; position: relative; width: fit-content; }
.hero__highlight::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em; background: var(--c-accent); border-radius: 6px; z-index: -1; transform-origin: left; animation: grow 1s .4s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.hero__text { font-size: 1.13rem; color: rgba(255, 255, 255, .85); max-width: 600px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__stats { display: flex; gap: 0; margin: 0; max-width: 560px; }
.hero__stats > div { flex: 1; padding: 0 22px; border-left: 1px solid rgba(255, 255, 255, .22); }
.hero__stats > div:first-child { padding-left: 0; border-left: 0; }
.hero__stats dt { font-size: 2rem; font-weight: 800; line-height: 1.1; color: #fff; }
.hero__stats dd { margin: 4px 0 0; font-size: .86rem; color: rgba(255, 255, 255, .72); }

.hero__card { background: #fff; color: var(--c-text); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); position: relative; }
.hero__card::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 4px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--c-primary) 50%, var(--c-accent) 50%); }
.hero__card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px dashed var(--c-border); }
.hero__card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--c-accent); color: #fff; }
.hero__card-icon .icon { width: 28px; height: 28px; }
.hero__card-head small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--c-muted); }
.hero__card-head a { font-size: 1.35rem; font-weight: 800; color: var(--c-accent); }
.hero__card-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.hero__card-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.hero__card-list .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--c-primary-100); color: var(--c-primary); stroke-width: 3; }
.hero__pulse { position: absolute; left: 0; right: 0; bottom: 80px; width: 100%; height: 70px; color: rgba(255, 255, 255, .22); z-index: -1; }
.hero__pulse path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3.5s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Features strip ---------- */
.features { position: relative; z-index: 3; margin-top: -90px; }
.features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.feature { display: flex; gap: 16px; padding: 30px 26px; border-left: 1px solid var(--c-border); transition: background .3s; }
.feature:first-child { border-left: 0; }
.feature:hover { background: var(--c-mint); }
.feature__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--c-primary); color: #fff; flex-shrink: 0; transition: transform .3s var(--ease), background .3s; }
.feature:nth-child(2n) .feature__icon { background: var(--c-accent); }
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.05); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { font-size: 1.05rem; margin-bottom: 4px; }
.feature__text { margin: 0; font-size: .9rem; color: var(--c-muted); line-height: 1.55; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; isolation: isolate; padding: 0 60px 60px 0; }
.about__img { border-radius: var(--radius-lg); object-fit: cover; }
.about__img--main { width: 100%; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow); }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.about__badge { position: absolute; left: -24px; top: 40px; background: var(--c-primary); color: #fff; padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 190px; }
.about__badge strong { display: block; font-size: 2.6rem; line-height: 1; font-weight: 800; }
.about__badge span { font-size: .85rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
.about__media .cross-deco { left: -40px; bottom: 20px; opacity: .9; }
.about__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.about__call { display: flex; align-items: center; gap: 12px; color: var(--c-dark); }
.about__call-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px dashed var(--c-primary); color: var(--c-primary); }
.about__call small { display: block; color: var(--c-muted); font-size: .8rem; font-weight: 600; }
.about__call strong { font-size: 1.1rem; }

/* ---------- Stats ---------- */
.stats { position: relative; isolation: isolate; padding: 80px 0; background: var(--c-primary) var(--bg) center / cover fixed; color: #fff; }
.stats::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, color-mix(in srgb, var(--c-primary) 94%, transparent), color-mix(in srgb, var(--c-dark) 92%, transparent)); z-index: -1; }
.stats__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 1px; background: rgba(255, 255, 255, .18); }
.stat__num { display: block; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; color: #fff; }
.stat__label { font-size: .9rem; color: rgba(255, 255, 255, .78); font-weight: 600; }

/* ---------- Department tiles ---------- */
.dept-tile, .dept-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); color: var(--c-text); transition: transform .35s var(--ease), box-shadow .35s; height: 100%; }
.dept-tile:hover, .dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--c-text); }
.dept-tile__img, .dept-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-primary-100); }
.dept-tile__img img, .dept-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dept-tile:hover img, .dept-card:hover img { transform: scale(1.07); }
.dept-tile__body, .dept-card__body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 40px 24px 26px; flex: 1; }
.dept-tile__icon, .dept-card__icon { position: absolute; top: -30px; left: 24px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--c-primary); color: #fff; border: 4px solid #fff; transition: background .3s; }
.dept-tile:hover .dept-tile__icon, .dept-card:hover .dept-card__icon { background: var(--c-accent); }
.dept-tile__icon .icon, .dept-card__icon .icon { width: 26px; height: 26px; }
.dept-tile__title, .dept-card__title { font-size: 1.12rem; font-weight: 800; color: var(--c-dark); line-height: 1.3; margin: 0; }
.dept-card__title a { color: inherit; }
.dept-tile__text, .dept-card__text { font-size: .9rem; color: var(--c-muted); line-height: 1.6; margin: 0 0 6px; flex: 1; }

/* ---------- Emergency ---------- */
.emergency { position: relative; isolation: isolate; overflow: hidden; padding: 90px 0; color: #fff; background: linear-gradient(115deg, var(--c-accent) 0%, var(--c-accent-700) 100%); }
.emergency::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; background-image: radial-gradient(#fff 1.5px, transparent 1.5px); background-size: 22px 22px; }
.emergency__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.emergency__title { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.emergency__text { color: rgba(255, 255, 255, .88); font-size: 1.05rem; }
.emergency__list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.emergency__list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.emergency__list .icon { width: 22px; height: 22px; }
.emergency__phone { display: inline-flex; align-items: center; gap: 16px; padding: 12px 30px 12px 12px; background: #fff; border-radius: 999px; color: var(--c-accent); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); }
.emergency__phone:hover { transform: translateY(-3px); color: var(--c-accent-700); }
.emergency__phone-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--c-accent); color: #fff; }
.emergency__phone small { display: block; font-size: .78rem; color: var(--c-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.emergency__phone strong { font-size: 1.5rem; line-height: 1.2; }
.emergency__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); border: 8px solid rgba(255, 255, 255, .16); box-shadow: var(--shadow-lg); }

/* ---------- Shop section ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.cat-tile { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius); background: var(--c-mint); color: var(--c-dark); border: 1px solid transparent; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.cat-tile:hover { border-color: var(--c-primary); background: #fff; transform: translateY(-3px); color: var(--c-dark); }
.cat-tile__img { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: #fff; color: var(--c-primary); }
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__text strong { display: block; font-size: .92rem; line-height: 1.3; }
.cat-tile__text small { color: var(--c-muted); font-size: .8rem; }
.shop-perks { list-style: none; margin: 48px 0 0; padding: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-radius: var(--radius-lg); border: 1px dashed var(--c-border); }
.shop-perks li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--c-dark); justify-content: center; }
.shop-perks li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary-100); color: var(--c-primary); }

/* ---------- Diagnostics ---------- */
.diagnostics { overflow: hidden; }
.diagnostics__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 32px; }
.fact { padding: 18px 14px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.fact dt { font-size: 1.9rem; font-weight: 800; color: #7be0a6; line-height: 1.1; }
.fact dd { margin: 4px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .7); font-weight: 600; }
.diagnostics__media { position: relative; padding-bottom: 80px; }
.diagnostics__img { border-radius: var(--radius-lg); object-fit: cover; }
.diagnostics__img--main { width: 88%; aspect-ratio: 4 / 3; margin-left: auto; }
.diagnostics__img--small { position: absolute; left: 0; bottom: 0; width: 50%; aspect-ratio: 1; border: 8px solid var(--c-dark); }

/* ---------- Doctor cards ---------- */
.doctor-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; height: 100%; }
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-card__photo { display: block; aspect-ratio: 4 / 4.2; overflow: hidden; background: linear-gradient(160deg, var(--c-primary-100), var(--c-mint)); position: relative; }
.doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.doctor-card:hover .doctor-card__photo img { transform: scale(1.05); }
.doctor-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-primary); background:
	radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .9), transparent 50%),
	linear-gradient(160deg, var(--c-primary-100), color-mix(in srgb, var(--c-primary) 22%, #fff)); }
.doctor-card__placeholder .icon { width: 34%; height: 34%; stroke-width: 1.4; opacity: .8; }
.doctor-card__body { padding: 22px 22px 24px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.doctor-card__dept { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 8px; }
.doctor-card__name { font-size: 1.08rem; margin: 0 0 4px; }
.doctor-card__name a { color: var(--c-dark); }
.doctor-card__name a:hover { color: var(--c-primary); }
.doctor-card__role { margin: 0; font-size: .88rem; color: var(--c-muted); font-weight: 600; }
.doctor-card__qual { margin: 4px 0 0; font-size: .82rem; color: var(--c-muted); }
.doctor-card__actions { display: flex; gap: 8px; justify-content: center; margin-top: auto; padding-top: 18px; }

/* ---------- Vision / mission / values ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.vm-card { position: relative; overflow: hidden; padding: 44px; border-radius: var(--radius-lg); color: rgba(255, 255, 255, .88); isolation: isolate; }
.vm-card--vision { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-700)); }
.vm-card--mission { background: linear-gradient(135deg, var(--c-dark), color-mix(in srgb, var(--c-dark) 70%, var(--c-primary))); }
.vm-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 190px; height: 190px; background: rgba(255, 255, 255, .07); z-index: -1; clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); }
.vm-card h3 { color: #fff; font-size: 1.6rem; }
.vm-card p { margin: 0; font-size: 1.05rem; }
.vm-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .14); color: #fff; margin-bottom: 22px; }
.vm-card--mission .vm-card__icon { background: var(--c-accent); }
.vm-card__icon .icon { width: 28px; height: 28px; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value { padding: 26px; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.value:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.value__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-primary-100); color: var(--c-primary); margin-bottom: 16px; transition: background .25s, color .25s; }
.value:hover .value__icon { background: var(--c-accent); color: #fff; }
.value__icon .icon { width: 22px; height: 22px; }
.value__title { font-size: 1rem; margin-bottom: 6px; }
.value__text { font-size: .88rem; color: var(--c-muted); margin: 0; line-height: 1.6; }

/* ---------- Project ---------- */
.project { background: linear-gradient(180deg, #fff 0%, var(--c-mint) 100%); }
.project__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.project__media { position: relative; }
.project__media img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.project__location { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: rgba(255, 255, 255, .95); border-radius: var(--radius); font-weight: 700; color: var(--c-dark); box-shadow: var(--shadow); }
.project__location .icon { color: var(--c-accent); }
.project__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; }
.project__items > div { padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border-left: 4px solid var(--c-primary); }
.project__items > div:nth-child(2n) { border-left-color: var(--c-accent); }
.project__items dt { font-size: 1.5rem; font-weight: 800; color: var(--c-dark); line-height: 1.2; }
.project__items dd { margin: 4px 0 0; color: var(--c-muted); font-size: .9rem; font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonial-card { margin: 0; padding: 32px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testimonial-card__stars { display: flex; gap: 2px; color: #f5a623; margin-bottom: 14px; }
.testimonial-card__stars .icon { width: 18px; height: 18px; fill: currentColor; }
.testimonial-card blockquote { margin: 0 0 22px; font-size: 1rem; color: var(--c-text); flex: 1; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-card figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-card figcaption strong { display: block; color: var(--c-dark); }
.testimonial-card figcaption small { color: var(--c-muted); }

/* ---------- Appointment ---------- */
.appointment { isolation: isolate; background: var(--c-dark) var(--bg) center / cover no-repeat; }
.appointment::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--c-dark) 96%, transparent) 0%, color-mix(in srgb, var(--c-primary) 90%, transparent) 60%, color-mix(in srgb, var(--c-primary) 80%, transparent) 100%); }
.appointment__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.appointment__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.5rem; font-weight: 800; }
.appointment__phone:hover { color: #fff; opacity: .85; }
.appointment__form { padding: 40px; }

/* Appointment form (theme layer over the plugin base) */
.knc-form-title { font-size: 1.4rem; margin-bottom: 20px; }
.knc-appointment-form input, .knc-appointment-form select, .knc-appointment-form textarea { border-color: var(--c-border); background: var(--c-mint); border-radius: 12px; transition: background .2s, border-color .2s; }
.knc-appointment-form input:focus, .knc-appointment-form select:focus, .knc-appointment-form textarea:focus { background: #fff; outline-color: var(--c-primary); }
.knc-appointment-form label { color: var(--c-dark); }
.knc-appointment-form .knc-submit { width: 100%; }

/* ---------- Post cards ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; height: 100%; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-mint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--c-primary); }
.post-card__placeholder .icon { width: 48px; height: 48px; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__type { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 8px; }
.post-card__title { font-size: 1.15rem; margin: 6px 0 10px; line-height: 1.35; }
.post-card__title a { color: var(--c-dark); }
.post-card__title a:hover { color: var(--c-primary); }
.post-card__excerpt { color: var(--c-muted); font-size: .92rem; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .82rem; color: var(--c-muted); font-weight: 600; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .icon { width: 15px; height: 15px; color: var(--c-primary); }

/* ---------- Page header ---------- */
.page-header { position: relative; isolation: isolate; overflow: hidden; padding: 90px 0 84px; color: #fff; background: var(--c-dark) var(--bg) center / cover no-repeat; }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--c-dark) 95%, transparent) 0%, color-mix(in srgb, var(--c-primary) 82%, transparent) 70%, color-mix(in srgb, var(--c-primary) 55%, transparent) 100%); }
.page-header__title { color: #fff; margin: 12px 0 10px; max-width: 900px; }
.page-header__text { color: rgba(255, 255, 255, .82); max-width: 720px; margin: 0; font-size: 1.08rem; }
.page-header__cross { position: absolute; right: 6%; top: 50%; width: 140px; height: 140px; transform: translateY(-50%); background: var(--c-accent); opacity: .8; z-index: -1; clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); }
.breadcrumbs { font-size: .88rem; color: rgba(255, 255, 255, .7); font-weight: 600; }
.breadcrumbs a { color: #fff; }
.breadcrumbs a:hover { color: #ff9ea2; }
.breadcrumbs .sep { margin: 0 8px; opacity: .5; }

/* ---------- Layout with sidebar ---------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.layout-sidebar--left { grid-template-columns: 300px minmax(0, 1fr); }
.layout-aside { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.layout-main, .layout-aside, .grid > * { min-width: 0; }
.widget { background: var(--c-mint); padding: 26px; border-radius: var(--radius); }
.widget-title { font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--c-border); }
.widget h2, .widget .wp-block-heading { font-size: 1.05rem; margin-bottom: 14px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--c-border); }
.widget li { padding: 6px 0; }
.side-nav { background: var(--c-mint); border-radius: var(--radius); padding: 22px; }
.side-nav__title { font-size: 1.05rem; margin-bottom: 12px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; color: var(--c-dark); font-weight: 600; font-size: .9rem; background: #fff; }
.side-nav a .icon { width: 16px; height: 16px; color: var(--c-muted); }
.side-nav a:hover, .side-nav .is-current a { background: var(--c-primary); color: #fff; }
.side-nav a:hover .icon, .side-nav .is-current a .icon { color: #fff; }
.help-card { background: linear-gradient(140deg, var(--c-primary), var(--c-primary-700)); color: rgba(255, 255, 255, .85); border-radius: var(--radius); padding: 28px; text-align: center; }
.help-card h3 { color: #fff; margin-bottom: 6px; }
.help-card p { font-size: .9rem; }
.help-card__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, .15); margin-bottom: 14px; color: #fff; }
.help-card__phone { display: block; font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.help-card__phone:hover { color: #fff; }
.help-card .btn--white { color: var(--c-primary); }

.dept-hero { position: relative; margin: 0 0 28px; }
.dept-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-lg); }
.dept-hero__icon { position: absolute; left: 28px; bottom: -28px; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--c-accent); color: #fff; border: 5px solid #fff; }
.dept-hero__icon .icon { width: 30px; height: 30px; }
.dept-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 20px; }
.block-title { font-size: 1.5rem; margin: 48px 0 24px; }

/* Doctor profile */
.doctor-profile { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: start; }
.doctor-profile__card { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.doctor-profile__photo { aspect-ratio: 4 / 4.4; position: relative; background: var(--c-mint); }
.doctor-profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-profile__info { padding: 26px; }
.doctor-profile__info h2 { font-size: 1.4rem; margin-bottom: 4px; }
.doctor-profile__meta { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.doctor-profile__meta li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; font-size: .9rem; padding-bottom: 10px; border-bottom: 1px dashed var(--c-border); }
.doctor-profile__meta .icon { width: 18px; height: 18px; color: var(--c-primary); }
.doctor-profile__meta span { color: var(--c-muted); }
.schedule { padding: 28px; margin-bottom: 12px; }
.schedule h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.schedule h3 .icon { color: var(--c-primary); }
.schedule ul { list-style: none; padding: 0; margin: 0; }
.schedule li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-border); }
.schedule li:last-child { border-bottom: 0; }
.schedule li strong { color: var(--c-primary); }

/* Filter bar */
.filter-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 32px; }
.filter-bar label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-dark); }
.filter-bar label .icon { color: var(--c-primary); }
.filter-bar select { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--c-border); min-width: 260px; background: var(--c-mint); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 56px; }
.contact-card { padding: 28px 22px; border-radius: var(--radius-lg); background: var(--c-mint); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.contact-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c-primary); color: #fff; margin-bottom: 8px; }
.contact-card:first-child .contact-card__icon { background: var(--c-accent); }
.contact-card small { color: var(--c-muted); font-weight: 600; }
.contact-card a, .contact-card span { font-weight: 800; color: var(--c-dark); overflow-wrap: anywhere; font-size: .95rem; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-hours-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-top: 28px; }
.contact-hours-title .icon { color: var(--c-primary); }
.contact-hours { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-hours li { padding: 10px 0; border-bottom: 1px dashed var(--c-border); font-weight: 600; }
.contact-map iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.2); }

/* ---------- Entry content ---------- */
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content ul li::marker { color: var(--c-primary); }
.entry-content blockquote { margin: 1.6em 0; padding: 20px 26px; border-left: 4px solid var(--c-accent); background: var(--c-mint); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; }
.entry-content img { border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content .wp-block-table { margin: 1.4em 0 2em; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); }
.entry-content .wp-block-table table { margin: 0; }
.entry-content th { background: var(--c-primary); color: #fff; text-align: left; padding: 14px 18px; font-weight: 700; border: 0; }
.entry-content td { padding: 13px 18px; border: 0; border-top: 1px solid var(--c-border); vertical-align: top; }
.entry-content td:first-child { font-weight: 700; color: var(--c-dark); width: 34%; }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--c-mint); }
.entry-content .wp-block-table.is-style-stripes { border-bottom: 1px solid var(--c-border); }
.entry-content .wp-block-button__link { border-radius: 999px; background: var(--c-primary); font-weight: 700; padding: 14px 28px; }
.entry-content .knc-cards { margin: 28px 0 40px; }
.entry-content--blank > .alignfull { margin-inline: 0; }
.alignwide { margin-inline: calc((min(var(--container), 100vw - 40px) - 100%) / -2); max-width: none; }
.has-brand-green-color { color: #04643a; } .has-brand-green-background-color { background-color: #04643a; }
.has-brand-red-color { color: #e31b23; } .has-brand-red-background-color { background-color: #e31b23; }
.has-mint-background-color { background-color: #eef6f1; } .has-deep-background-color { background-color: #0b2a1c; }

.single-post__thumb { margin: 24px 0 32px; }
.single-post__thumb img { border-radius: var(--radius-lg); width: 100%; }
.post-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { padding: 6px 14px; border-radius: 999px; background: var(--c-mint); font-size: .85rem; font-weight: 600; }
.post-navigation { margin-top: 48px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; padding: 20px; border-radius: var(--radius); border: 1px solid var(--c-border); color: var(--c-dark); font-weight: 700; height: 100%; }
.post-navigation a:hover { border-color: var(--c-primary); }
.post-navigation small { display: block; color: var(--c-muted); font-weight: 600; font-size: .8rem; }
.post-navigation .nav-next { text-align: right; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; background: var(--c-mint); color: var(--c-dark); font-weight: 700; }
.page-numbers.current, a.page-numbers:hover { background: var(--c-primary); color: #fff; }

.search-form { display: flex; background: #fff; border: 1px solid var(--c-border); border-radius: 999px; overflow: hidden; }
.search-form input { flex: 1; border: 0; padding: 12px 18px; background: transparent; outline: none; min-width: 0; }
.search-form button { border: 0; background: var(--c-primary); color: #fff; padding: 0 18px; cursor: pointer; }

.empty-state { text-align: center; padding: 40px 0; max-width: 560px; margin: 0 auto; }
.empty-state__icon { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--c-mint); color: var(--c-primary); margin-bottom: 18px; }
.empty-state__icon .icon { width: 34px; height: 34px; }
.error-404__code { display: block; font-size: clamp(6rem, 16vw, 10rem); font-weight: 800; line-height: 1; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404__actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.comments-area { margin-top: 56px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 20px; border-radius: var(--radius); background: var(--c-mint); margin-bottom: 16px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 12px; }
.comment-form .submit { background: var(--c-primary); color: #fff; border: 0; padding: 14px 28px; border-radius: 999px; font-weight: 700; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: rgba(255, 255, 255, .7); margin-top: 120px; position: relative; }
.footer-cta { display: flex; align-items: center; gap: 28px; padding: 34px 40px; border-radius: var(--radius-lg); background: linear-gradient(110deg, var(--c-accent), var(--c-accent-700)); color: #fff; transform: translateY(-50%); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; isolation: isolate; }
.footer-cta::after { content: ""; position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; background: rgba(255, 255, 255, .1); z-index: -1; clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); }
.footer-cta__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: rgba(255, 255, 255, .16); flex-shrink: 0; }
.footer-cta__icon .icon { width: 36px; height: 36px; }
.footer-cta__text { flex: 1; }
.footer-cta__text h2 { color: #fff; font-size: 1.6rem; margin-bottom: 4px; }
.footer-cta__text p { margin: 0; color: rgba(255, 255, 255, .88); }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 48px; padding-bottom: 56px; margin-top: -20px; }
.site-footer__about p { margin: 22px 0 24px; font-size: .95rem; }
.footer-title { color: #fff; font-size: 1.08rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c-primary) 50%, var(--c-accent) 50%); }
.footer-title--spaced { margin-top: 28px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a { color: rgba(255, 255, 255, .72); font-size: .93rem; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, transform .2s; }
.footer-menu a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); transition: background .2s; }
.footer-menu a:hover { color: #fff; transform: translateX(4px); }
.footer-menu a:hover::before { background: var(--c-accent); }
.footer-menu--inline { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; font-size: .93rem; align-items: flex-start; }
.footer-contact .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #7be0a6; }
.footer-contact a { color: rgba(255, 255, 255, .85); }
.footer-contact a:hover { color: #fff; }
.site-footer__widgets { padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.site-footer__widgets .widget { background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .75); }
.site-footer__widgets .widget-title { color: #fff; border-color: rgba(255, 255, 255, .1); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .86rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.site-footer__payments { display: flex; align-items: center; gap: 8px; }
.site-footer__payments .icon { width: 16px; height: 16px; color: #7be0a6; }

/* Floating buttons */
.float-btn { position: fixed; right: 22px; z-index: 800; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; box-shadow: var(--shadow-lg); transition: transform .25s var(--ease), opacity .25s, visibility .25s; }
.float-btn:hover { transform: translateY(-3px); color: #fff; }
.float-btn--whatsapp { bottom: 22px; background: #25d366; }
.float-btn--top { bottom: 86px; background: var(--c-primary); opacity: 0; visibility: hidden; }
.show-top-btn .float-btn--top { opacity: 1; visibility: visible; }

/* Reveal animation */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1500px) {
	.header-account { display: none; }
	.main-nav .menu a { padding: 10px 9px; font-size: .92rem; }
	.brand__text strong { font-size: 1.18rem; }
}

@media (max-width: 1280px) {
	.topbar__email { display: none; }
	.stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
	.stat:nth-child(3n + 1)::before { display: none; }
}

@media (max-width: 1100px) {
	:root { --header-h: 74px; }
	.nav-toggle { display: grid; }
	.main-nav {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 1000;
		background: #fff; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px;
		transform: translateX(100%); transition: transform .35s var(--ease); margin: 0;
	}
	.admin-bar .main-nav { top: 46px; }
	.nav-open .main-nav { transform: none; box-shadow: var(--shadow-lg); }
	.nav-open .nav-overlay { opacity: 1; visibility: visible; }
	.main-nav__head { display: flex; align-items: center; justify-content: space-between; }
	.main-nav__head .brand__icon { width: 46px; }
	.main-nav__head .brand__text strong { font-size: 1.05rem; }
	.main-nav__foot { display: grid; gap: 10px; margin-top: auto; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--c-border); }
	.main-nav .menu > li > a { flex: 1; padding: 14px 6px; }
	.submenu-toggle { width: 40px; height: 40px; margin: 0; border-radius: 10px; background: var(--c-mint); }
	.is-open > .submenu-toggle svg { transform: rotate(180deg); }
	.main-nav .sub-menu, .main-nav .children { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; display: none; min-width: 0; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__card { max-width: 440px; }
	.features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature:nth-child(3) { border-left: 0; }
	.feature:nth-child(n + 3) { border-top: 1px solid var(--c-border); }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.about__grid, .emergency__grid, .diagnostics__grid, .project__grid, .appointment__grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
	.about__media { max-width: 620px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.layout-sidebar, .layout-sidebar--left, .doctor-profile { grid-template-columns: minmax(0, 1fr); }
	.layout-aside, .doctor-profile__card { position: static; }
	.layout-sidebar--left .layout-aside { order: 2; }
	.doctor-profile__card { max-width: 460px; }
	.contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats { background-attachment: scroll; }
}

@media (max-width: 782px) {
	.admin-bar.has-sticky-header .site-header { top: 0; }
	.section { padding: 72px 0; }
	.topbar__note { display: none; }
	.header-btn, .header-account { display: none; }
	.brand__icon { width: 48px; }
	.brand__text strong { font-size: 1.08rem; }
	.brand__text small { font-size: .6rem; }
	.hero { padding: 72px 0 150px; }
	.hero__stats dt { font-size: 1.6rem; }
	.hero__stats > div { padding: 0 14px; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vm-grid { grid-template-columns: 1fr; }
	.section-head-row { flex-direction: column; align-items: flex-start; }
	.shop-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shop-perks li { justify-content: flex-start; }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-cta { flex-direction: column; text-align: center; padding: 30px 24px; transform: translateY(-40%); }
	.footer-cta__actions { justify-content: center; }
	.site-footer { margin-top: 100px; }
	.page-header { padding: 64px 0 60px; }
	.page-header__cross { width: 110px; height: 110px; right: -20px; opacity: .5; }
	.card, .appointment__form { padding: 26px; }
}

@media (max-width: 600px) {
	:root { --gutter: 16px; }
	.topbar { display: none; }
	.header-actions { gap: 6px; }
	.header-icon { width: 40px; height: 40px; }
	.brand__text small { display: none; }
	.hero__title { font-size: 2.3rem; }
	.hero__actions .btn { width: 100%; }
	.hero__stats { flex-wrap: wrap; }
	.features { margin-top: -110px; }
	.features__grid, .grid--2, .grid--3, .grid--4, .values-grid, .check-list, .emergency__list, .project__items, .contact-cards { grid-template-columns: 1fr; }
	.feature { border-left: 0; border-top: 1px solid var(--c-border); }
	.feature:first-child { border-top: 0; }
	.cat-tiles { grid-template-columns: 1fr 1fr; }
	.cat-tile { flex-direction: column; text-align: center; }
	.stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat::before { display: none; }
	.about__media { padding: 0 30px 40px 0; }
	.about__badge { left: 0; top: 16px; padding: 16px 18px; }
	.about__badge strong { font-size: 2rem; }
	.emergency__phone strong { font-size: 1.2rem; }
	.vm-card { padding: 30px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.doctor-card__photo:has(.doctor-card__placeholder) { aspect-ratio: 16 / 9; }
	.shop-perks { grid-template-columns: 1fr; }
	.filter-bar select { min-width: 0; width: 100%; }
	.entry-content td:first-child { width: auto; }
}
