/* ==========================================================================
   VOLT — Responsive
   Breakpoints: 1200 · 1100 (sidebar collapse) · 900 · 768 · 640 · 480 · 360
   ========================================================================== */

/* --------------------------------------------------------------------------
   ≤1200px
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trainer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   ≤1100px — sidebar becomes a drawer, topbar appears
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.is-open {
        transform: translateX(0);
    }

    .sidebar-close {
        display: grid;
    }

    .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 190;
        background: rgba(6, 8, 10, 0.7);
        visibility: hidden;
        opacity: 0;
        transition: opacity var(--t), visibility var(--t);
    }

    .sidebar-backdrop.is-visible {
        visibility: visible;
        opacity: 1;
    }

    .wrap {
        margin-left: 0;
    }

    .topbar {
        display: block;
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(11, 14, 17, 0.92);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--color-line);
    }

    .topbar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.75rem clamp(1.25rem, 3.5vw, 2.5rem);
    }

    .nav-toggle {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--color-line);
        color: var(--color-text);
        transition: background var(--t-fast), color var(--t-fast);
    }

    .nav-toggle:hover {
        background: var(--color-volt);
        border-color: var(--color-volt);
        color: #0B0E11;
    }

    .nav-toggle .icon {
        width: 19px;
        height: 19px;
    }

    .brand--topbar {
        display: inline-flex;
    }

    .brand--topbar .brand-word {
        font-size: 1.25rem;
    }

    .brand--topbar .brand-mark {
        width: 32px;
        height: 32px;
    }

    .brand--topbar .brand-mark .icon {
        width: 17px;
        height: 17px;
    }

    .topbar-right {
        display: flex;
        align-items: center;
        gap: 0.9rem;
    }

    .topbar-time {
        color: var(--color-dim);
    }

    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   ≤900px
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .plan-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-inline: auto;
    }

    .class-grid {
        grid-template-columns: 1fr;
    }

    .quote-grid {
        grid-template-columns: 1fr;
    }

    .method-grid {
        grid-template-columns: 1fr;
    }

    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --------------------------------------------------------------------------
   ≤768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .class-row {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .class-row .cr-side {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field--full {
        grid-column: 1;
    }

    .next-steps {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 70px 1fr;
    }
}

/* --------------------------------------------------------------------------
   ≤640px
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .trainer-grid {
        grid-template-columns: 1fr;
    }

    .facility-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form .btn {
        width: 100%;
    }

    .topbar-time {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   ≤480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .hero-actions .btn {
        width: 100%;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        text-align: center;
        justify-content: center;
    }

    .cta-band .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-title {
        font-size: clamp(2rem, 9.5vw, 2.7rem);
    }
}

/* --------------------------------------------------------------------------
   ≤360px
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
    .btn {
        padding-inline: 1.4rem;
    }

    .footer-legal {
        gap: 1rem;
    }
}
