/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
}

/* CONTENEDORES */
.container,
.container2 {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* HERO */
.hero {
  background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
              url("images/bannerhome.png") center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
}

/* INFO EMPRESA */
.info-empresa,
.info-empresa2 {
  padding: 40px 0;
}

.info-grid,
.info-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.info-texto h2,
.info-texto2 h2 {
  color: #c00000;
  font-size: 35px;
}

.info-texto h3,
.info-texto2 h3 {
  font-size: 30px;
}

.info-texto p,
.info-texto2 p {
  font-size: 20px;
}

.info-imagen img,
.info-imagen2 img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 8px;
}

/* INVERTIR COLUMNAS */
.info-empresa2.reverse .info-texto2 {
  grid-column: 2;
}
.info-empresa2.reverse .info-imagen2 {
  grid-column: 1;
}

/* BENEFICIOS */
.beneficios h2 {
  text-align: center;
  color: #c00000;
  font-size: 40px;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.beneficio {
  background: #f5f5f5;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
}

.beneficio img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
}

/* PRODUCTOS */
.productos {
  padding: 40px 0 20px;
}

.productos h2 {
  font-size: 35px;
  text-align: center;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-top: 45px;
}

.productos-gridS {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-top: 45px;
}

.producto img,
.productoS img {
  width: 100%;
  border-radius: 8px;
}

.producto h3,
.productoS h3 {
  margin-top: 15px;
  color: #c00000;
  text-align: center;
}

.producto p,
.productoS p {
  margin-top: 10px;
  color: #536267;
  text-align: center;
  font-size: 14px;
}

/* UBICACIONES */
.ubicaciones h2 {
  text-align: center;
  color: #c00000;
  font-size: 35px;
}

.ubicaciones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.ubicacion-item {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.sector {
  color: #c00000;
  font-weight: bold;
}

/* MARCAS */
.marcas h2 {
  text-align: center;
  font-size: 40px;
}

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 20px;
}

.marca {
  text-align: center;
}

.marca img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

/* CONTACTO */
.contacto {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.contacto h2 {
  font-size: 35px;
}

.contacto p {
  font-size: 20px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #f1f1f1;
}

/* =========================
   RESPONSIVE CELULAR
   ========================= */
@media (max-width: 768px) {

  .hero {
    height: auto;
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 23px;
  }

  .hero p {
    font-size: 16px;
  }

  .info-grid,
  .info-grid2,
  .beneficios-grid,
  .productos-grid,
  .productos-gridS,
  .ubicaciones-grid,
  .marcas-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .info-texto,
  .info-texto2 {
    text-align: center;
  }

  .info-texto h2,
  .info-texto2 h2 {
    font-size: 26px;
  }

  .info-texto h3,
  .info-texto2 h3 {
    font-size: 22px;
  }

  .info-texto p,
  .info-texto2 p {
    font-size: 16px;
  }

  .info-imagen img,
  .info-imagen2 img {
    height: auto;
    max-height: 260px;
  }

  .beneficios h2,
  .productos h2,
  .ubicaciones h2,
  .marcas h2,
  .contacto h2 {
    font-size: 28px;
  }

  .producto p,
  .productoS p {
    max-width: 90%;
    margin: 10px auto 0;
  }
}


/* AJUSTE FINO – ESPECIALIDADES EN CELULAR */
@media (max-width: 768px) {

  .info-grid2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-imagen2 {
    order: 2;
    width: 100%;
    margin-bottom: 20px;
  }

  .info-imagen2 img {
    width: 100%;
    max-width: 320px;   /* evita que se vea gigante */
    height: auto;
    margin: 0 auto;
  }

  .info-texto2 {
    order: 1;
    width: 100%;
  }

  .info-texto2 p {
    font-size: 16px;
    line-height: 1.5;
  }

  .info-texto2 h2 {
    font-size: 26px;
  }

  .info-texto2 h3 {
    font-size: 22px;
  }
}



/* CONTACTO – AJUSTE RESPONSIVE CELULAR */
@media (max-width: 768px) {

  .contacto {
    padding: 50px 15px;
  }

  .contacto h2 {
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .contacto p {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .contacto .btn-whatsapp {
    width: 100%;
    max-width: 320px;
    margin: 15px auto;
    display: block;
    text-align: center;
    padding: 16px 0;
    font-size: 16px;
  }
}


