/* ============================================
   LOGO EN MÓVIL
   ============================================ */
@media (max-width: 768px) {
    .logo-img { 
        height: 120px; 
    }
}

@media (max-width: 480px) {
    .logo-img { 
        height: 35px; 
    }
    
    .logo-text { 
        font-size: 1.2rem; 
    }
}

/* ============================================
   BADGES DE TIENDAS (Google Play / App Store)
   ============================================ */
.app-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0;
    flex-wrap: wrap;
}

.store-badge {
    height: 50px;
    border-radius: 8px;
    transition: var(--transition);
}

.store-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 480px) {
    .store-badge {
        height: 40px;
    }
    
    .app-badges {
        gap: 10px;
    }
}

/* ============================================
   TABLET (max 992px) - AQUÍ SE ACTIVA EL MENÚ HAMBURGUESA
   ============================================ */
@media (max-width: 992px) {
    /* Header - Menú hamburguesa */
    .menu-toggle { display: block; }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active { max-height: 500px; }
    
    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-list a {
        display: block;
        padding: 10px;
        width: 100%;
    }
    
    /* Tablet general */
    .hero h1 { font-size: 2.8rem; }
    
    .section-title { font-size: 2rem; }
    
    .importers-hero {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content,
    .service-detail-content.reverse {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats { gap: 30px; }
}

/* ============================================
   MÓVIL (max 768px) - SIN MENÚ HAMBURGUESA AQUÍ
   ============================================ */
@media (max-width: 768px) {
    /* Hero */
    .hero { padding: 60px 0; }
    
    .hero h1 { font-size: 2rem; }
    
    .hero-subtitle { font-size: 1rem; }
    
    .hero-stats {
        gap: 20px;
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn { width: 100%; }
    
    /* Secciones */
    section { padding: 50px 0; }
    
    .section-title { font-size: 1.7rem; }
    
    .section-subtitle { font-size: 1rem; }
    
    /* Price Card */
    .price-card { padding: 25px; }
    
    .amount { font-size: 3rem; }
    
    .currency { font-size: 1.2rem; }
    
    /* Apps */
    .app-card.featured { transform: scale(1); }
    
    /* Importers */
    .importers-hero { padding: 20px; }
    
    .importers-price .amount { font-size: 2.5rem; }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }
    
    /* Contact CTA */
    .contact-cta h2 { font-size: 1.8rem; }
    
    .cta-buttons { flex-direction: column; }
    
    .cta-buttons .btn { width: 100%; }
    
    /* Page Header */
    .page-header { padding: 50px 0 40px; }
    
    .page-header h1 { font-size: 2rem; }
    
    /* Comparison Table */
    .comparison-table {
        display: block;
        overflow-x: auto;
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
}

/* ============================================
   MÓVIL PEQUEÑO (max 480px)
   ============================================ */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    
    .amount { font-size: 2.5rem; }
    
    .stat-number { font-size: 2rem; }
    
    .section-title { font-size: 1.5rem; }
    
    .btn-lg { padding: 12px 20px; font-size: 1rem; }
    
    .apps-grid,
    .sectors-grid,
    .modules-grid,
    .modules-detail-grid,
    .importers-features-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card { padding: 20px; }
    
    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }
    
    .importers-hero {
        padding: 15px;
    }
    
    .importers-price {
        padding: 20px;
    }
    
    .importers-price .amount {
        font-size: 2rem;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
}

/* ============================================
   MÓVIL MUY PEQUEÑO (max 360px)
   ============================================ */
@media (max-width: 360px) {
    .hero h1 { font-size: 1.5rem; }
    
    .hero-subtitle { font-size: 0.9rem; }
    
    .amount { font-size: 2.2rem; }
    
    .section-title { font-size: 1.3rem; }
    
    .btn { padding: 10px 15px; font-size: 0.9rem; }
}

/* ============================================
   LANDSCAPE MÓVIL
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { padding: 40px 0; }
    
    .hero h1 { font-size: 1.8rem; }
    
    .page-header { padding: 30px 0; }
    
    .page-header h1 { font-size: 1.8rem; }
}

/* ============================================
   IMPRESIÓN
   ============================================ */
@media print {
    .header,
    .whatsapp-float,
    .contact-cta,
    .footer,
    .menu-toggle {
        display: none;
    }
    
    body { font-size: 12pt; color: black; }
    
    a { color: black; text-decoration: underline; }
    
    section { page-break-inside: avoid; }
}
