/* =========================================================
   HALAMAN PUBLIK — Al Khoir Boyolali (desain 2026)
   Dipakai: beranda, PPDB (formulir & sukses), 404.
   Mandiri: tidak bergantung pada style.css (milik dashboard).
   ========================================================= */

:root {
    --lp-navy: #042E77;
    --lp-deep: #0535B0;
    --lp-blue: #1356E6;
    --lp-pink: #FC2F8D;
    --lp-ink: #263D67;
    --lp-muted: #5D6F8D;
    --lp-line: #E3ECF8;
    --lp-pad: clamp(20px, 6.1vw, 100px);
    --bgw: clamp(1000px, 100vw, 1942px);
    --lp-display: 'Baloo 2', 'Poppins', system-ui, sans-serif;
    --lp-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Dasar ---------- */
.lp-page {
    margin: 0; background: #fff; color: var(--lp-ink);
    font-family: var(--lp-body); line-height: 1.5;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
.lp-page *, .lp-page *::before, .lp-page *::after { box-sizing: border-box; }
:where(.lp-page) :is(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(.lp-page) :is(ul, ol) { list-style: none; }
:where(.lp-page) img { max-width: 100%; height: auto; display: block; }
:where(.lp-page) a { color: inherit; text-decoration: none; }
:where(.lp-page) a:hover { text-decoration: none; }
:where(.lp-page) :is(h1, h2, h3, h4) { font-family: var(--lp-display); }
:where(.lp-page) button { font-family: inherit; }
.lp-page :focus-visible { outline: 3px solid var(--lp-blue); outline-offset: 3px; border-radius: 10px; }

.wrap { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--lp-pad); }
.pk { color: var(--lp-pink); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 100; background: #fff; color: var(--lp-deep); padding: 10px 18px; border-radius: 12px; font-weight: 600; box-shadow: 0 10px 28px rgba(4, 46, 119, .22); transition: top .2s; }
.skip:focus { top: 12px; }

/* Ikon SVG (sprite di _ikon.php) */
.ic { width: 1em; height: 1em; flex: none; fill: var(--f, none); stroke: var(--s, currentColor); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-wa { fill: currentColor; stroke: none; }
.k { fill: none; stroke: #fff; }

/* ---------- Navbar ---------- */
.lp-nav {
    position: fixed; inset: 0 0 auto 0; z-index: 60; height: 92px;
    display: flex; align-items: center;
    background: rgba(255, 255, 255, .92); box-shadow: 0 8px 30px rgba(4, 46, 119, .08);
    -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
    transition: background .3s, box-shadow .3s, height .3s;
}
.js .lp-nav:not(.is-scrolled):not(.solid) { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lp-nav.is-scrolled, .lp-nav.solid { height: 74px; background: rgba(255, 255, 255, .84); }
.lp-nav-in { width: 100%; max-width: 1600px; margin: 0 auto; padding-inline: var(--lp-pad) clamp(20px, 4vw, 66px); display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }

.lp-brand { display: flex; align-items: center; gap: clamp(10px, 1.3vw, 20px); flex: none; }
.lp-brand .seal { height: clamp(40px, 3.5vw, 56px); width: auto; transition: height .3s; }
.lp-brand .lockup { height: clamp(50px, 5.1vw, 84px); width: auto; transition: height .3s; }
.is-scrolled .lp-brand .seal, .solid .lp-brand .seal { height: clamp(36px, 2.9vw, 46px); }
.is-scrolled .lp-brand .lockup, .solid .lp-brand .lockup { height: clamp(44px, 3.8vw, 58px); }

.lp-menu { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); margin-left: auto; }
.lp-links { display: flex; gap: clamp(18px, 2.45vw, 40px); }
.lp-links a { position: relative; padding: 8px 0; font-weight: 600; font-size: clamp(13px, .9vw, 15px); color: #1C385F; transition: color .2s; }
.lp-links a:hover { color: var(--lp-blue); }
.lp-links a.active { color: var(--lp-blue); }
.lp-links a.active::after { content: ''; position: absolute; left: -4px; right: -4px; bottom: -4px; height: 3px; border-radius: 3px; background: var(--lp-blue); }

.lp-actions { display: flex; gap: clamp(8px, .9vw, 14px); }
.lp-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 clamp(14px, 1.15vw, 19px); border-radius: 999px; font-weight: 600; font-size: clamp(12.5px, .85vw, 14px); white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.lp-btn .ic { font-size: 18px; }
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn-staff { background: #fff; color: #0C4FC0; border: 1.5px solid #B9D8FA; box-shadow: 0 6px 16px rgba(19, 86, 230, .08); }
.lp-btn-staff .ic { color: #C77512; }
.lp-btn-portal { background: var(--lp-pink); color: #fff; box-shadow: 0 10px 22px rgba(252, 47, 141, .34); }
.lp-btn-portal:hover { box-shadow: 0 14px 28px rgba(252, 47, 141, .42); }

.lp-burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid #B9D8FA; background: #fff; color: var(--lp-deep); place-items: center; font-size: 22px; cursor: pointer; }
.lp-burger .i-tutup { display: none; }
.lp-burger[aria-expanded="true"] .i-buka { display: none; }
.lp-burger[aria-expanded="true"] .i-tutup { display: block; }

@media (max-width: 1340px) {
    .lp-nav { height: 76px; }
    .lp-burger { display: grid; }
    .lp-menu {
        position: absolute; top: calc(100% + 8px); left: 14px; right: 14px; margin: 0;
        display: none; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px;
        background: rgba(255, 255, 255, .97); border-radius: 26px; box-shadow: 0 28px 60px rgba(4, 46, 119, .2);
        max-height: calc(100vh - 100px); overflow-y: auto;
    }
    .lp-menu.buka { display: flex; }
    .lp-links { flex-direction: column; gap: 2px; }
    .lp-links a { padding: 13px 16px; border-radius: 14px; font-size: 15.5px; }
    .lp-links a:hover { background: #F0F6FF; }
    .lp-links a.active { background: #EAF2FF; }
    .lp-links a.active::after { display: none; }
    .lp-actions { flex-direction: column; }
    .lp-btn { height: 48px; justify-content: center; font-size: 15px; }
    .lp-nav.is-scrolled, .lp-nav.solid { height: 70px; }
}
@media (max-width: 420px) {
    .lp-brand .seal { height: 36px; }
    .lp-brand .lockup { height: 42px; }
    .lp-brand { gap: 8px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #a9e2fb url(../img/hero-sekolah.webp) right top / cover no-repeat; }
.hero-in { position: relative; width: 100%; max-width: 1600px; margin: 0 auto; padding: clamp(108px, 7.9vw, 132px) var(--lp-pad) clamp(64px, 6vw, 100px); min-height: clamp(560px, 42vw, 820px); }
.hero-copy { position: relative; z-index: 2; max-width: min(48vw, 700px); margin-left: clamp(0px, 4.4vw, 72px); }
.hero-copy::before { content: ''; position: absolute; z-index: -1; inset: -40px -70px -30px -90px; background: radial-gradient(closest-side, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); pointer-events: none; }

.eyebrow { font: 600 clamp(11px, .8vw, 13.5px)/1.4 var(--lp-body); letter-spacing: .3em; text-transform: uppercase; color: #F7328F; margin-bottom: clamp(6px, .8vw, 12px); }
.hero-h1 { font-family: var(--lp-display); font-weight: 800; color: #043687; font-size: clamp(40px, 4.35vw, 72px); line-height: .95; letter-spacing: -.012em; }
.hero-h1 .ln { display: block; }
.hero-h1 .pk { position: relative; width: max-content; }
.spark { position: absolute; left: 100%; margin-left: .19em; top: .52em; width: .56em; height: 1em; fill: none; stroke: #FFC324; stroke-width: 5.5; stroke-linecap: round; overflow: visible; }
.hero-name { display: block; margin-top: .1em; font-weight: 700; font-size: .66em; line-height: 1.15; letter-spacing: 0; color: var(--lp-deep); }
.hero-lead { margin-top: clamp(10px, 1vw, 16px); max-width: 34em; font-size: clamp(14.5px, 1vw, 18px); line-height: 1.5; color: var(--lp-ink); }
.hero-lead b { font-weight: 600; color: #0B2A66; }

.hero-cta { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.3vw, 20px); margin-top: clamp(22px, 2.2vw, 34px); }
.cta { display: inline-flex; align-items: center; gap: 12px; height: clamp(50px, 3.8vw, 60px); padding: 0 clamp(20px, 1.7vw, 28px); border-radius: 999px; font: 600 clamp(14px, .98vw, 16.5px)/1 var(--lp-body); white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.cta .ic { font-size: 1.25em; }
.cta:hover { transform: translateY(-3px); }
.cta-pink { color: #fff; background: linear-gradient(180deg, #FF4AA3, #FC2F8D); box-shadow: 0 14px 28px rgba(252, 47, 141, .34); }
.cta-pink:hover { box-shadow: 0 18px 34px rgba(252, 47, 141, .44); }
.cta-pink .bintang { font-size: 1.65em; filter: drop-shadow(0 2px 3px rgba(150, 70, 0, .3)); }
.cta-white { color: #0C4FC0; background: #fff; box-shadow: 0 12px 28px rgba(19, 86, 230, .12); }
.cta-white:hover { box-shadow: 0 16px 32px rgba(19, 86, 230, .2); }

.hero-kids { position: absolute; z-index: 1; right: min(17.7vw, 250px); bottom: clamp(20px, 4.2vw, 68px); width: min(34vw, 650px); }
.hero-kids img { width: 100%; height: auto; filter: drop-shadow(0 22px 22px rgba(4, 46, 119, .1)); animation: lp-bob 7s ease-in-out infinite; }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1100px) {
    .hero { background-position: 22% top; }
    .hero::after { content: ''; position: absolute; z-index: 0; inset: 0 0 auto 0; height: 78%; background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .62) 38%, rgba(255, 255, 255, .3) 72%, rgba(255, 255, 255, 0)); pointer-events: none; }
    .hero-in { display: flex; flex-direction: column; min-height: 0; padding-top: 104px; padding-bottom: 28px; }
    .hero-copy { max-width: 640px; margin-left: 0; }
    .hero-copy::before { display: none; }
    .hero-h1 { font-size: clamp(38px, 10.6vw, 62px); }
    .hero-kids { position: relative; right: auto; bottom: auto; width: min(94%, 560px); margin: clamp(12px, 3vw, 28px) auto 0; }
}
@media (max-width: 480px) {
    .eyebrow { font-size: 10.5px; letter-spacing: .2em; }
}

/* ---------- Keunggulan ---------- */
.strip { position: relative; z-index: 2; max-width: 1600px; margin: -1.9vw auto 0; padding-inline: var(--lp-pad); }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1400px; margin: 0 auto; }
.fx { position: relative; display: flex; align-items: flex-start; gap: clamp(12px, 1.2vw, 18px); padding: 6px clamp(10px, 1.6vw, 26px) 6px clamp(14px, 2.2vw, 36px); }
.fx + .fx::before, .pg + .pg::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: linear-gradient(180deg, transparent, #D8E3F3 18%, #D8E3F3 82%, transparent); }
.fx-ic { flex: none; width: clamp(52px, 4.2vw, 66px); height: clamp(52px, 4.2vw, 66px); border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: clamp(24px, 1.9vw, 30px); }
.fx h3 { margin-top: 2px; font: 700 clamp(15.5px, 1.13vw, 18px)/1.25 var(--lp-display); color: #072268; }
.fx p { margin-top: 4px; font-size: clamp(12px, .83vw, 13.5px); line-height: 1.55; color: #6B7B99; }

@media (max-width: 960px) {
    .strip { margin-top: 8px; }
    .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
    .fx:nth-child(odd)::before { display: none; }
}
@media (max-width: 560px) {
    .strip-grid { grid-template-columns: 1fr; row-gap: 6px; }
    .fx + .fx::before { display: none; }
    .fx { padding: 12px 6px; }
    .fx + .fx { border-top: 1px solid #E6EEF9; }
}

/* ---------- Judul seksi ---------- */
.sec-head { max-width: 780px; margin: 0 auto clamp(10px, 1.1vw, 20px); text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-eyebrow { display: inline-block; margin-bottom: 6px; font: 600 clamp(11px, .8vw, 12.5px)/1.4 var(--lp-body); letter-spacing: .32em; text-transform: uppercase; background: linear-gradient(90deg, #1356E6, #FC2F8D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-title { font: 700 clamp(26px, 2.1vw, 40px)/1.2 var(--lp-display); color: #0634B2; }
.sec-title .pk { position: relative; display: inline-block; }
.spark-sm { position: absolute; left: 100%; top: 0; margin-left: .2em; width: .88em; height: .88em; fill: none; stroke: #FFC324; stroke-width: 3.6; stroke-linecap: round; overflow: visible; }
.sec-sub { margin-top: 8px; font-size: clamp(14px, 1vw, 16px); color: var(--lp-muted); }

/* ---------- Program ---------- */
.prog { position: relative; isolation: isolate; background: #fff; padding: clamp(20px, 2vw, 34px) 0 clamp(40px, 4vw, 70px); }
.prog::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: calc(var(--bgw) * -.035); height: calc(var(--bgw) * .27); background: url(../img/bg-program.webp) center top / max(var(--bgw), 100%) auto no-repeat; mix-blend-mode: multiply; pointer-events: none; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.deco { position: absolute; z-index: -1; bottom: 0; pointer-events: none; mix-blend-mode: multiply; background: url(../img/bg-program.webp) no-repeat; background-size: var(--bgw) auto; }
.deco { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 34%), linear-gradient(var(--dir), transparent, #000 40%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent, #000 34%), linear-gradient(var(--dir), transparent, #000 40%); mask-composite: intersect; }
.deco-kiri { --dir: to left; left: 0; width: calc(var(--bgw) * .2); height: calc(var(--bgw) * .19); background-position: left bottom; }
.deco-kanan { --dir: to right; right: 0; width: calc(var(--bgw) * .22); height: calc(var(--bgw) * .24); background-position: right bottom; }

.prog-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1400px; margin: 0 auto; }
.pg { position: relative; display: flex; align-items: center; gap: clamp(10px, 1.1vw, 18px); padding: 4px clamp(10px, 1.1vw, 18px) 4px clamp(14px, 1.4vw, 24px); }
.pg:first-child { padding-left: 0; }
.pg > img { flex: none; width: clamp(110px, 10.8vw, 174px); height: auto; }
.pg h3 { font: 700 clamp(17px, 1.25vw, 20px)/1.2 var(--lp-display); color: var(--lp-deep); }
.pg p { margin: 6px 0 12px; font-size: clamp(12.5px, .88vw, 14px); line-height: 1.55; color: var(--lp-muted); }
.pill { display: inline-block; padding: 7px 18px; border-radius: 999px; font: 600 clamp(12px, .86vw, 13.5px)/1.2 var(--lp-body); }
.pill-biru { background: #E4F3FE; color: #0A4FC4; }
.pill-kuning { background: #FEF6DE; color: #8F5200; }
.pill-pink { background: #FEECF4; color: #B80F5C; }

@media (max-width: 900px) {
    .prog-row { grid-template-columns: 1fr; row-gap: 22px; max-width: 560px; }
    .pg, .pg:first-child { padding: 18px 8px 0; }
    .pg + .pg::before { left: 8px; right: 8px; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, #D8E3F3 18%, #D8E3F3 82%, transparent); }
    .pg > img { width: clamp(104px, 28vw, 150px); }
}

/* ---------- Mengapa memilih ---------- */
.why { position: relative; padding: clamp(56px, 6vw, 104px) 0; background: linear-gradient(180deg, #fff, #F3F9FF 55%, #fff); }
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 84px); align-items: center; max-width: 1400px; }
.why-art { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / .94; }
.why-art::before { content: ''; position: absolute; inset: 7% 2% 0; border-radius: 46% 54% 48% 52% / 54% 46% 54% 46%; background: radial-gradient(circle at 30% 22%, #fff 0, #DCEFFF 46%, #C9E5FF 100%); }
.why-art::after { content: ''; position: absolute; right: 2%; top: 2%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE6F2, #FFC6E0); opacity: .85; }
.why-art img { position: absolute; bottom: 0; height: auto; filter: drop-shadow(0 18px 18px rgba(4, 46, 119, .14)); }
.why-art .m1 { left: 8%; width: 36%; }
.why-art .m2 { right: 8%; width: 38%; }

.why-list { display: grid; gap: 12px; margin-top: clamp(16px, 1.6vw, 24px); }
.why-item { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: #fff; border: 1px solid var(--lp-line); border-radius: 22px; box-shadow: 0 8px 22px rgba(4, 46, 119, .04); }
.why-ic { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--c); font-size: 24px; }
.why-item h3 { font: 700 clamp(16px, 1.15vw, 18px)/1.25 var(--lp-display); color: #072268; }
.why-item p { margin-top: 2px; font-size: clamp(13px, .92vw, 14.5px); color: var(--lp-muted); }

@media (max-width: 980px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-art { max-width: 420px; }
    .why-body .sec-head.left { text-align: center; margin-inline: auto; }
}

/* ---------- Keseharian ---------- */
.day { padding: clamp(52px, 5.5vw, 96px) 0 clamp(40px, 4vw, 70px); }
.day-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); max-width: 1200px; margin: 0 auto; }
.day-card { text-align: center; padding: clamp(22px, 2.2vw, 34px) clamp(18px, 2vw, 30px) clamp(24px, 2.4vw, 36px); background: #fff; border: 1px solid var(--lp-line); border-radius: 34px; box-shadow: 0 14px 40px rgba(4, 46, 119, .06); }
.day-card:hover { translate: 0 -6px; box-shadow: 0 26px 54px rgba(4, 46, 119, .12); }
.day-card figure { width: min(100%, 260px); aspect-ratio: 1; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #fff 0, var(--bg) 72%); }
.day-card figure img { width: 84%; height: 90%; object-fit: contain; }
.day-card h3 { font: 700 clamp(19px, 1.45vw, 23px)/1.2 var(--lp-display); color: var(--c); }
.day-card p { margin-top: 8px; font-size: clamp(13.5px, .95vw, 15px); color: var(--lp-muted); }

@media (max-width: 860px) {
    .day-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ---------- PPDB ---------- */
.ppdb { padding: clamp(20px, 3vw, 50px) 0 clamp(40px, 5vw, 90px); }
.ppdb-card { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(26px, 3vw, 48px); padding: clamp(28px, 4vw, 64px); background: radial-gradient(120% 140% at 100% 0, #3A74FF 0, #1356E6 42%, #0A3DB8 100%); color: #fff; box-shadow: 0 30px 70px rgba(19, 86, 230, .28); min-height: clamp(420px, 34vw, 560px); max-width: 1400px; margin: 0 auto; }
.ppdb-card::before { content: ''; position: absolute; z-index: -1; right: -8%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%); }
.ppdb-card::after { content: ''; position: absolute; z-index: -1; left: -6%; bottom: -26%; width: 44%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(252, 47, 141, .38), rgba(252, 47, 141, 0) 68%); }
.ppdb-copy { position: relative; z-index: 2; max-width: 660px; }
.ppdb-chip { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); font: 600 13px/1.2 var(--lp-body); }
.ppdb-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #7CFFB2; box-shadow: 0 0 0 4px rgba(124, 255, 178, .25); }
.ppdb-card h2 { font: 800 clamp(34px, 4vw, 60px)/1 var(--lp-display); }
.ppdb-sub { margin: 6px 0 clamp(18px, 2vw, 30px); font: 600 clamp(16px, 1.4vw, 22px)/1.3 var(--lp-display); opacity: .92; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-bottom: clamp(22px, 2.4vw, 34px); }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px; }
.step-ic { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--lp-blue); display: grid; place-items: center; font-size: 22px; }
.step-ic b { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; font: 700 12px/22px var(--lp-body); text-align: center; color: #fff; }
.step:nth-child(1) .step-ic b { background: #2FAE5E; }
.step:nth-child(2) .step-ic b { background: #F09A00; }
.step:nth-child(3) .step-ic b { background: #FC2F8D; }
.step:nth-child(4) .step-ic b { background: #8A5CF0; }
.step h3 { font: 700 16px/1.25 var(--lp-display); }
.step p { margin-top: 2px; font-size: 13px; line-height: 1.45; opacity: .86; }
.ppdb-card :focus-visible { outline-color: #fff; }
.ppdb-kids { position: absolute; z-index: 1; right: clamp(0px, 2vw, 40px); bottom: -8px; width: min(46%, 560px); }

@media (max-width: 980px) {
    .ppdb-card { padding-bottom: 0; }
    .ppdb-kids { position: relative; right: auto; bottom: auto; width: min(100%, 420px); margin: 24px auto 0; }
}
@media (max-width: 600px) {
    .steps { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.foot { position: relative; margin-top: clamp(60px, 6vw, 100px); background: linear-gradient(180deg, #0A3A8F, #042E77 60%, #032460); color: rgba(255, 255, 255, .8); padding-top: clamp(36px, 4vw, 64px); }
.foot-wave { position: absolute; left: 0; top: -79px; width: 100%; height: 80px; fill: #0A3A8F; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1.25fr 1fr 1fr; gap: clamp(24px, 3vw, 56px); max-width: 1400px; }
.foot h4 { margin-bottom: 14px; font: 700 18px/1.2 var(--lp-display); color: #fff; }
.foot-logo { display: inline-block; margin-bottom: 16px; padding: 8px 16px; background: #fff; border-radius: 18px; }
.foot-logo img { height: 48px; width: auto; }
.foot-brand p { max-width: 36ch; font-size: 14px; line-height: 1.7; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 20px; transition: transform .2s; }
.foot-social a:hover { transform: translateY(-3px); }
.foot-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; line-height: 1.6; }
.foot-list .ic { margin-top: 3px; font-size: 18px; color: #8EC1FF; }
.foot-links li { margin-bottom: 8px; font-size: 14px; }
.foot-links a { display: inline-flex; align-items: center; gap: 6px; }
.foot-links .ic { color: #8EC1FF; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-social a:hover { text-decoration: none; }
.foot :focus-visible { outline-color: #fff; }
.foot-bottom { margin-top: clamp(26px, 3vw, 48px); border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .14); }
.foot-bottom-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 18px; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; }
.chips a:hover { background: rgba(255, 255, 255, .18); text-decoration: none; }

@media (max-width: 960px) {
    .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .foot-grid { grid-template-columns: 1fr; }
    .foot-bottom-in { padding-bottom: 86px; }
}

/* ---------- Tombol WhatsApp melayang ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; font-size: 30px; box-shadow: 0 14px 30px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: lp-ping 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes lp-ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Animasi muncul ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1), translate .3s, box-shadow .3s; }
.js .reveal.tampil { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .hero-kids img, .wa-float::after { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   HALAMAN DALAM (PPDB, 404): kepala bergambar + kartu
   ========================================================= */
.sub-head { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(112px, 9vw, 150px) var(--lp-pad) clamp(84px, 8vw, 128px); background: #a9e2fb url(../img/hero-sekolah.webp) right top / cover no-repeat; }
.sub-head::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 70% at 50% 45%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
.sub-head .eyebrow { margin-bottom: 8px; }
.sub-head h1 { font: 800 clamp(30px, 3.6vw, 54px)/1.08 var(--lp-display); color: #043687; letter-spacing: -.01em; }
.sub-head p.lead { max-width: 640px; margin: 12px auto 0; font-size: clamp(14.5px, 1.05vw, 17px); color: var(--lp-ink); }
.sub-main { position: relative; z-index: 2; margin-top: clamp(-86px, -6vw, -50px); padding: 0 var(--lp-pad) clamp(50px, 6vw, 90px); }
.sub-foot { text-align: center; padding: 0 var(--lp-pad) clamp(34px, 4vw, 56px); font-size: 13.5px; color: var(--lp-muted); }
.sub-foot a { color: var(--lp-blue); font-weight: 600; }
.sub-foot a:hover { text-decoration: underline; }

.lp-back { margin-left: auto; }
