/* BMCI phone layout — load AFTER style.css. Do not replace style.css. */

@media (max-width: 1024px) {
    .nav-toggle {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: auto !important;
        height: 34px !important;
        min-width: 0 !important;
        min-height: 34px !important;
        padding: 0 11px 0 9px !important;
        border-radius: 999px;
        background: rgba(15, 18, 70, 0.5);
        border: 1px solid rgba(232, 213, 163, 0.55);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
        z-index: 20;
    }

    .nav-toggle.active {
        background: rgba(237, 28, 36, 0.2);
        border-color: rgba(237, 28, 36, 0.8);
    }

    .nav-toggle-bars {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 3.5px;
        width: 16px;
        flex-shrink: 0;
    }

    .nav-toggle > span {
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .nav-toggle-bars span {
        display: block;
        width: 16px !important;
        height: 1.5px !important;
        background: #e8d5a3 !important;
        border-radius: 2px;
        transform-origin: center;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .nav-toggle.active .nav-toggle-bars span {
        background: #ffffff !important;
    }

    .nav-toggle.active .nav-toggle-bars span:nth-child(1) {
        transform: translateY(5px) rotate(45deg) !important;
    }

    .nav-toggle.active .nav-toggle-bars span:nth-child(2) {
        opacity: 0 !important;
    }

    .nav-toggle.active .nav-toggle-bars span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg) !important;
    }

    .nav-toggle-label {
        display: block;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #e8d5a3;
        line-height: 1;
        white-space: nowrap;
    }

    .nav-toggle.active .nav-toggle-label {
        color: #ffffff;
    }

    .nav-logo {
        max-width: calc(100% - 96px);
    }

    .site-header,
    .navbar,
    .nav-container {
        overflow: visible !important;
    }

    .nav-menu {
        position: absolute !important;
        top: 100%;
        left: 0;
        right: 0;
        bottom: auto !important;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        background: linear-gradient(180deg, #1f2366 0%, #15184f 100%);
        padding: 6px 16px 14px;
        gap: 0;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        overflow: visible;
        z-index: 999;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
        border-top: 1px solid rgba(232, 213, 163, 0.22);
    }

    .nav-menu > li {
        width: 100%;
        margin: 0;
        list-style: none;
    }

    .nav-menu.open {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .nav-link {
        color: #e8d5a3 !important;
        width: 100% !important;
        text-align: center;
        padding: 9px 8px !important;
        min-height: 0 !important;
        font-size: 0.7rem !important;
        letter-spacing: 0.12em;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 0;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link:hover,
    .nav-link.active {
        color: #ffffff !important;
        background: rgba(232, 213, 163, 0.08);
    }

    .nav-link::after {
        display: block;
        left: 28%;
        right: 28%;
        bottom: 3px;
        height: 2px;
        background: #ed1c24;
    }

    .nav-cpr-item {
        width: 100%;
    }

    .nav-cpr-box {
        width: 100%;
        max-width: none;
        margin: 8px 0 6px;
        padding: 8px 12px;
        font-size: 0.62rem;
        letter-spacing: 0.06em;
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .highlights-showcase {
        grid-template-columns: 1fr !important;
        gap: 22px;
    }

    .highlights-grid,
    .process-grid,
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .highlight-card,
    .process-step,
    .service-card {
        padding: 22px 18px;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}
