/* ── RESPONSIVE MEDIA QUERIES ── */

/* 1200px Breakpoint (Desktop / Laptop Large) */
@media (max-width: 1200px) {
    .hero-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* 992px Breakpoint (Laptop / Tablet Landscape) */
@media (max-width: 992px) {
    .section-block {
        padding: var(--ds-space-md) 0;
    }

    .hero-logo-panel {
        min-height: auto;
        padding: 0.5rem 0 1.25rem;
    }

    .hero-logo-ring {
        width: min(260px, 72vw);
    }

    .hero-logo-wrap {
        max-width: 220px;
        margin: 0 auto;
    }

    .doc-slide {
        flex: 0 0 calc(33.333% - 0.6rem);
        min-width: 220px;
    }
}

/* 768px Breakpoint (Tablet Portrait) */
@media (max-width: 768px) {
    body.page-home {
        background-attachment: scroll;
    }

    .doc-slide {
        flex: 0 0 calc(50% - 0.45rem);
        min-width: 200px;
    }

    .doc-slide-img img.is-contain,
    .doc-slide-img img.is-cover {
        height: 175px;
    }

    .review-section-head {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .review-section-head .section-header {
        text-align: center;
        max-width: none;
        margin-bottom: 1rem;
    }

    .review-section-head .doc-carousel-nav {
        justify-content: center;
    }

    .review-slide {
        flex: 0 0 88%;
        min-width: 0;
    }

    /* Sistem Belajar — tablet */
    .system-card--featured {
        transform: none;
    }

    #sistem-belajar .section-header {
        margin-bottom: 1.75rem;
    }
}

/* 576px Breakpoint (Mobile / Phablet) */
@media (max-width: 576px) {
    body {
        font-size: 0.9rem;
    }

    .section-block {
        padding: 2.25rem 0;
    }

    .hero-accred-item {
        white-space: normal;
    }

    .hero-title {
        font-size: 1.45rem;
    }

    .hero-accred-item {
        white-space: normal;
    }

    .hero-highlights {
        gap: 0.4rem;
    }

    .hero-pill {
        font-size: 0.72rem;
        padding: 0.38rem 0.65rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-logo {
        max-width: 260px;
    }

    .about-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .doc-slide {
        flex: 0 0 78%;
        min-width: 0;
    }

    .doc-carousel-title {
        font-size: 0.88rem;
    }

    .floating-wa-btn {
        width: 46px;
        height: 46px;
        font-size: 20px;
        right: 16px;
        bottom: 16px;
    }

    .floating-wa-btn::before {
        display: none !important; /* Hide tooltip on mobile */
    }

    /* Sistem Belajar — mobile */
    #sistem-belajar .section-header {
        margin-bottom: 1.35rem;
    }

    .system-card {
        padding: 1rem 1.1rem !important;
    }

    .system-card--featured {
        transform: none;
    }

    .system-card--featured:hover {
        transform: translateY(-2px);
    }

    .system-card-icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }

    .system-card-badge {
        font-size: 0.62rem;
        padding: 0.28rem 0.6rem;
        max-width: calc(100% - 1.5rem);
        white-space: normal;
        text-align: center;
        line-height: 1.25;
    }

    .system-card .btn {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
