/* ===================================
   RESPONSIVE-SIMPLE.CSS
   Optimizaciones móviles básicas y limpias
   =================================== */

/* ===================================
   OPTIMIZACIONES MÓVILES BÁSICAS
   =================================== */

@media (max-width: 768px) {

    /* Hero section optimizado */
    .hero-video-container {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    }

    /* Navegación móvil */
    .custom-navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand img {
        height: 40px;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        margin-top: 10px;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        padding: 12px 16px;
        border-radius: 6px;
        margin: 0.25rem 0;
    }

    /* Botones y elementos interactivos */
    .btn-cta,
    .btn-pse-seccion {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .floating-btn {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }

    .scroll-to-top-transparent {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    /* Tarjetas optimizadas */
    .glass-card,
    .glass-card-lg {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Secciones */
    .section-alt {
        padding: 3rem 0;
    }

    /* Footer */
    .footer-compact {
        padding: 2rem 0;
    }

    .contact-info-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Elementos de formulario */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px;
        /* Previene zoom en iOS */
        padding: 12px;
        min-height: 44px;
    }
}

/* ===================================
   PANTALLAS MUY PEQUEÑAS
   =================================== */

@media (max-width: 576px) {
    .hero-video-container {
        height: 45vh;
        min-height: 350px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .glass-card,
    .glass-card-lg {
        padding: 1rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ===================================
   ADAPTACIONES TOUCH
   =================================== */

@media (hover: none) and (pointer: coarse) {

    /* Efectos de tap para elementos interactivos */
    .btn-cta:active,
    .btn-pse-seccion:active,
    .floating-btn:active,
    .nav-link:active {
        transform: scale(0.96);
        opacity: 0.8;
        transition: all 0.1s ease;
    }

    .glass-card:active,
    .glass-card-lg:active {
        transform: scale(0.98);
        transition: all 0.1s ease;
    }
}

/* ===================================
   LANDSCAPE MÓVIL
   =================================== */

@media (max-width: 768px) and (orientation: landscape) {
    .hero-video-container {
        height: 60vh;
        min-height: 300px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .section-alt {
        padding: 2rem 0;
    }
}

/* ===================================
   OPTIMIZACIONES DE PERFORMANCE
   =================================== */

@media (max-width: 768px) {

    /* Simplificar animaciones en móvil */
    .animate-fade-in-up,
    .animate-fade-in-down,
    .animate-fade-in-left,
    .animate-fade-in-right {
        animation-duration: 0.5s;
    }

    /* Optimizar elementos con GPU */
    .glass-card,
    .glass-card-lg {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* ===================================
   ACCESIBILIDAD
   =================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mejorar focus visible */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}