/* Responsive version for Grupo Sete landing page */

:root {
  --bg: #050505;
  --panel: rgba(255,255,255,0.04);
  --text: #f7f7f7;
  --muted: #cfcfcf;
  --accent: #f1c40f;
  --border: rgba(255,255,255,0.12);
}

@media (max-width: 1200px) {
  .hero {
    min-height: 72vh;
    padding: 3rem 1.5rem 2.5rem;
    
  }

  section.stats {
    display: flex;
    flex-wrap: wrap; 
    width: min(95%, 1200px);
    padding: 0.6rem;
  }

  .panel,
  .unete,
  .footer,
  .seccion-logistica {
    width: min(95%, 1200px);
  }
  

  .logo img {
    width: 65%;
  }
}

@media (max-width: 1024px) {
  header {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .nav ul {
    gap: 0.8rem;
  }

  .nav ul li a {
    font-size: 0.72rem;
  }

  section.stats {
    flex-wrap: wrap;
    display: flex;
  }

  .statsdivs {
    flex: 1 1 45%;
    max-width: none;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .statsdivs:last-child {
    border-bottom: none;
  }

  .statsdivs.text{
    font-size: 0.75rem;
  }

  .empresas-logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .empresasdivs {
    flex: 1 1 20%;
  }

  .servicios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transporte-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seccion-logistica {
    flex-direction: column;
    gap: 1rem;
  }

  .seccion-logistica .bloque {
    height: 320px;
  }

  .unete {
    flex-wrap: wrap;
  }

  .unete-foto {
    flex: 0 0 100%;
    max-height: 240px;
  }

  .unete-info,
  .unete-cta {
    flex: 1 1 100%;
    border: none;
    margin-top: 15%;
  }

  .beneficios {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .beneficio {
    border-right: none;
  }

  .footer {
    flex-wrap: wrap;
    gap: 1rem 0;
  }

  .footer > div {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 0 0 1rem;
  }

  .footer > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  header {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .logo img {
    width: 45%;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    order: 3;
    padding-top: 0.8rem;
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .cta {
    display: flex;
    width: 100%;
    justify-content: center;
    order: 3;
    margin-top: 0.6rem;
  }

  .cta button {
    width: auto;
    min-width: 180px;
    padding: 0.7rem 1rem;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 70vh;
    padding: 3rem 1rem 2rem;
    background-position: center;
  }

  .herotext h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  section.stats {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem auto 1.2rem;
    flex-direction: column;
  }

  .statsdivs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  min-height: 100px;
  flex: 1 1 auto;
  }
  .statsdivs.text {
  width: 100%;             /* ocupa todo el ancho */
  max-width: 100%;         /* sin límite */
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  padding-inline: 1.2rem;
  color: #fff;             /* texto blanco */
  white-space: normal;     /* permite saltos de línea */
  overflow-wrap: break-word; /* rompe palabras largas */
}

  .panel {
    padding: 1.2rem;
    margin: 1.2rem auto;
  }

  .servicios-grid,
  .transporte-grid {
    grid-template-columns: 1fr;
  }

  .transporte-card {
    align-items: center;
    text-align: center;
  }

  .transporte-card img {
    width: 100%;
    max-width: 180px;
    height: 140px;
    object-fit: contain;
    object-position: center;
    padding: 0.6rem 0 0;
    margin: 0 auto;
  }

  .servicios-extra {
    justify-content: flex-start;
    gap: 0.9rem 1.2rem;
  }

  .seccion-logistica .bloque {
    height: auto;
    min-height: 390px;
  }

  .bloque-overlay {
    padding: 0.9rem;
  }

  .seccion-logistica h2 {
    font-size: 0.95rem;
  }

  .seccion-logistica p,
  .seccion-logistica li {
    font-size: 0.75rem;
  }

  .unete {
    padding: 0;
  }

  .unete-info,
  .unete-cta {
    padding: 1.2rem;
  }

  .unete-info h2 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
  }

  .beneficios {
    flex-direction: column;
    align-items: flex-start;
  }

  .beneficio {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 0;
  }

  .footer {
    padding: 1.2rem 0 1.5rem;
  }

  .footer-logo img {
    width: 20%;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 64vh;
    padding: 2.2rem 0.9rem 1.6rem;
  }

  .herotext p {
    font-size: 0.95rem;
  }

  .ctauno button,
  .ctados button,
  .unete-cta button {
    width: 100%;
  }

  .empresasdivs {
    flex: 1 1 100%;
  }

  .servicio-card,
  .transporte-card {
    padding: 1.2rem 1rem;
  }

  .bloque-overlay {
    justify-content: flex-end;
  }

  .footer-logo img {
    width: 32%;
  }
}
