@media (max-width: 1199.98px) {
    .site-header {
        background: rgba(255,255,255,0.98);
        box-shadow: 0 8px 30px rgba(11,31,58,0.08);
    }

    [data-theme="dark"] .site-header {
        background: rgba(8,24,45,0.98);
    }

    .site-header .navbar {
        min-height: 78px;
    }

    .brand-logo {
        width: 165px;
        max-height: 55px;
    }

    .navbar-collapse {
        max-height: calc(100vh - 78px);
        padding: 12px 0 25px;
        overflow-y: auto;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .nav-link,
    .site-header.scrolled .nav-link {
        padding: 14px 4px !important;
        color: var(--text);
    }

    .nav-link::after {
        display: none;
    }

    .mega-menu {
        padding: 20px;
        border: 1px solid var(--border) !important;
        border-radius: var(--radius-md);
        box-shadow: none;
    }

    .mega-menu .row {
        gap: 10px;
    }

    .theme-toggle {
        border-color: var(--border);
        background: var(--surface);
        color: var(--text);
    }

    .navbar-toggler {
        padding: 8px;
        border: 0;
        box-shadow: none !important;
    }

    [data-theme="dark"] .navbar-toggler-icon {
        filter: invert(1);
    }

    .hero-section {
        min-height: 860px;
    }

    .hero-content {
        padding-top: 130px;
    }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 85px 0;
    }

    .hero-copy h1 {
        letter-spacing: -2.5px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .division-card {
        min-height: 320px;
    }

    .cta-panel {
        padding: 50px;
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .custom-container {
        width: min(100% - 28px, 1440px);
    }

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

    .hero-section {
        min-height: 760px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5,19,38,0.93) 0%,
                rgba(5,19,38,0.78) 100%
            );
    }

    .hero-copy h1 {
        font-size: clamp(43px, 13vw, 65px);
        letter-spacing: -2px;
    }

    .hero-copy p {
        margin: 25px 0 30px;
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .hero-controls {
        right: 14px;
        bottom: 30px;
        left: 14px;
        justify-content: space-between;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title {
        font-size: 34px;
        letter-spacing: -1.3px;
    }

    .section-introduction {
        font-size: 17px;
    }

    .division-card {
        min-height: 300px;
        padding: 30px;
    }

    .division-icon {
        margin-bottom: 32px;
    }

    .cta-section {
        padding-bottom: 72px;
    }

    .cta-panel {
        padding: 38px 28px;
    }

    .cta-panel h2 {
        font-size: 32px;
        letter-spacing: -1.2px;
    }

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

@media (max-width: 479.98px) {
    .brand-logo {
        width: 142px;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
    }

    .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-controls button {
        width: 40px;
        height: 40px;
    }

    .hero-indicator {
        width: 18px;
    }

    .hero-indicator.active {
        width: 34px;
    }
}
