/* ==========================================================================
   INSTALLATION & OVERHAUL — MOBILE OPTIMIZATION
   ========================================================================== */

@media (max-width: 1024px) {
    /* --- HERO STATEMENT --- */
    .hero-statement {
        height: auto !important;
        min-height: auto !important;
        padding: 130px 0 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
    }
    .hero-statement .container {
        display: block !important;
        padding: 0 20px !important;
        margin-bottom: 40px !important;
    }
    .hero-statement .container > div:first-child {
        padding: 0 !important;
        max-width: 100% !important;
        text-align: center;
    }
    .hero-statement h1 {
        font-size: 3.2rem !important;
        margin-bottom: 20px !important;
    }
    .hero-statement p {
        font-size: 1.1rem !important;
        margin-bottom: 30px !important;
    }
    .hero-statement .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
        width: 100% !important;
    }
    .hero-statement .btn-primary,
    .hero-statement .hero-buttons a,
    .hero-statement .hero-buttons button {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
        text-align: center !important;
        border-radius: 14px !important;
    }
    /* The absolute machine */
    .hero-image-wrapper {
        position: relative !important;
        width: 100% !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 !important;
        aspect-ratio: 16/10 !important;
    }
    .hero-gradient-overlay {
        display: none !important;
    }

    /* --- GLOBAL DEPLOYMENT NEXUS --- */
    section[style*="padding: 160px 0"] {
        padding: 80px 0 !important;
    }
    section[style*="padding: 160px 0"] .container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }
    section[style*="padding: 160px 0"] h2 {
        font-size: 2.8rem !important;
    }
    section[style*="padding: 160px 0"] .fade-in:first-child img {
        width: 100% !important;
        margin-bottom: 20px;
    }
    section[style*="padding: 160px 0"] div[style*="display: flex; gap: 25px"] {
        text-align: left;
    }
    section[style*="padding: 160px 0"] div[style*="bottom: 10%; left: -5%"] {
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: 0 !important;
        width: 80%;
        white-space: nowrap;
    }

    /* --- TECHNICAL AUDIT (DARK SECTION) --- */
    section[style*="padding: 180px 0"][style*="background: #0a0a0b"] {
        padding: 100px 0 !important;
    }
    section[style*="padding: 180px 0"][style*="background: #0a0a0b"] .container > div {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
    section[style*="padding: 180px 0"][style*="background: #0a0a0b"] h2 {
        font-size: 3rem !important;
    }
    section[style*="padding: 180px 0"][style*="background: #0a0a0b"] .fade-in:last-child img {
        width: 100% !important;
        transform: none !important;
    }
    section[style*="padding: 180px 0"][style*="background: #0a0a0b"] div[style*="margin-top: 60px"] {
        flex-direction: column !important;
        gap: 20px !important;
        width: 100%;
        text-align: center;
    }
    section[style*="padding: 180px 0"][style*="background: #0a0a0b"] div[style*="width: 1px"] {
        width: 100% !important;
        height: 1px !important;
    }

    /* --- STRATEGIC RESTORATION --- */
    section[style*="padding: 180px 0"][style*="background: #ffffff"] {
        padding: 80px 0 !important;
    }
    section[style*="padding: 180px 0"][style*="background: #ffffff"] div[style*="margin-bottom: 100px"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px;
        margin-bottom: 60px !important;
    }
    section[style*="padding: 180px 0"][style*="background: #ffffff"] h2 {
        font-size: 3rem !important;
    }
    section[style*="padding: 180px 0"][style*="background: #ffffff"] div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 60px !important;
    }
    section[style*="padding: 180px 0"][style*="background: #ffffff"] .fade-in {
        transform: none !important; /* Remove the vertical offsets */
    }

    /* --- FINAL CALL --- */
    section.container[style*="padding-bottom: 150px"] {
        padding-bottom: 80px !important;
    }
    section.container[style*="padding-bottom: 150px"] > div {
        padding: 80px 25px !important;
        border-radius: 40px !important;
    }
    section.container[style*="padding-bottom: 150px"] h2 {
        font-size: 2.5rem !important;
    }
    section.container[style*="padding-bottom: 150px"] p {
        font-size: 1.1rem !important;
    }
}
