@media (max-width: 1100px) {

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        border-radius: 3px;
        background: var(--color-primary);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: white;
        padding: 1rem 1.5rem 1.5rem;
        box-shadow: var(--shadow-card);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links > a {
        padding: 0.9rem 0;
    }

    .nav-links .nav-cta {
        margin-top: 0.8rem;
    }

    .hero-content-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
        padding-top: 5rem;
        padding-bottom: 6rem;
    }

    .hero-side-card {
        justify-self: start;
        width: 100%;
        max-width: 520px;
    }

    .programs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {

    .topbar-content {
        justify-content: center;
        text-align: center;
    }

    .topbar-content span:last-child {
        display: none;
    }

    .navbar-content {
        min-height: 78px;
    }

    .brand-logo-wrap {
        width: 50px;
        height: 50px;
    }

    .hero {
        min-height: auto;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(7, 16, 13, 0.68) 0%,
                rgba(7, 16, 13, 0.56) 45%,
                rgba(7, 16, 13, 0.72) 100%
            );
    }

    .hero-content-wrap {
        width: min(calc(100% - 2rem), var(--container-width));
        padding-top: 4rem;
        padding-bottom: 6rem;
    }

    .hero-content h1 {
        font-size: clamp(2.3rem, 10vw, 3.6rem);
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-mini-info {
        flex-direction: column;
    }

    .hero-mini-card {
        width: 100%;
    }

    .hero-side-card {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .hero-side-card h2 {
        font-size: 2rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 520px) {

    .container {
        width: min(calc(100% - 1.3rem), 1200px);
    }

    .brand-text strong {
        font-size: 0.86rem;
    }

    .brand-text small {
        font-size: 0.64rem;
    }

    .hero-content-wrap {
        padding-top: 3.5rem;
        padding-bottom: 5.5rem;
    }

    .hero-kicker {
        font-size: 0.75rem;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 12vw, 3.1rem);
    }

    .hero-description {
        font-size: 0.96rem;
    }

    .hero-side-card h2 {
        font-size: 1.7rem;
    }

    .hero-dots {
        bottom: 1.25rem;
    }

    .program-card-image {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}



@media (max-width: 767px) {

    .hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
        background: #ffffff;
    }

    .hero-media {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        flex-shrink: 0;
    }

    .hero-slide {
        background: #e9efeb;
    }

    .hero-photo {
        object-fit: contain;
        object-position: center;
    }

    .hero-overlay {
        display: none;
    }

    .hero-content-wrap {
        position: relative;
        z-index: 3;

        display: block;
        width: 100%;
        min-height: 0;

        margin: 0;
        padding: 2rem 1.25rem 3rem;

        background: #ffffff;
    }

    .hero-content {
        max-width: 100%;
        color: var(--color-text);
    }

    .hero-kicker {
        color: var(--color-primary);
    }

    .hero-content h1 {
        color: var(--color-text);
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.12;
    }

    .hero-content h1 span {
        color: var(--color-primary);
    }

    .hero-description {
        color: var(--color-text-muted);
    }

    .hero-actions .btn-glass {
        background: transparent;
        border-color: var(--color-primary);
        color: var(--color-primary);
        backdrop-filter: none;
    }

    .hero-mini-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-mini-card {
        flex: 1 1 135px;
        min-width: 0;

        background: var(--color-surface);
        border: 1px solid var(--color-border);
        backdrop-filter: none;
    }

    .hero-mini-card strong {
        color: var(--color-text);
    }

    .hero-mini-card span {
        color: var(--color-text-muted);
    }

    .hero-side-card {
        display: none;
    }

    .hero-dots {
        position: absolute;
        top: calc(100vw * 0.75 - 28px);
        bottom: auto;
        z-index: 5;
    }

    .hero-dot {
        background: rgba(255, 255, 255, 0.7);
    }

    .hero-dot.is-active {
        background: var(--color-secondary);
    }

}
