/* ============================================
   MOBILE RESPONSIVE OPTIMIZATION
   Mejoras específicas para dispositivos móviles
   ============================================ */

/* ============================================
   TABLET - 768px y menor
   ============================================ */
@media (max-width: 768px) {
    
    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding: 80px 0 60px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }
    
    .hero-title .title-line {
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 15px 25px !important;
        font-size: 1rem !important;
        justify-content: center;
    }
    
    /* Container */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    /* Section Spacing - Mejoras responsive */
    section {
        padding: 60px 0;
    }
    
    section:first-of-type {
        padding-top: 80px;
    }
    
    section:last-of-type {
        padding-bottom: 60px;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        color: var(--text-primary);
    }
    
    /* About Section */
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat {
        flex: 1 1 40%;
        min-width: 120px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Products Section - Mejorado para tablet */
    .products {
        padding: 50px 0;
    }
    
    .products .container {
        padding: 0 20px;
    }
    
    /* Products Selector - Espaciado para tablet */
    .products-selector {
        margin-top: var(--spacing-xl);
        margin-bottom: var(--spacing-2xl);
        padding: 0 15px;
    }
    
    .product-card-premium {
        margin-bottom: 40px;
        border-radius: 20px;
        padding: 25px;
    }
    
    .product-badge-premium {
        top: 15px;
        right: 15px;
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .product-hero {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 30px;
    }
    
    .product-image-premium {
        width: 100%;
        height: auto;
        min-height: 400px;
    }
    
    .main-product-image {
        height: 400px;
        cursor: pointer;
        touch-action: manipulation;
    }
    
    .product-content-premium {
        width: 100%;
    }
    
    .product-title-premium {
        font-size: 1.85rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .product-tagline {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }
    
    .product-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 25px 0;
    }
    
    .feature-highlight {
        padding: 15px;
        flex-direction: row;
        gap: 12px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 20px;
    }
    
    .feature-content h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .feature-content p {
        font-size: 0.875rem;
    }
    
    .technical-specs {
        padding: 20px 15px;
        margin: 25px 0;
    }
    
    .specs-title {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }
    
    .spec-group h5 {
        font-size: 1rem;
        padding: 12px 15px;
    }
    
    .spec-item {
        padding: 10px 15px;
    }
    
    .pricing-comparison-premium {
        padding: 25px 15px;
        margin: 25px 0;
    }
    
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 25px 20px;
    }
    
    .pricing-amount-container {
        margin: 15px 0 20px 0;
    }
    
    .pricing-amount {
        margin-bottom: 2px;
        line-height: 1;
    }
    
    .value-proposition {
        margin: 0;
        padding: 0;
        background: none;
    }
    
    .value-proposition p {
        font-size: 0.8rem;
        color: var(--text-secondary);
        margin: 0;
        line-height: 1.2;
    }
    
    .pricing-amount .price {
        font-size: 2.5rem;
        line-height: 0.9;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Estilos de carga de reseñas para móvil */
    .reviews-loading,
    .reviews-error {
        padding: 60px 20px;
    }
    
    .reviews-loading i {
        font-size: 3rem;
        animation: spin 1.5s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    .reviews-loading p {
        font-size: 1.1rem;
        margin-top: 20px;
    }
    
    /* Reseñas de Google estilo Maps - responsive */
    .google-review-card {
        padding: 16px;
    }
    
    .google-review-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .google-logo {
        align-self: flex-start;
    }
    
    .google-author-name {
        font-size: 13px;
    }
    
    .google-review-text {
        font-size: 13px;
    }
    
    /* Llamada a la acción para dejar reseña - responsive */
    .leave-review-cta {
        padding: var(--spacing-lg);
    }
    
    .leave-review-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .leave-review-text {
        min-width: auto;
    }
    
    .leave-review-text h3 {
        font-size: var(--font-size-lg);
    }
    
    .leave-review-text p {
        font-size: var(--font-size-sm);
    }
    
    .btn-leave-review {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
    }
    
    .footer-section ul {
        text-align: center;
        list-style: none;
        padding: 0;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto;
    }
    
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float-btn {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    /* Scroll to Top */
    .scroll-to-top {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ============================================
   MOBILE - 480px y menor
   ============================================ */
@media (max-width: 480px) {
    
    /* Typography */
    html {
        font-size: 15px;
    }
    
    /* SIMPLIFICACIÓN DE ESTRUCTURA DE PRODUCTOS - CRÍTICO */
    .products {
        padding: 40px 0;
    }
    
    .products .container {
        padding: 0 12px !important;
    }
    
    .product-card-premium {
        padding: 0 !important;
        margin: 0 0 30px 0 !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
        overflow: hidden !important;
    }
    
    .product-badge-premium {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.7rem;
        z-index: 15;
        margin: 0 !important;
    }
    
    .product-hero {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .product-image-premium {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 12px !important;
        margin: 0 !important;
        background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    }
    
    .product-content-premium {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        margin: 0 !important;
    }
    
    .product-category {
        font-size: 0.8rem;
        margin-bottom: 10px;
        padding: 5px 0;
    }
    
    .product-title-premium {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        font-weight: 700;
    }
    
    .product-tagline {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
        color: var(--text-secondary);
    }
    
    .product-features-grid {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 20px 0 !important;
        gap: 12px !important;
    }
    
    .feature-highlight {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 0 !important;
        padding: 12px !important;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 12px;
        border: 1px solid rgba(0, 188, 212, 0.1);
    }
    
    .feature-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 18px !important;
        flex-shrink: 0;
    }
    
    .feature-content {
        flex: 1;
        text-align: left;
    }
    
    .feature-content h4 {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
        font-weight: 600;
    }
    
    .feature-content p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        color: var(--text-secondary);
    }
    
    /* Technical Specs - Mejorado */
    .technical-specs {
        margin: 20px 12px !important;
        padding: 18px 15px !important;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .specs-title {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px;
        border-bottom: 2px solid rgba(0, 188, 212, 0.2);
    }
    
    .specs-grid,
    .specs-container {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .spec-group {
        margin-bottom: 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 10px;
    }
    
    .spec-group:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .spec-toggle {
        font-size: 1rem !important;
        padding: 10px 12px !important;
        background: rgba(0, 188, 212, 0.05);
        border-radius: 8px;
    }
    
    .spec-item {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
    
    .spec-label {
        font-size: 0.85rem !important;
        font-weight: 600;
    }
    
    .spec-value {
        font-size: 0.85rem !important;
    }
    
    /* Documentation Section */
    .documentation-section {
        margin: 15px 0 !important;
        padding: 15px !important;
    }
    
    .documentation-section h5 {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }
    
    .doc-item-simple {
        padding: 12px !important;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    
    .doc-note {
        font-size: 0.85rem;
        padding: 10px 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        line-height: 1.4;
    }
    
    .doc-note i {
        display: flex;
        align-items: center;
        line-height: 1;
        flex-shrink: 0;
        font-size: 1rem;
    }
    
    .doc-note span {
        display: flex;
        align-items: center;
        line-height: 1.4;
    }
    
    /* Pricing - Mejorado */
    .pricing-comparison-premium {
        margin: 20px 12px !important;
        padding: 18px 15px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
        border-radius: 12px;
    }
    
    .pricing-header-main {
        text-align: center;
        margin-bottom: 20px !important;
    }
    
    .pricing-header-main h4 {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
    }
    
    .pricing-header-main p {
        font-size: 0.9rem !important;
        color: var(--text-secondary);
    }
    
    .pricing-cards-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .pricing-card {
        margin-bottom: 0 !important;
        padding: 20px 15px !important;
        border-radius: 12px;
        background: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    
    .pricing-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
        text-align: left;
    }
    
    .pricing-header-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .pricing-icon {
        width: 48px !important;
        height: 48px !important;
        margin: 0;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 22px !important;
        border-radius: 12px !important;
        flex-shrink: 0;
    }
    
    .pricing-icon i {
        font-size: 22px !important;
        line-height: 1;
    }
    
    .pricing-header h5 {
        font-size: 1.15rem !important;
        margin: 10px 0 5px 0;
    }
    
    .pricing-subtitle {
        font-size: 0.85rem !important;
    }
    
    .pricing-amount-container {
        margin: 15px 0 20px 0;
    }
    
    .pricing-amount {
        margin: 0 !important;
        line-height: 1 !important;
    }
    
    .pricing-amount .price {
        font-size: 2.5rem !important;
        line-height: 0.9 !important;
    }
    
    .pricing-amount .currency {
        font-size: 1.5rem !important;
    }
    
    .pricing-amount .period {
        font-size: 1rem !important;
    }
    
    .value-proposition {
        margin: 0;
        padding: 0;
        background: none;
    }
    
    .value-proposition p {
        font-size: 0.8rem;
        color: var(--text-secondary);
        margin: 0;
        line-height: 1.2;
    }
    
    .pricing-features {
        margin: 15px 0 !important;
    }
    
    .feature-item {
        padding: 8px 0 !important;
        font-size: 0.85rem !important;
    }
    
    .savings-highlight {
        padding: 10px !important;
        margin: 15px 0 !important;
        font-size: 0.85rem !important;
        border-radius: 8px;
    }
    
    .btn-premium {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding: 70px 0 40px;
    }
    
    .hero-content {
        padding: 0 15px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
        word-break: break-word;
        text-align: center;
    }
    
    .hero-title .title-line {
        display: block;
        margin-bottom: 8px;
    }
    
    .hero-title strong {
        font-size: 1em;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
        padding: 0 5px;
        text-align: center;
    }
    
    .hero-buttons {
        margin-top: 35px;
        text-align: center;
    }
    
    .hero-buttons .btn {
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
        width: 100%;
        text-align: center;
    }
    
    /* Container */
    .container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    /* Section Spacing - Móvil */
    section {
        padding: 50px 0;
    }
    
    section:first-of-type {
        padding-top: 70px;
    }
    
    section:last-of-type {
        padding-bottom: 50px;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 35px;
        padding: 0 8px;
    }
    
    /* Navigation - MEJORADO */
    .header {
        height: 70px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        overflow: visible;
        transition: none;
    }
    
    /* Evitar cambios visuales en el header al hacer scroll en móvil */
    .header.scrolled {
        height: 70px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        background: inherit;
        transition: none;
    }
    
    .nav-container {
        padding: 0 16px;
        height: 70px;
        display: flex;
        align-items: center;
        transition: none;
    }
    
    .nav-logo {
        display: flex;
        align-items: center;
        height: 100%;
        transition: none;
    }
    
    .nav-logo a {
        display: flex;
        align-items: center;
        height: 100%;
        transition: none;
    }
    
    .logo {
         height: 35px;
        max-height: 35px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        transition: all 0.3s ease;
        transform: translateZ(0);
        padding-bottom: 10px; 
    }
    
    .nav-menu {
        top: 70px;
        width: 100%;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1rem;
        width: 100%;
    }
    
    .hamburger {
        display: flex;
        cursor: pointer;
        z-index: 1001;
    }
    
    .hamburger .bar {
        transition: all 0.3s ease;
    }
    
    /* Section Spacing */
    section {
        padding: 45px 0;
    }
    
    /* Section Headers - Mejor jerarquía */
    .section-header {
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 1.85rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
        color: var(--text-secondary);
        line-height: 1.5;
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* About Section */
    .about-content {
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .about-text {
        margin-bottom: 20px;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
        margin-top: 20px;
        margin-bottom: 12px;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature {
        font-size: 0.9rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat {
        width: 100%;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Services */
    .services-grid {
        gap: 25px;
        margin-top: 30px;
    }
    
    .service-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .service-card ul {
        margin-top: 15px;
    }
    
    .service-card ul li {
        font-size: 0.85rem;
    }
    
    /* Products Section - Optimizado para móvil */
    .products {
        padding: 35px 0;
    }
    
    /* Products Selector - Espaciado móvil mejorado */
    .products-selector {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: var(--spacing-lg) 0 var(--spacing-2xl) 0;
        padding: 0 15px;
    }
    
    .selector-tabs {
        padding: 4px;
        border-radius: 12px;
        background: #e5e7eb;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        display: inline-flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .selector-tabs::before {
        border-radius: 9px;
        top: 4px;
        bottom: 4px;
        left: 4px;
    }
    
    .selector-tabs.empresarial-active::before {
        right: 4px !important;
    }
    
    .selector-tab {
        padding: 12px 24px;
        font-size: 0.9rem;
        white-space: nowrap;
        min-width: 100px;
        border-radius: 9px;
        gap: 8px;
        flex-shrink: 0;
        flex-direction: row;
    }
    
    .selector-tab i {
        font-size: 1.3rem;
    }
    
    .selector-tab span {
        font-weight: 600;
        font-size: 0.85rem;
        display: inline;
    }
    
    /* Product Cards - Optimizado para móvil */
    .product-card-premium {
        padding: 25px 15px;
        margin: 0 0 30px 0;
        border-radius: 16px;
    }
    
    .product-badge-premium {
        font-size: 0.7rem;
        padding: 6px 12px;
        border-radius: 8px;
        position: absolute;
        top: 12px;
        right: 12px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    
    .product-badge-premium i {
        font-size: 0.85rem;
    }
    
    .product-hero {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 0;
        padding: 0;
    }
    
    .product-title-premium {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        word-break: break-word;
    }
    
    .product-tagline {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .product-category {
        font-size: 0.85rem;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .product-category i {
        font-size: 0.95rem;
    }
    
    /* Product Images - Optimizado */
    .product-image-premium {
        margin-bottom: 0;
        width: 100%;
    }
    
    .main-product-image {
        height: 300px;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 12px;
        position: relative;
        cursor: pointer;
        touch-action: manipulation;
    }
    
    .main-product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
    
    
    .nav-btn {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: rgba(0, 0, 0, 0.7) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        color: white !important;
        font-size: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        min-width: 40px !important;
        padding: 0 !important;
    }
    
    .nav-btn:active {
        background: rgba(0, 188, 212, 0.9) !important;
        transform: scale(0.95) !important;
    }
    
    /* Thumbnails - MEJORADO */
    .product-thumbnails {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 5px 0;
        margin: 0 -10px;
        padding: 5px 10px;
        scroll-snap-type: x mandatory;
    }
    
    .product-thumbnails::-webkit-scrollbar {
        height: 4px;
    }
    
    .product-thumbnails::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 2px;
    }
    
    .product-thumbnails::-webkit-scrollbar-thumb {
        background: rgba(0, 188, 212, 0.6);
        border-radius: 2px;
    }
    
    .thumbnail-item {
        min-width: 65px;
        max-width: 65px;
        height: 65px;
        border-radius: 8px;
        overflow: hidden;
        border: 2px solid transparent;
        cursor: pointer;
        transition: all 0.3s ease;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    
    .thumbnail-item.active {
        border-color: #00bcd4;
        box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.2);
    }
    
    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Features Grid - Optimizado */
    .product-features-grid {
        gap: 12px;
        margin: 25px 0;
        grid-template-columns: 1fr;
    }
    
    .feature-highlight {
        padding: 16px 14px;
        border-radius: 12px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    
    .feature-content {
        flex: 1;
        min-width: 0;
    }
    
    .feature-highlight h4 {
        font-size: 1rem;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    
    .feature-highlight p {
        font-size: 0.875rem;
        line-height: 1.5;
        margin: 0;
    }
    
    /* Specifications - Optimizado */
    .technical-specs {
        padding: 20px 15px;
        margin: 25px 0;
        border-radius: 14px;
    }
    
    .specs-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .specs-title i {
        font-size: 1.1rem;
    }
    
    .spec-group {
        margin-bottom: 10px;
    }
    
    .spec-toggle {
        font-size: 1rem;
        padding: 14px 12px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        font-weight: 600;
    }
    
    .spec-arrow {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    
    .spec-toggle[aria-expanded="true"] .spec-arrow {
        transform: rotate(180deg);
    }
    
    .spec-items {
        padding: 0;
    }
    
    .spec-item {
        font-size: 0.9rem;
        padding: 10px 12px 10px 35px;
        line-height: 1.5;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .spec-label {
        font-weight: 500;
        color: rgba(0, 0, 0, 0.7);
    }
    
    .spec-value {
        font-weight: 600;
        color: #00bcd4;
        text-align: right;
        flex: 1;
    }
    
    /* Documentation Section - MEJORADO */
    .documentation-section {
        margin-top: 20px;
    }
    
    .documentation-section h5 {
        font-size: 1rem;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .doc-item-simple {
        padding: 15px 12px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
    }
    
    .doc-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        border-radius: 8px;
    }
    
    .doc-content {
        flex: 1;
        min-width: 0;
    }
    
    .doc-content h6 {
        font-size: 0.95rem;
        margin-bottom: 3px;
        line-height: 1.3;
    }
    
    .doc-content p {
        font-size: 0.8rem;
        margin: 0;
        line-height: 1.3;
    }
    
    .doc-size {
        font-size: 0.75rem;
        display: block;
        margin-top: 3px;
    }
    
    .doc-download {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }
    
    .doc-note {
        font-size: 0.8rem;
        padding: 10px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
        line-height: 1.4;
    }
    
    .doc-note i {
        display: flex;
        align-items: center;
        line-height: 1;
        flex-shrink: 0;
    }
    
    .doc-note span {
        display: flex;
        align-items: center;
        line-height: 1.4;
    }
    
    /* Pricing Section - Optimizado para móvil */
    .pricing-comparison-premium {
        margin-top: 30px;
        padding: 25px 15px;
    }
    
    .pricing-header-main {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .pricing-header-main h4 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .pricing-header-main p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .pricing-cards-grid {
        gap: 20px;
    }
    
    .pricing-card {
        padding: 25px 18px;
        border-radius: 14px;
        margin-bottom: 20px;
    }
    
    .pricing-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 18px;
        text-align: left;
    }
    
    .pricing-header-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }
    
    .pricing-icon {
        width: 52px !important;
        height: 52px !important;
        margin: 0;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 26px !important;
        border-radius: 12px !important;
        flex-shrink: 0;
    }
    
    .pricing-icon i {
        font-size: 26px !important;
        line-height: 1;
    }
    
    .pricing-card h5 {
        font-size: 1.25rem;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .pricing-subtitle {
        font-size: 0.875rem;
        line-height: 1.3;
    }
    
    .pricing-amount-container {
        margin: 18px 0 22px 0;
    }
    
    .pricing-amount {
        text-align: center;
        margin-bottom: 3px;
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 4px;
        line-height: 1;
    }
    
    .currency {
        font-size: 1.3rem;
        font-weight: 600;
    }
    
    .price {
        font-size: 2.8rem;
        font-weight: 700;
        line-height: 0.9;
    }
    
    .period {
        font-size: 0.9rem;
    }
    
    .value-proposition {
        text-align: center;
        margin: 0;
        padding: 0;
        background: none;
    }
    
    .value-proposition p {
        font-size: 0.75rem;
        color: var(--text-secondary);
        margin: 0;
        line-height: 1.2;
    }
    
    .pricing-features {
        margin: 15px 0;
    }
    
    .feature-item {
        font-size: 0.85rem;
        padding: 10px 8px;
        line-height: 1.4;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }
    
    .feature-item i {
        font-size: 0.9rem;
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    .feature-item span {
        flex: 1;
    }
    
    .savings-highlight {
        font-size: 0.8rem;
        padding: 10px;
        border-radius: 8px;
        text-align: center;
        margin: 15px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        line-height: 1.4;
    }
    
    .savings-highlight i {
        font-size: 1rem;
    }
    
    .btn-premium {
        padding: 14px 20px;
        font-size: 0.95rem;
        width: 100%;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-weight: 600;
    }
    
    .btn-premium i {
        font-size: 1.1rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        gap: 25px;
        margin-top: 30px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .author-name {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .author-title {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    /* Estilos de carga de reseñas para móviles pequeños */
    .reviews-loading,
    .reviews-error {
        padding: 80px 15px;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .reviews-loading i {
        font-size: 3.5rem;
        margin-bottom: 25px;
    }
    
    .reviews-loading p {
        font-size: 1rem;
        text-align: center;
        max-width: 250px;
    }
    
    .testimonial-stats {
        gap: 20px;
        margin-top: 35px;
    }
    
    .stat-item {
        padding: 25px 20px;
        margin-bottom: 15px;
    }
    
    /* Contact Form */
    .contact-content {
        flex-direction: column;
        gap: 35px;
        margin-top: 30px;
    }
    
    .contact-info,
    .contact-form-container {
        width: 100%;
        padding: 0 8px;
    }
    
    .contact-info h3,
    .contact-form-container h3 {
        margin-bottom: 20px;
    }
    
    .contact-item {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-section {
        margin-bottom: 10px;
        padding: 0 15px;
    }
    
    .footer-section h4 {
        margin-bottom: 12px;
    }
    
    .footer-section ul {
        margin-top: 8px;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .footer-section ul {
        text-align: center;
        list-style: none;
        padding: 0;
    }
    
    .footer-section ul li,
    .footer-contact p,
    .footer-section:first-child p,
    .footer-logo p {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto;
    }
    
    .footer-logo p {
        text-align: center;
    }
    
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-contact p,
    .footer-contact a {
        text-align: center;
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom p {
        text-align: center;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    /* Scroll to Top */
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 20px;
    }
    
    /* Cookie Banner */
    .cookie-consent-banner {
        padding: 15px;
        bottom: 0;
        border-radius: 0;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-consent-text {
        font-size: 0.85rem;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .cookie-consent-buttons button {
        width: 100%;
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    /* Modal */
    .image-modal .modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .modal-image {
        max-height: 60vh;
    }
    
    .modal-nav-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ============================================
   SMALL MOBILE - 426px y menor
   ============================================ */
@media (max-width: 426px) {
    
    .pricing-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
        text-align: left;
    }
    
    .pricing-header-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Pricing Icon - Tamaño consistente */
    .pricing-icon {
        width: 45px !important;
        height: 45px !important;
        margin: 0;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 21px !important;
        border-radius: 12px !important;
        flex-shrink: 0;
    }
    
    .pricing-icon i {
        font-size: 21px !important;
        line-height: 1;
    }
    
    /* Documentation Note - Fix para alineación horizontal */
    .doc-note {
        font-size: 0.8rem;
        padding: 10px;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px;
        line-height: 1.4;
    }
    
    .doc-note i {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        flex-shrink: 0 !important;
        font-size: 1rem;
        width: auto;
        min-width: 16px;
    }
    
    .doc-note span {
        display: inline !important;
        flex: 1;
        line-height: 1.4;
    }
}

/* ============================================
   EXTRA SMALL MOBILE - 360px y menor
   ============================================ */
@media (max-width: 360px) {
    
    html {
        font-size: 14px;
    }
    
    /* SIMPLIFICACIÓN EXTREMA DE PRODUCTOS */
    .products {
        padding: 35px 0;
    }
    
    .products .container {
        padding: 0 10px !important;
    }
    
    .product-card-premium {
        padding: 0 !important;
        margin: 0 0 25px 0 !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06) !important;
        background: white !important;
        overflow: hidden !important;
    }
    
    .product-badge-premium {
        position: absolute;
        top: 8px;
        right: 8px;
        font-size: 0.65rem;
        padding: 5px 10px;
        z-index: 15;
    }
    
    .product-hero {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
    }
    
    .product-image-premium {
        width: 100% !important;
        padding: 12px 10px !important;
        margin: 0 !important;
        background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    }
    
    .product-content-premium {
        width: 100% !important;
        padding: 15px 12px !important;
        margin: 0 !important;
    }
    
    .product-category {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .product-title-premium {
        font-size: 1.25rem !important;
        margin-bottom: 10px !important;
        line-height: 1.3 !important;
        font-weight: 700;
    }
    
    .product-tagline {
        font-size: 0.85rem !important;
        line-height: 1.45 !important;
        margin-bottom: 15px !important;
    }
    
    .product-features-grid {
        display: flex !important;
        flex-direction: column !important;
        margin: 15px 0 !important;
        padding: 0 !important;
        gap: 10px !important;
    }
    
    .feature-highlight {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 0 !important;
        padding: 10px !important;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 10px;
    }
    
    .feature-icon {
        width: 35px !important;
        height: 35px !important;
        min-width: 35px !important;
        font-size: 16px !important;
        flex-shrink: 0;
    }
    
    .feature-content h4 {
        font-size: 0.9rem !important;
        margin-bottom: 3px !important;
    }
    
    .feature-content p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
    
    .technical-specs {
        margin: 15px 10px !important;
        padding: 15px 12px !important;
        border-radius: 10px;
    }
    
    .specs-title {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }
    
    .spec-toggle {
        font-size: 0.9rem !important;
        padding: 8px 10px !important;
    }
    
    .spec-item {
        padding: 7px 10px !important;
        font-size: 0.8rem !important;
    }
    
    .doc-note {
        font-size: 0.8rem;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        gap: 6px;
        line-height: 1.4;
    }
    
    .doc-note i {
        display: flex;
        align-items: center;
        line-height: 1;
        flex-shrink: 0;
        font-size: 0.95rem;
    }
    
    .doc-note span {
        display: flex;
        align-items: center;
        line-height: 1.4;
    }
    
    .pricing-comparison-premium {
        margin: 15px 10px !important;
        padding: 15px 12px !important;
        border-radius: 10px;
    }
    
    .pricing-header-main h4 {
        font-size: 1.15rem !important;
    }
    
    .pricing-header-main p {
        font-size: 0.85rem !important;
    }
    
    .pricing-card {
        margin-bottom: 12px !important;
        padding: 16px 12px !important;
        border-radius: 10px;
    }
    
    .pricing-header h5 {
        font-size: 1.05rem !important;
    }
    
    .pricing-amount .price {
        font-size: 2.2rem !important;
    }
    
    .feature-item {
        font-size: 0.8rem !important;
        padding: 6px 0 !important;
    }
    
    .btn-premium {
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
    }
    
    /* Container - Pantallas muy pequeñas */
    .container {
        padding: 0 12px;
        max-width: 100%;
    }
    
    /* Header y Logo - Pantallas extra pequeñas */
    .header {
        height: 65px;
        transition: none;
    }
    
    .nav-container {
        padding: 0 12px;
        height: 65px;
        transition: none;
    }
    
    .nav-logo {
        transition: none;
    }
    
    .nav-logo a {
        transition: none;
    }
    
    .logo {
        height: 35px;
        max-height: 35px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        transition: all 0.3s ease;
        transform: translateZ(0);
        padding-bottom: 10px; 
    }
    
    /* Section Spacing */
    section {
        padding: 40px 0;
    }
    
    section:first-of-type {
        padding-top: 60px;
    }
    
    section:last-of-type {
        padding-bottom: 40px;
    }
    
    .section-header {
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 15px !important;
        font-size: 0.9rem !important;
    }
    
    .hero-buttons {
        margin-top: 30px;
        text-align: center;
    }
    
    /* Products - EXTRA SMALL OPTIMIZATIONS */
    .product-card-premium {
        padding: 15px 8px;
        margin-bottom: 15px;
    }
    
    .product-badge-premium {
        font-size: 0.65rem;
        padding: 5px 10px;
    }
    
    .product-title-premium {
        font-size: 1.25rem !important;
        margin-bottom: 10px !important;
        line-height: 1.3 !important;
    }
    
    .product-tagline {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.45;
    }
    
    .product-category {
        font-size: 0.75rem;
    }
    
    .product-features-grid {
        gap: 12px;
        margin-top: 15px;
    }
    
    .feature-highlight {
        padding: 14px 10px;
        gap: 10px;
    }
    
    .feature-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 17px;
    }
    
    .feature-highlight h4 {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .feature-highlight p {
        font-size: 0.78rem;
    }
    
    .technical-specs {
        padding: 15px 10px;
        margin: 15px 0;
    }
    
    .specs-title {
        font-size: 1.05rem;
    }
    
    .spec-toggle {
        padding: 12px 10px;
        font-size: 0.88rem;
    }
    
    .spec-item {
        font-size: 0.78rem;
        padding: 9px 10px 9px 28px;
    }
    
    .pricing-comparison-premium {
        padding: 15px 8px;
        margin-top: 20px;
    }
    
    .pricing-header-main h4 {
        font-size: 1.3rem;
    }
    
    .pricing-header-main p {
        font-size: 0.85rem;
    }
    
    .pricing-card {
        padding: 16px 11px;
    }
    
    .pricing-card h5 {
        font-size: 1.05rem;
    }
    
    .price {
        font-size: 2.1rem;
    }
    
    .pricing-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
        text-align: left;
    }
    
    .pricing-header-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .pricing-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 20px !important;
        margin: 0;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        flex-shrink: 0;
    }
    
    .pricing-icon i {
        font-size: 20px !important;
        line-height: 1;
    }
    
    .feature-item {
        font-size: 0.78rem;
        padding: 8px 6px;
    }
    
    .btn-premium {
        padding: 11px 14px;
        font-size: 0.88rem;
    }
    
    .main-product-image {
        height: 240px;
        cursor: pointer;
        touch-action: manipulation;
    }
    
    .nav-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    
    .thumbnail-item {
        min-width: 55px;
        max-width: 55px;
        height: 55px;
    }
    
    /* Selector Tabs - Reducir tamaño manteniendo layout horizontal */
    .selector-tabs {
        display: inline-flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .selector-tab {
        padding: 10px 12px;
        font-size: 0.8rem;
        min-width: 90px;
        border-radius: 9px;
        gap: 6px;
        flex-shrink: 0;
        flex-direction: row;
    }
    
    .selector-tab i {
        font-size: 1.2rem;
    }
    
    .selector-tab span {
        font-size: 0.8rem;
        display: inline;
    }
    
    .doc-item-simple {
        padding: 12px 10px;
    }
    
    .doc-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 18px;
    }
    
    .doc-download {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 16px;
    }
    
    .doc-content h6 {
        font-size: 0.9rem;
    }
    
    .doc-content p {
        font-size: 0.75rem;
    }
    
    /* General adjustments */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
        font-size: 18px;
    }
}

/* ============================================
   LANDSCAPE MODE FIXES
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
        margin-bottom: 12px !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }
    
    .hero-buttons {
        margin-top: 15px;
    }
}

/* ============================================
   TOUCH OPTIMIZATION
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    
    /* Aumentar área táctil de botones */
    .btn,
    .nav-link,
    .selector-tab {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Eliminar efectos hover en móviles */
    .btn:hover,
    .nav-link:hover,
    .service-card:hover {
        transform: none;
    }
    
    /* Mejorar tap para WhatsApp */
    .whatsapp-float-btn {
        min-width: 50px;
        min-height: 50px;
    }
}

/* ============================================
   iOS SPECIFIC FIXES
   ============================================ */
@supports (-webkit-touch-callout: none) {
    
    /* Fix for iOS safe areas */
    .hero {
        padding-top: calc(80px + env(safe-area-inset-top));
    }
    
    .whatsapp-float {
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: calc(20px + env(safe-area-inset-right));
    }
    
    .scroll-to-top {
        bottom: calc(20px + env(safe-area-inset-bottom));
        left: calc(20px + env(safe-area-inset-left));
    }
    
    /* Fix for iOS input zoom */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
@media (max-width: 768px) {
    
    /* Reducir animaciones en móvil para mejor performance */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.2s !important;
    }
    
    /* Excepción: Mantener animación suave del botón WhatsApp */
    .whatsapp-float-btn {
        animation-duration: 4s !important;
    }
    
    /* Optimizar parallax en móvil */
    .hero {
        background-attachment: scroll !important;
    }
    
    /* Deshabilitar partículas complejas en móvil */
    .hero-particles {
        display: none;
    }
}

/* ============================================
   ACCESSIBILITY FOR MOBILE
   ============================================ */
@media (max-width: 768px) {
    
    /* Aumentar contraste en móvil */
    .hero-subtitle {
        color: rgba(255, 255, 255, 0.95);
    }
    
    .section-subtitle {
        color: var(--text-primary);
    }
    
    /* Mejorar legibilidad */
    p, li, span {
        line-height: 1.6;
    }
    
    /* Focus visible en móvil */
    a:focus,
    button:focus,
    input:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* ============================================
   FOOTER LOGO CLICKABLE STYLES
   ============================================ */
.footer-logo a {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-logo a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-logo a:active {
    transform: translateY(0);
}

.footer-logo-img {
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Mobile specific */
@media (max-width: 768px) {
    .footer-logo a {
        display: block;
        margin: 0 auto;
    }
    
    .footer-logo a:hover {
        transform: scale(1.05);
    }
    
    .footer-logo a:active {
        transform: scale(0.98);
    }
}

/* Pantallas extra pequeñas - 320px */
@media (max-width: 320px) {
    
    html {
        font-size: 14px;
    }
    
    /* SIMPLIFICACIÓN MÁXIMA DE PRODUCTOS */
    .products {
        padding: 30px 0;
    }
    
    .products .container {
        padding: 0 8px !important;
    }
    
    .product-card-premium {
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
        background: white !important;
        overflow: hidden !important;
    }
    
    .product-badge-premium {
        position: absolute;
        top: 6px;
        right: 6px;
        font-size: 0.6rem;
        padding: 4px 8px;
        z-index: 15;
        margin: 0 !important;
    }
    
    .product-hero {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
    }
    
    .product-image-premium {
        width: 100% !important;
        padding: 10px 8px !important;
        margin: 0 !important;
        background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    }
    
    .product-content-premium {
        width: 100% !important;
        padding: 12px 10px !important;
        margin: 0 !important;
    }
    
    .product-category {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }
    
    .product-title-premium {
        font-size: 1.1rem !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
        font-weight: 700;
    }
    
    .product-tagline {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }
    
    .product-features-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin: 12px 0 !important;
        padding: 0 !important;
    }
    
    .feature-highlight {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin-bottom: 0 !important;
        padding: 8px !important;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 8px;
    }
    
    .feature-icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 14px !important;
        flex-shrink: 0;
    }
    
    .feature-content h4 {
        font-size: 0.85rem !important;
        margin-bottom: 2px !important;
    }
    
    .feature-content p {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
    }
    
    .main-product-image {
        height: 200px;
        margin-bottom: 10px;
        cursor: pointer;
        touch-action: manipulation;
    }
    
    .nav-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }
    
    .thumbnail-item {
        min-width: 50px;
        max-width: 50px;
        height: 50px;
    }
    
    .technical-specs {
        margin: 12px 8px !important;
        padding: 12px 10px !important;
        border-radius: 8px;
    }
    
    .specs-title {
        font-size: 0.95rem !important;
        margin-bottom: 10px !important;
    }
    
    .spec-group {
        margin-bottom: 10px !important;
    }
    
    .spec-toggle {
        font-size: 0.85rem !important;
        padding: 7px 8px !important;
    }
    
    .spec-item {
        padding: 6px 8px !important;
        font-size: 0.75rem !important;
    }
    
    .doc-note {
        font-size: 0.75rem;
        padding: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
        line-height: 1.3;
    }
    
    .doc-note i {
        display: flex;
        align-items: center;
        line-height: 1;
        flex-shrink: 0;
        font-size: 0.9rem;
    }
    
    .doc-note span {
        display: flex;
        align-items: center;
        line-height: 1.3;
    }
    
    .pricing-comparison-premium {
        margin: 12px 8px !important;
        padding: 12px 10px !important;
        border-radius: 8px;
    }
    
    .pricing-header-main h4 {
        font-size: 1.05rem !important;
    }
    
    .pricing-header-main p {
        font-size: 0.8rem !important;
    }
    
    .pricing-card {
        margin-bottom: 10px !important;
        padding: 14px 10px !important;
        border-radius: 8px;
    }
    
    .pricing-header h5 {
        font-size: 1rem !important;
    }
    
    .pricing-amount .price {
        font-size: 2rem !important;
    }
    
    .feature-item {
        font-size: 0.75rem !important;
        padding: 5px 0 !important;
    }
    
    .btn-premium {
        padding: 11px 16px !important;
        font-size: 0.9rem !important;
    }
    
    /* Container and Navigation */
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .logo {
        height: 35px;
        max-height: 35px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        transition: all 0.3s ease;
        transform: translateZ(0);
        padding-bottom: 10px; 
    }
    
    .section-header {
        padding: 0 5px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-buttons {
        margin-top: 30px;
        text-align: center;
    }
    
    /* Selector Tabs - Solo iconos pero mantener horizontal */
    .selector-tabs {
        padding: 4px;
        display: inline-flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .selector-tabs::before {
        top: 4px;
        bottom: 4px;
        left: 4px;
    }
    
    .selector-tabs.empresarial-active::before {
        right: 4px !important;
    }
    
    .selector-tab {
        padding: 10px 15px;
        font-size: 0.85rem;
        flex-shrink: 0;
        min-width: auto;
    }
    
    /* OCULTAR TEXTO EN PANTALLAS MUY PEQUEÑAS - Solo mostrar iconos */
    .selector-tab span {
        display: none;
    }
    
    .selector-tab {
        min-width: 60px;
        width: 60px;
        padding: 14px 10px;
        justify-content: center;
        flex-direction: row;
    }
    
    .selector-tab i {
        font-size: 1.4rem;
        margin: 0;
    }
    
    .product-features-grid {
        gap: 10px;
        margin: 15px 0;
    }
    
    .feature-highlight {
        padding: 12px 8px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .feature-highlight h4 {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .feature-highlight p {
        font-size: 0.75rem;
    }
    
    .technical-specs {
        padding: 12px 8px;
        margin: 15px 0;
    }
    
    .specs-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .spec-toggle {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .spec-item {
        font-size: 0.75rem;
        padding: 8px 8px 8px 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    
    .spec-label,
    .spec-value {
        flex: 1 1 100%;
        text-align: left;
    }
    
    .documentation-section h5 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .doc-item-simple {
        padding: 10px 8px;
    }
    
    .doc-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 16px;
    }
    
    .doc-download {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 14px;
    }
    
    .doc-content h6 {
        font-size: 0.85rem;
    }
    
    .doc-content p {
        font-size: 0.7rem;
    }
    
    .doc-size {
        font-size: 0.7rem;
    }
    
    .pricing-comparison-premium {
        padding: 12px 6px;
        margin-top: 15px;
    }
    
    .pricing-header-main h4 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .pricing-header-main p {
        font-size: 0.8rem;
    }
    
    .pricing-cards-grid {
        gap: 15px;
    }
    
    .pricing-card {
        padding: 15px 10px;
    }
    
    .pricing-header {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .pricing-header-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .pricing-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 19px !important;
        margin: 0;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        flex-shrink: 0;
    }
    
    .pricing-icon i {
        font-size: 19px !important;
        line-height: 1;
    }
    
    .pricing-card h5 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .pricing-subtitle {
        font-size: 0.75rem;
    }
    
    .pricing-amount-container {
        margin: 12px 0 18px 0;
    }
    
    .pricing-amount {
        margin-bottom: 2px;
        line-height: 1;
    }
    
    .currency {
        font-size: 1rem;
    }
    
    .price {
        font-size: 2rem;
        line-height: 0.9;
    }
    
    .period {
        font-size: 0.8rem;
    }
    
    .value-proposition {
        margin: 0;
        padding: 0;
        background: none;
    }
    
    .value-proposition p {
        font-size: 0.7rem;
        color: var(--text-secondary);
        margin: 0;
        line-height: 1.2;
    }
    
    .feature-item {
        font-size: 0.75rem;
        padding: 7px 5px;
        gap: 8px;
    }
    
    .feature-item i {
        font-size: 0.85rem;
    }
    
    .savings-highlight {
        font-size: 0.75rem;
        padding: 8px;
        margin: 12px 0;
        gap: 6px;
    }
    
    .btn-premium {
        padding: 10px 12px;
        font-size: 0.85rem;
        width: 100%;
    }
    
    /* Selector Tabs - Solo iconos compactos pero horizontal */
    .selector-tabs {
        padding: 4px;
        display: inline-flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .selector-tabs::before {
        top: 4px;
        bottom: 4px;
        left: 4px;
    }
    
    .selector-tabs.empresarial-active::before {
        right: 4px !important;
    }
    
    .selector-tab {
        padding: 12px 8px;
        min-width: 56px;
        width: 56px;
        border-radius: 8px;
        justify-content: center;
        flex-shrink: 0;
        flex-direction: row;
    }
    
    .selector-tab span {
        display: none;
    }
    
    .selector-tab i {
        font-size: 1.3rem;
        margin: 0;
    }
}

/* ============================================
   FAQ RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .faq-section {
        padding: var(--spacing-3xl) 0;
    }
    
    .faq-container {
        gap: var(--spacing-2xl);
    }
    
    .faq-category {
        padding: var(--spacing-xl);
    }
    
    .faq-category-title {
        font-size: var(--font-size-xl);
        gap: var(--spacing-sm);
    }
    
    .faq-category-title i {
        width: 35px;
        height: 35px;
        font-size: var(--font-size-lg);
    }
    
    .faq-cta {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-2xl);
    }
    
    .faq-cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-cta-content h3 {
        font-size: var(--font-size-xl);
    }
    
    .faq-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .faq-container {
        gap: var(--spacing-xl);
        margin-top: var(--spacing-2xl);
    }
    
    .faq-category {
        padding: var(--spacing-lg);
    }
    
    .faq-category-title {
        font-size: var(--font-size-lg);
        padding-bottom: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }
    
    .faq-question {
        font-size: var(--font-size-base);
        padding: var(--spacing-md) 0;
    }
    
    .faq-answer p {
        font-size: var(--font-size-sm);
        line-height: 1.7;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 0 var(--spacing-md) 0;
    }
}

@media (max-width: 480px) {
    .faq-category {
        padding: var(--spacing-md);
    }
    
    .faq-category-title {
        font-size: 1.1rem;
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 12px 0;
        gap: var(--spacing-sm);
    }
    
    .faq-question i {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        font-size: 0.875rem;
    }
    
    .faq-cta {
        padding: var(--spacing-xl);
    }
    
    .faq-cta-content i {
        font-size: 2rem;
    }
    
    .faq-cta-content h3 {
        font-size: var(--font-size-lg);
    }
    
    .faq-cta-content p {
        font-size: var(--font-size-sm);
    }
    
    .faq-cta .btn {
        padding: 12px var(--spacing-lg);
        font-size: var(--font-size-base);
    }
}
