/* Responsive de tablets*/
@media screen and (max-width: 968px) {
    
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    
    .nosotros {
        padding-top: 120px;
    }
    
    .nosotros-content {
        grid-template-columns: 1fr;
    }
    
    .nosotros-image {
        order: -1;
    }
    
    .image-placeholder {
        width: 100%;
        height: 300px;
    }
    
    
    .valores {
        grid-template-columns: repeat(3, 1fr);
    }
    
    
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    
    .contacto-content {
        grid-template-columns: 1fr;
    }
    
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
}

/* Responsive moviles*/
@media screen and (max-width: 768px) {
    
    
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    
    .hero {
        height: 70vh; 
        min-height: 450px;
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 3rem; 
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    
    .nosotros {
        padding-top: 110px; 
    }
    
    .image-placeholder {
        height: 250px;
    }
    
    .image-placeholder i {
        font-size: 5rem;
    }
    
    
    .valores {
        grid-template-columns: 1fr;
    }
    
    
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    
    .social-links {
        justify-content: center;
    }
}

/* Responsive móvil pequeño */
@media screen and (max-width: 480px) {
    
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo .tagline {
        font-size: 0.65rem;
    }
    
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    
    .section-title {
        font-size: 1.75rem;
    }
    
    
    .nosotros {
        padding-top: 100px; 
    }
    
    .nosotros-text h3 {
        font-size: 1.5rem;
    }
    
    .nosotros-img {
        max-width: 100%;
        border-radius: 15px;
    }
    
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    
    .contacto-form-container {
        padding: var(--spacing-sm);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
    }
    
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 50px;
    }
}


@media screen and (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}


.show-mobile {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .show-mobile {
        display: block !important;
    }
}


@media print {
    .header,
    .scroll-top,
    .menu-toggle {
        display: none;
    }
    
    .hero {
        margin-top: 0;
        page-break-after: always;
    }
}