/* ==========================================================================
   Al-Shaheer Quran Academy — v2 "modern ed-tech" design system
   ========================================================================== */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--ink: #0B1B17;
	--ink-2: #33433E;
	--ink-3: #66756F;
	--line: #E4EAE7;
	--bg: #FFFFFF;
	--bg-2: #F6F8F7;
	--primary: #0A7D5B;
	--primary-600: #086B4E;
	--primary-50: #E7F5EF;
	--accent: #FFC845;
	--accent-600: #F2B21B;
	--coral: #FF6B4A;
	--dark: #0B1B17;

	--t-mint: #E3F4EC;  --t-mint-ink: #0A7D5B;
	--t-sand: #FFF2D6;  --t-sand-ink: #A86A00;
	--t-lilac: #EEEAFE; --t-lilac-ink: #5B45C6;
	--t-sky: #E6F0FF;   --t-sky-ink: #2861C9;
	--t-peach: #FFE9E2; --t-peach-ink: #C4441F;

	--r-xl: 28px;
	--r-lg: 22px;
	--r-md: 16px;
	--r-sm: 12px;
	--shadow-sm: 0 1px 2px rgba(11, 27, 23, .06), 0 2px 8px rgba(11, 27, 23, .04);
	--shadow: 0 1px 2px rgba(11, 27, 23, .05), 0 18px 40px -18px rgba(11, 27, 23, .22);
	--shadow-lg: 0 30px 60px -24px rgba(11, 27, 23, .35);
	--f: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f); font-size: 16.5px; line-height: 1.6; color: var(--ink-2); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-3); line-height: 1.65; }
.center { text-align: center; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 40px); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.hp { display: none !important; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
	font: 700 .97rem/1.1 var(--f); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn-sm { padding: .55em 1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -12px rgba(10, 125, 91, .8); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(10, 125, 91, .9); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--primary); }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(242, 178, 27, .9); }
.btn-accent:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1FB85A; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.link-arrow:hover { color: var(--primary); }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow.light { color: #fff; }
.link-arrow.light:hover { color: var(--accent); }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: .9em; }
.pill { display: inline-flex; align-items: center; gap: .55em; padding: .45em 1em .45em .8em; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 1.4em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); position: relative; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--coral); animation: ping 1.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Announcement + header ---------- */
.announce { background: var(--dark); color: #CFE3DA; font-size: .85rem; }
.announce-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.announce-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; }
.announce-link:hover { color: var(--accent); }
.announce-tag { background: var(--accent); color: var(--ink); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; }
.announce-meta { display: flex; gap: 18px; color: #9FB9AE; }
.announce-prayer { color: var(--accent); font-weight: 700; }
@media (max-width: 760px) { .announce-meta { display: none; } .announce-inner { justify-content: center; text-align: center; } }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(11, 27, 23, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 42px; height: 42px; color: var(--primary); flex: none; }
.brand-logo { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.brand-text small { font-size: .76rem; font-weight: 600; color: var(--ink-3); }
.brand-light { color: #fff; }
.brand-light small { color: #9FB9AE; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
.nav-list a:hover { background: var(--bg-2); color: var(--ink); }
.nav-list .current-menu-item > a, .nav-list .current_page_item > a { background: var(--primary-50); color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.currency-pick select {
	appearance: none; -webkit-appearance: none; cursor: pointer; font: 700 .88rem var(--f); color: var(--ink);
	padding: 9px 30px 9px 14px; border-radius: 999px; border: 1.5px solid var(--line);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230B1B17' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.currency-pick select:hover { border-color: var(--ink); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }

@media (max-width: 1060px) {
	.nav-toggle { display: grid; }
	.site-nav {
		position: fixed; left: 12px; right: 12px; top: 128px; z-index: 70; flex-direction: column; align-items: stretch; gap: 14px;
		background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-lg);
		opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top; transition: .3s var(--ease);
	}
	.site-header.is-stuck .site-nav { top: 88px; }
	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav-list { flex-direction: column; }
	.nav-list a { padding: 14px 16px; font-size: 1.05rem; border-radius: var(--r-sm); }
	.nav-actions { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
	.nav-actions .btn { flex: 1; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }
}
@media (max-width: 420px) { .brand-text small { display: none; } }

/* ---------- Decorative ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; z-index: 0; animation: drift 18s ease-in-out infinite alternate; }
.blob-a { width: 520px; height: 520px; background: #BDEBD6; top: -180px; right: -120px; }
.blob-b { width: 420px; height: 420px; background: #FFE3A1; bottom: -200px; left: -140px; animation-delay: -6s; opacity: .45; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-40px, 30px) scale(1.12); } }
.grid-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); opacity: .7; }
.pattern-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-size: 72px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23FFC845' stroke-opacity='.14'%3E%3Cpath d='M36 6l8.5 21.5L66 36l-21.5 8.5L36 66l-8.5-21.5L6 36l21.5-8.5z'/%3E%3Ccircle cx='36' cy='36' r='5'/%3E%3C/g%3E%3C/svg%3E"); mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.rotator { display: inline-grid; vertical-align: bottom; color: var(--primary); position: relative; isolation: isolate; }
.rotator > span { grid-area: 1 / 1; z-index: 0; white-space: nowrap; opacity: 0; transform: translateY(60%); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.rotator > span.is-active { opacity: 1; transform: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-60%); }
.rotator > span { position: relative; justify-self: start; }
.rotator > span::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: var(--accent); border-radius: 4px; z-index: -1; opacity: .85; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .15s; }
.rotator > span.is-active::after { transform: scaleX(1); }
.hero .lead { max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.center-actions { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.hero-trust .ico { color: var(--primary); }

.hero-visual { position: relative; padding: 24px 10px 30px 30px; }
.hero-photo { position: relative; border-radius: 36px 36px 36px 120px; overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: var(--shadow-lg); background: var(--t-mint); }
.hero-photo img, img.cover { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 27, 23, .35)); }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow); font-size: .85rem; animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; color: var(--ink); font-size: .95rem; }
.float-card span, .float-card small { color: var(--ink-3); }
.fc-live { top: 8%; left: -4%; }
.fc-prayer { bottom: 14%; left: -6%; animation-delay: -2s; }
.fc-prayer .fc-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--t-sand); color: var(--t-sand-ink); display: grid; place-items: center; }
.fc-progress { bottom: 2%; right: 0; flex-direction: column; align-items: stretch; gap: 6px; min-width: 190px; animation-delay: -3s; }
.fc-progress > span { font-weight: 700; color: var(--ink); }
.fc-bar { height: 8px; border-radius: 99px; background: var(--primary-50); overflow: hidden; }
.fc-bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), #3CC48F); animation: grow 2.4s var(--ease) both .6s; }
@keyframes grow { from { width: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 920px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-visual { max-width: 520px; margin: 0 auto; width: 100%; padding: 20px 6px 26px 14px; }
	.fc-live, .fc-prayer { left: 0; }
}

/* ---------- World clocks marquee ---------- */
.clocks { padding: 26px 0 30px; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.clocks-title { text-align: center; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.clock-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .95rem; white-space: nowrap; }
.clock-item b { color: var(--ink); }
.clock-item time { font-variant-numeric: tabular-nums; color: var(--primary); font-weight: 700; }
.clock-item.is-night time { color: var(--t-lilac-ink); }
.clock-item.is-night time::before { content: "☾ "; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section.tint { background: var(--bg-2); }
.section.dark { background: radial-gradient(900px 500px at 85% 0%, #17473A 0%, transparent 60%), var(--dark); color: #CFE3DA; overflow: hidden; }
.section.dark .wrap { position: relative; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; }
.section-head.split h2 { margin: 0; }
.section-head p { color: var(--ink-3); }
.section-head.light h1, .section-head.light h2 { color: #fff; }
.section-head.light p { color: #A9C3B8; }
.section-head.light .eyebrow { color: var(--accent); }
@media (max-width: 700px) { .section-head.split { flex-direction: column; align-items: flex-start; } }

/* ---------- Tones ---------- */
.tone-mint { --tone: var(--t-mint); --tone-ink: var(--t-mint-ink); }
.tone-sand { --tone: var(--t-sand); --tone-ink: var(--t-sand-ink); }
.tone-lilac { --tone: var(--t-lilac); --tone-ink: var(--t-lilac-ink); }
.tone-sky { --tone: var(--t-sky); --tone-ink: var(--t-sky-ink); }
.tone-peach { --tone: var(--t-peach); --tone-ink: var(--t-peach-ink); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.bento-tile { position: relative; border-radius: var(--r-xl); padding: 28px; background: var(--tone, var(--bg-2)); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.bento-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bento-tile h3 { font-size: 1.3rem; margin-top: 18px; }
.bento-tile p { margin: 0; color: var(--ink-2); }
.bento-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--tone-ink, var(--primary)); box-shadow: var(--shadow-sm); }
.bento-icon .ico { width: 24px; height: 24px; }
.bento-photo { grid-column: span 2; grid-row: span 2; padding: 0; min-height: 460px; }
.bento-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento-photo:hover img { transform: scale(1.05); }
.bento-overlay { position: absolute; inset: auto 0 0 0; padding: 30px; color: #fff; background: linear-gradient(180deg, transparent, rgba(11, 27, 23, .88)); }
.bento-overlay h3 { color: #fff; font-size: 1.7rem; margin: 10px 0 6px; }
.bento-overlay p { color: rgba(255, 255, 255, .85); }
.tag { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 800; font-size: .75rem; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.bento-dark { grid-column: 1 / -1; display: grid; grid-template-rows: auto auto; align-content: center; min-height: 0; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 22px; background: radial-gradient(500px 200px at 100% 0%, #1D6B50, transparent 70%), var(--dark); }
.bento-dark h3 { margin: 0; }
.bento-dark .bento-icon { grid-row: span 2; }
.bento-dark .btn { grid-row: 1 / span 2; grid-column: 3; }
.bento-dark h3 { color: #fff; }
.bento-dark p { color: #A9C3B8; margin: 0; grid-column: 2; }
.bento-dark .bento-icon { background: var(--accent); color: var(--ink); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.bento { grid-template-columns: 1fr; }
	.bento-photo { grid-column: auto; grid-row: auto; min-height: 380px; }
	.bento-dark { grid-template-columns: 1fr; }
	.bento-dark .bento-icon, .bento-dark .btn, .bento-dark p { grid-row: auto; grid-column: auto; }
	.bento-dark .btn { justify-self: start; margin-top: 10px; }
}

/* ---------- Stats ---------- */
.stats-band { padding: 0 0 clamp(40px, 6vw, 72px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat p { margin: 10px 0 0; font-weight: 600; color: var(--ink-3); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Courses ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: .6em 1.15em; border-radius: 999px; font: 700 .92rem var(--f); cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .course-grid { grid-template-columns: 1fr; } }
.course { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; overflow: hidden; }
.course::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; background: var(--tone); z-index: 0; transition: height .45s var(--ease); }
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.course:hover::before { height: 158px; }
.course > * { position: relative; z-index: 1; }
.course.is-hidden { display: none; }
.course-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 34px; }
.course-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--tone-ink); box-shadow: var(--shadow-sm); }
.course-icon .ico { width: 26px; height: 26px; }
.course-art { position: absolute; right: -14px; top: -14px; width: 200px; height: 138px; pointer-events: none; transition: transform .45s var(--ease); }
.course-art-img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
/* Real photo: fills the top of the card, icon sits on it */
.course:has(.course-art.is-photo)::before { display: none; }
.course-art.is-photo { position: absolute; left: -26px; right: -26px; top: -26px; width: auto; height: 176px; z-index: -1; overflow: hidden; background: var(--tone); }
.course-art.is-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,27,23,.18), rgba(11,27,23,0) 45%); }
.course-art.is-photo .course-art-img { object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.course:hover .course-art.is-photo { transform: none; }
.course:hover .course-art.is-photo .course-art-img { transform: scale(1.05); }
.course:has(.course-art.is-photo) .course-top { margin-bottom: 112px; }
.course:hover .course-art { transform: translateY(-4px) scale(1.04); }
.course-top { position: relative; min-height: 54px; margin-bottom: 68px; }
@media (prefers-reduced-motion: reduce) { .course-art { transition: none; } .course:hover .course-art { transform: none; } }
.course h3 { font-size: 1.35rem; margin-bottom: 8px; }
.course p { color: var(--ink-3); font-size: .97rem; }
.course-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; }
.course-tags li { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.course-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.course-fee { font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.course-fee small { font-size: .8rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }

/* ---------- Course finder ---------- */
.finder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .finder-grid { grid-template-columns: 1fr; } }
.finder { position: relative; background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); min-height: 420px; }
.finder-badge { display: inline-flex; gap: 6px; align-items: center; background: var(--t-lilac); color: var(--t-lilac-ink); font-weight: 800; font-size: .8rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.finder-head p { color: var(--ink-3); }
.finder-progress { height: 6px; background: var(--bg-2); border-radius: 99px; overflow: hidden; margin: 18px 0 26px; }
.finder-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), #3CC48F); border-radius: inherit; transition: width .5s var(--ease); }
.finder-step { display: none; animation: stepIn .5s var(--ease); }
.finder-step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.finder-q { font-weight: 800; color: var(--ink); font-size: 1.15rem; margin-bottom: 14px; }
.finder-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.finder-options button { text-align: left; padding: 16px 18px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; font: 700 .98rem var(--f); color: var(--ink); cursor: pointer; transition: .2s var(--ease); }
.finder-options button:hover { border-color: var(--primary); background: var(--primary-50); transform: translateY(-2px); }
.finder-result { animation: stepIn .5s var(--ease); }
.finder-result h4 { font-size: 1.8rem; color: var(--primary); margin-bottom: 10px; }
.finder-result p:not(.finder-q) { color: var(--ink-3); }
.finder-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.how-photo { position: relative; }
.how-photo img { border-radius: var(--r-xl); aspect-ratio: 4 / 4.6; object-fit: cover; box-shadow: var(--shadow-lg); width: 100%; }
.fc-steps { bottom: 24px; right: -18px; }
.fc-steps > .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--primary); color: #fff; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 30px; width: 2px; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px); }
.timeline li { position: relative; display: flex; gap: 20px; padding-bottom: 28px; }
.timeline li > span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); color: var(--primary); font-weight: 800; position: relative; z-index: 1; transition: .3s; }
.timeline li:hover > span { background: var(--primary); color: #fff; }
.timeline h3 { margin: 8px 0 4px; }
.timeline p { margin: 0; color: var(--ink-3); }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } .how-photo { max-width: 480px; } .fc-steps { right: 10px; } }

/* ---------- Prayer widget ---------- */
.prayer-widget { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 34px); }
.pw-main { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); margin-bottom: 26px; flex-wrap: wrap; }
.pw-next { position: relative; width: 170px; height: 170px; flex: none; }
.pw-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.pw-ring circle { fill: none; stroke-width: 7; }
.pw-ring-bg { stroke: rgba(255, 255, 255, .1); }
.pw-ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1s linear; }
.pw-next-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.pw-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9FB9AE; }
.pw-next-text strong { font-size: 1.6rem; color: #fff; letter-spacing: -.02em; }
.pw-count { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--accent); font-size: 1.05rem; }
.pw-meta { flex: 1; min-width: 260px; }
.pw-city { display: flex; align-items: center; gap: 8px; font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0 0 4px; letter-spacing: -.02em; flex-wrap: wrap; }
.pw-city .ico { color: var(--accent); }
.pw-local { font-size: .9rem; font-weight: 600; color: #9FB9AE; letter-spacing: 0; }
.pw-date { color: #A9C3B8; margin-bottom: 16px; }
.pw-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.pw-controls select, .pw-locate {
	appearance: none; -webkit-appearance: none; font: 700 .9rem var(--f); color: #fff; cursor: pointer;
	padding: 10px 36px 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23FFC845' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
	transition: border-color .2s, background-color .2s;
}
.pw-controls select option, .pw-controls select optgroup { color: var(--ink); background: #fff; }
.pw-locate { background-image: none; padding-right: 16px; display: inline-flex; align-items: center; gap: 8px; }
.pw-locate .ico { color: var(--accent); }
.pw-controls select:hover, .pw-locate:hover { border-color: var(--accent); background-color: rgba(255, 255, 255, .1); }
.pw-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; transition: opacity .25s; }
.pw-grid.is-loading { opacity: .4; }
.pw-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 8px; border-radius: var(--r-md); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); text-align: center; transition: .35s var(--ease); }
.pw-en { font-size: .82rem; font-weight: 700; color: #A9C3B8; }
.pw-time { font-size: 1.35rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pw-card.is-passed { opacity: .45; }
.pw-card.is-next { background: var(--accent); border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 20px 34px -18px rgba(255, 200, 69, .7); }
.pw-card.is-next .pw-en, .pw-card.is-next .pw-time { color: var(--ink); }
.pw-note { margin: 22px 0 0; font-size: .84rem; color: #86A396; }
@media (max-width: 860px) { .pw-grid { grid-template-columns: repeat(3, 1fr); } .pw-time { font-size: 1.15rem; } }
@media (max-width: 520px) { .pw-main { flex-direction: column; align-items: flex-start; } .pw-next { margin: 0 auto; } .pw-meta { min-width: 0; width: 100%; } }

/* ---------- Pricing teaser ---------- */
.price-teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: var(--r-xl); background: linear-gradient(135deg, var(--t-mint), #F4FBF8 60%, var(--t-sand)); }
.price-teaser h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.check-list .ico { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--primary); color: #fff; }
@media (max-width: 820px) { .price-teaser { grid-template-columns: 1fr; } }

/* ---------- Teachers ---------- */
.teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 820px) { .teacher-grid { grid-template-columns: 1fr; max-width: 420px; } }
.teacher { border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.teacher:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.teacher-photo { aspect-ratio: 1 / .85; display: grid; place-items: center; background: var(--tone); color: var(--tone-ink); font-size: 3.4rem; font-weight: 800; letter-spacing: -.04em; overflow: hidden; }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-body { padding: 20px 22px 24px; }
.teacher-body h3 { margin-bottom: 4px; }
.teacher-body p { margin: 0; color: var(--ink-3); font-weight: 600; }

/* ---------- Reviews ---------- */
.reviews { overflow: hidden; max-width: 820px; margin: 0 auto; }
.reviews-track { display: flex; transition: transform .6s var(--ease); }
.review { flex: 0 0 100%; margin: 0; padding: 8px 16px; text-align: center; }
.review blockquote { margin: 0 0 18px; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.45; color: var(--ink); letter-spacing: -.02em; }
.review blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--accent); margin-bottom: 10px; font-family: Georgia, serif; }
.review figcaption { font-weight: 700; color: var(--ink-3); }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: .3s var(--ease); }
.slider-dots button[aria-current="true"] { width: 28px; background: var(--primary); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; margin-bottom: 24px; } }
.faq { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-weight: 700; color: var(--ink); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--bg-2); transition: background .25s, transform .35s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); border-radius: 2px; }
.faq-plus::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.faq-item[open] .faq-plus { background: var(--primary); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-body { padding: 0 22px 20px; color: var(--ink-3); animation: fadeDown .35s var(--ease); }
.faq-body p { margin: 0; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.cta-section { padding-top: 0; }
.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 6vw, 72px); border-radius: var(--r-xl); background: radial-gradient(600px 300px at 90% 0%, #1D6B50, transparent 60%), var(--dark); color: #CFE3DA; }
.cta-pattern { position: absolute; inset: 0; opacity: .6; background-size: 64px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23FFC845' stroke-opacity='.12'%3E%3Cpath d='M36 6l8.5 21.5L66 36l-21.5 8.5L36 66l-8.5-21.5L6 36l21.5-8.5z'/%3E%3C/g%3E%3C/svg%3E"); mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-copy, .cta-actions { position: relative; }
.cta-copy { max-width: 620px; }
.cta-copy h2 { color: #fff; }
.cta-copy p { color: #A9C3B8; margin: 0; }
.cta-copy .cta-quote { font-size: .92rem; font-style: italic; color: var(--accent); margin-bottom: 10px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.page-hero.has-photo .page-hero-grid { grid-template-columns: 1.1fr .9fr; }
.page-hero-copy { max-width: 760px; }
.page-hero-quote { font-size: 1.02rem; font-style: italic; color: var(--primary); margin-top: 18px; max-width: 46ch; }
.page-hero-photo { border-radius: 32px 32px 32px 100px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .page-hero.has-photo .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Split feature / info cards ---------- */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .split-feature { grid-template-columns: 1fr; } }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 30px; border-radius: var(--r-xl); background: var(--tone); transition: transform .35s var(--ease); }
.info-card:hover { transform: translateY(-5px); }
.info-card h3 { margin-top: 18px; }
.info-card p { margin: 0; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing page / calculator ---------- */
.pricing-section { padding-top: 0; }
.pricing-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 28px; align-items: start; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } }
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.calc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.calc-head h3 { margin: 0; font-size: 1.5rem; }
.currency-pick-light { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .85rem; color: var(--ink-3); }
.calc-block { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.calc-block legend, .calc-legend { display: block; font-weight: 800; font-size: .95rem; color: var(--ink); margin-bottom: 12px; padding: 0; }
.calc-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 560px) { .calc-options { grid-template-columns: 1fr; } }
.calc-opt { position: relative; border-radius: var(--r-md); }
.calc-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-opt-box { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); cursor: pointer; transition: .2s var(--ease); }
.calc-opt-box:hover { border-color: var(--ink-3); }
.calc-check { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line); color: transparent; transition: .2s; }
.calc-check .ico { width: 14px; height: 14px; stroke-width: 3; }
.calc-opt-name { flex: 1; font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.calc-opt-box small { font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.calc-opt input:checked + .calc-opt-box { border-color: var(--primary); background: var(--primary-50); }
.calc-opt input:checked + .calc-opt-box .calc-check { background: var(--primary); border-color: var(--primary); color: #fff; animation: pop .3s var(--ease); }
.calc-opt input:focus-visible + .calc-opt-box { outline: 3px solid var(--accent); outline-offset: 2px; }
@keyframes pop { 50% { transform: scale(1.25); } }
.is-flash { animation: flash 1s ease; }
@keyframes flash { 30% { box-shadow: 0 0 0 4px var(--accent); } }
.calc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .calc-two { grid-template-columns: 1fr; } }
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; width: 100%; height: 100%; }
.seg span { display: block; text-align: center; padding: 10px 8px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink-3); transition: .25s var(--ease); white-space: nowrap; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); }
.seg-wide span { padding: 11px 10px; }
@media (max-width: 480px) { .seg-wide { flex-direction: column; border-radius: var(--r-md); } .seg-wide span { border-radius: var(--r-sm); } }
.calc-kids { display: flex; justify-content: space-between; align-items: center; }
.calc-kids .calc-legend { margin: 0; }
.stepper { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm); font-size: 1.3rem; color: var(--ink); cursor: pointer; transition: transform .2s; }
.stepper button:hover { transform: scale(1.08); }
.stepper output { min-width: 36px; text-align: center; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.calc-total { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.calc-total-label { display: block; font-size: .85rem; font-weight: 600; color: #9FB9AE; }
.calc-total strong { display: block; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.15; }
.calc-total strong.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); } }
.calc-saving { font-size: .85rem; font-weight: 600; color: #7FDDB3; }
.calc-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.calc-wa { display: inline-flex; align-items: center; gap: 6px; color: #CFE3DA; font-weight: 600; font-size: .88rem; text-decoration: none; }
.calc-wa:hover { color: #fff; }
.calc-fine { margin: 14px 0 0; font-size: .85rem; color: var(--ink-3); }
@media (max-width: 560px) { .calc-cta { align-items: stretch; width: 100%; } .calc-wa { justify-content: center; } }
.included { position: sticky; top: 100px; display: grid; gap: 18px; }
.included > h3 { font-size: 1.3rem; margin: 6px 0 0; }
.included-free { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-lg); background: var(--t-sand); }
.included-free > .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; color: var(--t-sand-ink); }
.included-free strong { display: block; color: var(--ink); }
.included-free span { font-size: .92rem; }
@media (max-width: 980px) { .included { position: static; } }

/* ---------- Availability card ---------- */
.avail { border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; padding: 20px; }
.avail-row { display: flex; gap: 14px; align-items: flex-start; }
.avail-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--t-sky); color: var(--t-sky-ink); }
.avail-label { margin: 0; font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.avail-hours { margin: 2px 0; font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.avail-tz { margin: 0; font-size: .82rem; color: var(--ink-3); }
.avail-clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.avail-clocks div { padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg-2); }
.avail-clocks span { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-3); }
.avail-clocks strong { font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Free trial page / form ---------- */
.trial-page { overflow: hidden; padding-top: clamp(48px, 7vw, 88px); }
.trial-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .trial-grid { grid-template-columns: 1fr; } }
.trial-side { display: grid; gap: 24px; }
.trial-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.trial-perks li { display: flex; gap: 14px; align-items: center; color: var(--ink-3); }
.trial-perks li > span { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--primary-50); color: var(--primary); }
.trial-perks strong { display: block; color: var(--ink); }
.trial-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.trial-contact p { margin: 0; font-weight: 700; color: var(--ink); width: 100%; }
.trial-mail { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.trial-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-step-title { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.form-step-title.first { margin-top: 0; padding-top: 0; border-top: 0; }
.form-step-title span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-50); color: var(--primary); font-size: .85rem; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field.full, .trial-form .btn, .form-error, .form-fine { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .88rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 6px; }
.field label small { font-weight: 600; color: var(--ink-3); }
.field input:not([type="radio"]), .field select, .field textarea {
	width: 100%; padding: 13px 15px; font: 500 1rem var(--f); color: var(--ink); background-color: var(--bg-2);
	border: 1.5px solid transparent; border-radius: var(--r-sm); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2366756F' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.field input:not([type="radio"]):hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:not([type="radio"]):focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10, 125, 91, .12); }
.field .is-invalid { border-color: var(--coral) !important; background-color: #FFF5F2 !important; }
.phone-wrap { display: flex; align-items: stretch; }
.phone-code { display: grid; place-items: center; padding: 0 12px; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--line); font-weight: 700; color: var(--ink-2); font-size: .95rem; min-width: 58px; }
.phone-wrap input { border-radius: 0 var(--r-sm) var(--r-sm) 0 !important; }
.form-error { margin: 0; color: #C4441F; font-weight: 600; }
.form-fine { margin: 0; text-align: center; font-size: .85rem; color: var(--ink-3); }
.form-fine .ico { color: var(--primary); }
.form-success { text-align: center; padding: 30px 10px; animation: stepIn .5s var(--ease); }
.form-success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: #fff; margin-bottom: 18px; animation: pop .6s var(--ease); }
.form-success-icon .ico { width: 34px; height: 34px; stroke-width: 2.5; }
.notice { padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: 18px; font-weight: 600; }
.notice-err { background: var(--t-peach); color: var(--t-peach-ink); }
@media (max-width: 560px) { .trial-form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #A9C3B8; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.footer-dua { font-size: 1.15rem; font-style: italic; color: var(--accent); margin: 22px 0 2px; }
.footer-muted { color: #6F8C80; font-size: .88rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a, .footer-list span { display: inline-flex; align-items: center; gap: 8px; color: #CFE3DA; text-decoration: none; }
.footer-list a:hover { color: var(--accent); }
.footer-list .ico { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0 100px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .25s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease), padding .4s; }
.wa-float:hover span, .wa-float:focus span { max-width: 240px; padding-right: 6px; }

/* ---------- Generic content ---------- */
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { margin-top: 1.6em; }
.entry-thumb { border-radius: var(--r-lg); margin-bottom: 28px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card { border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden; background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-thumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-body { padding: 22px; }
.post-body h2 { font-size: 1.25rem; }
.post-body h2 a { color: var(--ink); text-decoration: none; }
.post-date { font-size: .82rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.page-404 { overflow: hidden; min-height: 60vh; }

/* ---------- Scroll reveal ---------- */
/* Only hidden once main.js is running (class added by the script itself), so content
   is always visible if JavaScript is delayed by a caching/optimisation plugin. */
.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(24px); }
.reveal-on .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.reveal-on .reveal:not(.is-in) { opacity: 1; transform: none; }
	.marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

@media (max-width: 520px) { .fc-progress { display: none; } .fc-prayer { bottom: 6%; } }

/* ==========================================================================
   v2.1 — Admissions: booking wizard, slots, thank-you, popup, sticky bar,
   promises, video, comparison
   ========================================================================== */

/* ---------- Next free slot chip (hero) ---------- */
.next-slot { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 16px; border-radius: 999px; background: var(--primary-50); color: var(--ink); text-decoration: none; font-size: .92rem; border: 1px solid rgba(10, 125, 91, .18); transition: transform .25s var(--ease), box-shadow .25s; }
.next-slot strong { color: var(--primary); }
.next-slot small { color: var(--ink-3); }
.next-slot .live-dot { background: var(--primary); }
.next-slot .live-dot::after { border-color: var(--primary); }
.next-slot:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.next-slot[hidden] { display: none; }

/* ---------- Wizard ---------- */
.wizard { display: block; }
.wiz-progress { margin-bottom: 26px; display: none; }
.wizard-on .wiz-progress { display: block; }
.wiz-progress ol { list-style: none; display: flex; justify-content: space-between; gap: 8px; margin: 0 0 12px; padding: 0; }
.wiz-progress li { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--ink-3); }
.wiz-progress li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); border: 1.5px solid var(--line); font-size: .8rem; transition: .3s var(--ease); }
.wiz-progress li.is-current { color: var(--ink); }
.wiz-progress li.is-current span { background: var(--primary); border-color: var(--primary); color: #fff; }
.wiz-progress li.is-done span { background: var(--primary-50); border-color: var(--primary); color: var(--primary); }
.wiz-bar { height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.wiz-bar i { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--primary), #3CC48F); border-radius: inherit; transition: width .5s var(--ease); }
.wiz-step { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.wizard-on .wiz-step { display: none; margin: 0; }
.wizard-on .wiz-step.is-active { display: block; animation: stepIn .45s var(--ease); }
.wiz-title { font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-bottom: 18px; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.wiz-step > .field { margin-bottom: 14px; }
.field-label { font-weight: 700; font-size: .88rem; color: var(--ink); margin: 6px 0 10px; }
.field-hint { font-size: .85rem; color: var(--ink-3); margin: 10px 0 0; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.wiz-nav [data-wiz-next], .wiz-nav [data-wiz-submit] { margin-left: auto; }
.wiz-nav [hidden] { display: none; }
.wiz-summary { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 12px 16px; border-radius: var(--r-sm); background: var(--primary-50); color: var(--ink); font-size: .9rem; margin: -4px 0 18px; }
.wiz-summary b { color: var(--primary); }
.wiz-summary[hidden] { display: none; }

/* Course cards in the wizard */
.course-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 560px) { .course-pick { grid-template-columns: 1fr; } }
.cp { position: relative; }
.cp input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cp-box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line); cursor: pointer; transition: .2s var(--ease); height: 100%; }
.cp-box:hover { border-color: var(--ink-3); }
.cp-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-2); color: var(--primary); transition: .2s; }
.cp-text strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.cp-text small { color: var(--ink-3); font-size: .78rem; }
.cp input:checked + .cp-box { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 1px var(--primary) inset; }
.cp input:checked + .cp-box .cp-icon { background: var(--primary); color: #fff; }
.cp input:focus-visible + .cp-box { outline: 3px solid var(--accent); outline-offset: 2px; }
.field-error-ring { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* Slot picker */
.slot-picker[hidden], .slot-fallback[hidden] { display: none; }
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 10px 0 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.slot-day { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 70px; padding: 10px 8px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: var(--ink-2); transition: .2s var(--ease); }
.slot-day small { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.slot-day b { font-size: 1.25rem; color: var(--ink); line-height: 1.1; }
.slot-day span { font-size: .75rem; }
.slot-day:hover { border-color: var(--ink-3); }
.slot-day[aria-selected="true"] { border-color: var(--primary); background: var(--primary); color: #fff; }
.slot-day[aria-selected="true"] small, .slot-day[aria-selected="true"] b { color: #fff; }
.slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-bottom: 14px; max-height: 236px; overflow-y: auto; padding: 2px; }
.slot-time { padding: 11px 6px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; font: 700 .92rem var(--f); color: var(--ink); cursor: pointer; transition: .15s var(--ease); }
.slot-time:hover { border-color: var(--primary); color: var(--primary); }
.slot-time[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.03); }
.slot-section { grid-column: 1 / -1; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-top: 4px; }
.slot-picker .link-btn { background: none; border: 0; padding: 0; font: 600 .88rem var(--f); color: var(--ink-3); text-decoration: underline; cursor: pointer; margin-bottom: 16px; }
.slot-picker .link-btn:hover { color: var(--ink); }

/* Thank-you */
.success-slot { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--primary-50); color: var(--ink); font-weight: 700; }
.success-slot[hidden] { display: none; }
.cal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 12px 0 0; }
.cal-actions[hidden] { display: none; }
.next-steps { list-style: none; padding: 0; margin: 28px 0 18px; display: grid; gap: 14px; text-align: left; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-3); font-size: .95rem; }
.next-steps li > span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-50); color: var(--primary); font-weight: 800; }
.next-steps strong { display: block; color: var(--ink); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; top: 20px; z-index: 120; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; max-width: min(560px, calc(100% - 24px)); padding: 14px 16px; border-radius: var(--r-md); background: var(--dark); color: #fff; box-shadow: var(--shadow-lg); animation: toastIn .5s var(--ease); }
.toast-err { background: #7A2A17; }
.toast-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); }
.toast-x { background: none; border: 0; color: #fff; opacity: .7; cursor: pointer; padding: 4px; }
.toast-x:hover { opacity: 1; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -16px); } }

/* ---------- Exit-intent modal ---------- */
.modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11, 27, 23, .55); backdrop-filter: blur(4px); animation: fadeIn .3s; }
.modal-card { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: var(--r-xl); padding: 30px 28px 24px; box-shadow: var(--shadow-lg); animation: modalIn .45s var(--ease); text-align: center; }
.modal-card h3 { font-size: 1.55rem; margin-bottom: 10px; }
.modal-card > p { color: var(--ink-3); font-size: .95rem; }
.modal-art { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--t-mint), var(--t-sand)); color: var(--primary); }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.modal-x:hover { background: var(--line); }
.callback-form { display: grid; gap: 10px; margin-top: 16px; text-align: left; }
.callback-form input:not([type="hidden"]) { width: 100%; padding: 13px 15px; font: 500 1rem var(--f); color: var(--ink); background: var(--bg-2); border: 1.5px solid transparent; border-radius: var(--r-sm); }
.callback-form input:focus { outline: none; background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10, 125, 91, .12); }
.callback-form .is-invalid { border-color: var(--coral); background: #FFF5F2; }
.modal-alt { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .9rem; color: var(--primary); text-decoration: none; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
body.modal-open { overflow: hidden; }

/* ---------- Sticky booking bar (phones) ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
	.sticky-cta { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 20px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(11, 27, 23, .45); transform: translateY(140%); transition: transform .45s var(--ease); }
	.sticky-cta.is-shown { transform: none; }
	.sticky-cta-text { flex: 1; min-width: 0; line-height: 1.2; }
	.sticky-cta-text strong { display: block; color: var(--ink); font-size: .95rem; }
	.sticky-cta-text span { display: block; font-size: .78rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.sticky-cta .btn { padding: .75em 1.05em; font-size: .9rem; }
	.sticky-wa { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: #25D366; color: #fff; }
	.sticky-wa .ico { width: 24px; height: 24px; }
	.wa-float.has-bar { display: none; }
	body .site-footer .footer-bottom { padding-bottom: 110px; }
}

/* ---------- Promises ---------- */
.promises-section { padding-top: clamp(24px, 4vw, 40px); }
.promises { display: grid; grid-template-columns: .8fr 2fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); border: 1.5px dashed rgba(10, 125, 91, .35); background: linear-gradient(180deg, #fff, var(--primary-50)); }
.promises-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promise h3 { font-size: 1.08rem; margin: 12px 0 6px; }
.promise p { margin: 0; font-size: .93rem; color: var(--ink-3); }
.promise-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--primary); color: #fff; }
@media (max-width: 900px) { .promises { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .promise-grid { grid-template-columns: 1fr; } }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } }
.video { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; background: var(--dark); box-shadow: var(--shadow-lg); }
.video-btn { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: none; }
.video-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video-btn:hover img { transform: scale(1.04); }
.video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); box-shadow: 0 0 0 12px rgba(255, 200, 69, .3); transition: transform .3s var(--ease); }
.video-play .ico { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.video-btn:hover .video-play { transform: scale(1.08); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Comparison ---------- */
.compare-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .compare-grid { grid-template-columns: 1fr; } }
.compare { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.cmp-row { display: grid; grid-template-columns: 1.7fr .8fr .8fr; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--ink); font-weight: 600; }
.cmp-row > span:not(:first-child) { text-align: center; }
.cmp-head { border-top: 0; font-size: .82rem; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.cmp-head .cmp-us { color: var(--primary); }
.cmp-row .cmp-us { background: var(--primary-50); margin: -14px 0; padding: 14px 0; align-self: stretch; display: grid; place-items: center; }
.cmp-yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; }
.cmp-yes .ico { width: 16px; height: 16px; stroke-width: 3; }
.cmp-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); color: var(--ink-3); }
.cmp-no .ico { width: 14px; height: 14px; }
.cmp-part { font-size: .78rem; font-weight: 700; color: var(--t-sand-ink); }
@media (max-width: 520px) { .cmp-row { grid-template-columns: 1.4fr .75fr .75fr; padding: 12px 14px; font-size: .86rem; } .cmp-head { font-size: .7rem; } }

/* Grid children must be allowed to shrink, or the horizontally-scrolling
   day picker pushes the booking card wider than a phone screen. */
.trial-grid > *, .form-card, .wizard, .slot-picker, .pricing-grid > *, .finder-grid > *, .compare-grid > *, .faq-grid > *, .hero-grid > * { min-width: 0; }
.slot-days { max-width: 100%; }
@media (max-width: 560px) {
	.form-card { padding: 20px 16px; border-radius: var(--r-lg); }
	.slot-times { grid-template-columns: repeat(3, 1fr); }
	.wiz-progress li { font-size: .78rem; gap: 6px; }
	.trial-page .wa-float { bottom: 90px; }
}

/* Phones: heading → booking form → reassurance, so the form is the first thing parents reach. */
@media (max-width: 960px) {
	.trial-side { display: contents; }
	.trial-grid { gap: 22px; }
	.trial-side > header { order: 1; }
	.trial-grid > .form-card { order: 2; }
	.trial-side > :not(header) { order: 3; }
}
.modal-art .ico { width: 34px; height: 34px; }

/* ==========================================================================
   v2.2 — team photo, teacher qualifications, legal/landing, a11y fixes
   ========================================================================== */
.team-photo { position: relative; margin: 0 auto 26px; max-width: 1000px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; background: var(--t-mint); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.team-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px 22px; color: #fff; background: linear-gradient(180deg, transparent, rgba(11, 27, 23, .85)); display: flex; flex-direction: column; gap: 2px; }
.team-photo figcaption strong { font-size: 1.25rem; }
.team-photo figcaption span { color: rgba(255, 255, 255, .85); font-size: .95rem; }
@media (max-width: 600px) { .team-photo { aspect-ratio: 4 / 3; } .team-photo figcaption { padding: 18px; } }
.teacher.no-photo .teacher-photo { aspect-ratio: auto; height: 96px; font-size: 2rem; }
.teacher-role { margin: 0 0 10px !important; color: var(--primary) !important; font-weight: 700; }
.teacher-quals { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.teacher-quals li { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); line-height: 1.4; }
.teacher-quals .ico { flex: none; color: var(--primary); margin-top: 2px; }

/* Legal links + places in footer */
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-legal a { color: #A9C3B8; text-decoration: none; padding: 10px 0; }
.footer-legal a:hover { color: var(--accent); }
.footer-places { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 0 0 22px; font-size: .88rem; color: #6F8C80; }
.footer-places a { color: #CFE3DA; text-decoration: none; padding: 10px 0; }
.footer-places a:hover { color: var(--accent); }
.modal-fine { font-size: .8rem !important; margin: 12px 0 0; }
.modal-fine a, .form-fine a { color: var(--primary); }

/* Landing pages */
.landing-local { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; font-size: .92rem; color: var(--ink-3); }
.landing-local .ico { color: var(--primary); }
.landing-local strong { color: var(--ink); }
.info-card .h3, .h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; margin-top: 18px; }

/* Accessibility: tap targets and contrast */
.footer-list a, .footer-list span { min-height: 44px; }
.link-arrow { padding: 10px 0; }
.next-slot small { color: var(--ink-2); }
.wiz-captcha:empty { display: none; }
.wizard-on .wiz-captcha { display: none; margin-top: 16px; }
.wizard-on.on-last .wiz-captcha { display: block; }
.callback-form .cf-turnstile { margin-top: 4px; }

/* ==========================================================================
   Chat assistant
   ========================================================================== */
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.chat > * { pointer-events: auto; }
.chat-launch { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 17px; border: 0; border-radius: 999px; background: var(--primary); color: #fff; font: 700 .95rem/1 var(--f); cursor: pointer; box-shadow: 0 16px 32px -12px rgba(10, 125, 91, .75); transition: transform .25s var(--ease), background .2s; }
.chat-launch:hover { transform: translateY(-3px); background: var(--primary-600); }
.chat-launch:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.chat-launch .ico { width: 26px; height: 26px; flex: none; }
.chat-launch > .ico:not(.ico-chat) { display: none; }
.chat-launch::after { content: ""; position: absolute; top: 9px; left: 37px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2px solid var(--primary); }
.chat.is-open .chat-launch { width: 58px; padding: 0; justify-content: center; background: var(--ink); }
.chat.is-open .chat-launch .ico-chat, .chat.is-open .chat-launch-label, .chat.is-open .chat-launch::after { display: none; }
.chat.is-open .chat-launch > .ico:not(.ico-chat) { display: block; }

.chat-nudge { display: flex; align-items: center; gap: 4px; margin: 0; max-width: 270px; padding: 6px 6px 6px 16px; border-radius: 18px 18px 6px 18px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: chatIn .45s var(--ease); }
.chat-nudge[hidden] { display: none; }
.chat-nudge-text { border: 0; background: none; padding: 6px 0; text-align: left; font: 600 .9rem/1.35 var(--f); color: var(--ink); cursor: pointer; }
.chat-nudge-x { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--ink-3); cursor: pointer; }
.chat-nudge-x .ico { width: 16px; height: 16px; }

.chat-panel { display: flex; flex-direction: column; width: min(390px, calc(100vw - 24px)); height: min(610px, calc(100vh - 110px)); height: min(610px, calc(100dvh - 110px)); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(11, 27, 23, .45), 0 2px 6px rgba(11, 27, 23, .06); overflow: hidden; transform-origin: bottom right; animation: chatIn .35s var(--ease); }
.chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: var(--ink); color: #fff; }
.chat-avatar .brand-mark { width: 40px; height: 40px; color: var(--primary); display: block; }
.chat-head-text { flex: 1; min-width: 0; }
.chat-head h2 { margin: 0; font-size: 1rem; letter-spacing: -.01em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head p { margin: 2px 0 0; font-size: .78rem; color: #BFD6CC; line-height: 1.3; }
.chat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3BE08F; margin-right: 3px; vertical-align: 1px; }
.chat-head-wa, .chat-x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; text-decoration: none; }
.chat-head-wa { background: #25D366; }
.chat-head-wa .ico, .chat-x .ico { width: 20px; height: 20px; }
.chat-x:hover { background: rgba(255, 255, 255, .2); }

.chat-log { flex: 1; overflow-y: auto; padding: 18px 14px 8px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); overscroll-behavior: contain; }
.chat-log:focus { outline: none; }
.chat-log:focus-visible { box-shadow: inset 0 0 0 2px var(--primary); }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; animation: chatIn .3s var(--ease); }
.chat-msg.from-bot { align-self: flex-start; background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.chat-msg.from-me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 6px; }
.chat-msg strong { color: var(--ink); }
.chat-msg small { color: var(--ink-3); }
.chat-msg a { font-weight: 700; }
.chat-fee { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--primary-50); color: var(--primary-600); font-weight: 700; font-size: .85rem; }
.chat-list { list-style: none; margin: 8px 0 0; padding: 0; }
.chat-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--line); }
.chat-list b { color: var(--ink); white-space: nowrap; }
.chat-msg.is-typing { display: flex; gap: 4px; padding: 14px 16px; }
.chat-msg.is-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); opacity: .4; animation: chatDot 1s infinite; }
.chat-msg.is-typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg.is-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }

.chat-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 14px 4px; background: var(--bg-2); max-height: 152px; overflow-y: auto; }
.chat-chips:empty { display: none; }
.chat-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 14px; border: 1.5px solid rgba(10, 125, 91, .3); border-radius: 999px; background: #fff; color: var(--primary-600); font: 700 .86rem/1.2 var(--f); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.chat-chip:hover { border-color: var(--primary); background: var(--primary-50); transform: translateY(-1px); }
.chat-chip.is-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.chat-chip.is-primary:hover { background: var(--primary-600); }
.chat-chip.is-wa { border-color: #25D366; color: #128C4A; }
.chat-chip.is-wa::before { content: ""; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #25D366; }

.chat-captcha { padding: 8px 14px 0; background: #fff; }
.chat-captcha[hidden] { display: none; }
.chat-input { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-code { flex: none; font-weight: 700; color: var(--ink); font-size: .95rem; }
.chat-code[hidden] { display: none; }
.chat-input input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; font: 500 16px/1 var(--f); color: var(--ink); background: var(--bg-2); }
.chat-input input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(10, 125, 91, .12); }
.chat-send { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; cursor: pointer; }
.chat-send:hover { background: var(--primary-600); }
.chat-send .ico { width: 20px; height: 20px; }
.chat-fine { margin: 0; padding: 0 14px 10px; background: #fff; font-size: .74rem; color: var(--ink-3); text-align: center; }
.chat-fine a { color: var(--ink-3); }

@media (max-width: 760px) {
	.chat { right: 12px; bottom: 12px; }
	.chat.has-bar { bottom: 86px; }
	.chat-launch { height: 54px; padding: 0 16px; }
	.chat-launch-label { display: none; }
	.chat-launch::after { left: 33px; top: 8px; }
	.chat.is-open .chat-launch { width: 54px; }
	.chat-nudge { display: none; }
	body.chat-open { overflow: hidden; }
	body.chat-open .sticky-cta { display: none; }
	.chat.is-open { inset: 0; padding: 0; gap: 0; align-items: stretch; }
	.chat.is-open .chat-panel { width: 100%; height: 100%; border-radius: 0; border: 0; }
	.chat.is-open .chat-launch { display: none; }
}
@media (max-width: 560px) {
	.trial-page .chat { bottom: 90px; }
	.trial-page .chat.is-open { bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.chat-panel, .chat-msg, .chat-nudge { animation: none; }
	.chat-msg.is-typing span { animation: none; opacity: .6; }
}
