/* Education Helps - site styles */
:root {
  --navy: #013f78;
  --navy-900: #0b1f3a;
  --navy-800: #0f2c52;
  --sky: #388ebd;
  --sky-600: #2a77a3;
  --sky-50: #eaf4fa;
  --orange: #ff940c;
  --orange-600: #f07f00;
  --gold: #ffd45c;
  --ink: #16263d;
  --muted: #55657c;
  --line: #dfe7ef;
  --soft: #f5f8fb;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, .16);
  --wrap: 1180px;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink); background: var(--white); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-600); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy-900); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy-900); color: #d7e3f1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center .lede { margin-inline: auto; }
.eyebrow { display: inline-block; font: 600 .8rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 14px; }
.section--navy .eyebrow { color: var(--gold); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 14px 26px; border-radius: 999px; font: 600 1rem/1 var(--head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: var(--navy-900); box-shadow: 0 8px 22px rgba(255, 148, 12, .35); }
.btn--primary:hover { background: var(--orange-600); color: var(--navy-900); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 31, 58, .06); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 120px; }
.brand { justify-self: start; }
.brand img { height: 96px; width: auto; }
.nav { justify-self: center; }
.header-cta { justify-self: end; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 14px; border-radius: 10px; font: 500 .97rem/1 var(--head); color: var(--ink); text-decoration: none; }
.nav a:hover { background: var(--sky-50); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--sky-600); }
.header-cta { padding: 12px 20px; font-size: .95rem; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--navy-900); position: relative; transition: transform .2s, background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .brand img { height: 84px; }
  .nav a { padding: 10px 9px; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 96px; }
  .header-inner { display: flex; height: 84px; gap: 12px; }
  .brand img { height: 66px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: 0; padding: 11px 16px; font-size: .9rem; }
  .nav { position: fixed; inset: 84px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px 16px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 16px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--soft); border-radius: 0; }
}
@media (max-width: 420px) { .header-cta .long { display: none; } }
@media (min-width: 421px) { .header-cta .short { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-900) url(/img/hero-bg.jpg) 70% center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 31, 58, .92) 0%, rgba(11, 31, 58, .72) 45%, rgba(1, 63, 120, 0) 75%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 640px); align-items: center; gap: 40px; padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .levels { display: inline-flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero .levels li { font: 600 .85rem/1 var(--head); padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.hero p.tag { font-size: 1.2rem; color: #d3e2f2; max-width: 560px; margin-bottom: 32px; }
.page-hero { background: linear-gradient(120deg, var(--navy-900), var(--navy)); color: #fff; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 142, 189, .45), transparent 70%); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: #cfdcec; font-size: 1.15rem; max-width: 640px; margin: 0; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .levels, .hero .btn-row { justify-content: center; }
  .hero p.tag { margin-inline: auto; }
  .hero { background-position: 78% center; }
  .hero::before { background: linear-gradient(180deg, rgba(11, 31, 58, .9), rgba(11, 31, 58, .7) 70%, rgba(11, 31, 58, .5)); }
}

/* Stats strip */
.stats { position: relative; margin-top: -44px; z-index: 2; }
.stats ul { list-style: none; margin: 0; padding: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.stats li { text-align: center; padding: 6px 10px; border-right: 1px solid var(--line); }
.stats li:last-child { border: 0; }
.stats strong { display: block; font: 700 1.7rem/1.1 var(--head); color: var(--navy); }
.stats span { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) {
  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .stats ul { padding: 18px 12px; }
  .stats strong { font-size: 1.25rem; }
  .stats span { font-size: .82rem; display: block; line-height: 1.35; }
}

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--shadow); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; background: var(--sky-50); color: var(--sky-600); font: 700 1.05rem/1 var(--head); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -18px; width: 14px; height: 2px; background: var(--sky); }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ACE */
.ace { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ace-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); border-top: 6px solid var(--c); }
.ace-letter { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c); color: #fff; font: 700 1.9rem/1 var(--head); margin-bottom: 18px; }
.ace-card .step { font: 600 .8rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ace-card h3 { font-size: 1.35rem; margin-top: 8px; }
.ace-card ul { margin: 0; padding: 0; list-style: none; }
.ace-card li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink); }
.ace-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.ace-card small { display: block; color: var(--muted); margin-top: 2px; }
.ace-a { --c: #e5484d; } .ace-c { --c: #f2b705; } .ace-e { --c: #2fb36d; }
@media (max-width: 900px) { .ace { grid-template-columns: 1fr; } }

/* Method steps (detail) */
.pill { display: inline-block; background: var(--gold); color: var(--navy-900); font: 600 1rem/1.3 var(--head); padding: 10px 22px; border-radius: 999px; margin-bottom: 18px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--rev > :first-child { order: 2; }
.figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; border: 1px solid var(--line); }
.figure button { all: unset; cursor: zoom-in; display: block; }
.figure figcaption { font-size: .9rem; color: var(--muted); padding: 12px 18px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.icard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.icard .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-600); margin-bottom: 18px; }
.icard .ico svg { width: 30px; height: 30px; }
.icard p { margin: 0; color: var(--ink); }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 40px 0; }
.pillar { position: relative; text-align: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 34px 22px 28px; }
.pillar .num { position: absolute; top: 14px; right: 18px; font: 700 1.6rem/1 var(--head); color: var(--gold); opacity: .9; }
.pillar .ico { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--sky); color: #fff; }
.pillar .ico svg { width: 34px; height: 34px; }
.pillar p { margin: 0; color: #e6eef8; font: 500 1.02rem/1.5 var(--head); }
.section--navy .lede { color: #b9cbe0; }
.quote-line { font: 500 1.2rem/1.6 var(--head); color: #fff; max-width: 820px; margin: 0 auto 30px; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* Testimonials */
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.story:last-child { border-bottom: 0; }
.story:nth-child(even) .video { order: 2; }
.story h3 { font-size: 1.45rem; }
.story .who { font: 600 .82rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 10px; display: block; }
.story blockquote { margin: 0; color: var(--ink); }
.story blockquote p:last-child { margin: 0; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story:nth-child(even) .video { order: 0; } }

.tquotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tq { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tq .video { border-radius: 0; box-shadow: none; }
.tq-body { padding: 24px 26px 28px; }
.tq-body h3 { margin-bottom: 8px; }
.tq-body p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .tquotes { grid-template-columns: 1fr; } }

.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.vcard .video { border-radius: 0; box-shadow: none; }
.vcard h3 { font-size: 1.08rem; margin: 0; padding: 18px 20px 20px; }
@media (max-width: 960px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .vgrid { grid-template-columns: 1fr; } }

.reviews { columns: 2 420px; column-gap: 24px; }
.reviews figure { break-inside: avoid; margin: 0 0 24px; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.reviews button { all: unset; display: block; cursor: zoom-in; }
.rating { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font: 600 .95rem/1 var(--head); color: var(--ink); margin-top: 22px; }
.rating .stars { color: #f5a623; letter-spacing: 2px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--sky-600)); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #dbe8f5; margin: 0; font-size: 1.1rem; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; text-align: center; } .cta-band .btn-row { justify-content: center; } }

/* Footer */
.site-footer { background: var(--navy-900); color: #aebdd1; padding: 64px 0 28px; margin-top: clamp(64px, 9vw, 112px); }
.site-footer.flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 58px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #d6e2f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.contact a { display: inline-flex; align-items: center; gap: 10px; }
.contact svg { width: 18px; height: 18px; color: var(--sky); flex: none; }
.legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* WhatsApp button */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: transform .15s; }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 32px; height: 32px; fill: #fff; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(6, 16, 31, .85); }
.lightbox img { max-height: 88vh; width: auto; border-radius: 12px; }
.lightbox .close { position: fixed; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

/* Simple pages */
.prose { max-width: 760px; }
.notfound { text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.notfound .big { font: 800 clamp(5rem, 14vw, 9rem)/1 var(--head); color: var(--sky-50); -webkit-text-stroke: 2px var(--sky); margin-bottom: 10px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
