@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fondo del navbar */
.navbar {
  background-color: #ffffff;
  width: 100%;
  /*position: sticky; */
  top: 0;
  z-index: 1000;
}

/* Contenedor general */
.nav-container {
  display: flex;
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 15px;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 150px;
  padding: 60px 40px;
}

/* Listas */
.nav-left,
.nav-right {
  display: flex;
  list-style: none;
  gap: 20px;
}

/* Enlaces */
.nav-left a,
.nav-right a {
  text-decoration: none;
  color: #000;
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-left a:hover,
.nav-right a:hover {
  color: #f1c40f; /* amarillo hover */
}

/* Logo centrado */
.nav-logo img {
  height: 40px;
  width: 300px;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-left,
  .nav-right {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-logo img {
    height: 40px;
  }
}

img {
  width: 300px; /* ajusta el tamaño */
  border-radius: 10px; /* bordes redondeados */
}

/*   HERO SECTION   */

.hero-section {
  background: url('img/Fondo1.png') no-repeat center center;
  background-size: cover;
  height: 120vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content{
  width: 85%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  color: white;
  max-width: 45%;
  margin-left: 210px;
}

.hero-text h1 {
  font-size: 78px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-family: 'Roboto Flex', Helvetica, Arial, Lucida, sans-serif;
}

.btn-discover {
  display: inline-block;
  background-color: #ffeb00;
  color: black;
  padding: 20px 50px;
  margin-top: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: background-color 0.3s;
}

.btn-discover:hover {
  background-color: #e6d700;
}

.hero-image img {
  width: 550px;
  max-width: 100%;
}

/*  INFO SECTION   */

.MiniLogo{
  width: 70px;
  height: 70px;
  margin-bottom: 15px; /* espacio entre el logo y el texto */
}

.info-section, .about-info, .range, .galeriaT{
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra horizontalmente */
  align-items: center;     /* centra verticalmente */
  height: 300px;  
}

.info-section h1, .about-info h1, .range h1, .galeriaT h1, .about-products h1 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
  margin-bottom: 10px;
  font-size: 14px;
}

.info-section h2{
  font-size: 50px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
}

/* Este es para editar el primer titulo del about */

.about-info h2, .galeriaT h2, .about-products h2 {
  font-size:50px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  text-align: center;
}

/* Este es para editar el parte del range */

.range h2 {
  font-size:50px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  text-align: center;
}

.range p {
  font-size: 20px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
  text-align: center;
  margin-top: 30px;
}

.cartridge-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  padding: 60px 100px;
  flex-wrap: wrap; /* para que se acomode en pantallas pequeñas */
}

.cartridge-card {
  flex: 1;
  max-width: 500px;
  padding: 40px 30px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cartridge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.cartridge-card.light {
  background-color: #fff;
  color: #333;
}

.cartridge-card.dark {
  background-color: #333;
  color: #fff;
}

.cartridge-icon {
  width: 60px;
  margin-bottom: 20px;
}

.cartridge-card h3 {
  font-family: 'DM Sans', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 20px;
}

.cartridge-card p {
  font-family: 'DM Sans', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

/*  SECTION ONE    */

.section-one{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  gap: 50px;
  background-color: white;
}

.section-text {
  flex: 1;
  font-family: 'Roboto', sans-serif;
  color: #222;
  line-height: 1.7;
  font-size: 18px;
}

.section-text h2 {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 700;
}

.img-one {
  flex: 1;
  text-align: right;
  position: relative;
  margin-left: 40px;
}

.background-img {
  width: 100%;
  max-width: 600px;
  z-index: 2;
  position: relative;
  border-radius: 0;
}

.products-img {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translateX(-220%);
  width: 160px; /* ajústalo hasta que se vea igual al original */
  z-index: 3; /* sobre la imagen principal */
}

/* Franja amarilla detrás de la parte superior de la imagen */
.img-one::before {
  content: "";
  position: absolute;
  top: -20px; /* posición hacia arriba */
  right: 100px; /* sobresale un poco hacia la derecha */
  width: 40%;
  height: 25px;
  background-color: #ffeb00;
  transform: skew(-25deg);
  z-index: 1; /* detrás de la imagen */
}

/* Segunda franja amarilla en la parte inferior derecha */
.img-one::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: 280px;
  width: 40%;
  height: 25px;
  background-color: #ffeb00;
  transform: skew(-25deg);
  z-index: 1;
}

/* PARA EDITAR INFO-PRODUCT*/

.info-product {
  padding: 60px 0;
  text-align: center;
  margin-bottom: 120px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.generation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.generation-text {
  max-width: 550px;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
}

.generation-img img {
  max-width: 520px;
  width: 100%;
}

.generation-btn {
  margin-top: 80px;
}

.btn-yellow {
  padding: 30px 50px;
  background-color: #f5df00;
  color: black;
  font-size: 20px;
  font-weight: 300;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-yellow:hover {
  background-color: #e0cb00;
}

/*  PARA EDITAR DONDE VA EL VIDEO Y FACEBOOK  */

.whats-new {
  background: url('img/Fondostem.png') no-repeat center;
  background-size: cover;
  padding: 120px 150px;
  color: white;
}

.whats-new h3 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #c4c4c4;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.whats-new h1 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 50px;
  color: #FFFFFF;
  line-height: 1.2em;
}

.content-box {
  display: flex;
  /*justify-content: space-between;
  align-items: flex-start;*/
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 30px;
}

/* VIDEO */
.video-container iframe {
  width: 1050px;
  max-width: 100%;
  height: 500px;
}

/* CAJA FACEBOOK */
.facebook-wrapper {
  width: 380px;
}

.fb-header-img {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

/* Borde gris como el original */
.fb-box {
  padding: 10px;
  background: #000;
  border-radius: 0 0 8px 8px;
}

/* BOTÓN AL CENTRO */
.btn-container {
  margin-top: 40px;
  text-align: left;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.yellow-btn {
  padding: 30px 50px;
  background-color: #f5df00;
  color: black;
  font-size: 20px;
  font-weight: 300;
  text-decoration: none;
  transition: 0.2s ease;
}

.yellow-btn:hover {
  background: #e0cb00;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .content-box {
      flex-direction: column;
      align-items: center;
    }

    .facebook-wrapper {
      width: 100%;
      max-width: 380px;
    }

    .btn-container {
      text-align: center;
    }
}

/* PARA EDITAR LA SECCION TRAINING PAG 1 */

.training {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra horizontalmente */
  align-items: center;     /* centra verticalmente */
  height: 600px;
}

.training h1 {
  font-size: 15px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
  margin-bottom: 10px;
}

.training h2 {
  font-size:50px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  text-align: center;
}

.training p {
  font-size: 20px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
  text-align: center;
  margin-top: 30px;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 40px auto;
  max-width: 1200px;
  gap: 0;
}

.training-item {
  position: relative;
  padding: 40px;
  border: 1px solid #ededed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

/* Fondo gris diagonal */
.training-item::before {
  content: "";
  position: absolute;
  top: 52%;
  left: 5.3%;
  width: 120px;
  height: 120px;
  background: #f2f2f2;
  transform: skewX(-20deg);
  z-index: 0;
}

.training-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  z-index: 2;
  position: relative;
}

.training-icon {
  width: 70px;
  z-index: 2;
  position: relative;
  margin-top: 20px;
}

/* ---- ULTIMA TARJETA (BOTÓN) SIN FONDO ---- */
.training-item.no-bg::before {
  display: none;
}

.signup-btn {
  border: none;
  color: #000;
  font-size: 18px;
  padding: 15px 25px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: bold;
  width: fit-content;
  margin: auto;
  transition: 0.2s;
  text-decoration: none;
}

.signup-btn:hover {
  transform: scale(1.05);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .training-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .training-grid {
    grid-template-columns: 1fr;
  }
}

/* PARA LA SECCION PAG 1 NOMBRE SUSTAIN */

.sustain {
  display: flex;
  justify-content: space-between;
  padding: 80px 10%;
  gap: 50px;
}

.sustain-text {
  flex: 1; /* Toma la mitad derecha */
}

.sustain-text h1 {
  font-size: 14px;
  color: #444;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.sustain-text h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.sustain-text p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.sustain-img {
  flex: 1; 
  position: relative;
}

.sustain-img img {
  width: 90%;
  height: 100%;
  object-fit: cover;
  border-radius: 0
}

.sustain-img::before {
  content: "";
  position: absolute;
  top: -24.2px; /* posición hacia arriba */
  right: 80px; /* sobresale un poco hacia la derecha */
  width: 40%;
  height: 25px;
  background-color: #ffeb00;
  transform: skew(-25deg);
  z-index: 1;
}

/* BARRA AMARILLA ABAJO */
.sustain-img::after {
  content: "";
  position: absolute;
  bottom: -25px;
  right: 280px;
  width: 40%;
  height: 25px;
  background-color: #ffeb00;
  transform: skew(-25deg);
  z-index: 1;
}

/* PARA EDITAR SECCION PAG 1 ADVANTAGE*/

.advantage {
  background: url('img/Fondostem.png') no-repeat center;
  background-size: cover;
  padding: 80px 20px;
  color: white;
  text-align: center;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

/* Contenedor de títulos */
.advantages-container h3 {
  font-size: 18px;
  letter-spacing: 2px;
  color: #ccc;
}

.advantages-container h1 {
  font-size: 40px;
  margin-bottom: 60px;
  font-weight: 700;
}

.adv {
  text-align: center;
  max-width: 350px;
  margin: auto;
}

/* GRID general */
.advantage .advantages-container {
  max-width: 1300px;
  margin: auto;
}

.advantage .advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas arriba */
  gap: 60px;
  justify-items: center;
}

/* Iconos */
.adv img {
  width: 100px;
  margin-bottom: 20px;
}

/* Títulos */
.adv h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: white;
}

/* Textos */
.adv p {
  color: #ccc;
  line-height: 1.6;
  font-size: 15px;
}

/* Footer Section */

.footer {
  background-color: #f5f5f5;
  color: #000;
  padding: 60px 10%;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 350px;
  margin-bottom: 20px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 15px;
}

.contact-info i {
  color: #000; /* Amarillo estilo AutoStem */
  font-size: 18px;
  width: 20px; /* mantiene los íconos alineados */
  text-align: center;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
}

.contact-info a:hover {
  color: #ffcc00;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 18px; 
}

.footer-links a {
  font-size: 1.3em;
  color: #000;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffcc00;
}

.social-icons {
  display: flex;
  gap: 15px; /* Espacio entre íconos */
  margin-top: 20px;
}

.social-icons a {
  text-decoration: none;
  color: white; /* Cambia según el fondo */
  font-size: 15px; /* Tamaño de los íconos */
  background-color: #000; /* Fondo circular */
  width: 33px;
  height: 33px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #ffcc00; /* Amarillo al pasar el mouse */
  color: black;
  transform: scale(1.1);
}

.contact-btn {
  background-color: #ffea00;
  border: none;
  width: 50%;
  font-size: 15px;
  padding: 20px ;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
}

.contact-btn:hover {
  background-color: #ffe000;
}

.subscribe-form input {
  width: 100%;
  padding: 20px;
  border: none;
  margin-bottom: 10px;
  border-radius: 4px;
}

.subscribe-form button {
  width: 50%;
  padding: 20px;
  font-size: 15px;
  background-color: #ffea00;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.subscribe-form button:hover {
  background-color: #ffe000;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}


/*  ABOUT SECTION & PRODUCTS SECTION  */

.about-section, .prod-section, .contactUs, .galeria, .colab, .news, .cap, .tec {
  background: url('img/AboutF.png') no-repeat center center;
  background-size: cover;
  height: 35vh;
  margin-bottom: 60px;
}

.about-section-p, .prod-p, .contactUs-p, .galeria-p, .colab p, .news p, .cap p, .tec p{
  color: #fff;
  text-align: center;
  font-size: 70px;
  padding-top: 90px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;;
  font-weight: 700;
}

.about-text{
  font-size: 18px;
  font-family: 'Roboto Flex', Helvetica, Arial, Lucida, sans-serif;
  color:#444444;
  padding-left: 100px;
  padding-right: 80px;
  margin-bottom: 150px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-image-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap; /* para que sea responsive */
}

.about-image img {
  width: 100%;
  height: 680px;
  max-width: 570px;
  object-fit: cover;
}

.about-side-text {
  flex: 1;
  max-width: 800px;
}

.about-side-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #444444;
}

.our-story, .support {
  background: url('img/Fondostem.png') no-repeat center center;
  background-size: cover;
  padding: 100px 80px;
}

.our-story h1, .support h1 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #c4c4c4;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.our-story h2, .support h2{
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 50px;
  color: #FFFFFF;
  line-height: 1.2em;
}

.our-story p, .support p {
  color: #FFFFFF;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6em;
  max-width: 1200px;
  margin-bottom: 60px;
}

.container-about {
  display: flex;
  justify-content: left;
  gap: 30px;
  flex-wrap: wrap;
}

.card-about {
  width: 380px;
  min-height: 500px;
  border: 1px solid #c4c4c4;
  transition: 0.3s ease;
  padding: 30px;
}

.card-about h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #e6d700;
}

.card-about p {
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1.6em;
}

/* PARA EDITAR PRODUCTS */

.products {
  height: auto;
  text-align: center;
  padding: 40px 0;
}

.products h2 {
  font-size: 25px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
  text-align: center;
  margin-top: 20px;
}

.products p {
  font-size: 20px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
  text-align: center;
  margin-top: 30px;
}


.product-cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.cardA {
  width: 400px;
  background: white;
  border: 1px solid #c4c4c4;
  padding: 25px;
  transition: 0.3s ease;
  margin-top: 30px;
  text-align: left;
}

.cardA:hover, .cardB:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cardA h3, .cardB h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #444;
}

.cardA h1, .cardB h1 {
  font-size: 60px;
  margin: 5px 0 20px;
  font-weight: 700;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.cardA h1 span, .cardB h1 span{
  font-size: 16px;
  color: #555;
}

.cardA ul, .cardB ul{
  padding-left: 20px;
  margin-bottom: 20px;
  color: #444;
  font-size: 17px;
  line-height: 1.6;
  font-family: 'Roboto Flex', Helvetica, Arial, Lucida, sans-serif;
}

.cardA img, .cardB img{
  width: 100%;
  margin-top: 10px;
}

.cardB {
  width: 614px;
  background: white;
  border: 1px solid #c4c4c4;
  padding: 25px;
  transition: 0.3s ease;
  margin-top: 30px;
  text-align: left;
}
/*  PARA EDITAR VIDEOS DE GALERIA*/
.video-galeria {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 40px 0;
  margin-bottom: 180px;
}

.video-card {
  text-align: center;
  width: 80%;
  max-width: 400px;
}

.video-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 100;
}

.video-card iframe {
  width: 100%;
  height: 230px;
}

/* AQUI SE EDITA LA PAG COLABORACIONES */

.colab-title {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra horizontalmente */
  height: 200px;
  padding: 160px; 
}

.colab-title h1 {
  font-size: 17px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
}

.colab-title h2 {
  font-size:50px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
}

.colab-text {
  display: flex;
  justify-content: space-between;
  padding: 80px 10%;
  gap: 30px;
  margin-top: -100px;
}

.img-mapa {
  flex: 1;
}

.img-mapa img {
  width: 600px;
  height: 350px;
}

.colab-set {
  flex: 1;
}

.colab-set p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  padding-bottom: 30px;
}

.colab-fin {
  text-align: center;
  margin-bottom: 100px;
}

.colab-fin p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

/* PARA EDITAR PAG CONTACTANOS */

.contactanos {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra horizontalmente */
  height: 200px;
  padding: 120px;
}

.contactanos h1 {
  font-size: 17px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
}

.contactanos h2 {
  font-size:50px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
}

.contact-section {
  padding: 50px 5%;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 60px;
}

.contact-form {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 18px;
  border: 1px solid #ccc;
  font-size: 16px;
  outline: none;
  font-family: Arial;
}

.row-2 {
  display: flex;
  gap: 20px;
}

.row-2 input {
  width: 50%;
}

.yellow-border {
  border: 2px solid #ffea00;
}

.contact-form textarea {
  height: 180px;
  resize: none;
}

.send-btn {
  width: 200px;
  padding: 18px 0;
  background: #ffea00;
  border: 2px solid #000;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
}

.contact-image img {
  width: 400px;
  object-fit: contain;
}

/* PARA EDITAR LA PARTE DEL ABOUT-PRODUCTS*/

.about-products {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra horizontalmente */
  align-items: center;     /* centra verticalmente */
  height: 400px; 
}

.about-products p {
  font-size: 18px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
  margin-top: 30px;
  padding-left: 100px;
  padding-right: 80px;
}

.specs {
  padding-left: 100px;
  padding-right: 80px;
  height: 550px;
}

.specs h2 {
  text-align: left;
  font-size: 28px;
  margin-bottom: 40px;
}

.specs-text p {
  font-size: 18px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
  margin-top: 100px;
}

.specs-container {
  display: flex;
  align-items: center;
  gap: 200px;
  flex-wrap: wrap;
  margin-top: 180px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 350px;
}

.spec-item img {
  width: 120px;
}

.spec-item p {
  font-weight: 700;
  font-size: 18px;
}

.triangle {
  width: 430px; /* Ajusta el tamaño del símbolo */
}

/* PARA EDITAR EL VALUE DE PAG ABOUT*/

.value {
  background: url('img/Fondostem.png') no-repeat center center;
  background-size: cover;
  padding: 110px 80px;
}

.value h1 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #444444;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.value h2 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 50px;
  color: #FFFFFF;
  line-height: 1.2em;
}

.value p {
  color: #FFFFFF;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6em;
  max-width: 1200px;
  margin-bottom: 30px;
}

/* PARA EDITAR INTER */

.inter {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra horizontalmente */
  align-items: center;
  height: 400px;
}

.inter h1 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #444444;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.inter h2 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 50px;
  color: #000;
  line-height: 1.2em;
}

.inter p {
  color: #000;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6em;
  max-width: 1200px;
  margin-top: 60px;
  margin-bottom: 30px;
}

.inter-p {
  padding: 40px 0;
}

.inter-p p {
  color: #000;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6em;
  margin-top: 60px;
  margin-bottom: 30px;
  padding-left: 161px;
  padding-right: 150px;
}

.inter-p h3 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #000;
  margin-bottom: 40px;
  padding-left: 161px;
}

/* Contenedor de las imágenes */
.inter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cada logo */
.inter-img img {
  width: 250px; /* ajustable según tus logos */
  height: 200px;
  object-fit: contain;
}

/* PARA EDITAR TODA LA PAG NEWS*/

.news-text {
  padding: 100px 80px;
}

.news-text h1, .hardware h1 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 100;
  font-size: 16px;
  color: #000;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.news-text h2, .hardware h2 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 50px;
  color: #000;
  line-height: 1.2em;
}

.news-text p {
  color: #000;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6em;
  margin-bottom: 30px;
  margin-top: 30px;
}

.hardware {
  padding: 10px 80px;
}

.hardware-list {
  list-style-type: disc; /* círculo sólido */
  margin-left: 20px;     /* separación hacia la derecha */
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 80px;
  margin-top: 50px;
}

.new-contact {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra horizontalmente */
  height: 200px;
  padding: 80px;
  margin-bottom: -40px;
}

.new-contact h1 {
  font-size: 17px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
}

.new-contact h2 {
  font-size:50px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
}

.new-section {
  padding: 50px 5%;
}

.new-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 60px;
}

.new-form {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.new-form input,
.new-form select,
.new-form textarea {
  width: 100%;
  padding: 18px;
  border: 1px solid #ccc;
  font-size: 16px;
  outline: none;
  font-family: Arial;
}

.train-supp, .tec-comp {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra horizontalmente */
  align-items: center;     /* centra verticalmente */
  margin-top: 30px;
}

.train-supp h1, .tec-comp h1 {
  font-size: 15px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
  margin-bottom: 10px;
}

.train-supp h2, .tec-comp h2 {
  font-size:50px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  text-align: center;
}

.train-supp p, .tec-comp p {
  font-size: 18px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
  margin-top: 50px;
  padding-left: 100px;
  padding-right: 80px;
  line-height: 1.5em;
}

.train-desc {
  padding-left: 100px;
  padding-right: 80px;
  height: 600px;
}

.train-desc h2 {
  text-align: left;
  font-size: 28px;
  margin-top: 60px;
  margin-bottom: 40px;
}

.train-desc p{
  font-size: 18px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #444444;
  line-height: 1.5em;
  margin-bottom: 40px;
}

.train-container {
  display: flex;
  align-items: center;
  gap: 90px;
  flex-wrap: wrap;
  max-width: 1200px;
}

.train-item {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 350px;
  flex: 1 1 calc(33.33% - 200px);
}

.train-item img {
  width: 80px;
}

.train-item p {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: -10px;
}

.support {
  background: url('img/Fondostem.png') no-repeat center center;
  background-size: cover;
  padding-left: 100px;
  padding-right: 80px;
}

.support h1 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #c4c4c4;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.support h2{
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 50px;
  color: #FFFFFF;
  line-height: 1.2em;
}

.support p {
  color: #FFFFFF;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6em;
  max-width: 1200px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.support h3 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #FFFFFF;
}

.support-list {
  list-style-type: disc; /* círculo sólido */
  margin-left: 20px;     /* separación hacia la derecha */
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 80px;
  margin-top: 30px;
  color: #FFFFFF;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.inspector {
  display: flex;
  justify-content: space-between;
  padding: 80px 10%;
  gap: 50px;
}

.inspector-text {
  flex: 1; /* Toma la mitad derecha */
}

.inspector-text h1 {
  font-size:50px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
}

.inspector-text p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  margin-top: 30px;
  margin-bottom: 30px;
}

.inspector-img {
  flex: 1; 
  position: relative;
}

.inspector-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0
}

.video-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.video-wrapper video {
  width: 1200px;
  height: 600px;
}

.explosives-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 60px 80px;
  flex-wrap: wrap;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.card {
  width: 620px;
  padding: 40px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.card h2 {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 26px;
}

.card .icon {
  display: block;
  margin: 0 auto;
  width: 60px;
}

.card h3 {
  margin-top: 25px;
  font-size: 18px;
  text-align: center;
}

.card p {
  text-align: center;
  font-size: 16px;
  color: #333;
  margin-top: 10px;
}

.card hr {
  margin: 25px auto;
  width: 70%;
  border: none;
  border-top: 1px solid #bbb;
}

/* Blanca */
.high-explosive {
  background: #ffffff;
}

/* Negra */
.low-explosive {
  background: #1f1f1f;
  color: #ffffff;
}

.low-explosive p,
.low-explosive h3,
.low-explosive hr {
  color: #f1f1f1;
  border-color: #666;
}

.tec-desc {
  display: flex;
  justify-content: space-between;
  padding: 80px 10%;
  gap: 50px;
}

.tec-text {
  flex: 1; /* Toma la mitad derecha */
}

.tec-text h1 {
  font-size: 14px;
  color: #444;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.tec-text h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.tec-text p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  margin-bottom: 30px;
}

.tec-img {
  flex: 1; 
  position: relative;
}

.tec-img img {
  width: 90%;
  height: 100%;
  object-fit: cover;
  border-radius: 0
}

.powder {
  background: url('img/Fondostem.png') no-repeat center center;
  background-size: cover;
  padding-left: 100px;
  padding-right: 80px;
  padding-top: 80px;
  padding-bottom: 30px;
}

.powder h1 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #c4c4c4;
  letter-spacing: 2px;
  margin-bottom: 10px;
  margin-top: 80px;
}

.powder h2{
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  font-size: 45px;
  color: #FFFFFF;
  line-height: 1.2em;
}

.powder p {
  color: #FFFFFF;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6em;
  max-width: 1200px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.powder img {
  width: 90%;
}

.particle {
  padding-left: 100px;
  padding-right: 80px;
  height: 600px;
  
}

.particle-container {
  display: flex;
  align-items: flex-start; /* ← IMPORTANTE */
  gap: 90px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-top: 100px;
}

.particle-item {
 display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 350px;
  min-height: 420px; /* ← IGUALA ALTURAS */
  flex: 1 1 calc(33.33% - 200px);
}

.particle-item img {
  width: 150px;
}

.particle-item p {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  line-height: 1.6em;
}

.particle-item h2 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  font-size: 22px;
}

.formula {
  display: flex;
  padding-left: 100px;
  padding-right: 80px;
}

.formula-img {
  flex: 1;
}

.formula-img img {
  width: 600px;
  border-radius: 0;
}

.formula-text {
  flex: 1;
}

.formula-list {
  list-style-type: disc; /* círculo sólido */
  margin-left: 20px;     /* separación hacia la derecha */
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 80px;
  margin-top: 40px;
  color: #444;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}

.table{
  padding-left: 100px;
  padding-right: 80px;
  margin-top: 50px;
}

.table p{
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  margin-bottom: 50px;
  margin-top: 50px;
}

.table img {
  
  width: 1200px;
}

/* Helper: make images scale by default, but keep existing explicit widths */
img {
  max-width: 100%;
  height: auto;
}

/* Remove any global fixed widths causing overflow on small devices */
* {
  max-width: 100%;
}

/* Global container padding adjustments for small screens */
@media (max-width: 1024px) {
  .nav-container { margin: 0 40px; padding: 30px 20px; }
  .hero-text h1 { font-size: 55px; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-text { margin-left: 0; max-width: 100%; }
  .hero-image img { width: 400px; }
  .section-one, .sustain, .tec-desc, .inspector { flex-direction: column; text-align: center; }
  .generation, .content-box { flex-direction: column; text-align: center; }
  .video-container iframe { width: 100%; height: auto; }
}

/* Main mobile breakpoint */
@media (max-width: 768px) {

  /* Navbar stacks */
  .nav-container { flex-direction: column; gap: 15px; padding: 20px; margin: 0; }
  .nav-left, .nav-right { flex-direction: column; align-items: center; }

  /* Hero scaling */
  .hero-text h1 { font-size: 40px; }
  .hero-text p { font-size: 16px; }
  .hero-image img { width: 300px; }

  /* Reduce global paddings used across many sections */
  .section-one, .about-text, .particle, .train-desc, .table, .specs, .formula,
  .support, .powder, .value, .inter, .training { padding-left: 20px !important; padding-right: 20px !important; }

  /* Convert multi-column grids to single column for readability */
  .training-grid, .product-cards, .advantages-grid, .train-container, .particle-container,
  .specs-container, .generation { grid-template-columns: 1fr !important; display: block !important; }

  /* Cards and sections become full width */
  .cartridge-card, .card, .cardA, .cardB { max-width: 100% !important; width: 100% !important; }

  /* Video responsive */
  .video-container iframe { width: 100% !important; height: 250px !important; }
  .video-wrapper video { width: 100% !important; height: auto !important; }

  /* Training items stacking */
  .train-container, .train-supp, .about-image-section, .img-one { flex-direction: column !important; align-items: center !important; }

  /* Footer adjustments */
  .footer-container { flex-direction: column; gap: 20px; padding: 20px; }
  .footer-column { width: 100%; min-width: 0; }

  /* Buttons & CTAs */
  .btn-discover, .yellow-btn, .btn-yellow, .subscribe-form button, .contact-btn {
    width: auto !important; padding: 14px 22px !important; font-size: 15px !important;
  }

  /* Reduce large hero background height to avoid scroll jump */
  .hero-section { height: auto !important; padding: 40px 0 !important; background-position: center top !important; }

  /* Text sizes */
  h1 { font-size: 28px !important; }
  h2 { font-size: 26px !important; }
  h3 { font-size: 18px !important; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-text h1 { font-size: 32px !important; line-height: 1.05 !important; }
  .hero-text p { font-size: 15px !important; }
  .btn-discover, .yellow-btn, .btn-yellow { padding: 12px 16px !important; font-size: 14px !important; }
  .video-container iframe { height: 200px !important; }
  .products p, .section-text p, .about-side-text p, .generation-text { font-size: 16px !important; line-height: 1.5 !important; }
  .nav-logo img { width: 200px !important; height: auto !important; }
}

/* Fixes for previously overlapping sections noted by user */

/* ABOUT / SPECS / INTER fixes */
@media (max-width: 900px) {
  .about-section, .about-products, .specs, .inter { height: auto !important; padding: 40px 20px !important; margin-bottom: 20px !important; }
  .about-section-p, .about-products h2, .specs h2 { font-size: 34px !important; padding-top: 20px !important; }
  .specs-container, .inter-container { flex-direction: column !important; gap: 30px !important; margin-top: 20px !important; }
  .spec-item, .inter-img { max-width: 100% !important; }
  .inter-img img, .spec-item img { width: 100% !important; height: auto !important; }
}

/* TRAINING / CAPACITACION fixes */
@media (max-width: 900px) {
  .train-desc, .training, .training-grid { height: auto !important; padding: 20px !important; margin: 0 !important; }
  .train-container, .training-grid { display: flex !important; flex-direction: column !important; gap: 20px !important; }
  .train-item, .training-item { max-width: 100% !important; text-align: center !important; align-items: center !important; padding: 20px !important; min-height: auto !important; }
  .training-item::before { display: none !important; } /* remove skew squares on mobile */
}

/* TECNICO fixes */
@media (max-width: 900px) {
  .tec-desc, .powder, .particle, .formula, .table { padding: 20px !important; height: auto !important; }
  .tec-img img, .powder img, .formula-img img, .table img { width: 100% !important; height: auto !important; object-fit: contain !important; margin: 0 auto !important; display: block !important; }
  .particle-container, .formula { flex-direction: column !important; gap: 30px !important; }
}

/* GALLERY fix */
@media (max-width: 900px) {
  .galeria, .galeria-p { height: auto !important; padding: 40px 20px !important; }
  .galeria-p { font-size: 34px !important; padding-top: 20px !important; text-align: center !important; }
}

/* PRODUCTS fix */
@media (max-width: 900px) {
  .product-cards { flex-direction: column !important; align-items: center !important; gap: 20px !important; padding: 0 20px !important; }
  .cardA, .cardB { width: 100% !important; max-width: 520px !important; }
}

/* Footer small-screen tweak: center copyright */
@media (max-width: 600px) {
  .footer-bottom { text-align: center !important; padding: 20px !important; }
}

/* Accessibility: increase clickable area for touch screens */
@media (max-width: 768px) {
  .nav-left a, .nav-right a, .signup-btn, .contact-btn, .yellow-btn { padding: 10px 12px !important; display: inline-block !important; }
}