/* =========================================================================
   LANDING PAGE (halaman home) - tampilan modern, responsif, dengan animasi halus.
   Hanya berlaku pada halaman yang memuat pembungkus .lp, jadi halaman lain tidak berubah.
   Warna dan font dipertahankan: oranye #ff8c00 / #ff5722, teks #374050, font Calibri.
   ========================================================================= */

.lp {
    --o: #ff8c00;
    --o2: #ff5722;
    --od: #e67e00;
    --ink: #374050;
    --mut: #6c757d;
    --bg: #f8f9fa;
    --line: #e9ecef;
    --r: 24px;
    --sh: 0 10px 30px rgba(55, 64, 80, .08);
    --sh-h: 0 22px 44px rgba(255, 140, 0, .22);
    font-family: 'Calibri', sans-serif;
    color: var(--ink);
    overflow-x: clip;
}
html:has(.lp) { scroll-behavior: smooth; scroll-padding-top: 84px; }

.lp a, .lp a:hover { text-decoration: none !important; }

/* ---------- Animasi masuk saat scroll ---------- */
.lp-js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2, .8, .2, 1);
    transition-delay: calc(var(--d, 0) * 90ms);
    will-change: opacity, transform;
}
.lp-js .reveal.in { opacity: 1; transform: none; }
.lp-js .reveal.from-left { transform: translateX(-36px); }
.lp-js .reveal.from-right { transform: translateX(36px); }
.lp-js .reveal.from-left.in, .lp-js .reveal.from-right.in { transform: none; }

@keyframes lpUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lpWheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes lpShine { 0% { transform: translateX(-120%) skewX(-20deg); } 55%, 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes lpZoom { from { transform: scale(1.06); } to { transform: scale(1.16); } }

/* ---------- Tombol ---------- */
.lp-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .4px;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
    cursor: pointer;
}
.lp-btn.primary { background: linear-gradient(135deg, var(--o) 0%, var(--o2) 100%); color: #fff !important; box-shadow: 0 10px 24px rgba(255, 140, 0, .42); }
.lp-btn.primary::after { content: ''; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: rgba(255, 255, 255, .35); animation: lpShine 3.8s ease-in-out infinite; }
.lp-btn.primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 32px rgba(230, 126, 0, .5); }
.lp-btn.ghost { color: #fff !important; border-color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.lp-btn.ghost:hover { background: #fff; color: var(--o2) !important; transform: translateY(-3px); }

/* ---------- Bagian umum ---------- */
.lp-sec { position: relative; padding: 96px 0; }
.lp-sec.alt { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.lp-sec.soft { background: var(--bg); }
.lp-sec .container { position: relative; z-index: 1; }
.lp-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.lp-head h2 {
    position: relative;
    display: inline-block;
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 26px;
    color: var(--ink);
}
.lp-head h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -14px;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--o), var(--o2));
}
.lp-head p { color: var(--mut); font-size: 1.1rem; line-height: 1.7; margin: 0; }

/* ---------- Hero ---------- */
.lp-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 74px);
    height: calc(100svh - 74px);
    min-height: 520px;
    max-height: 920px;
    overflow: hidden;
    background: #111;
    isolation: isolate;
}
.lp-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.62) saturate(1.1);
    animation: lpZoom 24s ease-in-out infinite alternate;
    z-index: -2;
}
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(255, 87, 34, .45) 0%, rgba(255, 87, 34, 0) 55%),
        linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .1) 45%, rgba(0, 0, 0, .7) 100%);
}
.lp-hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px 40px;
    gap: 22px;
}
.lp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: lpUp .8s .1s both;
}
.lp-hero-tag i { color: var(--o); }
.lp-hero h1 {
    margin: 0;
    max-width: 980px;
    color: #fff;
    font-size: clamp(2rem, 5.6vw, 4rem);
    line-height: 1.15;
    letter-spacing: .5px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .55);
    animation: lpUp .9s .25s both;
}
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: lpUp .9s .45s both; }
.lp-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .8);
    border-radius: 16px;
    display: block;
}
.lp-scroll::before { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: lpWheel 1.6s ease-out infinite; }
.lp-hero .video-control-btn { bottom: 24px !important; right: 24px !important; width: 48px !important; height: 48px !important; font-size: 1.5rem !important; backdrop-filter: blur(4px); }

/* ---------- Tentang kami ---------- */
#tentang-kami { box-shadow: none; }
.lp-about { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.lp-about-img { position: relative; isolation: isolate; }
.lp-about-img::before {
    content: '';
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 3px solid var(--o);
    border-radius: 30px;
    z-index: -1;
    opacity: .55;
}
.lp-about-img::after {
    content: '';
    position: absolute;
    left: -26px;
    top: -26px;
    width: 120px;
    height: 120px;
    z-index: -1;
    background-image: radial-gradient(var(--o) 2px, transparent 2.5px);
    background-size: 16px 16px;
    opacity: .45;
}
.lp-about-img img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(55, 64, 80, .22);
    transition: transform .6s ease;
}
.lp-about-img:hover img { transform: scale(1.025); }
.lp-about-text h2 { position: relative; font-size: clamp(1.7rem, 3.2vw, 2.4rem); text-transform: uppercase; margin-bottom: 30px; padding-bottom: 16px; }
.lp-about-text h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--o), var(--o2)); }
.lp-about-text p { color: var(--mut); font-size: 1.12rem; line-height: 1.9; margin: 0; text-align: justify; hyphens: auto; }

.lp-vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 80px; }
.lp-vm-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 36px 34px;
    box-shadow: var(--sh);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.lp-vm-card::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--o), var(--o2)); }
.lp-vm-card:hover { transform: translateY(-6px); box-shadow: var(--sh-h); border-color: #ffd8a8; }
.lp-vm-num { position: absolute; right: 22px; top: 6px; font-size: 5.5rem; font-weight: 800; font-style: italic; color: var(--o); opacity: .1; line-height: 1; pointer-events: none; }
.lp-vm-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.lp-vm-ico {
    width: 52px; height: 52px; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.5rem; color: #fff;
    background: linear-gradient(135deg, var(--o), var(--o2));
    box-shadow: 0 8px 18px rgba(255, 140, 0, .35);
}
.lp-vm-head h3 { margin: 0; font-size: 1.5rem; }
.lp-vm-card > p { color: var(--mut); font-size: 1.05rem; line-height: 1.8; margin: 0; }
.lp-misi { list-style: none; margin: 0; padding: 0; counter-reset: misi; display: grid; gap: 12px; }
.lp-misi li { counter-increment: misi; position: relative; padding-left: 42px; color: var(--mut); font-size: 1.02rem; line-height: 1.65; }
.lp-misi li::before {
    content: counter(misi);
    position: absolute; left: 0; top: 1px;
    width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: .8rem; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--o), var(--o2));
}

/* ---------- Jenjang ---------- */
.lp-jenjang { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.lp-jc {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--sh);
    color: inherit !important;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease, border-color .4s ease;
}
.lp-jc:hover { transform: translateY(-10px); box-shadow: var(--sh-h); border-color: #ffd8a8; }
.lp-jc-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f1f3f5; }
.lp-jc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.lp-jc:hover .lp-jc-img img { transform: scale(1.1); }
.lp-jc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .35) 100%); }
.lp-jc-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 26px 22px 26px; text-align: center; }
.lp-jc-ico {
    position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.4rem; color: #fff;
    background: linear-gradient(135deg, var(--o), var(--o2));
    border: 4px solid #fff;
    box-shadow: 0 8px 18px rgba(255, 140, 0, .4);
    transition: transform .4s ease;
}
.lp-jc:hover .lp-jc-ico { transform: translateX(-50%) rotate(360deg); }
.lp-jc-title { margin: 14px 0 8px; font-size: 1.25rem; font-weight: 700; color: var(--ink); transition: color .3s ease; }
.lp-jc:hover .lp-jc-title { color: var(--o); }
.lp-jc-desc { color: var(--mut); font-size: .96rem; line-height: 1.6; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lp-jc-go {
    margin: auto auto 0; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; color: var(--o);
    background: rgba(255, 140, 0, .12);
    transition: all .35s ease;
}
.lp-jc:hover .lp-jc-go { background: var(--o); color: #fff; transform: translateX(6px); }

/* ---------- Fasilitas ---------- */
.lp-fas { background: linear-gradient(135deg, #ff9a1f 0%, var(--o) 45%, var(--o2) 120%); color: #fff; overflow: hidden; }
.lp-fas::before, .lp-fas::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); pointer-events: none; }
.lp-fas::before { width: 420px; height: 420px; left: -140px; top: -160px; }
.lp-fas::after { width: 340px; height: 340px; right: -100px; bottom: -140px; }
.lp-fas .lp-head h2, .lp-fas .lp-head p { color: #fff; }
.lp-fas .lp-head h2::after { background: #fff; }
.lp-fas .lp-head p { opacity: .92; }
.lp-fasgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.lp-fi {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    min-height: 190px; padding: 28px 16px; text-align: center;
    background: rgba(255, 255, 255, .97);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(120, 50, 0, .18);
    transition: transform .35s ease, box-shadow .35s ease;
}
.lp-fi:hover { transform: translateY(-10px); box-shadow: 0 24px 44px rgba(120, 50, 0, .3); }
.lp-fi-ico {
    width: 74px; height: 74px; border-radius: 22px;
    display: grid; place-items: center; font-size: 2rem; color: var(--o);
    background: rgba(255, 140, 0, .12);
    transition: all .35s ease;
}
.lp-fi:hover .lp-fi-ico { background: linear-gradient(135deg, var(--o), var(--o2)); color: #fff; transform: rotate(-8deg) scale(1.08); }
.lp-fi p { margin: 0; color: var(--ink); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }

/* ---------- Pendaftaran (CTA) ---------- */
.lp-cta {
    display: grid; grid-template-columns: 1fr 1fr;
    background: #fff; border: 1px solid var(--line); border-radius: 32px; overflow: hidden;
    box-shadow: 0 24px 56px rgba(55, 64, 80, .13);
}
.lp-cta-img { position: relative; min-height: 380px; }
.lp-cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-cta-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 140, 0, .35), rgba(255, 87, 34, 0) 60%); }
.lp-cta-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 56px 52px; position: relative; }
.lp-cta-body::before { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 140, 0, .09); }
.lp-cta-body h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; position: relative; }
.lp-cta-body p { margin: 0; color: var(--mut); font-size: 1.1rem; line-height: 1.75; position: relative; }

/* ---------- Statistik ---------- */
.lp-statgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lp-st {
    position: relative; overflow: hidden; text-align: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 34px 20px 30px;
    box-shadow: var(--sh);
    transition: transform .35s ease, box-shadow .35s ease;
}
.lp-st::before { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--o), var(--o2)); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.lp-st:hover { transform: translateY(-8px); box-shadow: var(--sh-h); }
.lp-st:hover::before { transform: scaleX(1); }
.lp-st-ico {
    width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 20px;
    display: grid; place-items: center; font-size: 1.7rem; color: #fff;
    background: linear-gradient(135deg, var(--o), var(--o2));
    box-shadow: 0 10px 20px rgba(255, 140, 0, .35);
    animation: lpFloat 4.2s ease-in-out infinite;
}
.lp-st:nth-child(2) .lp-st-ico { animation-delay: .5s; }
.lp-st:nth-child(3) .lp-st-ico { animation-delay: 1s; }
.lp-st:nth-child(4) .lp-st-ico { animation-delay: 1.5s; }
.lp-st h4 { font-size: 1.15rem; margin: 0 0 8px; }
.lp-st .stat-number { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; font-weight: 800; margin: 0 0 4px; color: var(--o); font-variant-numeric: tabular-nums; }
.lp-st .stat-label { margin: 0; color: var(--mut); font-size: 1rem; }

/* ---------- Berita ---------- */
.lp-news .lp-newshead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 30px; }
.lp-news .lp-newshead h2 { position: relative; margin: 0 0 6px; padding-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; }
.lp-news .lp-newshead h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--o), var(--o2)); }
.lp-news .swiper-outer-wrapper { padding-top: 10px; }
.lp-news .card { border-radius: 22px !important; border: 1px solid var(--line) !important; transition: transform .35s ease, box-shadow .35s ease; }
.lp-news .card:hover { transform: translateY(-8px); box-shadow: var(--sh-h) !important; }
.lp-news .card .badge.bg-primary { background: rgba(255, 140, 0, .14) !important; color: var(--od) !important; font-weight: 700; }

/* ---------- Partner ---------- */
.lp-partner { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 30px 24px; box-shadow: var(--sh); }
.lp-partner .partner-grid { padding: 0; }

/* ---------- Navbar & footer (hanya di halaman landing) ---------- */
body:has(.lp) .navbar.bg-white { background: rgba(255, 255, 255, .86) !important; backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(233, 236, 239, .9) !important; }
body:has(.lp) .navbar-nav .nav-link:not(.dropdown-toggle):not(.btn-orange-nav) { position: relative; }
body:has(.lp) .navbar-nav .nav-link:not(.dropdown-toggle):not(.btn-orange-nav)::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, #ff8c00, #ff5722);
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
body:has(.lp) .navbar-nav .nav-link:not(.dropdown-toggle):not(.btn-orange-nav):hover::after { transform: scaleX(1); }
body:has(.lp) .navbar-nav .nav-link.btn-orange-nav { background: linear-gradient(135deg, #ff8c00, #ff5722) !important; box-shadow: 0 6px 16px rgba(255, 140, 0, .38); }
body:has(.lp) .navbar-nav .nav-link.btn-orange-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(230, 126, 0, .45); }
body:has(.lp) .dropdown-menu { border-radius: 16px; padding: 8px; animation: lpUp .25s ease both; }
body:has(.lp) .dropdown-item { border-radius: 10px; }
body:has(.lp) .footer { background: linear-gradient(180deg, #fff 0%, #fff7ee 100%); border-top: 0; position: relative; }
body:has(.lp) .footer::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #ff8c00, #ff5722, #ff8c00); }
body:has(.lp) .footer a { transition: color .25s ease, transform .25s ease; }
body:has(.lp) .footer ul li a { color: #374050; text-decoration: none; font-weight: 600; }
body:has(.lp) .footer ul li a:hover { color: #ff8c00; display: inline-block; transform: translateX(4px); }
@media (max-width: 575.98px) {
    body:has(.lp) .footer { padding-top: 40px !important; padding-bottom: 28px !important; }
    body:has(.lp) .footer .d-flex.align-items-center.mb-3 { justify-content: center; }
    body:has(.lp) .footer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 0; }
    body:has(.lp) .footer ul li { margin: 0 !important; }
    body:has(.lp) .footer h5 { margin-bottom: 14px !important; }
}

/* ========================== RESPONSIF ========================== */
@media (max-width: 1199.98px) {
    .lp-jenjang, .lp-fasgrid, .lp-statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-about { gap: 48px; }
}
@media (max-width: 991.98px) {
    .lp-sec { padding: 72px 0; }
    .lp-hero { height: 78vh; height: 78svh; min-height: 460px; }
    .lp-about { grid-template-columns: 1fr; gap: 56px; }
    .lp-about-img { max-width: 440px; margin: 0 auto; }
    .lp-about-text h2 { text-align: center; }
    .lp-about-text h2::after { left: 50%; transform: translateX(-50%); }
    .lp-vm { grid-template-columns: 1fr; margin-top: 60px; }
    .lp-cta { grid-template-columns: 1fr; }
    .lp-cta-img { min-height: 260px; }
    .lp-cta-body { align-items: center; text-align: center; padding: 40px 28px; }
    body:has(.lp) .navbar-collapse { background: #fff; border-radius: 18px; margin-top: 10px; padding: 8px 14px 18px; box-shadow: 0 16px 36px rgba(55, 64, 80, .14); }
    body:has(.lp) .navbar-nav { box-shadow: none !important; padding: 8px 0 !important; margin-top: 0 !important; }
}
@media (max-width: 767.98px) {
    .lp-sec { padding: 60px 0; }
    .lp-head { margin-bottom: 40px; }
    .lp-head p { font-size: 1rem; }
    .lp-hero { height: 72vh; height: 72svh; min-height: 440px; }
    .lp-hero-inner { gap: 18px; padding-bottom: 60px; }
    .lp-hero-tag { font-size: .7rem; letter-spacing: 1.4px; padding: 7px 14px; }
    .lp-btn { padding: 12px 24px; font-size: .85rem; }
    .lp-scroll { display: none; }
    .lp-hero .video-control-btn { bottom: 16px !important; right: 16px !important; width: 42px !important; height: 42px !important; font-size: 1.25rem !important; }
    .lp-about-img::before { inset: 12px -6px -12px 6px; }
    .lp-about-img::after { display: none; }
    .lp-about-text p { text-align: left; font-size: 1.02rem; line-height: 1.8; }
    .lp-vm-card { padding: 28px 22px; }
    .lp-vm-num { font-size: 4rem; }
    .lp-jenjang { gap: 18px; }
    .lp-fasgrid { gap: 14px; }
    .lp-fi { min-height: 150px; padding: 20px 10px; gap: 12px; border-radius: 18px; }
    .lp-fi-ico { width: 58px; height: 58px; font-size: 1.6rem; border-radius: 18px; }
    .lp-fi p { font-size: .9rem; }
    .lp-statgrid { gap: 14px; }
    .lp-st { padding: 24px 10px 22px; }
    .lp-st-ico { width: 52px; height: 52px; font-size: 1.4rem; border-radius: 16px; }
    .lp-st h4 { font-size: 1rem; }
    .lp-news .lp-newshead { align-items: center; }
    .lp-partner { padding: 22px 12px; border-radius: 22px; }
    .lp-cta { border-radius: 24px; }
}
@media (max-width: 479.98px) {
    .lp-jenjang { grid-template-columns: 1fr; }
    .lp-jc-img { aspect-ratio: 16 / 10; }
    .lp-hero-cta { width: 100%; flex-direction: column; align-items: center; }
    .lp-hero-cta .lp-btn { width: 100%; max-width: 280px; }
}

/* ---------- Pintasan jenjang di hero (hanya HP) ---------- */
.lp-quick { display: none; }

/* =====================================================================
   TAMPILAN HP (<= 767px): lebih ringkas, rapi, dan enak digeser
   ===================================================================== */
@media (max-width: 767.98px) {
    .lp .container { padding-left: 16px; padding-right: 16px; }
    .lp-sec { padding: 52px 0; }

    /* Judul bagian: lebih kecil & rapat */
    .lp-head { margin-bottom: 32px; }
    .lp-head h2 { font-size: 1.45rem; margin-bottom: 22px; }
    .lp-head h2::after { bottom: -12px; width: 52px; height: 3px; }
    .lp-head p { font-size: .95rem; line-height: 1.6; }

    /* Hero layar penuh dengan pintasan jenjang */
    .lp-hero { height: calc(100vh - 66px); height: calc(100svh - 66px); min-height: 540px; max-height: 780px; }
    .lp-hero-inner { justify-content: center; gap: 16px; padding: 0 22px 110px; }
    .lp-hero h1 { font-size: 2.3rem; line-height: 1.12; }
    .lp-hero-tag { font-size: .66rem; letter-spacing: 1.5px; }
    .lp-hero-cta { width: 100%; flex-direction: column; align-items: center; gap: 10px; }
    .lp-hero-cta .lp-btn { width: 100%; max-width: 300px; padding: 13px 20px; }
    .lp-hero .video-control-btn { top: 14px; bottom: auto !important; right: 14px !important; width: 38px !important; height: 38px !important; font-size: 1.1rem !important; opacity: .9; }
    .lp-quick {
        position: absolute; left: 16px; right: 16px; bottom: 22px; z-index: 3;
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
        animation: lpUp .9s .7s both;
    }
    .lp-quick a {
        display: flex; flex-direction: column; align-items: center; gap: 4px;
        padding: 11px 4px 9px; border-radius: 18px;
        background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32);
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        color: #fff !important; font-weight: 700; font-size: .78rem; letter-spacing: .5px;
        transition: transform .25s ease, background .25s ease;
    }
    .lp-quick a i { font-size: 1.35rem; color: #ffb35c; }
    .lp-quick a:active { transform: scale(.94); background: rgba(255, 140, 0, .55); }

    /* Tentang kami: foto lebih pendek, teks rata kiri */
    .lp-about { gap: 40px; }
    .lp-about-img { max-width: 100%; }
    .lp-about-img img { aspect-ratio: 16 / 11; border-radius: 22px; }
    .lp-about-img::before { border-radius: 24px; }
    .lp-about-text h2 { font-size: 1.45rem; margin-bottom: 24px; }
    .lp-about-text p { font-size: .98rem; line-height: 1.75; }

    /* Visi & misi */
    .lp-vm { gap: 16px; margin-top: 44px; }
    .lp-vm-card { padding: 24px 20px; border-radius: 20px; }
    .lp-vm-head { margin-bottom: 14px; }
    .lp-vm-ico { width: 44px; height: 44px; font-size: 1.25rem; border-radius: 14px; }
    .lp-vm-head h3 { font-size: 1.25rem; }
    .lp-vm-card > p { font-size: .98rem; line-height: 1.7; }
    .lp-misi li { font-size: .96rem; padding-left: 38px; }

    /* Jenjang: kartu digeser ke samping (hemat ruang, terasa seperti aplikasi) */
    .lp-jenjang {
        display: flex; gap: 14px;
        overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        margin: 0 -16px; padding: 4px 16px 18px;
        scrollbar-width: none;
    }
    .lp-jenjang::-webkit-scrollbar { display: none; }
    .lp-jc { flex: 0 0 78%; max-width: 300px; scroll-snap-align: center; border-radius: 22px; }
    .lp-jc-img { aspect-ratio: 16 / 10; }
    .lp-jc-body { padding: 26px 18px 20px; }
    .lp-jc-title { font-size: 1.12rem; margin-top: 12px; }
    .lp-jc-desc { font-size: .9rem; -webkit-line-clamp: 3; }
    .lp-jc-go { width: 36px; height: 36px; }

    /* Fasilitas: dua kolom ringkas */
    .lp-fasgrid { gap: 12px; }
    .lp-fi { min-height: 128px; padding: 18px 8px; gap: 10px; border-radius: 18px; }
    .lp-fi-ico { width: 52px; height: 52px; font-size: 1.45rem; border-radius: 16px; }
    .lp-fi p { font-size: .84rem; }
    .lp-fas::before { width: 260px; height: 260px; left: -110px; top: -110px; }
    .lp-fas::after { width: 220px; height: 220px; right: -90px; bottom: -90px; }

    /* Pendaftaran */
    .lp-cta { border-radius: 22px; }
    .lp-cta-img { min-height: 190px; }
    .lp-cta-body { padding: 28px 22px 32px; gap: 14px; }
    .lp-cta-body h2 { font-size: 1.4rem; }
    .lp-cta-body p { font-size: .98rem; line-height: 1.65; }
    .lp-cta-body .lp-btn { width: 100%; }

    /* Statistik */
    .lp-statgrid { gap: 12px; }
    .lp-st { padding: 20px 8px 18px; border-radius: 20px; }
    .lp-st-ico { width: 46px; height: 46px; font-size: 1.25rem; border-radius: 14px; margin-bottom: 12px; }
    .lp-st h4 { font-size: .92rem; }
    .lp-st .stat-number { font-size: 1.85rem; }
    .lp-st .stat-label { font-size: .86rem; }

    /* Berita: kartu mengintip ke kanan supaya jelas bisa digeser */
    .lp-news .lp-newshead { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
    .lp-news .lp-newshead h2 { font-size: 1.45rem; }
    .lp-news .lp-newshead > .d-flex { display: none !important; }
    .lp-news .swiper-outer-wrapper { overflow: visible; margin-right: -16px; padding-top: 4px; }
    .lp-news .position-relative.overflow-hidden { height: 170px !important; }
    .lp-news .card-body { padding: 18px !important; }
    .lp-news .card h5 { font-size: 1.02rem; }
    .news-swiper-pagination .swiper-pagination-bullet.custom-page-number { width: 30px !important; height: 30px !important; font-size: .8rem !important; margin: 0 3px !important; }

    /* Partner */
    .lp-partner { padding: 18px 10px; }
    .lp-partner .partner-grid { gap: 14px 22px; }

    /* Tombol melayang tidak menutupi konten */
    .floating-wa-btn { bottom: 16px; right: 68px; }
    .scroll-top-btn { bottom: 16px; right: 16px; }
}
@media (max-width: 359.98px) {
    .lp-hero h1 { font-size: 1.9rem; }
    .lp-jc { flex-basis: 84%; }
}

@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
    .lp-js .reveal { opacity: 1; transform: none; }
    html:has(.lp) { scroll-behavior: auto; }
}