/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets y dispositivos medianos */
@media screen and (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-image-wrapper {
        height: 400px;
    }

    .hero-stats {
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .products-full-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }
}

/* Móviles grandes */
@media screen and (max-width: 768px) {
    /* Navegación móvil */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: 2rem;
        transition: var(--transition-normal);
        flex-direction: column;
        align-items: flex-start;
        z-index: 1001;
    }

    .nav-menu.show {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        margin-top: 2rem;
    }

    .nav-link {
        font-size: 1.125rem;
        width: 100%;
        padding: 0.5rem 0;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2rem;
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-dark);
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        width: 30px;
    }

    .nav-toggle span {
        width: 100%;
        height: 3px;
        background: var(--text-dark);
        border-radius: 3px;
        transition: var(--transition-fast);
    }

    /* Hero */
    .hero {
        padding: 110px 0 50px;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-image-wrapper {
        height: 300px;
    }

    .floating-card {
        padding: 0.75rem 1rem;
    }

    .card-text {
        font-size: 0.75rem;
    }

    /* Secciones */
    .benefits,
    .featured-products,
    .products-section,
    .cta-section,
    .faq-section {
        padding: 3rem 0;
    }

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

    .section-description {
        font-size: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .products-full-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    /* Página */
    .page-header {
        padding: 110px 0 40px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    /* Filtros */
    .filters-section {
        padding: 1rem 0;
    }

    .filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    /* Garantía */
    .guarantee-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Móviles pequeños */
@media screen and (max-width: 480px) {
    :root {
        --font-size-base: 14px;
    }

    .container {
        padding: 0 1rem;
    }

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

    .hero-tag,
    .section-tag {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

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

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

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

    .benefit-card,
    .product-card,
    .faq-item {
        padding: 1.5rem;
    }

    .product-image {
        height: 200px;
        font-size: 4rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .guarantee-icon {
        font-size: 2.5rem;
    }

    .floating-card {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .card-icon {
        font-size: 1.25rem;
    }
}

/* Landscape móviles */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 110px 0 40px;
    }

    .hero-image-wrapper {
        height: 250px;
    }

    .hero-stats {
        flex-direction: row;
    }
}

/* Accesibilidad y preferencias de usuario */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Tema oscuro (si el usuario lo prefiere) */
@media (prefers-color-scheme: dark) {
    /* Puedes agregar estilos para modo oscuro aquí si lo deseas */
}

/* Print styles */
@media print {
    .header,
    .nav-toggle,
    .hero-buttons,
    .cta-section,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .hero,
    .benefits,
    .featured-products,
    .products-section {
        padding: 1rem 0;
    }
}