/* Learn Spark Academy – public website */
:root {
  --navy: #0e1629;
  --navy-2: #17223c;
  --spark: #ffb21c;
  --spark-2: #f7931e;
  --cream: #fff8ec;
  --cream-2: #fff1d6;
  --ink: #182033;
  --muted: #5d6879;
  --line: #ece4d4;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(14, 22, 41, .08);
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 999; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 900; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 900; font-size: 15px; transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-spark { background: var(--spark); color: var(--navy); box-shadow: 0 10px 22px rgba(247,147,30,.3); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-light { background: #fff; color: var(--navy); }
.btn-wa { background: #25d366; color: #fff; }
.eyebrow { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--spark-2); margin-bottom: 10px; }
.section { padding: 90px 0; }
.section-cream { background: var(--cream); }
.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--navy); line-height: 1; }
.logo img { border-radius: 12px; }
.logo small { display: block; font-family: 'Nunito', sans-serif; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--spark-2); font-weight: 900; margin-top: 3px; }
.logo.light { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a, .dropdown > a { text-decoration: none; font-weight: 800; padding: 9px 13px; border-radius: 999px; color: var(--navy); font-size: 15px; }
.site-nav > a:hover, .dropdown > a:hover, .site-nav a.active { background: var(--cream-2); }
.site-nav .btn { margin-left: 6px; padding: 10px 18px; }
.nav-login { border: 2px solid var(--navy); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: -10px; width: 290px; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(14,22,41,.18); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; text-decoration: none; font-weight: 800; }
.dropdown-menu a:hover { background: var(--cream); }
.dropdown-menu small { display: block; color: var(--muted); font-weight: 700; font-size: 12px; }
.dd-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 17px; flex: none; font-family: var(--display); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 3px; margin: 4px 0; transition: .2s; }

/* Hero */
.hero { position: relative; background: radial-gradient(900px 500px at 85% 10%, rgba(255,178,28,.28), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(37,99,235,.10), transparent 60%), var(--cream); padding: 70px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); color: var(--navy); }
.hero h1 .hl { background: linear-gradient(120deg, var(--spark), var(--spark-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 26px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-pills a { text-decoration: none; background: #fff; border-radius: 999px; padding: 7px 14px 7px 8px; font-weight: 800; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; box-shadow: 0 4px 14px rgba(14,22,41,.06); }
.hero-pills a:hover { box-shadow: 0 8px 18px rgba(14,22,41,.12); }
.hero-pills i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 12px; font-weight: 900; font-family: var(--display); }
.hero-art { width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; width: 100%; }

/* Stats strip */
.strip { margin-top: -46px; position: relative; z-index: 2; }
.strip-inner { background: var(--navy); color: #fff; border-radius: 26px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px; gap: 10px; box-shadow: var(--shadow); }
.strip-item { text-align: center; padding: 6px; }
.strip-item b { display: block; font-family: var(--display); font-size: 32px; color: var(--spark); font-weight: 600; line-height: 1.1; }
.strip-item span { color: #b9c3d6; font-weight: 700; font-size: 14px; }

/* Program cards */
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 18px; }
.program-card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program-card .pc-art { background: color-mix(in srgb, var(--pc) 13%, #fff); padding: 18px 26px 6px; display: grid; place-items: center; min-height: 190px; }
.program-card .pc-art img { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; }
.program-card .art { width: 100%; max-width: 250px; height: auto; }
.pc-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-age { display: inline-block; align-self: flex-start; background: color-mix(in srgb, var(--pc) 14%, #fff); color: var(--pc); font-weight: 900; font-size: 12px; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.pc-body h3 { font-size: 26px; margin-bottom: 4px; }
.pc-tag { font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.pc-body p { color: var(--muted); font-size: 15px; flex: 1; }
.pc-link { font-weight: 900; color: var(--pc); }
.pc-flag { position: absolute; top: 16px; right: 16px; background: var(--navy); color: var(--spark); font-weight: 900; font-size: 12px; padding: 5px 12px; border-radius: 999px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--display); position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 12px; background: var(--spark); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 20px; box-shadow: 0 8px 18px rgba(247,147,30,.35); }
.step h3 { margin-top: 14px; font-size: 21px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--cream); }
.feature .f-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--spark); margin-bottom: 14px; }
.feature .f-ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 21px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* Portal promo */
.promo { background: var(--navy); color: #fff; border-radius: 34px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: 50px 56px; overflow: hidden; position: relative; }
.promo::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -140px; background: radial-gradient(circle, rgba(255,178,28,.35), transparent 70%); }
.promo h2 { font-size: clamp(28px, 3.6vw, 40px); }
.promo p { color: #c3cbdb; font-size: 17px; }
.promo ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.promo li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.promo li::before { content: '✓'; width: 24px; height: 24px; border-radius: 50%; background: var(--spark); color: var(--navy); display: grid; place-items: center; font-weight: 900; font-size: 13px; flex: none; }
.portal-art { width: 100%; max-width: 330px; margin: 0 auto; display: block; position: relative; z-index: 1; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 900; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--spark-2); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(120deg, var(--spark), var(--spark-2)); border-radius: 34px; padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: var(--navy); font-size: clamp(26px, 3.5vw, 38px); margin: 0 0 6px; }
.cta p { margin: 0; color: #4a3200; font-weight: 700; }
.cta .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Program page */
.p-hero { background: radial-gradient(800px 420px at 90% 0%, color-mix(in srgb, var(--pc) 30%, transparent), transparent 65%), var(--cream); padding: 60px 0 70px; }
.p-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.crumbs { font-size: 14px; font-weight: 800; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.p-hero h1 { font-size: clamp(42px, 6vw, 64px); color: var(--navy); margin-bottom: 8px; }
.p-hero .tagline { font-family: var(--display); font-size: clamp(20px, 2.6vw, 26px); color: var(--pc); margin-bottom: 14px; }
.p-hero .lead { color: var(--muted); font-size: 18px; max-width: 560px; }
.p-hero .meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 26px; }
.p-hero .meta span { background: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: 14px; box-shadow: 0 4px 14px rgba(14,22,41,.06); }
.p-art { background: #fff; border-radius: 34px; padding: 26px; box-shadow: var(--shadow); }
.p-art .art { width: 100%; height: auto; }
.p-art img { width: 100%; border-radius: 22px; display: block; }
.p-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
.p-content h2 { font-size: 30px; margin-top: 10px; }
.p-content .desc { font-size: 17px; color: #3b4558; }
.checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.checklist li { background: var(--cream); border-radius: 16px; padding: 14px 16px 14px 52px; position: relative; font-weight: 700; }
.checklist li::before { content: '✓'; position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; border-radius: 8px; background: var(--pc); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
.outcomes div { border: 2px dashed color-mix(in srgb, var(--pc) 40%, #fff); border-radius: 16px; padding: 14px 16px; font-weight: 800; }
.timings { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.timings th, .timings td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.timings th { background: var(--cream); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.side-card { position: sticky; top: 96px; background: #fff; border-radius: 26px; border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 24px; }
.form-stack { display: grid; gap: 12px; }
.form-stack label { font-weight: 800; font-size: 13px; display: block; }
.form-stack input, .form-stack select, .form-stack textarea { width: 100%; margin-top: 5px; border: 1.5px solid #e4dccb; border-radius: 12px; padding: 11px 13px; font: inherit; font-size: 15px; background: #fffdf8; }
.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus { outline: none; border-color: var(--spark-2); box-shadow: 0 0 0 4px rgba(255,178,28,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { font-size: 13px; color: var(--muted); }
.alert { padding: 14px 16px; border-radius: 14px; font-weight: 800; margin-bottom: 16px; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-info { background: #ede9fe; color: #5b21b6; }
.other-programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.mini-card { display: flex; align-items: center; gap: 14px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; font-weight: 900; }
.mini-card:hover { box-shadow: var(--shadow); }
.mini-card small { display: block; color: var(--muted); font-weight: 700; }

/* Inquiry page */
.inq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.inq-aside h1 { font-size: clamp(36px, 5vw, 52px); color: var(--navy); }
.inq-aside ul { padding: 0; list-style: none; display: grid; gap: 12px; }
.inq-aside li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.inq-aside li b { width: 30px; height: 30px; flex: none; border-radius: 10px; background: var(--spark); display: grid; place-items: center; font-family: var(--display); }
.inq-card { background: #fff; border-radius: 28px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--navy); color: #c3cbdb; padding: 70px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #e6ebf4; text-decoration: none; }
.site-footer a:hover { color: var(--spark); }
.footer-about { margin-top: 14px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0,0,0,.25); z-index: 60; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-art { animation: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .p-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 16px 22px; gap: 4px; box-shadow: 0 20px 40px rgba(0,0,0,.12); transform: translateY(-120%); transition: transform .25s ease; max-height: calc(100vh - 74px); overflow-y: auto; }
  body.menu-open .site-nav { transform: none; }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav .btn { margin: 8px 0 0; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; width: auto; padding: 0 0 0 8px; }
  .hero-grid, .p-hero-grid, .promo, .inq-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 80px; }
  .hero-art { max-width: 460px; margin: 0 auto; display: block; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .promo { padding: 36px 26px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .steps, .feature-grid, .footer-grid, .outcomes, .form-row { grid-template-columns: 1fr; }
  .cta { padding: 32px 24px; }
  .inq-card, .side-card { padding: 22px; }
  .hero-actions .btn { flex: 1; }
}

/* Map band */
.map-band { background: var(--cream); padding: 80px 0; }
.map-card { display: grid; grid-template-columns: minmax(320px, 0.9fr) 1.4fr; background: #fff; border-radius: 32px; overflow: hidden; box-shadow: 0 24px 60px rgba(14, 22, 41, .10); border: 1px solid var(--line); min-height: 460px; }
.map-info { padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.map-info::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--spark), var(--spark-2)); }
.map-info h2 { font-size: clamp(26px, 2.6vw, 34px); color: var(--navy); margin-bottom: 22px; }
.map-facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.map-facts li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.map-facts strong { display: block; color: var(--navy); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.map-facts a { color: var(--ink); font-weight: 800; text-decoration: none; }
.mf-ico { width: 42px; height: 42px; border-radius: 13px; background: var(--cream-2); color: var(--spark-2); display: grid; place-items: center; flex: none; }
.mf-ico svg { width: 21px; height: 21px; }
.map-info .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.map-frame { position: relative; min-height: 460px; background: #e8edf3; }
.map-frame iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; display: block; filter: saturate(1.05); }
@media (max-width: 900px) {
  .map-band { padding: 56px 0; }
  .map-card { grid-template-columns: 1fr; border-radius: 26px; min-height: 0; }
  .map-info { padding: 32px 26px 28px; }
  .map-info::before { top: 0; bottom: auto; right: 0; width: auto; height: 6px; }
  .map-frame { min-height: 300px; }
}
