/*
Theme Name: EduKation
Theme URI: https://theedukation.com
Author: EduKation
Description: Custom theme for EduKation, an education consultancy in North York. Settings live in Appearance > Customize > EduKation settings.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: edukation
*/

/* ================================================================== */
/* Tokens                                                              */
/* ================================================================== */

:root {
	--navy: #0C4B5D;
	--navy-2: #13617A;
	--slate: #2F5562;
	--orange: #D4A72A;
	--orange-btn: #8C6A12;
	--orange-btn-hover: #6F530C;
	--orange-soft: #FBF4E1;
	--green: #27AE60;
	--green-dark: #1E8449;
	--green-soft: #E8F6EE;
	--ink: #161616;
	--text: #38494F;
	--muted: #5C6C72;
	--line: #E0E7EA;
	--tint: #F3F7F8;
	--white: #FFFFFF;

	--font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(12, 75, 93, .06), 0 8px 24px rgba(12, 75, 93, .07);
	--shadow-lg: 0 2px 4px rgba(12, 75, 93, .06), 0 24px 48px rgba(12, 75, 93, .14);
	--container: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
}

/* ================================================================== */
/* Base                                                                */
/* ================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.15;
	margin: 0 0 .5em;
	letter-spacing: -.02em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
a { color: var(--orange-btn); text-underline-offset: 3px; }
a:hover { color: var(--orange-btn-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 780px; }

.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

.ek-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

[hidden] { display: none !important; }

/* ================================================================== */
/* Buttons                                                             */
/* ================================================================== */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--sm { padding: .6em 1.1em; font-size: .88rem; }
.btn--lg { padding: 1em 1.7em; font-size: 1rem; }

.btn--accent { background: var(--orange); color: var(--navy); box-shadow: 0 6px 18px rgba(212, 167, 42, .3); }
.btn--accent:hover { background: #C2961F; color: var(--navy); }
.btn--whatsapp { background: var(--green-dark); color: #fff; box-shadow: 0 6px 18px rgba(30, 132, 73, .3); }
.btn--whatsapp:hover { background: #176A3A; color: #fff; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--light:hover { border-color: var(--navy); color: var(--navy); }

.link-arrow {
	display: inline-flex; align-items: center; gap: .4em;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--orange-btn);
}
.link-arrow .ek-icon { transition: transform .2s; }
.link-arrow:hover .ek-icon { transform: translateX(3px); }

/* ================================================================== */
/* Top bar + header                                                    */
/* ================================================================== */

.topbar { background: var(--navy); color: #CFE0E5; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
a.topbar__item:hover { color: #fff; }
.topbar__spacer { flex: 1; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(12, 75, 93, .06); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark .ek-icon { width: 40px; height: 40px; }
.logo__img { max-height: 52px; width: auto; }
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--navy); letter-spacing: -.03em; }
.logo__text b { color: var(--orange); font-weight: 800; }
.logo--light .logo__text { color: #fff; }

.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	display: block; padding: 8px 12px; border-radius: 8px;
	font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--slate); text-decoration: none; white-space: nowrap;
}
.site-nav .menu a:hover { color: var(--navy); background: var(--tint); }
.site-nav .current-menu-item > a, .site-nav .current_page_parent > a { color: var(--navy); background: var(--orange-soft); }
.site-nav__cta { display: flex; gap: 8px; }

.nav-toggle {
	display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
	border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	position: absolute; left: 50%; width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
	transform: translateX(-50%); transition: transform .25s, opacity .25s; content: "";
}
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translate(-50%, 6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translate(-50%, -6px) rotate(-45deg); }

@media (max-width: 1240px) {
	.site-nav__cta .btn--ghost { display: none; }
}

@media (max-width: 1080px) {
	.topbar__hours { display: none; }
	.nav-toggle { display: block; }
	.site-header { backdrop-filter: none; background: #fff; }
	.site-nav {
		position: fixed; inset: var(--nav-top, 112px) 0 0 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px var(--gutter) 32px; background: #fff; overflow-y: auto;
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.site-nav__cta { flex-direction: column; }
	.site-nav__cta .btn { width: 100%; padding: 1em; }
	.site-nav__cta .btn--ghost { display: inline-flex; }
}

@media (max-width: 600px) {
	.topbar__inner { gap: 14px; justify-content: space-between; }
	.topbar__inner > .topbar__item:first-child, .topbar__spacer { display: none; }
	.site-header__inner { min-height: 72px; }
}

/* ================================================================== */
/* Sections + headings                                                 */
/* ================================================================== */

.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #CFE0E5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: #E9C766; }

.eyebrow {
	font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em;
	text-transform: uppercase; color: var(--orange-btn); margin-bottom: .8em;
}
.eyebrow--pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); letter-spacing: .04em; text-transform: none; font-size: .85rem; color: var(--slate);
}
.eyebrow--pill .ek-icon { color: var(--orange); }

.section-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 52px); }
.section-head.is-center { text-align: center; }
.section-head.is-left { margin-left: 0; }
.section-head .lede { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head-row .section-head { margin-bottom: 0; }

.page-hero {
	background:
		radial-gradient(600px 300px at 90% 0%, rgba(212, 167, 42, .18), transparent 70%),
		radial-gradient(500px 300px at 0% 100%, rgba(39, 174, 96, .10), transparent 70%),
		var(--navy);
	color: #CFE0E5; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
}
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .eyebrow, .page-hero .eyebrow a { color: #E9C766; text-decoration: none; }
.page-hero .lede { font-size: 1.15rem; max-width: 680px; margin: 0; }
.page-hero--article h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

/* ================================================================== */
/* Cards + grids                                                       */
/* ================================================================== */

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }

.icon-tile {
	display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
	background: var(--orange-soft); color: var(--orange-btn); margin-bottom: 18px; flex: none;
}
.icon-tile .ek-icon { width: 24px; height: 24px; }
.icon-tile--green { background: var(--green-soft); color: var(--green-dark); }
.icon-tile--lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-tile--lg .ek-icon { width: 30px; height: 30px; }
.icon-tile--xl { width: 96px; height: 96px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); }
.icon-tile--xl .ek-icon { width: 44px; height: 44px; }

.tag {
	display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-btn-hover);
	font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px;
}
.tag--green { background: var(--green-soft); color: var(--green-dark); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ek-icon { color: var(--green); margin-top: .3em; }

.audience h3 { font-size: 1.08rem; }
.audience p { font-size: .97rem; margin: 0; }
.audience:last-child { background: var(--orange-soft); border-style: dashed; border-color: #E6D29A; box-shadow: none; }
.audience:last-child .icon-tile { background: #fff; }

/* ================================================================== */
/* Home: hero                                                          */
/* ================================================================== */

.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(700px 420px at 100% 0%, rgba(212, 167, 42, .14), transparent 70%),
		radial-gradient(600px 400px at 0% 100%, rgba(39, 174, 96, .08), transparent 70%),
		linear-gradient(180deg, #F4F8F9 0%, #fff 100%);
	padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: .35em 0 .45em; }
.hero h1 .hl { color: var(--orange-btn); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .22em; z-index: -1;
	background: rgba(212, 167, 42, .22); border-radius: 4px;
}
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 560px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.hero__ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: var(--slate); font-size: .95rem; }
.hero__ticks li { display: inline-flex; gap: 6px; align-items: center; }
.hero__ticks .ek-icon { color: var(--green); }

.hero__visual { position: relative; padding: 40px 10px 40px 30px; }
.hero-card {
	position: relative; z-index: 2; background: #fff; border-radius: 22px; padding: 28px;
	box-shadow: var(--shadow-lg); border: 1px solid var(--line); max-width: 420px; margin-left: auto;
}
.hero-card__label { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.1rem; margin-bottom: 16px; }
.hero-card__steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.hero-card__steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--muted); font-size: .97rem; }
.hero-card__steps span {
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	background: var(--tint); color: var(--muted); font-family: var(--font-head); font-size: .85rem; font-weight: 700; flex: none;
}
.hero-card__steps .is-done { color: var(--navy); }
.hero-card__steps .is-done span { background: var(--green); color: #fff; }
.hero-card__steps .is-active { color: var(--navy); }
.hero-card__steps .is-active span { background: var(--orange-btn); color: #fff; box-shadow: 0 0 0 5px var(--orange-soft); }
.hero-card__levels { border-top: 1px solid var(--line); padding-top: 16px; }
.hero-card__levels p { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.levels { display: flex; gap: 6px; }
.levels i { flex: 1; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), #E2BE5A); }
.levels i.off { background: var(--tint); }

.bubble {
	position: absolute; z-index: 3; font-family: var(--font-head); font-weight: 800; border-radius: 18px;
	padding: 10px 18px; box-shadow: var(--shadow-lg); font-size: 1.05rem;
}
.bubble--fr { top: 4px; left: 0; background: var(--navy); color: #fff; border-bottom-left-radius: 4px; transform: rotate(-4deg); }
.bubble--en { top: 54px; right: -6px; background: #fff; color: var(--navy); border: 1px solid var(--line); border-bottom-right-radius: 4px; transform: rotate(3deg); font-size: .9rem; }
.hero__badge {
	position: absolute; z-index: 3; left: 0; bottom: 0; display: flex; gap: 10px; align-items: center; max-width: 270px;
	background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.35;
}
.hero__badge .ek-icon { width: 30px; height: 30px; color: var(--green); }
.hero__badge strong { color: var(--navy); }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
	.hero__actions .btn { width: 100%; }
	.hero h1 .hl { white-space: normal; }
	.hero__visual { padding: 44px 0 56px; }
	.bubble--en { right: 0; }
	.hero__badge { left: 8px; right: 8px; max-width: none; }
}

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__inner > div {
	display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 12px;
	font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy); text-align: center;
}
.trust__inner > div + div { border-left: 1px solid var(--line); }
.trust .ek-icon { color: var(--orange); width: 22px; height: 22px; }
@media (max-width: 780px) {
	.trust__inner { grid-template-columns: 1fr 1fr; }
	.trust__inner > div:nth-child(3) { border-left: 0; }
	.trust__inner > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.trust__inner > div { justify-content: flex-start; padding: 16px 8px; font-size: .85rem; }
}

/* Routes */
.routes .route { position: relative; display: flex; flex-direction: column; }
.routes .route .tag { position: absolute; top: 24px; right: 24px; margin: 0; }
.routes .route .ticks { margin-top: auto; padding-top: 6px; }
.routes .route h3 { font-size: 1.35rem; }
.routes + p { margin-top: 28px; }

/* Why French */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.why__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--tint); border-radius: var(--radius); padding: 24px; }
.stat:first-child { grid-column: 1 / -1; background: var(--navy); color: #CFE0E5; }
.stat:first-child strong { color: #E9C766; font-size: clamp(2.4rem, 5vw, 3.4rem); }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.6rem; line-height: 1.1; margin-bottom: 6px; }
.stat span { font-size: .95rem; }
.fineprint { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 28px 24px; }
.step__num {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px;
	background: var(--orange-btn); color: #fff; font-family: var(--font-head); font-weight: 800;
}
.step p { margin: 0; font-size: .96rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Testimonials */
.quote { margin: 0; display: flex; flex-direction: column; }
.quote__stars, .reviews-empty__stars { color: #F2A33A; letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 10px; }
.quote blockquote { margin: 0 0 20px; color: var(--ink); font-size: 1.02rem; }
.quote figcaption { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.quote figcaption strong { display: block; color: var(--navy); font-family: var(--font-head); }
.quote figcaption small { color: var(--muted); }
.quote__avatar {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: var(--orange-soft); color: var(--orange-btn); font-family: var(--font-head); font-weight: 800;
}
.reviews-empty { max-width: 640px; margin: 0 auto; text-align: center; }

/* FAQ */
.faq-preview { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .faq-preview { grid-template-columns: 1fr; } }

.accordion { display: grid; gap: 12px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.accordion details[open] { box-shadow: var(--shadow); border-color: #D5DCE4; }
.accordion summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 22px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ek-icon { color: var(--orange-btn); transition: transform .2s; }
.accordion details[open] summary .ek-icon { transform: rotate(45deg); }
.accordion details p { padding: 0 22px 20px; margin: 0; }

.faq-page { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-nav { position: sticky; top: 100px; display: grid; gap: 4px; }
.faq-nav a { padding: 10px 14px; border-radius: 10px; color: var(--slate); text-decoration: none; font-weight: 700; font-family: var(--font-head); font-size: .92rem; }
.faq-nav a:hover { background: var(--tint); color: var(--navy); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.5rem; }
@media (max-width: 860px) {
	.faq-page { grid-template-columns: 1fr; }
	.faq-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
	.faq-nav a { background: var(--tint); }
}

/* Blog cards */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), var(--slate)); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: rgba(255, 255, 255, .5); }
.post-card__placeholder .ek-icon { width: 48px; height: 48px; }
.post-card:nth-child(3n+2) .post-card__media { background: linear-gradient(135deg, var(--orange-btn), #E89B52); }
.post-card:nth-child(3n+3) .post-card__media { background: linear-gradient(135deg, var(--green-dark), #3FBF79); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 a { color: var(--navy); text-decoration: none; }
.post-card__body h3 a:hover { color: var(--orange-btn); }
.post-card__body p { font-size: .96rem; }
.post-card__body .link-arrow { margin-top: auto; }
.post-card__meta { font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }

.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.pagination .current { background: var(--navy); color: #fff; }

/* Booking */
.book { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.book__intro { position: sticky; top: 110px; }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } .book__intro { position: static; } }

.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list a, .contact-list__static { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); font-weight: 700; }
.contact-list .icon-tile { margin: 0; }
.contact-list small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }

.what-next { margin-top: 28px; padding: 22px; border-left: 4px solid var(--orange); background: #fff; border-radius: 0 12px 12px 0; }
.what-next h3 { font-size: 1.02rem; }
.what-next ol { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: .96rem; }

/* ================================================================== */
/* Form                                                                */
/* ================================================================== */

.card--form { padding: clamp(22px, 3.4vw, 40px); }
.enquiry-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.enquiry-form legend { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row legend { width: 100%; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
	display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
	font-weight: 700; font-size: .92rem; color: var(--slate); transition: all .15s; cursor: pointer;
}
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field abbr { color: var(--orange-btn); text-decoration: none; }
.field .optional { font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	padding: 12px 14px; border: 1.5px solid #D3DAE2; border-radius: var(--radius-sm); background: #fff;
	transition: border-color .15s, box-shadow .15s; min-height: 50px;
}
.field select {
	appearance: none; padding-right: 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334495E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(12, 75, 93, .1); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.field__error { color: #B03A2E; font-size: .85rem; font-weight: 600; margin: 4px 0 0; min-height: 0; }
.field__error:empty { display: none; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 4px; font-size: .88rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 20px; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) { .form-actions .btn { width: 100%; } }

.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status:empty { display: none; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 700; }
.form-status.is-success { background: var(--green-soft); color: var(--green-dark); }
.form-status.is-error { background: #FDECEA; color: #A93226; }

/* ================================================================== */
/* Inner pages                                                         */
/* ================================================================== */

.service-list { display: grid; gap: clamp(48px, 7vw, 88px); }
.service { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.service.is-flipped .service__art { order: 2; }
.service__art {
	position: relative; aspect-ratio: 4 / 3; border-radius: 24px; display: grid; place-items: center;
	background: radial-gradient(circle at 30% 20%, rgba(212, 167, 42, .25), transparent 60%), var(--tint);
	overflow: hidden;
}
.service:nth-child(2) .service__art { background: radial-gradient(circle at 70% 30%, rgba(39, 174, 96, .22), transparent 60%), var(--tint); }
.service:nth-child(3) .service__art { background: radial-gradient(circle at 30% 70%, rgba(12, 75, 93, .16), transparent 60%), var(--tint); }
.service__num {
	position: absolute; left: 24px; bottom: 6px; font-family: var(--font-head); font-weight: 800;
	font-size: clamp(4rem, 9vw, 7rem); color: rgba(12, 75, 93, .07); line-height: 1;
}
.service .icon-tile--xl { color: var(--orange-btn); margin: 0; }
@media (max-width: 820px) {
	.service { grid-template-columns: 1fr; }
	.service.is-flipped .service__art { order: 0; }
	.service__art { aspect-ratio: 16 / 7; }
}

.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 520px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: .95rem; }
.compare tbody th { color: var(--navy); font-family: var(--font-head); font-size: .92rem; width: 30%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .ek-icon { color: var(--green); }

.coming-soon { max-width: 680px; text-align: center; }
.coming-soon p { font-size: 1.08rem; }

.about-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-intro p { font-size: 1.06rem; }
.about-photo {
	aspect-ratio: 4 / 5; border-radius: 24px; display: grid; place-content: center; justify-items: center; gap: 8px;
	background: repeating-linear-gradient(45deg, var(--tint), var(--tint) 12px, #EDF1F5 12px, #EDF1F5 24px);
	color: var(--muted); border: 2px dashed #D3DAE2; font-weight: 700;
}
.about-photo .ek-icon { width: 48px; height: 48px; }
@media (max-width: 820px) { .about-intro { grid-template-columns: 1fr; } .about-photo { aspect-ratio: 16 / 9; } }

.do-dont h3 { display: flex; gap: 10px; align-items: center; }
.do-dont ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.do-dont--do h3 .ek-icon { color: var(--green); }
.do-dont--dont h3 .ek-icon { color: var(--orange-btn); }
.do-dont--dont { background: var(--navy); border-color: var(--navy); color: #CFE0E5; }
.do-dont--dont h3 { color: #fff; }

.visit { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); display: block; box-shadow: var(--shadow); }
.map--wide iframe { height: 420px; border-radius: 0; box-shadow: none; }

.contact-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: calc(var(--section) * -1.6); position: relative; z-index: 2; }
.contact-option { text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
a.contact-option:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.contact-option h2 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-option p { margin: 0; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.contact-option p.muted { font-weight: 600; color: var(--muted); }
@media (max-width: 980px) { .contact-options { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-options { grid-template-columns: 1fr; margin-top: -40px; } }
.page-contact .page-hero { padding-bottom: clamp(96px, 12vw, 150px); }

/* Article */
.article__image { margin: -40px 0 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.prose { padding: clamp(36px, 5vw, 56px) 0 0; font-size: 1.08rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose em { color: var(--muted); }
.article-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin: 48px 0 32px; background: var(--orange-soft); border-color: #F2D2B4; box-shadow: none; }
.article-cta h2 { font-size: 1.25rem; }
@media (max-width: 640px) { .article-cta { flex-direction: column; align-items: flex-start; } }
.post-nav { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 64px; font-weight: 700; }
.post-nav a { text-decoration: none; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #1A7590 100%); color: #CFE0E5; padding: clamp(48px, 6vw, 72px) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .cta-band__actions, .cta-band__actions .btn { width: 100%; } }

/* ================================================================== */
/* Footer                                                              */
/* ================================================================== */

.site-footer { background: #08323E; color: #B5CBD2; padding-top: clamp(56px, 7vw, 80px); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1.1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #D7E0EA; text-decoration: none; }
.site-footer a:hover { color: #E9C766; }
.site-footer__brand p { margin: 16px 0; }
.site-footer .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .ek-icon { color: var(--orange); margin-top: .25em; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--orange-btn); color: #fff; }
.site-footer__cta { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 24px; align-self: start; }
.site-footer__cta .btn { color: #fff; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; padding-bottom: 28px; font-size: .84rem; }
.site-footer__legal p { margin: 0; }
.site-footer__disclaimer { max-width: 640px; color: #8494A5; }
@media (max-width: 980px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Mobile quick-contact bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 68px; }
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1.2fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(12, 75, 93, .1);
		padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
		gap: 8px;
	}
	.mobile-bar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px;
		border-radius: 12px; text-decoration: none; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .78rem;
	}
	.mobile-bar .ek-icon { width: 20px; height: 20px; }
	.mobile-bar__primary { background: var(--green-dark); color: #fff !important; }
}

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

/* Preview bar (coming-soon mode) */
.preview-bar { background: #D4A72A; color: #0C2F3A; text-align: center; font: 600 .85rem/1.4 var(--font-body); padding: 6px 16px; }

/* ================================================================== */
/* v1.2: logo, photo hero, partners, inline CTAs, meet us              */
/* ================================================================== */

.site-header .logo__img { height: 46px; max-height: none; width: auto; }
.site-footer .logo__img { height: 40px; max-height: none; width: auto; }
@media (max-width: 600px) { .site-header .logo__img { height: 36px; } }

.hero h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.hero__photo { position: relative; margin: 0; padding: 0 0 36px; }
.hero__photo img {
	width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 40%;
	border-radius: 24px; box-shadow: var(--shadow-lg);
}
.hero__photo .hero__badge { position: absolute; left: -18px; bottom: 6px; right: auto; top: auto; }
.hero__visit {
	position: absolute; right: -12px; top: 22px; display: flex; align-items: center; gap: 10px;
	background: var(--navy); color: #CFE0E5; border-radius: 14px; padding: 10px 14px; font-size: .82rem; line-height: 1.35;
	box-shadow: var(--shadow-lg); max-width: 220px;
}
.hero__visit strong { display: block; color: #fff; font-family: var(--font-head); font-size: .9rem; }
.hero__visit .ek-icon { width: 22px; height: 22px; color: var(--orange); flex: none; }
@media (max-width: 960px) {
	.hero__photo { max-width: 620px; margin: 8px auto 0; width: 100%; }
	.hero__photo .hero__badge { left: 12px; right: 12px; }
	.hero__visit { right: 12px; top: 12px; }
}

.partners { border-block: 1px solid var(--line); background: #fff; padding: 22px 0; }
.partners__title { text-align: center; font-weight: 700; color: var(--slate); font-size: .9rem; margin: 0 0 14px; }
.partners__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.partners__list li {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
	border: 1px dashed #C9D6DB; color: var(--muted); font-weight: 700; font-size: .9rem; background: var(--tint);
}
.partners__list .ek-icon { width: 20px; height: 20px; color: var(--navy); }
.partners__list .is-academy { border-style: solid; border-color: #E6D29A; background: var(--orange-soft); color: var(--navy); }
.partners__list .is-academy .ek-icon { color: var(--orange-btn); }

.cta-inline {
	margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
	background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--orange); border-radius: var(--radius);
	padding: 24px 28px; box-shadow: var(--shadow);
}
.cta-inline h3 { margin: 0 0 4px; font-size: 1.25rem; }
.cta-inline p { margin: 0; color: var(--muted); }
.cta-inline__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .cta-inline__actions, .cta-inline__actions .btn { width: 100%; } }

.meet { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.meet__photo { margin: 0; }
.meet__photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 55% 50%; border-radius: 24px; box-shadow: var(--shadow-lg); }
.meet__copy .hero__actions { margin-bottom: 0; }
@media (max-width: 960px) { .meet { grid-template-columns: 1fr; } }

.site-footer__cta .btn { margin-bottom: 10px; }
.link-light { display: block; color: #CFE0E5; font-size: .92rem; }
.link-light:hover { color: #fff; }
.section--navy .step__num { background: var(--orange); color: var(--navy); }
@media (max-width: 600px) {
	.partners__list { display: grid; grid-template-columns: 1fr 1fr; }
	.partners__list li { justify-content: center; font-size: .82rem; padding: 8px 10px; }
	.partners__list .is-academy { grid-column: 1 / -1; }
}
