/* Ajustes generales para todos los dispositivos móviles */
@media screen and (max-width: 768px) {
    .hero-section-mobile {
        height: 100vh !important;
        min-height: 100vh !important;
    }
    
    .hero-content-mobile {
        padding-top: 8rem !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }
    
    .flex.items-center[data-aos="fade-down"] {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
}

/* Ajustes para dispositivos anchos - sobrescribir padding */
@media screen and (min-width: 769px) {
    .hero-content-mobile {
        padding-top: 0 !important;
        margin-top: 8rem !important;
    }
}

/* Ajustes específicos para iPhone 14 Pro Max */
@media screen and (width: 430px) and (height: 932px) {
    .hero-content-mobile {
        padding-top: 8rem !important;
    }
}

/* Ajustes específicos para Pixel 7 Pro */
@media screen and (width: 412px) and (height: 915px) {
    .hero-content-mobile {
        padding-top: 9rem !important;
    }
}

/* Ajustar para resolución 480x1040 - Pixel 7 Pro */
@media screen and (width: 480px) and (height: 1040px) {
    .hero-content-mobile {
        padding-top: 18rem !important;
        margin-top: 0 !important;
    }
    
    .flex.items-center[data-aos="fade-down"] {
        margin-top: 0 !important;
    }
}

/* Ajustes para dispositivos más anchos */
@media screen and (min-width: 769px) {
    .hero-section-mobile {
        height: 100vh !important;
        min-height: 100vh !important;
    }
    
    .enhanced-video-container {
        width: 100% !important;
        height: 100% !important;
    }
    
    .video-background-enhanced {
        object-fit: cover !important;
        width: 100vw !important;
        height: 100vh !important;
        min-width: 100% !important;
        min-height: 100% !important;
    }
    
    .hero-content-mobile {
        padding-top: 2rem !important;
        justify-content: center !important;
    }
    
    .flex.items-center[data-aos="fade-down"] {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
}