/* ==========================================================================
   JTS – Junior Talent Search
   Navy (trust) + royal blue (energy). Marigold is reserved for achievement
   (stars, scores, certificates), mint for "free". One bold moment: the hero.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts/) — no third-party requests */
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/mulish-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/mulish-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/mulish-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/mulish-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/mulish-latin-800-normal.woff2") format("woff2"); }

:root {
	--purple: #7b3fa7;
	--purple-dark: #62308a;
	--purple-soft: #f4ecfb;
	--lavender: #ebdffa;
	--navy: #16133f;
	--navy-deep: #0a0b2e;
	--blue: #3877bf;
	--blue-dark: #2a609f;
	--blue-soft: #eaf1fa;
	--royal: #0b3aa4;
	--gold: #7b3fa7;
	--gold-deep: #5b2b80;
	--gold-soft: #f4ecfb;
	--mint: #12a36b;
	--mint-dark: #0b7d4e;
	--mint-soft: #e3f6ed;
	--ink: #1d1a2e;
	--ink-2: #5a5e70;
	--line: #e8e4ef;
	--tint: #f6f4f9;
	--white: #fff;

	--display: "Mulish", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--body: "Mulish", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--r-sm: 12px;
	--r: 18px;
	--r-lg: 30px;
	--shadow: 0 1px 2px rgba(29, 26, 46, .05), 0 14px 34px -18px rgba(29, 26, 46, .25);
	--shadow-lg: 0 2px 4px rgba(10, 11, 46, .08), 0 34px 70px -28px rgba(10, 11, 46, .45);
	--container: 1200px;
	--gutter: clamp(18px, 4vw, 40px);
	--section: clamp(64px, 8vw, 112px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--navy); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { clip: auto; width: auto; height: auto; margin: 0; padding: 12px 18px; z-index: 1000; top: 10px; left: 10px; background: var(--white); color: var(--navy); border-radius: var(--r-sm); box-shadow: var(--shadow); white-space: normal; }
.jts-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.jts-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, color .18s, border-color .18s;
}
.jts-btn .jts-icon { width: 1.1em; height: 1.1em; transition: transform .18s var(--ease); }
.jts-btn:hover .jts-icon { transform: translateX(3px); }
.jts-btn:active { transform: translateY(1px); }
.jts-btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px -10px rgba(47, 73, 245, .8); }
.jts-btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.jts-btn--accent { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 26px -12px rgba(255, 180, 34, .9); }
.jts-btn--accent:hover { background: #ffc24a; color: var(--navy-deep); }
.jts-btn--ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.jts-btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.jts-btn--light { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .35); }
.jts-btn--light:hover { background: rgba(255, 255, 255, .14); color: var(--white); border-color: var(--white); }
.jts-btn[disabled] { opacity: .5; cursor: not-allowed; }

.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; white-space: nowrap; }
.text-link .jts-icon { width: 1.05em; transition: transform .18s var(--ease); }
.text-link:hover .jts-icon { transform: translateX(3px); }

/* ---------- Portal bar & header ---------- */
.portal-bar { background: var(--navy-deep); color: #c7cff2; font-size: .875rem; }
.portal-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.portal-bar__free { display: flex; align-items: center; gap: .5em; margin: 0; }
.portal-bar__free .jts-icon { color: #4fe0a3; width: 1.1em; }
.portal-bar__links { display: flex; gap: 22px; }
.portal-bar__links a { color: #e2e7ff; text-decoration: none; font-weight: 500; }
.portal-bar__links a:hover { color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 22, 51, .5); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 13px; background: var(--navy); color: var(--gold); display: grid; place-items: center; transform: rotate(-6deg); box-shadow: 0 8px 18px -10px rgba(20, 32, 90, .9); }
.brand-mark .jts-icon { width: 26px; height: 26px; fill: var(--gold); stroke: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font: 800 1.5rem/1 var(--display); letter-spacing: -.02em; }
.brand-text span { font-size: .78rem; font-weight: 600; color: var(--ink-2); margin-top: 4px; letter-spacing: .01em; }
.custom-logo-link img { max-height: 56px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: flex-end; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav .menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.primary-nav .menu a:hover, .primary-nav .current-menu-item > a { color: var(--blue); background: var(--blue-soft); }
.primary-nav .sub-menu { display: none; }
.header-actions { display: flex; gap: 10px; }
.header-actions .jts-btn { min-height: 44px; padding: .6em 1.15em; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; place-items: center; }
.nav-toggle .jts-icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.mobile-portal-links { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #dfe5ff; background: radial-gradient(1100px 560px at 85% 20%, rgba(47, 73, 245, .55), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(15, 169, 104, .18), transparent 60%), var(--navy); padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); }
.hero__sky { position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: radial-gradient(1.5px 1.5px at 20px 30px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90px 120px, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 160px 60px, #ffd37a 50%, transparent 51%), radial-gradient(1px 1px at 230px 170px, #fff 50%, transparent 51%); background-size: 260px 220px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__free { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__free li { display: inline-flex; align-items: center; gap: .45em; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(15, 169, 104, .16); border: 1px solid rgba(79, 224, 163, .35); color: #bff5dc; font-weight: 600; font-size: .95rem; }
.hero__free .jts-icon { width: 1.1em; height: 1.1em; color: #4fe0a3; stroke-width: 2.6; }
.hero__title { color: var(--white); font-size: clamp(2.7rem, 6vw, 4.9rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; margin-bottom: 22px; max-width: 11ch; text-wrap: balance; }
.hero__text { font-size: clamp(1.06rem, 1.5vw, 1.22rem); max-width: 34em; color: #c9d1f5; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__actions .jts-btn { min-height: 54px; padding-inline: 1.6em; font-size: 1.05rem; }
.hero__link { border: 0; display: inline-flex; align-items: center; gap: .55em; color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(255, 180, 34, .7); padding-bottom: 2px; }
.hero__link:hover { color: var(--gold); }
.hero__link .jts-icon { color: var(--gold); }
.hero__tagline { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font: 600 1rem/1.4 var(--display); color: #f6d58a; letter-spacing: .005em; max-width: 34em; }

/* Hero visual: a composed "journey" — registration, live exam, score, certificate */
.hero__visual { position: relative; aspect-ratio: 1 / .92; width: 100%; max-width: 560px; justify-self: end; }
.vcard { position: absolute; background: var(--white); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 16px 18px; }
.vcard small { display: block; font-size: .8rem; color: var(--ink-2); font-weight: 600; }
.vcard strong { display: block; font: 700 1.15rem/1.2 var(--display); color: var(--navy); }
.vcard__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.vcard__icon--mint { background: var(--mint-soft); color: var(--mint-dark); }
.vcard--register { top: 3%; left: 0; display: flex; gap: 12px; align-items: center; z-index: 3; }
.vcard--register strong { color: var(--mint-dark); font-size: 1.5rem; }
.vcard--exam { top: 27%; left: 10%; right: 8%; padding: 22px 24px; z-index: 2; }
.vcard__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.vcard__timer { font: 700 .95rem/1 var(--display); color: var(--navy); background: var(--blue-soft); padding: 6px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.vcard__bar { display: block; height: 8px; border-radius: 99px; background: var(--blue-soft); margin: 14px 0 16px; overflow: hidden; }
.vcard__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #6a7dff); border-radius: inherit; }
.vcard__opts { display: grid; gap: 8px; }
.vcard__opts span { height: 30px; border-radius: 10px; border: 1.5px solid var(--line); position: relative; }
.vcard__opts span::before { content: ""; position: absolute; left: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 1.5px solid #b8c0dc; }
.vcard__opts span::after { content: ""; position: absolute; left: 32px; right: 40%; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: #e9ecf6; }
.vcard__opts .is-on { border-color: var(--blue); background: var(--blue-soft); }
.vcard__opts .is-on::before { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 2px var(--white); }
.vcard--score { bottom: 4%; left: 2%; display: flex; gap: 14px; align-items: center; z-index: 3; }
.vcard--score strong { font-size: 1.7rem; }
.ring { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring__track { stroke: var(--gold-soft); }
.ring__fill { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 207.3; stroke-dashoffset: 16.6; }
.vcard--cert { bottom: 0; right: 0; width: 46%; padding: 18px 18px 20px; z-index: 4; background: linear-gradient(160deg, #fffaf0, #fff); border: 1px solid #f3e2b8; transform: rotate(3deg); }
.vcard--cert small { color: var(--navy); font: 700 .95rem/1.2 var(--display); margin: 8px 0 12px; }
.cert-seal { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; box-shadow: 0 0 0 4px #fff, 0 0 0 5px #f3d18c; }
.cert-lines { display: grid; gap: 7px; }
.cert-lines span { height: 6px; border-radius: 3px; background: #efe6d2; }
.cert-lines span:nth-child(2) { width: 80%; }
.cert-lines span:nth-child(3) { width: 55%; }
.stamp { position: absolute; top: -9%; right: -2%; width: 33%; aspect-ratio: 1; z-index: 5; color: var(--gold); }
.stamp__ring { width: 100%; height: 100%; animation: jts-spin 28s linear infinite; }
.stamp__ring text { fill: currentColor; font: 700 15.5px var(--body); letter-spacing: 2.4px; }
.stamp__core { position: absolute; inset: 30%; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; box-shadow: 0 0 40px rgba(255, 180, 34, .45); }
.stamp__core .jts-icon { width: 46%; height: 46%; fill: var(--navy-deep); stroke: var(--navy-deep); }
@keyframes jts-spin { to { transform: rotate(360deg); } }

/* The one orchestrated entrance */
@media (prefers-reduced-motion: no-preference) {
	.hero__copy > * { animation: jts-rise .7s var(--ease) both; }
	.hero__copy > :nth-child(2) { animation-delay: .06s; }
	.hero__copy > :nth-child(3) { animation-delay: .12s; }
	.hero__copy > :nth-child(4) { animation-delay: .18s; }
	.hero__copy > :nth-child(n+5) { animation-delay: .24s; }
	.hero__visual .vcard { animation: jts-pop .8s var(--ease) both; }
	.vcard--register { animation-delay: .35s !important; }
	.vcard--exam { animation-delay: .2s !important; }
	.vcard--score { animation-delay: .5s !important; }
	.vcard--cert { animation-delay: .65s !important; }
	.ring__fill { animation: jts-ring 1.4s .8s var(--ease) both; }
}
@keyframes jts-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes jts-pop { from { opacity: 0; transform: translateY(26px) scale(.96); } }
@keyframes jts-ring { from { stroke-dashoffset: 207.3; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }
.section--flush { padding-top: clamp(40px, 5vw, 64px); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head-row .section-head { margin-bottom: 0; }
.section-title { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.section-intro { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--ink-2); margin: 0; max-width: 40em; }
.section-kicker { font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.empty-note { background: var(--white); border: 1.5px dashed #c9d0e6; border-radius: var(--r); padding: 28px; color: var(--ink-2); }
.empty-note p { margin: 0 0 14px; max-width: 46em; }
.empty-note p:last-child { margin: 0; }
.empty-note--center { text-align: center; }
.empty-note--center p { margin-inline: auto; }

/* About */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.about__pillars { display: grid; gap: 16px; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.pillar h3 { margin: 4px 0 0; }
.pillar p { grid-column: 2; margin: 0; color: var(--ink-2); }
.pillar__icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.pillar__icon--gold { background: var(--gold-soft); color: var(--gold-deep); }
.pillar__icon .jts-icon { width: 26px; height: 26px; }

/* Why JTS */
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { position: relative; padding: 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd6ee; }
.feature h3 { margin: 18px 0 8px; font-size: 1.28rem; }
.feature p { margin: 0; color: var(--ink-2); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.feature__icon .jts-icon { width: 26px; height: 26px; }
.feature--free { background: linear-gradient(160deg, var(--mint-soft), #fff 70%); border-color: #bfe9d5; }
.feature--free .feature__icon { background: var(--mint); color: var(--white); }
.feature__tag { position: absolute; top: 24px; right: 24px; font-size: .82rem; font-weight: 700; color: var(--mint-dark); background: var(--white); border: 1px solid #bfe9d5; border-radius: 999px; padding: 4px 10px; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: none; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, #c9d1ef 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 4px; }
.step__num { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font: 800 1.35rem/1 var(--display); box-shadow: 0 0 0 8px var(--white); }
.step:last-child .step__num { background: var(--gold); color: var(--navy-deep); }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.how__cta { text-align: center; margin-top: clamp(36px, 5vw, 56px); }

/* Courses */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.course-card { --c: var(--blue); --cs: var(--blue-soft); position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c); }
.course-card--science { --c: var(--mint-dark); --cs: var(--mint-soft); }
.course-card--english { --c: #c2410c; --cs: #ffece4; }
.course-card--reasoning { --c: var(--gold-deep); --cs: var(--gold-soft); }
.course-card--gk { --c: #0369a1; --cs: #e3f3fc; }
.course-card--computer { --c: #6d28d9; --cs: #f1eaff; }
.course-card--art { --c: #be185d; --cs: #ffe7f2; }
.course-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--cs, var(--blue-soft)); color: var(--c, var(--blue)); margin-bottom: 18px; }
.course-card__icon .jts-icon { width: 28px; height: 28px; }
.course-card__title { font-size: 1.32rem; margin-bottom: 8px; }
.course-card__title a { color: inherit; text-decoration: none; }
.course-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.course-card__text { color: var(--ink-2); margin-bottom: 16px; }
.course-card__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .88rem; color: var(--ink-2); margin: auto 0 18px; }
.course-card__meta span { display: inline-flex; align-items: center; gap: .4em; }
.course-card__meta .jts-icon { width: 1.05em; color: var(--c); }
.course-card__cta { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--c); }
.course-card__cta .jts-icon { width: 1.05em; transition: transform .18s var(--ease); }
.course-card:hover .course-card__cta .jts-icon { transform: translateX(4px); }

/* Courses published by Moodle: photo (or icon) on top */
.course-card--moodle { padding: 0; overflow: hidden; }
.course-card__image { aspect-ratio: 16 / 9; background: var(--cs, var(--blue-soft)); overflow: hidden; }
.course-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.course-card--moodle:hover .course-card__image img { transform: scale(1.04); }
.course-card__image--icon { display: grid; place-items: center; color: var(--c, var(--blue)); }
.course-card__image--icon .jts-icon { width: 52px; height: 52px; }
.course-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }

/* Subjects (Moodle course categories) */
.course-card--subject .course-card__meta { margin-bottom: 18px; }
.course-card--subject.is-soon { background: var(--tint); }
.course-card--subject.is-soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.course-card--subject.is-soon .course-card__icon { opacity: .7; }
.course-card--subject.is-soon .course-card__cta { color: var(--ink-2); font-weight: 600; }
.course-card--subject .course-card__cta { margin-top: auto; }
.back-row { margin: 0 0 24px; }
.admin-hint { margin: 0 0 20px; padding: 16px 20px; border-radius: 12px; background: #fff8e6; border: 1px solid #f2c94c; border-left-width: 5px; color: #5c4400; line-height: 1.55; }
.admin-hint strong { display: block; margin-bottom: 2px; }
.admin-hint a { font-weight: 600; }
.text-link--back .jts-icon { transform: rotate(180deg); }
.text-link--back:hover .jts-icon { transform: rotate(180deg) translateX(3px); }

/* Exams */
.exam-list { display: grid; gap: 14px; }
.exam-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 18px 22px 18px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .2s, border-color .2s; }
.exam-row:hover { border-color: #cfd6ee; box-shadow: var(--shadow); }
.exam-row__date { width: 88px; padding: 12px 0; border-radius: 14px; background: var(--navy); color: var(--white); text-align: center; line-height: 1; }
.exam-row__day { display: block; font: 800 2.1rem/1 var(--display); }
.exam-row__month { display: block; font-size: .8rem; font-weight: 600; color: #c5cdf3; margin-top: 6px; }
.exam-row__label { display: block; font-size: .72rem; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.exam-row__date--closes { background: #2a3570; }
.exam-row__date--now { background: var(--mint-dark); }
.exam-row__date--now .exam-row__day .jts-icon { width: 30px; height: 30px; }
.exam-row__date--now .exam-row__month { color: #d6f5e7; }
.exam-row__desc { color: var(--ink-2); margin: -2px 0 10px; font-size: .97rem; max-width: 62ch; }
.exam-row__note { font-size: .9rem; color: var(--ink-2); max-width: 18ch; text-align: right; }
.exam-row__title { font-size: 1.25rem; margin-bottom: 8px; }
.exam-row__title a { color: inherit; text-decoration: none; }
.exam-row__title a:hover { color: var(--blue); }
.exam-row__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-2); font-size: .94rem; }
.exam-row__meta li { display: inline-flex; align-items: center; gap: .45em; }
.exam-row__meta .jts-icon { width: 1.05em; color: var(--blue); }
.exam-row__action { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.status { display: inline-flex; align-items: center; gap: .4em; font-size: .82rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--open { background: var(--mint-soft); color: var(--mint-dark); }
.status--closing { background: var(--gold-soft); color: var(--gold-deep); }
.status--upcoming { background: var(--blue-soft); color: var(--blue-dark); }
.status--closed { background: #eef0f5; color: #5b6380; }

/* Achievements */
.stats { list-style: none; margin: 0 0 clamp(40px, 5vw, 64px); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; border-radius: var(--r-lg); background: radial-gradient(600px 300px at 90% 0%, rgba(47, 73, 245, .55), transparent 70%), var(--navy); color: #c9d1f5; }
.stat { display: grid; gap: 4px; }
.stat__icon { color: var(--gold); margin-bottom: 6px; }
.stat__icon .jts-icon { width: 28px; height: 28px; }
.stat__value { font: 800 clamp(2.2rem, 4vw, 3.1rem)/1 var(--display); color: var(--white); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: .98rem; }
.achievers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.achiever { text-align: center; padding: 28px 20px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.achiever__photo { position: relative; width: 112px; height: 112px; margin: 0 auto 16px; }
.achiever__photo img, .achiever__initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--gold); }
.achiever__initials { background: linear-gradient(140deg, var(--blue), var(--navy)); color: var(--white); font: 800 2rem/1 var(--display); }
.achiever__score { position: absolute; bottom: -6px; right: -10px; background: var(--gold); color: var(--navy-deep); font: 800 .9rem/1 var(--display); padding: 6px 9px; border-radius: 999px; border: 3px solid var(--white); }
.achiever__name { font-size: 1.15rem; margin-bottom: 6px; }
.achiever__award { font-weight: 600; color: var(--navy); margin: 0 0 4px; font-size: .95rem; text-wrap: balance; }
.achiever__award .jts-icon { color: var(--gold-deep); width: 1.1em; height: 1.1em; vertical-align: -.18em; margin-right: .35em; }
.achiever__where { color: var(--ink-2); font-size: .9rem; margin: 0; }
.achievements__cta { text-align: center; margin: clamp(28px, 4vw, 44px) 0 0; }

/* Certificate */
.certificate { background: linear-gradient(180deg, var(--white), var(--tint)); }
.certificate__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .jts-icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--mint-soft); color: var(--mint-dark); stroke-width: 2.6; margin-top: 1px; }
.verify-form { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.verify-form label { display: block; font: 700 1.1rem/1.2 var(--display); color: var(--navy); margin-bottom: 12px; }
.verify-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.verify-form input { flex: 1 1 240px; min-height: 50px; padding: 0 16px; border: 1.5px solid #c9d0e6; border-radius: 12px; font: inherit; color: var(--ink); background: var(--white); }
.verify-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 73, 245, .15); }
.verify-form .jts-btn { min-height: 50px; border-radius: 12px; }
.verify-form__note { margin: 10px 0 0; font-size: .9rem; color: var(--ink-2); }
.certificate__visual { position: relative; display: grid; place-items: center; padding: 20px; }
.certificate__visual::before { content: ""; position: absolute; inset: 6% 2%; border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; background: var(--blue-soft); }
.mock-cert { position: relative; width: min(100%, 520px); aspect-ratio: 1.414; background: var(--white); border-radius: 6px; box-shadow: var(--shadow-lg); padding: 14px; transform: rotate(-2.5deg); }
.mock-cert__frame { height: 100%; border: 2px solid var(--navy); outline: 1px solid var(--navy); outline-offset: -7px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6% 8% 5%; gap: 2.2%; }
.mock-cert__seal { width: 13%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--gold); }
.mock-cert__seal .jts-icon { width: 55%; height: 55%; fill: var(--navy); stroke: var(--navy); }
.mock-cert__org { font-size: clamp(.55rem, 1.1vw, .75rem); font-weight: 700; color: var(--navy); letter-spacing: .08em; }
.mock-cert__title { font: 700 clamp(1rem, 2.3vw, 1.6rem)/1.1 var(--display); color: var(--navy); }
.mock-cert__line { font-size: clamp(.55rem, 1.05vw, .78rem); color: var(--ink-2); font-style: italic; }
.mock-cert__name { font: 700 clamp(1.05rem, 2.4vw, 1.7rem)/1.1 var(--display); color: var(--blue); border-bottom: 1px solid var(--line); padding: 0 8% 4px; }
.mock-cert__foot { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; }
.mock-cert__qr { width: 14%; aspect-ratio: 1; background: conic-gradient(var(--navy) 25%, #fff 0 50%, var(--navy) 0 75%, #fff 0) 0 0 / 30% 30%; border: 2px solid var(--navy); }
.mock-cert__sign { display: grid; text-align: center; border-top: 1px solid var(--ink); padding-top: 3px; min-width: 34%; }
.mock-cert__sign em { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: clamp(.8rem, 1.6vw, 1.1rem); color: var(--navy); order: -1; margin-top: -1.4em; }
.mock-cert__sign small { font-size: clamp(.5rem, .9vw, .62rem); color: var(--ink-2); }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 136px) 0; text-align: center; color: #dfe5ff; background: radial-gradient(800px 400px at 50% 120%, rgba(255, 180, 34, .28), transparent 70%), linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--blue-dark) 100%); }
.cta::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(1.5px 1.5px at 30px 40px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 120px 90px, #ffd37a 50%, transparent 51%); background-size: 180px 140px; }
.cta__inner { position: relative; }
.cta__title { color: var(--white); font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 15ch; margin: 0 auto 20px; text-wrap: balance; }
.cta__text { font: 600 clamp(1.05rem, 1.8vw, 1.3rem)/1.4 var(--display); color: #f6d58a; margin: 0 auto 34px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta__actions .jts-btn { min-height: 54px; padding-inline: 1.7em; font-size: 1.05rem; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__contact { color: var(--ink-2); }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: #c4ccec; box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font: 700 1.1rem/1.35 var(--display); color: var(--navy); border-radius: var(--r); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .jts-icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); transition: transform .25s var(--ease), background-color .2s; }
.faq__item[open] summary .jts-icon { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq__answer { padding: 0 22px 20px; color: var(--ink-2); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aeb7df; font-size: .97rem; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: #dfe5ff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.site-footer .brand-text span { color: #aeb7df; }
.site-footer .brand-mark { background: var(--gold); color: var(--navy-deep); }
.site-footer .brand-mark .jts-icon { fill: var(--navy-deep); stroke: var(--navy-deep); }
.site-footer__brand p { max-width: 30em; }
.site-footer__tagline { color: #f6d58a; font: 600 1rem/1.4 var(--display); }
.site-footer__col h2 { font: 700 1rem/1.2 var(--display); color: var(--white); margin-bottom: 16px; letter-spacing: 0; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list { margin-top: 20px !important; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .jts-icon { color: var(--gold); margin-top: 3px; width: 1.1em; }
.social-links { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 10px; }
.social-links a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--white); transition: background-color .2s, color .2s; }
.social-links a:hover { background: var(--gold); color: var(--navy-deep); text-decoration: none; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; font-size: .9rem; }
.site-footer__bottom p { margin: 0; }

/* Footer announcement widget area */
.footer-widgets { margin-bottom: 40px; padding: 22px 26px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #dfe5ff; }
.footer-widget__title { font: 700 1.15rem/1.3 var(--display); color: var(--white); margin-bottom: 8px; }
.footer-widgets p:last-child { margin-bottom: 0; }

/* ---------- Inner pages ---------- */
.page-header { background: radial-gradient(700px 300px at 90% 0%, rgba(47, 73, 245, .5), transparent 70%), var(--navy); color: #c9d1f5; padding: clamp(48px, 7vw, 88px) 0; }
.page-header__title { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; margin: 0; max-width: 20ch; text-wrap: balance; }
.page-header__intro { font-size: 1.15rem; margin: 14px 0 0; max-width: 40em; }
.back-link { display: inline-block; color: #c9d1f5; margin-bottom: 18px; text-decoration: none; font-weight: 600; }
.back-link::before { content: "← "; }
.back-link:hover { color: var(--gold); }
.course-hero { display: flex; gap: 22px; align-items: center; }
.course-hero .course-card__icon { margin: 0; width: 76px; height: 76px; border-radius: 20px; }
.course-hero .course-card__icon .jts-icon { width: 38px; height: 38px; }
.course-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 12px 0 0; color: #c9d1f5; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); padding-block: clamp(40px, 6vw, 72px); align-items: start; }
.aside-card { position: sticky; top: 110px; padding: 24px; border-radius: var(--r); background: var(--tint); border: 1px solid var(--line); display: grid; gap: 12px; }
.aside-card h2 { font-size: 1.3rem; margin: 0; }
.aside-card p { margin: 0; color: var(--ink-2); }
.entry { padding-block: clamp(36px, 5vw, 64px); }
.entry-content { max-width: 72ch; font-size: 1.08rem; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry-content img { border-radius: var(--r-sm); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold); color: var(--navy); font-size: 1.15rem; }
.entry-media img { border-radius: var(--r); width: 100%; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.post-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.post-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card__meta { font-size: .88rem; color: var(--ink-2); margin-bottom: 6px; }
.post-card__title { font-size: 1.3rem; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.search-form input { flex: 1 1 220px; min-height: 50px; padding: 0 16px; border: 1.5px solid #c9d0e6; border-radius: 12px; font: inherit; }
.search-again { margin-bottom: 32px; }
.notfound { text-align: center; }
.notfound .search-form, .notfound .section-intro { margin-inline: auto; }
.notfound .hero__actions { justify-content: center; margin-top: 8px; }
.notfound__code { font: 800 clamp(5rem, 16vw, 10rem)/1 var(--display); color: var(--blue-soft); margin: 0; -webkit-text-stroke: 2px var(--blue); }
.back-row { margin-top: 24px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.comments { margin-top: 48px; max-width: 72ch; }
.comment-list { padding-left: 0; list-style: none; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #c9d0e6; border-radius: 12px; font: inherit; }
.comment-form input[type=submit] { background: var(--blue); color: var(--white); border: 0; border-radius: 999px; padding: 12px 24px; font: 600 1rem var(--body); cursor: pointer; }
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: .9rem; color: var(--ink-2); }

/* ---------- Student account forms (JTS Core) ---------- */
.jts-form { max-width: 720px; display: grid; gap: 18px; }
.jts-form--narrow { max-width: 460px; }
.jts-fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 6px; margin: 0; display: grid; gap: 16px; background: var(--white); }
.jts-fieldset legend { font: 700 1.1rem/1 var(--display); color: var(--navy); padding: 0 8px; }
.jts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.jts-field { display: grid; gap: 6px; align-content: start; }
.jts-field label { font-weight: 600; color: var(--navy); font-size: .97rem; }
.jts-field__hint { font-weight: 400; color: var(--ink-2); font-size: .88rem; }
.jts-field input, .jts-field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid #c9d0e6; border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); }
.jts-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.jts-field input:focus, .jts-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 73, 245, .15); }
.jts-field [aria-invalid="true"] { border-color: #c0362c; background: #fff7f6; }
.jts-field__error { color: #b42318; font-size: .9rem; font-weight: 600; margin: 0; }
.jts-field--check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.jts-field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--blue); }
.jts-check { display: inline-flex; gap: 8px; align-items: center; }
.jts-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.jts-form__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .95rem; }
.jts-form__switch { margin: 0; color: var(--ink-2); }
.jts-btn--block { width: 100%; min-height: 54px; }
.jts-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jts-alert { padding: 14px 18px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); border-left: 4px solid var(--blue); }
.jts-alert--error { background: #fdecea; border-color: #c0362c; color: #7a1d14; }
.jts-alert--ok { background: var(--mint-soft); border-color: var(--mint); color: #0a4f33; }
.jts-account { display: grid; gap: 28px; max-width: 900px; }
.jts-account__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.jts-tile { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; transition: transform .18s var(--ease), border-color .18s, box-shadow .18s; }
.jts-tile:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); }
.jts-tile .jts-icon { grid-row: span 2; width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); }
.jts-tile strong { font: 700 1.15rem/1.2 var(--display); color: var(--navy); }
.jts-tile span { color: var(--ink-2); font-size: .93rem; }
.jts-tile--primary { background: var(--navy); border-color: var(--navy); }
.jts-tile--primary strong, .jts-tile--primary span { color: var(--white); }
.jts-tile--primary span { opacity: .8; }
.jts-tile--primary .jts-icon { background: var(--gold); color: var(--navy-deep); }
.jts-tile--primary:hover { border-color: var(--gold); }
.jts-account__section h2 { font-size: 1.5rem; }
.jts-account__logout { margin: 0; }

/* WordPress core classes */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.sticky .post-card__title::before { content: "★ "; color: var(--gold-deep); }
.bypostauthor > .comment-body { border-left: 3px solid var(--gold); padding-left: 14px; }
.gallery-caption { font-size: .9rem; color: var(--ink-2); }
.is-style-jts-callout { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 18px 22px; }
.wp-block-button__link { background: var(--blue); color: var(--white); border-radius: 999px; padding: .75em 1.4em; font-weight: 600; }
.wp-block-button__link:hover { background: var(--blue-dark); color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.nav-toggle { display: grid; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 18px; padding: 18px var(--gutter) 26px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(16, 22, 51, .45); max-height: calc(100vh - 76px); overflow-y: auto; }
	.site-header.is-open .site-nav { display: flex; }
	.site-header.is-open .nav-toggle__open { display: none; }
	.site-header.is-open .nav-toggle__close { display: inline; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav .menu a { padding: 12px 10px; font-size: 1.05rem; }
	.header-actions { flex-direction: column; }
	.header-actions .jts-btn { min-height: 50px; }
	.mobile-portal-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
	.mobile-portal-links a { display: flex; align-items: center; gap: .5em; padding: 12px; border-radius: 12px; background: var(--tint); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
	.mobile-portal-links .jts-icon { color: var(--blue); }
	.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
	.steps::before { display: none; }
}
@media (max-width: 960px) {
	.hero__grid, .about__grid, .certificate__grid, .faq__grid, .course-layout { grid-template-columns: 1fr; }
	.hero__visual { justify-self: center; max-width: 520px; margin-top: 8px; }
	.why__grid, .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.faq__head { position: static; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
	.aside-card { position: static; }
	.portal-bar__links { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.portal-bar__inner { justify-content: center; }
	.site-header__inner { min-height: 68px; }
	.brand-mark { width: 40px; height: 40px; }
	.brand-text strong { font-size: 1.35rem; }
	.hero__actions .jts-btn { flex: 1 1 100%; }
	.hero__visual { aspect-ratio: 1 / 1.02; }
	.vcard { padding: 12px 14px; border-radius: 16px; }
	.vcard--exam { left: 4%; right: 0; top: 24%; padding: 16px 18px; }
	.vcard--cert { width: 52%; }
	.stamp { width: 34%; top: -10%; }
	.vcard--exam { top: 28%; }
	.why__grid, .course-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; gap: 0; }
	.step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: left; padding-bottom: 26px; }
	.step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, #c9d1ef 0 6px, transparent 6px 12px); }
	.step:last-child::before { display: none; }
	.step__num { margin: 0; grid-row: span 2; box-shadow: none; }
	.step h3 { margin-top: 14px; }
	.section-head-row { flex-direction: column; align-items: flex-start; }
	.exam-row { grid-template-columns: auto 1fr; gap: 16px; }
	.exam-row__date { width: 72px; }
	.exam-row__day { font-size: 1.7rem; }
	.exam-row__action { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.course-hero { flex-direction: column; align-items: flex-start; }
	.jts-grid, .jts-account__actions { grid-template-columns: 1fr; }
	.jts-fieldset { padding: 18px 16px 4px; }
	.pillar { grid-template-columns: 1fr; }
	.pillar p { grid-column: 1; }
	.pillar__icon { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
	.portal-bar, .site-header, .site-footer, .cta, .hero__visual { display: none; }
	.hero, .page-header { background: none; color: var(--ink); }
	.hero__title, .page-header__title { color: var(--ink); }
}

/* Password fields: eye button to show / hide (JTS Core forms) */
.jts-pass { position: relative; }
.jts-pass input { padding-right: 52px; }
.jts-pass input::-ms-reveal, .jts-pass input::-ms-clear { display: none; }
.jts-pass__toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
	border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); cursor: pointer; }
.jts-pass__toggle:hover { background: var(--blue-soft); color: var(--blue); }
.jts-pass__toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.jts-pass__toggle .i-hide { display: none; }
.jts-pass__toggle[aria-pressed="true"] .i-show { display: none; }
.jts-pass__toggle[aria-pressed="true"] .i-hide { display: inline; }


/* =====================================================================
   Design 2.0 — soft, rounded, purple & blue (Mulish). Overrides above.
   ===================================================================== */
body { font-size: 1rem; color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.section-intro { color: var(--ink-2); font-size: 1.04rem; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--ink-2); font-weight: 600; font-size: .9rem; letter-spacing: 0; text-transform: none; }
.section-kicker .jts-icon { width: 16px; height: 16px; color: var(--purple); }
.hl { color: var(--purple); }
.hl-blue { color: var(--blue); }

/* Buttons: pills */
.jts-btn { border-radius: 999px; padding: .78em 1.45em; font-weight: 700; font-size: .95rem; gap: .5em; border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s; }
.jts-btn:hover { transform: translateY(-2px); }
.jts-btn--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -14px rgba(56, 119, 191, .9); }
.jts-btn--primary:hover { background: var(--blue-dark); color: #fff; }
.jts-btn--accent { background: var(--purple); color: #fff; box-shadow: 0 12px 26px -14px rgba(123, 63, 167, .9); }
.jts-btn--accent:hover { background: var(--purple-dark); color: #fff; }
.jts-btn--outline, .jts-btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); box-shadow: none; }
.jts-btn--outline:hover, .jts-btn--ghost:hover { background: var(--blue); color: #fff; }
.jts-btn--outline-light, .jts-btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.jts-btn--outline-light:hover, .jts-btn--light:hover { background: #fff; color: var(--navy-deep); border-color: #fff; }

/* Top strip + header */
.portal-bar { background: var(--royal); color: #fff; }
.portal-bar a { color: #fff; }
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.primary-nav a { color: var(--ink); font-weight: 600; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--purple); }

/* Hero */
.hero { position: relative; overflow: hidden; background: #fff; color: var(--ink); padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.hero__sky, .hero__visual, .hero__tagline { display: none; }
.hero__glow { position: absolute; width: 640px; height: 640px; left: -120px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(123, 63, 167, .16), rgba(123, 63, 167, 0)); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__free { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.hero__free li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--purple-soft); color: var(--purple-dark); font-weight: 700; font-size: .82rem; }
.hero__free .jts-icon { width: 14px; height: 14px; }
.hero__title { position: relative; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.12; color: var(--ink); margin-bottom: 18px; }
.hero__spark { width: 34px; height: 34px; fill: var(--purple); opacity: .55; vertical-align: top; margin-left: 10px; }
.hero__text { color: var(--ink-2); font-size: 1.08rem; max-width: 34em; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__link { display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-weight: 700; text-decoration: none; }
.hero__link .jts-icon { width: 18px; height: 18px; }
.hero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media--art { background: linear-gradient(140deg, #8b4fbe 0%, #5a5fd0 55%, #3877bf 100%); box-shadow: 0 40px 80px -40px rgba(91, 43, 128, .7); }
.art { position: absolute; inset: 0; }
.art__blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.art__blob--a { width: 60%; aspect-ratio: 1; right: -12%; top: -14%; background: radial-gradient(closest-side, rgba(255, 255, 255, .32), transparent); }
.art__blob--b { width: 70%; aspect-ratio: 1; left: -20%; bottom: -30%; background: radial-gradient(closest-side, rgba(255, 180, 255, .3), transparent); }
.art .vcard { inset: auto; width: auto; height: auto; min-width: 0; max-width: none; transform: none; animation: none; margin: 0; position: absolute; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: 0 24px 40px -20px rgba(10, 11, 46, .55); }
.art .vcard small { display: block; color: var(--ink-2); font-size: .75rem; }
.art .vcard strong { display: block; font-size: .98rem; }
.art .vcard--exam { left: 8%; top: 12%; width: 56%; }
.art .vcard--score { right: 7%; top: 40%; display: flex; gap: 12px; align-items: center; }
.art .vcard--cert { left: 12%; bottom: 10%; display: flex; gap: 12px; align-items: center; }
.art .vcard--free { right: 9%; bottom: 13%; display: flex; gap: 8px; align-items: center; background: var(--mint); color: #fff; padding: 10px 14px; }
.art .vcard--free strong { color: #fff; }
.art .vcard--free .jts-icon { width: 18px; height: 18px; }
.art .vcard__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.art .vcard__timer { font-weight: 800; color: var(--purple); font-size: .85rem; }
.art .vcard__bar { display: block; height: 6px; border-radius: 6px; background: var(--purple-soft); margin: 10px 0; overflow: hidden; }
.art .vcard__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--blue)); }
.art .vcard__opts { display: grid; gap: 6px; }
.art .vcard__opts span { height: 12px; border-radius: 6px; background: var(--tint); }
.art .vcard__opts .is-on { background: var(--blue-soft); outline: 2px solid var(--blue); }
.art .ring { width: 56px; height: 56px; transform: rotate(-90deg); }
.art .ring__track { fill: none; stroke: var(--purple-soft); stroke-width: 8; }
.art .ring__fill { fill: none; stroke: var(--purple); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 207; stroke-dashoffset: 17; }
.art .cert-seal { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); }
.art .cert-seal .jts-icon { width: 22px; height: 22px; }

/* Rounded panels */
.panel { border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); }
.panel--soft { background: #f5f3f8; }
.panel--dark { background: radial-gradient(900px 420px at 100% 0%, rgba(123, 63, 167, .35), transparent 60%), radial-gradient(700px 380px at 0% 100%, rgba(56, 119, 191, .28), transparent 60%), var(--navy-deep); color: rgba(255, 255, 255, .78); }
.panel--dark .section-title, .panel--dark h2, .panel--dark h3 { color: #fff; }
.panel--dark .section-intro { color: rgba(255, 255, 255, .72); }
.panel--dark .section-kicker { color: rgba(255, 255, 255, .7); }
.panel--dark .section-kicker .jts-icon { color: #c9a3ef; }
.about, .paths, .how, .cta { padding-block: clamp(14px, 2.4vw, 28px); background: none; }

/* Welcome + key areas */
.about__panel .section-head { max-width: 760px; margin-inline: auto; }
.about__mv { font-size: .98rem; }
.about__sub { text-align: center; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: clamp(26px, 4vw, 44px) 0 22px; }
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.area { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.area__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--purple-soft); color: var(--purple); transition: background .25s, color .25s; }
.area__icon .jts-icon { width: 28px; height: 28px; }
.area__title { font-weight: 800; font-size: 1.05rem; }
.area__text { color: var(--ink-2); font-size: .92rem; line-height: 1.55; transition: color .25s; }
.area--featured, .area:hover, .area:focus-visible { background: linear-gradient(160deg, #8a4bbb, var(--purple)); color: #fff; border-color: transparent; transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(91, 43, 128, .8); }
.area--featured .area__text, .area:hover .area__text, .area:focus-visible .area__text { color: rgba(255, 255, 255, .88); }
.area--featured .area__icon, .area:hover .area__icon, .area:focus-visible .area__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.areas:hover .area--featured:not(:hover) { background: #fff; color: var(--ink); transform: none; box-shadow: none; border-color: var(--line); }
.areas:hover .area--featured:not(:hover) .area__text { color: var(--ink-2); }
.areas:hover .area--featured:not(:hover) .area__icon { background: var(--purple-soft); color: var(--purple); }
.about__cta { text-align: center; margin-top: 30px; }

/* Why */
.why { background: #fff; }
.why__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.why__media { position: relative; aspect-ratio: 1; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; overflow: hidden; box-shadow: var(--shadow-lg); }
.why__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why__media--art { background: linear-gradient(150deg, var(--lavender), #d9e6f8); }
.why__art { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22%; }
.why__tile { display: grid; place-items: center; border-radius: 26px; background: #fff; color: var(--purple); box-shadow: 0 18px 30px -18px rgba(91, 43, 128, .5); }
.why__tile .jts-icon { width: 40%; height: 40%; }
.why__tile--b { background: var(--blue); color: #fff; transform: translateY(18%); }
.why__tile--c { background: var(--purple); color: #fff; transform: translateY(-18%); }
.checklist { list-style: none; margin: 22px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--ink-2); line-height: 1.55; }
.checklist .jts-icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); }
.checklist strong { color: var(--ink); }
.why__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Learning paths */
.paths__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 28px; }
.path { position: relative; grid-column: span 2; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border-radius: 22px; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s; }
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 220px at 100% 0%, rgba(255, 255, 255, .22), transparent 60%); }
.path:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .8); color: #fff; }
.path--a { grid-column: span 3; background: linear-gradient(135deg, #8a4bbb, #4b55c9); }
.path--b { grid-column: span 3; background: linear-gradient(135deg, #3877bf, #1fa2a8); }
.path--c { background: linear-gradient(135deg, #3c3a9e, #1e1c5c); }
.path--d { background: linear-gradient(135deg, #b0489e, #6a2f9a); }
.path--e { background: linear-gradient(135deg, #1f4fbf, #0b2a7a); }
.path__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(4px); }
.path__icon .jts-icon { width: 24px; height: 24px; }
.path__title { display: block; font-weight: 800; font-size: 1.2rem; margin-bottom: 4px; }
.path__text { display: block; color: rgba(255, 255, 255, .84); font-size: .93rem; max-width: 26em; }
.path__go { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: background .2s, transform .2s; }
.path__go .jts-icon { width: 18px; height: 18px; }
.path:hover .path__go { background: #fff; color: var(--navy-deep); transform: translateX(3px); }
.path__body { padding-right: 44px; }

/* How it works */
.how__panel { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.how .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: none; }
.how .step { padding: 20px 22px 20px 0; border-bottom: 1px solid var(--line); background: none; box-shadow: none; text-align: left; }
.how .step:nth-child(odd) { border-right: 1px solid var(--line); }
.how .step:nth-child(even) { padding-left: 22px; }
.how .step:last-child { border-bottom: 0; }
.how .step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.how .step p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.how .step::before, .how .step::after, .how .steps::before, .how .steps::after { content: none; display: none; }
.how .step__num, .how__final .step__num { display: inline; position: static; width: auto; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: inherit; line-height: inherit; }
.step__num { color: var(--purple); font-weight: 800; }
.how__final { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(24px, 3vw, 32px); border-radius: 24px; color: rgba(255, 255, 255, .82); background: radial-gradient(360px 220px at 100% 0%, rgba(123, 63, 167, .55), transparent 70%), linear-gradient(160deg, #24205e, var(--navy-deep)); min-height: 300px; }
.how__final h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.how__final .step__num { color: #c9a3ef; }
.how__final p { margin: 0 0 8px; }
.how__final .jts-btn { align-self: flex-start; }
.how__final-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .14); color: #fff; margin-bottom: auto; }
.how__final-icon .jts-icon { width: 26px; height: 26px; }

/* Free course material: subjects as lavender cards */
.course-card { border-radius: var(--r); border-color: var(--line); }
.course-card--subject { background: var(--purple-soft); border-color: transparent; }
.course-card--subject:hover { box-shadow: 0 24px 40px -26px rgba(91, 43, 128, .6); }
.course-card--subject.is-soon { background: var(--tint); }
.course-card__cta { color: var(--purple); }

/* Closing call to action */
.cta { color: inherit; }
.cta__panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.cta::before, .cta::after { display: none; }
.cta__copy { text-align: left; }
.cta__panel--solo { grid-template-columns: 1fr; text-align: center; }
.cta__panel--solo .cta__copy { text-align: center; max-width: 760px; margin-inline: auto; }
.cta__panel--solo .cta__actions { justify-content: center; }
.cta__title { max-width: none; color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 12px; }
.cta__text { color: rgba(255, 255, 255, .78); font-size: 1.08rem; margin-bottom: 24px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.cta__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cta__contact li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.cta__contact small { display: block; color: rgba(255, 255, 255, .6); font-size: .78rem; }
.cta__contact a { color: #fff; text-decoration: none; font-weight: 700; }
.cta__contact-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .12); }
.cta__contact-icon .jts-icon { width: 20px; height: 20px; }

/* Certificate recognition: lavender gradient band */
.certificate { background: linear-gradient(180deg, #fff 0%, #f1e6fc 100%); }

/* Inner page banner: rounded dark panel */
.page-header { margin: clamp(10px, 1.6vw, 18px) clamp(10px, 1.6vw, 18px) 0; border-radius: var(--r-lg); background: radial-gradient(700px 320px at 95% 0%, rgba(123, 63, 167, .45), transparent 65%), radial-gradient(600px 300px at 0% 100%, rgba(56, 119, 191, .3), transparent 60%), var(--navy-deep); color: rgba(255, 255, 255, .78); }
.page-header__title { color: #fff; }

/* Footer: rounded dark card */
.site-footer { margin: clamp(24px, 4vw, 48px) clamp(10px, 1.6vw, 18px) clamp(10px, 1.6vw, 18px); border-radius: 24px; background: linear-gradient(34deg, #151521 0%, #000134 100%); }

/* Responsive */
@media (max-width: 1080px) {
	.paths__grid { grid-template-columns: repeat(2, 1fr); }
	.path, .path--a, .path--b { grid-column: span 1; }
	.path--e { grid-column: span 2; }
}
@media (max-width: 960px) {
	.hero__grid, .why__grid, .how__panel, .cta__panel { grid-template-columns: 1fr; }
	.hero__media { aspect-ratio: 4 / 3; }
	.areas { grid-template-columns: repeat(2, 1fr); }
	.why__media { max-width: 440px; width: 100%; margin-inline: auto; }
	.how__final { min-height: 0; }
}
@media (max-width: 640px) {
	.areas, .paths__grid, .how .steps { grid-template-columns: 1fr; }
	.path, .path--a, .path--b, .path--e { grid-column: span 1; min-height: 170px; }
	.how .step, .how .step:nth-child(even) { padding: 16px 0; border-right: 0; }
	.how .step:nth-child(odd) { border-right: 0; }
	.hero__actions .jts-btn, .why__actions .jts-btn, .cta__actions .jts-btn { flex: 1 1 100%; justify-content: center; }
	.art .vcard--exam { width: 66%; }
	.art .vcard--score .ring { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.jts-btn, .area, .path { transition: none; }
}
.how .steps .step .step__num, .how .how__final .step__num { background: none; box-shadow: none; color: var(--purple); }
.how .how__final .step__num { color: #c9a3ef; }
.hero__link::after, .hero__link::before { display: none; }
.how .step { display: block; }

/* Contact page */
.contact__grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact__intro { margin-bottom: 18px; color: var(--ink-2); }
.contact-cards { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: #f5f3f8; }
.contact-card small { display: block; color: var(--ink-2); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.contact-card address { font-style: normal; color: var(--ink); font-weight: 600; line-height: 1.6; }
.contact-card a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-card a:hover { color: var(--purple); }
.contact-card__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--purple); color: #fff; }
.contact-card__icon .jts-icon { width: 22px; height: 22px; }
.contact__map { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact__form { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.contact__form h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.contact__form-intro { color: var(--ink-2); margin-bottom: 22px; }
/* WPForms inside the contact card */
.contact__form .wpforms-container { margin: 0 !important; }
.contact__form .wpforms-field { padding: 0 0 16px !important; }
.contact__form .wpforms-field-label { font-weight: 700 !important; color: var(--ink) !important; font-size: .92rem !important; margin-bottom: 6px !important; }
.contact__form .wpforms-required-label { color: var(--purple) !important; }
.contact__form input[type="text"], .contact__form input[type="email"], .contact__form input[type="tel"], .contact__form input[type="number"], .contact__form select, .contact__form textarea {
	width: 100% !important; max-width: 100% !important; border: 1.5px solid var(--line) !important; border-radius: 12px !important; padding: 12px 14px !important; font: inherit !important; color: var(--ink) !important; background: #fff !important; box-shadow: none !important; height: auto !important; }
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { border-color: var(--purple) !important; outline: 3px solid rgba(123, 63, 167, .15) !important; }
.contact__form textarea { min-height: 150px !important; }
.contact__form .wpforms-field-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 100% !important; width: 100% !important; }
.contact__form .wpforms-field-row::before, .contact__form .wpforms-field-row::after { content: none !important; display: none !important; }
.contact__form .wpforms-field-row-block { float: none !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; min-width: 0; }
.contact__form .wpforms-field-sublabel { display: block; margin: 6px 0 0 !important; padding: 0 !important; font-size: .8rem !important; color: var(--ink-2) !important; font-weight: 600 !important; }
.contact__form .wpforms-field-medium, .contact__form .wpforms-field-small, .contact__form .wpforms-field-large { max-width: 100% !important; }
@media (max-width: 480px) { .contact__form .wpforms-field-row { grid-template-columns: 1fr; } }
.contact__form .wpforms-submit, .contact__form button[type="submit"] { background: var(--blue) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 14px 30px !important; font: 700 1rem var(--body) !important; cursor: pointer; box-shadow: 0 12px 26px -14px rgba(56, 119, 191, .9) !important; height: auto !important; }
.contact__form .wpforms-submit:hover, .contact__form button[type="submit"]:hover { background: var(--blue-dark) !important; }
.contact__form .wpforms-confirmation-container-full { border-radius: 14px; background: var(--mint-soft) !important; border-color: var(--mint) !important; }
.contact__form .wpforms-error, .contact__form label.wpforms-error { color: #b42318 !important; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .contact__form { order: -1; } }

/* Footer legal links and legal pages */
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.site-footer__legal a { color: inherit; opacity: .85; text-decoration: none; }
.site-footer__legal a:hover, .site-footer__legal a:focus-visible { opacity: 1; text-decoration: underline; }
.entry-content .legal-updated { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #f1ecf8; font-size: .95rem; }
.entry-content .legal-toc { margin: 22px 0 30px; padding: 20px 24px; border: 1px solid #e6e1ef; border-radius: 16px; background: #fff; }
.entry-content .legal-toc p { margin: 0 0 10px; }
.entry-content .legal-toc ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 32px; }
.entry-content .legal-toc li { break-inside: avoid; margin: 0 0 6px; }
.entry-content .legal-related { padding: 14px 18px; border-radius: 12px; background: #f1ecf8; }
.entry-content h2[id], .entry-content h3[id] { scroll-margin-top: 110px; }
@media (max-width: 640px) { .entry-content .legal-toc ul { columns: 1; } }
