/*
Theme Name: 4S Tree School
Theme URI: https://4streeschool.com/
Author: A3 Digital Services
Author URI: https://a3digitalservices.com/
Description: Custom theme for 4S Tree School, Sakri. No page builder and no plugins required: every section, colour, font, image and text is editable in Appearance > Customize. Includes home, about, programs, admissions, gallery, blog, contact and 404 templates, an admission enquiry form, WhatsApp button, SEO tags and School schema markup.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fourstree
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #092B50;
	--green: #279B35;
	--deep: #1B7A29;
	--gold: #F6C453;
	--tint: #F3F7F2;
	--ink: #10243D;
	--f-head: "Fraunces", Georgia, serif;
	--f-body: "Plus Jakarta Sans", system-ui, sans-serif;
	--fs: 17px;
	--navy-2: #061F3B;
	--muted: #55657A;
	--line: #E1E7EE;
	--leaf: #9BE29A;
	--wash: #E6F3E6;
	--wa: #0E7A6C;
	--r: 22px;
	--r-sm: 14px;
	--shadow: 0 1px 2px rgba(9, 43, 80, .05), 0 14px 34px -14px rgba(9, 43, 80, .2);
	--shadow-lg: 0 34px 70px -28px rgba(6, 31, 59, .45);
	--wrap: 1200px;
	--gut: 20px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23fff'%3E%3Cpath d='M18 34c16-14 34-12 44 0-12 14-30 14-44 0z'/%3E%3Cpath d='M98 118c4-20 20-30 34-28-2 18-16 30-34 28z'/%3E%3Cpath d='M120 20c10 2 16 10 16 20-10-2-16-10-16-20z'/%3E%3C/g%3E%3C/svg%3E");
}
@supports (color: color-mix(in srgb, red, blue)) {
	:root {
		--navy-2: color-mix(in srgb, var(--navy) 78%, #000);
		--muted: color-mix(in srgb, var(--ink) 70%, #fff);
		--line: color-mix(in srgb, var(--navy) 12%, #fff);
		--leaf: color-mix(in srgb, var(--green) 45%, #fff);
		--wash: color-mix(in srgb, var(--green) 12%, #fff);
	}
}
@media (min-width: 768px) { :root { --gut: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--fs); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.12; letter-spacing: -.018em; color: var(--navy); margin: 0 0 .5em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--green); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--deep); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .phero :focus-visible, .section--navy :focus-visible, .site-footer :focus-visible, .topbar :focus-visible, .cta :focus-visible, .lightbox :focus-visible { outline-color: #fff; }
::selection { background: var(--green); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.center { text-align: center; }
.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 820px; }
@media (max-width: 639px) { .hide-sm { display: none !important; } }
@media (min-width: 640px) { .show-sm { display: none !important; } }
@media (max-width: 1023px) { .hide-md { display: none !important; } }
.show-sm { margin-top: 28px; }

.section { padding-block: clamp(64px, 9vw, 124px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--tint { background: var(--tint); }
.section--navy { position: relative; isolation: isolate; background: linear-gradient(165deg, var(--navy), var(--navy-2)); color: #fff; }
.section--navy::before, .phero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); opacity: .045; pointer-events: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: .7em 1.5em; border: 2px solid transparent; border-radius: 999px; font-weight: 700; font-size: .94rem; line-height: 1.2; white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--deep); color: #fff; box-shadow: 0 10px 24px -10px var(--deep); }
.btn--primary:hover { background: var(--green); background: color-mix(in srgb, var(--deep) 88%, #000); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--white { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--line); border-color: color-mix(in srgb, var(--navy) 28%, #fff); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--lg { min-height: 56px; padding-inline: 1.8em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--deep); text-decoration: none; }
.tlink .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
a.tlink:hover .icon, .prog:hover .tlink .icon { transform: translateX(4px); }

/* ---------- Section headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--deep); }
.eyebrow .icon { width: 16px; height: 16px; }
.eyebrow--light, .shead--light .eyebrow { color: var(--leaf); }
.shead { max-width: 660px; margin-bottom: clamp(32px, 5vw, 56px); }
.shead__title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); margin-bottom: .35em; }
.shead__text { font-size: 1.08rem; color: var(--muted); }
.shead--center { margin-inline: auto; text-align: center; }
.shead--light .shead__title { color: #fff; }
.shead--light .shead__title em { color: var(--leaf); }
.shead--light .shead__text { color: rgba(255, 255, 255, .8); }
.shead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.shead-row .shead { margin-bottom: 0; }
.shead-row .btn { flex: none; }
.split { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--form { grid-template-columns: .95fr 1.05fr; align-items: start; } }
.chip { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--wash); color: var(--deep); }
.chip .icon { width: 22px; height: 22px; }
.chip--lg { width: 58px; height: 58px; border-radius: 18px; }
.chip--lg .icon { width: 28px; height: 28px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 16px; height: 16px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.ticks .icon { width: 20px; height: 20px; margin-top: 3px; padding: 3px; border-radius: 50%; background: var(--wash); color: var(--deep); stroke-width: 3; }
.pill { display: inline-block; margin-bottom: 12px; padding: 6px 14px; border-radius: 999px; background: var(--wash); color: var(--deep); font-weight: 700; font-size: .8rem; }
.frame { aspect-ratio: 4 / 3; border-radius: calc(var(--r) * 1.3); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--tint); }
.frame img, .hero__arch img, .about__img img, .prog__media img, .gitem img, .pcard__media img, .leader__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy-2); color: #fff; font-size: .8rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__note { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding-block: 8px; }
.topbar__note .icon { width: 14px; height: 14px; }
.topbar__links { display: none; gap: 22px; align-items: center; color: rgba(255, 255, 255, .85); }
.topbar__links li, .topbar__links a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__links .icon { width: 14px; height: 14px; color: var(--leaf); }
@media (min-width: 640px) { .topbar__links { display: flex; } }
@media (max-width: 639px) { .topbar__in { justify-content: center; } }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 var(--leaf); animation: fst-pulse 2s infinite; }
@keyframes fst-pulse { 70% { box-shadow: 0 0 0 8px rgba(155, 226, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(155, 226, 154, 0); } }

.site-header { position: relative; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.has-sticky-header .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar.has-sticky-header .site-header { top: 0; } }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); } }
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(9, 43, 80, .35); }
.site-header__in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--navy); }
.brand__logo { height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--f-head); font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; }
.brand__tag { white-space: nowrap; font-family: var(--f-head); font-style: italic; font-size: .78rem; color: var(--deep); margin-top: 3px; }
@media (max-width: 380px) { .brand__tag { display: none; } }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; border: 0; border-radius: 12px; background: var(--tint); cursor: pointer; }
.nav-toggle__bars { display: grid; gap: 5px; width: 22px; }
.nav-toggle__bars i { height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nav a.btn--primary { color: #fff; font-weight: 700; justify-content: center; }
.sub-toggle { display: inline-grid; place-items: center; border: 0; background: none; cursor: pointer; color: inherit; }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .25s; }
.is-open > .sub-toggle .icon { transform: rotate(180deg); }

@media (max-width: 1139px) {
	.nav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(9, 43, 80, .3); padding: 8px var(--gut) 24px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
	.nav-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.nav__list > li { position: relative; border-bottom: 1px solid var(--line); }
	.nav__list a { display: flex; align-items: center; min-height: 54px; font-size: 1.05rem; }
	.nav__list .current-menu-item > a, .nav__list .current_page_item > a { color: var(--deep); }
	.sub-toggle { position: absolute; right: 0; top: 3px; width: 48px; height: 48px; }
	.sub-menu { display: none; padding: 0 0 10px 14px; }
	.is-open > .sub-menu { display: block; }
	.sub-menu a { min-height: 44px; font-size: .98rem; font-weight: 500; }
	.nav__extra { display: grid; gap: 14px; margin-top: 20px; }
	.nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: var(--navy); }
}
@media (min-width: 1140px) {
	.nav-toggle, .nav__extra { display: none; }
	.brand { margin-right: 0; }
	.nav { margin-left: auto; }
	.site-header__in { min-height: 84px; gap: 22px; }
	.brand__logo { height: 62px; }
	.brand__name { font-size: 1.3rem; }
	.nav__list { display: flex; align-items: center; gap: 2px; }
	.nav__list > li { position: relative; display: flex; align-items: center; }
	.nav__list > li > a { position: relative; padding: 10px 13px; font-size: .93rem; border-radius: 10px; transition: color .2s, background-color .2s; }
	.nav__list > li > a:hover { color: var(--deep); background: var(--tint); }
	.nav__list > .current-menu-item > a, .nav__list > .current_page_item > a, .nav__list > .current-menu-ancestor > a, .nav__list > .current_page_parent > a { color: var(--deep); }
	.nav__list > .current-menu-item > a::after, .nav__list > .current_page_item > a::after, .nav__list > .current_page_parent > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--green); }
	.sub-toggle { width: 22px; height: 44px; margin-left: -10px; }
	.sub-menu { position: absolute; left: 0; top: 100%; min-width: 230px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-lg); visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
	.nav__list > li:hover > .sub-menu, .nav__list > li:focus-within > .sub-menu, .nav__list > li.is-open > .sub-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: .92rem; font-weight: 500; }
	.sub-menu a:hover { background: var(--tint); color: var(--deep); }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 75% at 88% 8%, rgba(39, 155, 53, .5), transparent 70%), radial-gradient(45% 55% at 0% 100%, rgba(39, 155, 53, .22), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.hero__in { display: grid; gap: 48px; padding-block: clamp(44px, 7vw, 96px) clamp(56px, 8vw, 104px); align-items: center; }
.hero:has(+ .stats) .hero__in { padding-bottom: clamp(104px, 13vw, 168px); }
@media (min-width: 960px) { .hero__in { grid-template-columns: 1.12fr .88fr; gap: 64px; } }
.hero__title { font-size: clamp(2.55rem, 7.2vw, 4.9rem); line-height: 1.02; letter-spacing: -.028em; color: #fff; margin: 0 0 .38em; }
.hero__title em { color: var(--leaf); }
.hero__text { font-size: clamp(1.04rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .84); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; font-size: .9rem; color: rgba(255, 255, 255, .88); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: rgba(155, 226, 154, .2); color: var(--leaf); stroke-width: 3; }
.hero__visual { position: relative; width: 100%; max-width: 440px; margin-inline: auto; }
.hero__visual::before { content: ""; position: absolute; inset: -16px; border: 1.5px dashed rgba(255, 255, 255, .28); border-radius: 999px 999px 44px 44px; pointer-events: none; }
.hero__visual::after { content: ""; position: absolute; z-index: -1; width: 38%; aspect-ratio: 1; right: -9%; bottom: -7%; border-radius: 50%; background: var(--gold); opacity: .9; }
.hero__arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 30px 30px; overflow: hidden; background: var(--tint); box-shadow: var(--shadow-lg); }
.hero__card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg); font-size: .82rem; line-height: 1.3; animation: fst-float 6s ease-in-out infinite; }
.hero__card p { margin: 0; }
.hero__card strong { display: block; font-size: 1rem; color: var(--navy); }
.hero__card span { color: var(--muted); }
.hero__card--a { left: -10px; bottom: 13%; }
.hero__card--b { right: -10px; top: 17%; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 16px; animation-delay: -3s; }
@media (min-width: 1100px) { .hero__card--a { left: -44px; } .hero__card--b { right: -30px; } }
@keyframes fst-float { 50% { transform: translateY(-8px); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; padding-top: clamp(40px, 6vw, 72px); }
.hero + .stats { padding-top: 0; margin-top: clamp(-84px, -7vw, -56px); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.stats__grid li { padding: 24px 12px; text-align: center; border-top: 1px solid var(--line); }
.stats__grid li:nth-child(-n+2) { border-top: 0; }
.stats__grid li:nth-child(even) { border-left: 1px solid var(--line); }
.stats__grid strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1; color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats__grid li > span { display: block; margin-top: 8px; font-size: .88rem; color: var(--muted); }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } .stats__grid li { padding: 36px 16px; border-top: 0; border-left: 1px solid var(--line); } .stats__grid li:first-child { border-left: 0; } }

/* ---------- 4S pillars ---------- */
.pillars__grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .pillars__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .pillars__grid { grid-template-columns: repeat(4, 1fr); } }
.pillar { position: relative; overflow: hidden; isolation: isolate; padding: 28px 26px 32px; min-height: 270px; border-radius: var(--r); background: var(--navy); color: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pillar--2, .pillar--3 { background: var(--deep); }
@media (min-width: 600px) and (max-width: 1059px) { .pillar--3 { background: var(--deep); } .pillar--4 { background: var(--navy); } }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar__s { position: absolute; z-index: -1; right: -4px; top: -34px; font-family: var(--f-head); font-weight: 700; font-size: 12rem; line-height: 1; color: rgba(255, 255, 255, .08); transition: transform .5s var(--ease); }
.pillar:hover .pillar__s { transform: scale(1.08) rotate(-4deg); }
.pillar__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: rgba(255, 255, 255, .14); }
.pillar__icon .icon { width: 28px; height: 28px; }
.pillar__title { margin: 24px 0 8px; font-size: 1.4rem; color: #fff; }
.pillar p { font-size: .95rem; color: rgba(255, 255, 255, .88); }

/* ---------- About ---------- */
.about__media { position: relative; padding: 0 9% 11% 0; }
.about__img { overflow: hidden; background: var(--tint); }
.about__img--main { aspect-ratio: 5 / 6; border-radius: calc(var(--r) * 1.4); box-shadow: var(--shadow-lg); }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--r); border: 6px solid #fff; box-shadow: var(--shadow); }
.about__badge { position: absolute; left: 14px; top: 22px; display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 18px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.about__badge strong { font-family: var(--f-head); font-size: 1.6rem; line-height: 1; color: var(--leaf); }
.about__badge span { max-width: 9em; font-size: .76rem; line-height: 1.3; }
@media (min-width: 960px) { .about__badge { left: -22px; } }
.about__copy .shead { margin-bottom: 22px; }
.about__text { color: var(--muted); font-size: 1.04rem; }
.pullquote { position: relative; margin: 28px 0 30px; padding: 22px 24px 22px 68px; background: var(--tint); border-radius: var(--r-sm); }
.pullquote .icon { position: absolute; left: 22px; top: 22px; width: 30px; height: 30px; color: var(--green); }
.pullquote p { font-family: var(--f-head); font-style: italic; font-size: 1.2rem; line-height: 1.4; color: var(--navy); margin-bottom: 8px; }
.pullquote figcaption { font-size: .85rem; color: var(--muted); }
.pullquote figcaption::before { content: "— "; }

/* ---------- Programs ---------- */
.programs__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .programs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .programs__grid { grid-template-columns: repeat(4, 1fr); } }
.prog { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.prog:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prog__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wash); }
.prog__media img, .gitem img { transition: transform .7s var(--ease); }
.prog:hover .prog__media img, .gitem:hover img { transform: scale(1.06); }
.prog__age { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--navy); font-size: .76rem; font-weight: 700; box-shadow: var(--shadow); }
.prog__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 22px 22px 24px; }
.prog__title { font-size: 1.28rem; margin: 0; }
.prog__title a { color: inherit; text-decoration: none; }
.prog__title a::after { content: ""; position: absolute; inset: 0; }
.prog__body p { font-size: .94rem; color: var(--muted); }
.prog .tlink { margin-top: auto; padding-top: 8px; }

/* ---------- Features ---------- */
.features__in { display: grid; gap: 8px; }
@media (min-width: 960px) { .features__in { grid-template-columns: .8fr 1.2fr; gap: 64px; } .features__head { position: sticky; top: 130px; align-self: start; } }
.features__grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
.feat { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .25s, box-shadow .25s, transform .35s var(--ease); }
.feat:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.feat__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--wash); color: var(--deep); }
.feat h3 { margin: 18px 0 6px; font-size: 1.14rem; }
.feat p { font-size: .94rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: 12px; }
.gitem { position: relative; display: block; overflow: hidden; border-radius: var(--r-sm); background: var(--wash); }
.gitem:nth-child(1), .gallery__grid .gitem:nth-child(6):last-child { grid-column: span 2; }
.gitem:nth-child(1) { grid-row: span 2; }
.gitem__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; background: linear-gradient(transparent, rgba(6, 31, 59, .82)); color: #fff; font-size: .88rem; font-weight: 600; }
@media (min-width: 768px) {
	.gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(190px, 21vw, 280px); gap: 16px; }
	.gallery__grid .gitem:nth-child(6):last-child { grid-column: auto; }
	.gitem { border-radius: var(--r); }
}

/* ---------- Testimonials ---------- */
.testimonials__grid, .method__grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .testimonials__grid, .method__grid { grid-template-columns: repeat(3, 1fr); } }
.tcard, .glass { padding: 28px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.tcard { display: flex; flex-direction: column; gap: 16px; }
.tcard blockquote p { font-size: 1.04rem; line-height: 1.65; color: rgba(255, 255, 255, .93); }
.tcard figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .84rem; color: rgba(255, 255, 255, .72); }
.tcard figcaption strong { display: block; font-size: .95rem; color: #fff; }
.tcard__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--leaf); }
.glass .chip { background: rgba(255, 255, 255, .12); color: var(--leaf); }
.glass h3 { margin: 18px 0 6px; font-size: 1.25rem; color: #fff; }
.glass p { color: rgba(255, 255, 255, .85); font-size: .96rem; }

/* ---------- Admissions + form ---------- */
.steps { counter-reset: none; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 26px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: var(--line); background: color-mix(in srgb, var(--green) 35%, #fff); }
.step__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--green); font-family: var(--f-head); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.step h3 { margin: 4px 0 4px; font-size: 1.16rem; }
.step p { color: var(--muted); font-size: .96rem; }
.eform-card { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 40px); background: #fff; border-radius: calc(var(--r) + 4px); box-shadow: var(--shadow-lg); scroll-margin-top: 110px; }
.eform-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--navy), var(--green)); }
.eform-card__title { font-size: 1.65rem; margin-bottom: 6px; }
.eform-card__text { color: var(--muted); margin-bottom: 20px; }
.eform { display: grid; gap: 14px 16px; }
@media (min-width: 520px) { .eform { grid-template-columns: 1fr 1fr; } }
.field { margin: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 600; color: var(--navy); }
.field label span { color: #B42318; }
.field input, .field select, .field textarea, .sform input, .comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; background: #fff; border: 1.5px solid #C6D0DB; border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23092B50' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus, .sform input:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 4px rgba(39, 155, 53, .2); }
.field.has-error input, .field.has-error select { border-color: #B42318; }
.field__error { display: block; margin-top: 5px; font-size: .8rem; font-weight: 600; color: #B42318; }
.eform__hp { position: absolute !important; left: -9999px; }
.eform__note { display: block; margin-top: 10px; text-align: center; font-size: .78rem; color: var(--muted); }
.eform__status { display: none; margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .94rem; }
.eform__status.is-ok { display: block; background: #E7F6E9; color: #14532D; border: 1px solid #A7DDB0; }
.eform__status.is-error { display: block; background: #FDECEA; color: #8A1C12; border: 1px solid #F3B5AE; }

/* ---------- Post cards ---------- */
.pgrid { display: grid; gap: 22px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pcard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--deep)); }
.pcard__ph { position: relative; display: grid; place-items: center; height: 100%; color: rgba(255, 255, 255, .3); }
.pcard__ph::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); opacity: .07; }
.pcard__ph .icon { width: 64px; height: 64px; }
.pcard__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 22px 22px 24px; }
.pcard__meta { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--deep); }
.pcard__title { margin: 0; font-size: 1.22rem; line-height: 1.25; }
.pcard__title a { color: inherit; text-decoration: none; }
.pcard__title a:hover { color: var(--deep); }
.pcard__text { font-size: .94rem; color: var(--muted); }
.pcard .tlink { margin-top: auto; padding-top: 6px; }

/* ---------- CTA band ---------- */
.cta { padding-block: clamp(28px, 5vw, 64px); }
.cta__box { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 28px; align-items: center; padding: clamp(32px, 6vw, 72px); border-radius: calc(var(--r) * 1.5); background: var(--deep); background: linear-gradient(120deg, var(--deep), color-mix(in srgb, var(--deep) 62%, var(--navy))); color: #fff; box-shadow: var(--shadow-lg); }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); opacity: .07; }
.cta__box::after { content: ""; position: absolute; z-index: -1; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .07); }
@media (min-width: 900px) { .cta__box { grid-template-columns: 1.3fr auto; gap: 48px; } }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin-bottom: .3em; }
.cta h2 em { color: var(--gold); }
.cta p { color: rgba(255, 255, 255, .92); max-width: 36em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta__actions { flex-direction: column; align-items: stretch; } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: stretch; } .contact__grid--form .contact__map { grid-column: 1 / -1; min-height: 420px; } }
.contact__list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact__list li:first-child { padding-top: 0; }
.contact__list h3 { margin: 0 0 4px; font-family: var(--f-body); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact__list p, .contact__list address { margin: 0 0 6px; font-weight: 600; color: var(--navy); }
.contact__list p a { color: inherit; text-decoration: none; }
.contact__list p a:hover { color: var(--deep); text-decoration: underline; }
.contact__map { min-height: 340px; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); background: var(--tint); }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Inner pages ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(44px, 7vw, 92px); background: radial-gradient(50% 120% at 100% 0%, rgba(39, 155, 53, .42), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; }
.phero::after { content: ""; position: absolute; z-index: -1; right: -120px; bottom: -200px; width: 420px; height: 420px; border-radius: 50%; border: 56px solid rgba(255, 255, 255, .05); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .84rem; color: rgba(255, 255, 255, .72); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.phero__title { font-size: clamp(2.2rem, 6vw, 3.9rem); color: #fff; margin: 0; max-width: 18em; }
.phero__title em { color: var(--leaf); }
.phero__sub { margin-top: 14px; max-width: 40em; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .84); }

.mvv__grid, .criteria__grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .mvv__grid { grid-template-columns: repeat(3, 1fr); } .criteria__grid { grid-template-columns: 1fr 1fr; } }
.mcard, .panel { padding: clamp(24px, 3.4vw, 36px); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.panel { border: 1px solid var(--line); box-shadow: none; }
.mcard h2, .panel h2 { margin: 20px 0 10px; font-size: 1.45rem; }
.panel h2 { margin-top: 0; }
.mcard p { color: var(--muted); }
.panel__note { margin-top: 14px; font-size: .84rem; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; text-align: left; }
.table th, .table td { padding: 12px 4px; border-bottom: 1px solid var(--line); }
.table thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.table tbody th { font-weight: 700; color: var(--navy); }
.leader__card { padding: clamp(28px, 5vw, 56px); background: #fff; border-radius: calc(var(--r) * 1.3); box-shadow: var(--shadow); }
.leader__card > .icon { width: 40px; height: 40px; color: var(--green); }
.leader__card h2 { margin: 12px 0 16px; font-size: clamp(1.5rem, 3vw, 2rem); }
.leader__card blockquote { color: var(--muted); font-size: 1.04rem; }
.leader__card figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: .88rem; color: var(--muted); }
.leader__card figcaption strong { display: block; font-size: 1.02rem; color: var(--navy); }
.leader__photo { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: var(--wash); color: var(--deep); }
.partners__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.partners__list li { padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--navy); }
.prow { display: grid; gap: 28px; align-items: center; padding-block: clamp(28px, 4vw, 52px); scroll-margin-top: 110px; }
.prow:first-child { padding-top: 0; }
.prow + .prow { border-top: 1px solid var(--line); }
@media (min-width: 900px) { .prow { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); } .prow:nth-of-type(even) .prow__media { order: 2; } }
.prow h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.prow__body > p:not(.pill) { color: var(--muted); font-size: 1.04rem; }
.prow .ticks { margin: 16px 0 24px; }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline time { font-weight: 700; color: var(--deep); font-variant-numeric: tabular-nums; }
.faq__item { margin-bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .25s; color: var(--deep); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }

.e404 { padding-block: clamp(64px, 11vw, 140px); text-align: center; background: var(--tint); }
.e404__in { max-width: 640px; }
.e404__code { display: flex; align-items: center; justify-content: center; gap: .04em; margin: 0 0 12px; font-family: var(--f-head); font-weight: 700; font-size: clamp(6rem, 24vw, 11rem); line-height: 1; color: var(--navy); }
.e404__code span { display: grid; place-items: center; width: .82em; height: .82em; border-radius: 50%; background: var(--green); color: #fff; }
.e404__code .icon { width: .42em; height: .42em; }
.e404 h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.e404 p { color: var(--muted); }
.e404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0; }
.sform { display: flex; gap: 8px; max-width: 420px; margin-inline: auto; }
.sform button { display: grid; place-items: center; width: 50px; flex: none; border: 0; border-radius: 12px; background: var(--deep); color: #fff; cursor: pointer; }
.empty { max-width: 520px; margin-inline: auto; text-align: center; }
.empty .sform { margin-top: 20px; }

/* ---------- Editor content ---------- */
.prose { font-size: 1.05rem; line-height: 1.78; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 1.8em; font-size: 1.75rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.35rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose blockquote { padding-left: 20px; border-left: 4px solid var(--green); font-family: var(--f-head); font-style: italic; font-size: 1.2rem; color: var(--navy); }
.prose img, .prose .wp-block-image img { border-radius: var(--r-sm); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose figcaption, .wp-caption-text { margin-top: 8px; font-size: .84rem; color: var(--muted); text-align: center; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.single__in { padding-block: clamp(40px, 6vw, 80px); }
.single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 24px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.single__meta .icon { width: 16px; height: 16px; color: var(--deep); }
.single__thumb { margin-bottom: 32px; overflow: hidden; border-radius: var(--r); }
.post-navigation { margin-top: 48px; }
.post-navigation .nav-links { display: grid; gap: 14px; }
@media (min-width: 640px) { .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } .nav-next { text-align: right; grid-column: 2; } }
.post-navigation a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.post-navigation a:hover { border-color: var(--green); box-shadow: var(--shadow); }
.post-navigation span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-navigation strong { font-family: var(--f-head); font-size: 1.05rem; color: var(--navy); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--navy); text-decoration: none; }
.page-numbers.current, a.page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments__list { margin-bottom: 32px; }
.comments__list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comments__list .children { padding-left: 24px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .8rem; margin: 4px 0 10px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 600; }
.comment-form .submit { min-height: 50px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--deep); color: #fff; font-weight: 700; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .8); font-size: .94rem; }
.footer__grid { display: grid; gap: 40px; padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 64px); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr .8fr 1fr 1.3fr; gap: 56px; } .footer__brand { grid-column: auto; } }
.footer__logo { display: inline-block; padding: 10px 12px; background: #fff; border-radius: 20px; }
.footer__logo img { height: 84px; width: auto; }
.footer__name { margin: 18px 0 8px; font-family: var(--f-head); font-size: 1.45rem; font-weight: 600; color: #fff; }
.footer__about { max-width: 34em; }
.footer__h { margin: 0 0 18px; font-family: var(--f-body); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }
.footer__list li { margin-bottom: 4px; }
.footer__list a, .footer__contact a, .footer__bar a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.footer__list a { display: inline-block; padding: 5px 0; }
.footer__list a:hover, .footer__contact a:hover, .footer__bar a:hover { color: #fff; text-decoration: underline; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--leaf); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; color: #fff; transition: background-color .2s, border-color .2s, transform .25s var(--ease); }
.socials a:hover { background: var(--green); border-color: var(--green); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; }
.footer__bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; }
.footer__bar p { margin: 0; }
.footer__bar-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__credit { opacity: .75; margin-left: 6px; }

/* ---------- Floating actions ---------- */
.wa-float { position: fixed; z-index: 60; bottom: 24px; right: 24px; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; box-shadow: 0 16px 34px -12px rgba(14, 122, 108, .7); transition: transform .25s var(--ease); }
.wa-float--left { right: auto; left: 24px; }
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float .icon { width: 28px; height: 28px; }
@media (max-width: 767px) {
	.wa-float { bottom: 16px; right: 16px; width: 56px; padding: 0; justify-content: center; }
	.wa-float--left { left: 16px; }
	.wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.has-mobilebar .wa-float { display: none; }
	.has-mobilebar .footer__bar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
.mbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -14px rgba(9, 43, 80, .3); padding-bottom: env(safe-area-inset-bottom); }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; font-size: .72rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.mbar .icon { width: 22px; height: 22px; }
.mbar__wa { color: var(--wa) !important; border-left: 1px solid var(--line); }
.mbar__cta { background: var(--deep); color: #fff !important; }
@media (min-width: 768px) { .mbar { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 20, 38, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(6, 20, 38, .6); }
.lightbox figure { text-align: center; }
.lightbox img { max-width: 92vw; max-height: 78vh; margin-inline: auto; border-radius: 12px; background: #fff; }
.lightbox figcaption { margin-top: 14px; font-weight: 600; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background-color .2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Small screens: shorter page, swipeable rows ---------- */
@media (max-width: 639px) {
	.hero__visual { max-width: 330px; }
	.hero__visual::before { inset: -10px; }
	.hero__card--a { left: -6px; }
	.hero__card--b { right: -6px; }
	.pillar { min-height: 0; padding: 22px 22px 24px; }
	.pillar__title { margin-top: 16px; }
	.programs__grid, .testimonials__grid { display: flex; gap: 14px; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.programs__grid::-webkit-scrollbar, .testimonials__grid::-webkit-scrollbar { display: none; }
	.programs__grid > *, .testimonials__grid > * { flex: 0 0 82%; scroll-snap-align: start; }
	.programs__grid .rv, .testimonials__grid .rv { opacity: 1; transform: none; }
	.feat { display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; padding: 18px; }
	.feat__icon { grid-row: span 2; }
	.feat h3 { margin: 0 0 4px; }
}

/* ---------- Motion ---------- */
.rv { opacity: 0; transform: translateY(24px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.pillar.rv.is-in, .prog.rv.is-in, .feat.rv.is-in, .pcard.rv.is-in { transition: opacity .8s var(--ease) var(--d, 0ms), transform .5s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.rv { opacity: 1; transform: none; }
}
@media print {
	.topbar, .site-header .nav, .nav-toggle, .header-cta, .wa-float, .mbar, .cta, .lightbox { display: none !important; }
	.rv { opacity: 1 !important; transform: none !important; }
}
