/*
 * Author: Pyrukent
 * gresaax/assets/css/responsive.css
 * Proyecto GRESAAX S.A. DE C.V.
 * Versión: 1.0
 */

/* ESCRITORIO GRANDE */
@media (min-width: 993px) {
  .logo-img {
    height: 150px;
  }
}

/* TABLET */
@media (max-width: 992px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .logo-img {
    height: 60px;
  }
  
  .hero-content {
    padding: 0 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* MÓVIL */
@media (max-width: 768px) {
  .logo-img {
    height: 50px;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hamburger {
    display: flex;
    z-index: 1001;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero {
    text-align: center;
    padding: 120px 0 80px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  
  .hero-buttons {
    justify-content: center;
    align-items: center;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1rem;
  }
  
  .stat .number {
    font-size: 1.5rem;
  }
  
  .about h2,
  .products h2,
  .services h2,
  .contact h2 {
    font-size: 2rem;
  }
  
  .product-categories {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-group {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-text {
    text-align: center;
  }
}

/* MÓVIL PEQUEÑO */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav-container {
    padding: 1rem;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .about,
  .products,
  .services,
  .contact {
    padding: 3rem 0;
  }
  
  .value-box,
  .service-card {
    padding: 1.5rem;
  }
  
  .product-categories {
    justify-content: center;
  }
}