/* ===================================================================
   HOME V2 — CSS khusus buat desain ulang halaman utama (sesuai mockup)
   Dimuat SETELAH style.css supaya bisa override section lama dengan aman
   =================================================================== */

.section-padding {
    padding: 70px 0;
}

.bg-light {
    background: #f8f9fa;
}

/* ---------- HERO V2 ---------- */
.hero-v2 {
    position: relative;
    background: #fff;
    overflow: hidden;
}

/* Dekorasi lingkaran hijau kiri */
.hero-deco {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-deco-1 {
    width: 280px;
    height: 280px;
    top: -80px;
    left: -80px;
    background: rgba(46, 125, 50, 0.07);
}

.hero-deco-2 {
    width: 160px;
    height: 160px;
    bottom: 30px;
    left: 30px;
    border: 20px solid rgba(76, 175, 80, 0.12);
    background: transparent;
}

/* Grid hero */
.hero-v2-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: stretch;
    min-height: 480px;
    gap: 0;
}

/* Teks kiri */
.hero-v2-text {
    padding-right: 10px;
    margin-top: 40px;
}

.hero-eyebrow {
    color: #888;
    font-size: 0.88rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.hero-v2-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    color: #2e7d32;
    margin-bottom: 14px;
}

.hero-v2-text h1 span {
    color: var(--primary-color);
}

.hero-desc {
    color: #666;
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 380px;
}

.hero-v2-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-solid,
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all .2s;
}

.btn-hero-solid {
    background: var(--primary-color);
    color: #fff;
}

.btn-hero-solid:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-hero-outline {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-hero-outline:hover {
    background: #f1f8f1;
    transform: translateY(-2px);
}

/* Wrapper foto kanan - bentuk melengkung dengan garis ikut bentuk */
.hero-v2-image {
    position: relative;
    height: 500px;
}

.hero-v2-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40% 0 0 40% / 100% 0 0 100%;
    border-left: 10px solid #2E7D32;
    z-index: 3;
    pointer-events: none;
}

.hero-v2-image-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 40% 0 0 40% / 100% 0 0 100%;
    box-shadow: -6px 0 30px rgba(46, 125, 50, 0.15);
}

.hero-v2-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Stats bar */
.hero-stats-float {
    width: 100% !important;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    border-top: 3px solid var(--primary-color);
}

.hstat {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding: 4px 0;
}

.hstat i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.hstat strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1b1b1b;
    line-height: 1;
}

.hstat span {
    font-size: 0.72rem;
    color: #888;
}

/* Divider antara stats */
.hstat:not(:last-child) {
    border-right: 1px solid #eee;
}

@media (max-width: 960px) {
    .hero-v2-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 50px 0;
    }

    .hero-stats-float {
        grid-template-columns: repeat(3, 1fr);
    }

    .hstat:nth-child(3) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .hero-v2-grid {
        grid-template-columns: 1fr;
        padding: 40px 0 20px;
        text-align: center;
    }

    .hero-v2-text {
        padding-right: 0;
    }

    .hero-desc {
        margin: 0 auto 24px;
    }

    .hero-v2-btns {
        justify-content: center;
    }

    .hero-v2-image {
        display: none;
    }

    .hero-stats-float {
        grid-template-columns: repeat(2, 1fr);
        padding: 16px;
    }

    .hstat {
        border-right: none !important;
    }

    .hero-v2-text h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-stats-float {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .hero-v2-text h1 {
        font-size: 1.7rem;
    }
}

/* ---------- PROGRAM UNGGULAN V2 ---------- */
.program-v2 {
    padding-top: 90px;
}

.section-title-v2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 30px;
    border-left: 4px solid #ffc107;
    padding-left: 14px;
}

.section-title-v2 span {
    color: var(--primary-color);
}

.program-v2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
}

.program-v2-card {
    border: 1px solid #eaeaea;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}

.program-v2-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.program-v2-card .ic {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: #e8f5e9;
    color: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.program-v2-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #1b1b1b;
}

.program-v2-card p {
    font-size: 0.84rem;
    color: #777;
    line-height: 1.6;
}

.btn-section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-section-link:hover {
    background: var(--primary-dark);
}

.btn-section-link-sm {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-section-link-sm:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-section-link-sm.light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-section-link-sm.light:hover {
    background: #fff;
    color: var(--primary-dark);
}

/* ---------- PRESTASI + BERITA V2 ---------- */
.two-col-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 850px) {
    .two-col-v2 {
        grid-template-columns: 1fr;
    }
}

.col-head-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.col-head-v2 h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    color: #1b1b1b;
}

.col-head-v2 h2 span {
    color: var(--primary-color);
}

.prestasi-mini-list,
.berita-mini-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prestasi-mini-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.prestasi-mini-item i {
    font-size: 1.4rem;
    margin-top: 2px;
}

.prestasi-mini-item h4 {
    font-size: 0.92rem;
    margin: 0 0 4px;
    color: #1b1b1b;
}

.prestasi-mini-item span {
    font-size: 0.78rem;
    color: #888;
}

.berita-mini-item {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
}

.berita-mini-item img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.berita-mini-item .tgl {
    font-size: 0.72rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.berita-mini-item h4 {
    font-size: 0.88rem;
    margin: 4px 0 0;
    color: #1b1b1b;
    line-height: 1.4;
}

.empty-state-v2 {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

.empty-state-v2.light {
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- GALERI STRIP V2 ---------- */
.galeri-strip-v2 {
    background: var(--primary-dark);
    padding: 50px 0;
}

.galeri-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    color: #fff;
}

.galeri-strip-head h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
}

.galeri-strip-head h2 span {
    color: #ffc107;
}

.galeri-strip-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 20px 10px;
    scroll-snap-type: x mandatory;
}

.galeri-strip-item {
    flex: 0 0 200px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
}

.galeri-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- CTA PPDB V2 ---------- */
.ppdb-cta-v2 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 36px 0;
}

.ppdb-cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    color: #fff;
}

.ppdb-cta-grid h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 6px;
}

.ppdb-cta-grid h2 span {
    color: #ffc107;
}

.ppdb-cta-grid p {
    font-size: 0.9rem;
    opacity: .92;
    max-width: 420px;
}

.btn-cta-yellow {
    background: #ffc107;
    color: #1b1b1b;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 13px 26px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-cta-yellow:hover {
    background: #ffb300;
}

/* ---------- FOOTER V2 ---------- */
.footer-v2 {
    background: #0f2f12;
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 0;
}

.footer-v2-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.2fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1000px) {
    .footer-v2-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-v2-grid {
        grid-template-columns: 1fr;
    }
}

.footer-v2-brand .brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-v2-brand .brand-header img {
    width: 44px;
}

.footer-v2-brand .brand-header h3 {
    color: #fff;
    font-size: 1.05rem;
    margin: 0;
}

.footer-v2-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-v2-brand .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-v2-brand .social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-v2-brand .social-icons a:hover {
    background: var(--primary-light);
}

.footer-v2-col h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-v2-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-v2-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-v2-col ul li a:hover {
    color: #fff;
}

.footer-contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list li i {
    margin-top: 2px;
    color: var(--primary-light);
    width: 14px;
}

.footer-contact-list li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-v2-map iframe {
    width: 100%;
    height: 120px;
    border: 0;
    border-radius: 10px;
    filter: grayscale(20%);
}

.footer-v2-bottom {
    text-align: center;
    padding: 18px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}