.hero-food {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-food .hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RECTÁNGULO CON CORTE DIAGONAL INFERIOR */
.hero-overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background: rgb(8, 60, 90, 0.88);
  padding: 60px 40px;

  /* rectángulo arriba + corte diagonal solo en la parte inferior */
  clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.hero-overlay .container {
  padding: 0 6rem;
}

h1 {
  color: #fab80e;
}

/* Mobile: se convierte en overlay completo sin corte */
@media (max-width: 992px) {
  .hero-overlay {
    width: 100%;
    clip-path: none;
  }
}

/* TITULO */
.titulo-seccion {
  color: #1f7d6f; /* tono verde del diseño */
  font-size: 2.3rem;
  line-height: 1.2;
}

/* BUSCADOR */
.buscador-productos input {
  border-radius: 30px !important;
  padding: 10px 20px;
  position: relative;
  border: solid #ccc;
}

.buscador-productos input::placeholder {
  color: #003545 !important; /* gris visible */
  opacity: 1 !important; /* evita que se vuelva transparente */
}

.buscador-productos button {
  background-color: #003545;
  padding: 0.4rem;
  position: absolute;
  top: 10%;
  right: 1%;
  z-index: 999;
}

/* IMAGEN + BARRA AMARILLA */
.img-industria {
  border-bottom: 6px solid #f6b800; /* amarillo */
}

.barra-amarilla {
  height: 6px;
  width: 80%;
  background: #f6b800;
  margin-top: -6px;
}

/* CUADRO DE TEXTO AZUL OSCURO */
.contenido-texto {
  background: #003545;
  color: #fff;
  position: relative;
  min-height: 100%;
}

/* GRAFICA DERECHA */
.decoracion-grafica {
  position: absolute;
  right: 0;
  top: 0;
  width: 90px;
  height: 100%;
  background: url("lineas-grafica.png") right center/contain no-repeat;
}

.lines {
  background: url("/bundles/appfrontend/img/sections/sections-lines.png");
}

/* Franja superior */
.banner-contacto {
  background: #f0f2f2;
  /* border-bottom: 4px solid #f6b800; */
}

.btn-contacto {
  background: #f6b800 !important;
  color: #0c2b2e !important;
  padding: 10px 25px;
  border-radius: 6px;
}

/* Subtexto */
.subtexto {
  background: #f0f2f2;
  color: #0c2b2e;
}

/* Imagen */
.object-fit-cover {
  object-fit: cover;
}

/* Formulario */
.seccion-registro h2 {
  color: #013c4a;
}

.seccion-registro a {
  color: #013c4a;
}

.banner-primary-text {
  padding-bottom: 1rem;
  position: relative;
  overflow: visible;
}

.green {
  background-color: #408e79;
  padding: 1rem;
}

.yellow {
  background-color: #fab80e;
  padding: 1rem;
}

.nota-content.linea::after {
  width: calc(30% + (100vw - 100%));
}

/*  */

.slider-banners {
  background: #ffffff;
}

.slider-text {
  font-size: 20px;
  line-height: 1.4;
  color: #0b3a4a;
}

.linea-amarilla {
  width: 120px;
  height: 6px;
  background: #f6b800;
  border-radius: 10px;
}

/* Flecha personalizada */
.flecha-custom {
  background: #eaeaea;
  border-radius: 50%;
  width: 45px !important;
  height: 45px !important;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  right: -10px !important;
}

.flecha-custom::after {
  font-size: 18px;
  color: #2e4b57;
}

.swiper-pagination-bullets {
  bottom: 0 !important;
}

/* Puntos del slider */
.swiper-pagination-bullet {
  background: gray !important;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #2e4b57 !important;
}

.oil-y-gas-list {
  list-style: none;
  padding-left: 0;
}

.oil-y-gas-list li {
  position: relative;
  padding-left: 28px; /* espacio para la viñeta */
}

.oil-y-gas-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em; /* ajusta alineación vertical */
  width: 16px;
  height: 16px;
  background-image: url("/bundles/appfrontend/img/industrias/oil-y-gas/li.png");
  background-size: contain;
  background-repeat: no-repeat;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .titulo-seccion {
    font-size: 1.7rem;
  }
  .decoracion-grafica {
    display: none;
  }

  .hero-overlay .container {
    padding: 0;
  }

  .hero-overlay .container p {
    padding-top: 2rem;
  }

  .yellow,
  .green {
    width: 50%;
  }

  .swiper-slide > div {
    flex-direction: column-reverse;
  }

  .buscador-productos input {
    width: 90%;
  }

  .hero-food .hero-bg {
    object-position: 80%;
  }
}
