/* Definición de la paleta de colores (ejemplo basado en el diseño) */
:root {
  --provalab-dark-green: #2a4634;
  --provalab-medium-green: #386632;
  --provalab-light-green: #2d4938;
  --provalab-accent: #8bc34a;
  --provalab-title-accent: #8bc34a;
  --lime-text: #6D9909;

  /* Variables de los bullet points */
  --provalab-green-bullet-dark: #2f7a0b;
  --provalab-green-bullet-light: #7cb80a;

  --provalab-text-on-dark: #ffffff;
  --provalab-dark-text: #000000;

  --provalab-light-text: #e8f5e9;
  --provalab-muted-text: #a5d6a7;

  /* Nuevas variables para el tema claro */
  --light-bg: #f4f7f6;
  --light-border: #d1d9d6;
  --dark-text: #212529;
  --muted-text: #6c757d;

  --provalab-primary-fondo: #2b231d;
  /* fondo principal del header/footer */
  --provalab-accent-lime: #8bc34a;
  /* Verde claro para títulos */
  --provalab-input-bg: #ffffff;
  /* Fondo de los campos del formulario */
  --provalab-input-border: #666;
  --provalab-text-light: #ffffff;
  --provalab-text-muted: #e8f5e9;
  /*  */
  --provalab-bg: #0b1e16;
  --footer-bg: #0b1e16;
  --footer-text: #b3b3b3;
  /* Gris claro para leer mejor que el blanco puro */
  --footer-highlight: #ffffff;
  --accent-color: #4CAF50;
  /* Un verde más vivo para detalles */
}


html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
  /* Mata el scroll horizontal forzosamente */
}

.display {
  font-size: 80px;
}
.font-rem-2 {
  font-size: 2.2rem !important;
}
.font-des2{
  font-size: 2.5rem; line-height: 1.3;
}
.font-desc {
  font-size: 1.19rem; line-height: 1.7;
}
.min-he{
  min-height: 450px;
}
.card-espe-{
   background-color: #38743c !important; min-height: 450px;
}
.pt-00{
  padding-top: 0 !important;
}
.lime-rem{
  color: var(--provalab-accent-lime); font-size: 1rem;
}
.stile-depending{
  background-color: #fbfbfb; z-index: 2; min-height: 80vh; display: flex; align-items: center;
}
.font-medium-green {
  color: var(--provalab-medium-green) !important;
}
/* Estilos para el contenedor y la imagen de muestras */
.contenedor-muestra {
    height: 220px;
    min-width: 250px;
}
.imagen-muestra {
    opacity: 0.8;
}
.sustainability-image-col{
background-image: url('../img/calidad/2_copia.webp');
}
/* Contenedor de imagen con borde verde (Moras) */
.contenedor-destacado {
    height: 230px;
    border: 3px solid var(--provalab-accent-lime);
}
/* Estilos para la sección de beneficios y flujo */
.titulo-curva {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

/* Posicionamiento del flujo (Sustituye los inline styles) */
.paso-1 { left: 2%; }
.paso-2 { left: 22%; }
.paso-3 { left: 42%; }
.paso-4 { left: 62%; }
.paso-5 { left: 82%; }

.bg-card-light { background-color: #eef6e5; }
.divider-accent {
    width: 80px;
    height: 4px;
    background-color: var(--provalab-title-accent);
    border-radius: 2px;
}
.img-mrd-container {
    height: 220px;
}

/* Icono de marca de agua de pregunta */
.icon-watermark {
    opacity: 0.05;
    font-size: 8rem;
    bottom: -10px;
    right: -10px;
}

/* Contenedor del icono animado central */
.icono-mrd-container {
    width: 180px;
    height: 180px;
}

.border-dashed-accent {
    border: 3px dashed var(--provalab-title-accent);
}

.icon-mrd-inner {
    width: 140px;
    height: 140px;
}

.icon-mrd-img {
    width: 80px;
}

/* Filtro para cambiar el color del icono (movido del style en línea) */
.filter-primary {
    filter: brightness(0) saturate(100%) invert(21%) saturate(379%) hue-rotate(93deg) brightness(92%) contrast(93%);
}

/* Utilidad para posicionamiento absoluto (inset: 0) */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.img-limitada {
    min-height: 280px;
}

.img-limitada img {
    min-height: 280px;
    max-height: 350px;
    opacity: 0.9; /* Aquí controlamos ese 90% de opacidad sin ensuciar el HTML */
}

/* --- Sección Calidad Alimentaria --- */

/* Título principal */
.calidad-title {
    line-height: 1.1;
}

/* Subtítulo bajo Calidad Alimentaria */
.calidad-subtitle {
    font-size: 0.65em;
    opacity: 0.9;
    line-height: 1.2;
}

/* Contenedor de la imagen del aguacate */
.calidad-img-wrapper {
    min-height: 400px;
    border: 3px solid rgba(238, 238, 238, 0.18);
}

/* Etiqueta flotante con blur */
.calidad-floating-label {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

/* Texto dentro de la etiqueta flotante */
.calidad-floating-text {
    font-size: 0.9rem;
    line-height: 1.2;
}

/* --- Utilidades de la Sección Calidad --- */

.section-padding { padding: 80px 0; }


.text-verde-oscuro { color: var(--provalab-dark-green) !important; }
.text-verde-claro { color: var(--provalab-accent) !important; }
.border-verde-oscuro { border-color: var(--provalab-dark-green) !important; }
.border-verde-claro { border-color: var(--provalab-accent) !important; }


.bg-verde-muy-oscuro { background-color: var(--provalab-bg) !important; }

.nota-transparente {
    background-color: rgba(139, 195, 74, 0.1); 
    color: var(--provalab-dark-green);
    font-size: 0.9rem;
}


.icon-sm-verde {
    color: var(--provalab-accent);
    font-size: 0.8rem;
}


.icono-fondo-1 {
    bottom: -20px;
    right: -20px;
    font-size: 150px;
    color: rgba(42, 70, 52, 0.05);
    transform: rotate(-15deg);
}

.icono-fondo-2 {
    top: -20px;
    right: -20px;
    font-size: 150px;

    color: rgba(139, 195, 74, 0.05);
    transform: rotate(15deg);
}
/* --- Animación sutil para las tarjetas de Calidad --- */
.tarjeta-calidad {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-calidad:hover {
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important; 
}
.main-content {
    flex: 1 0 auto; /* Esto es lo que empuja el footer al fondo */
    padding-top: 100px; /* Espacio para que el header fixed no tape el título */
    padding-bottom: 50px;
}

.body-news {
    background-color: var(--light-bg); /* O el color #f0f0f7 si prefieres */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Altura total de la pantalla */
    margin: 0;
    overflow-x: hidden;
}
.provalab-hero-bg {

  background-color: var(--provalab-dark-green);
  min-height: 80vh;
  position: relative;
  overflow: hidden;
  /* Corta el video si es muy grande */
  padding-top: 120px;
}

/* El Video */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ESTO ES CLAVE: Hace que el video cubra todo sin deformarse */
  z-index: 0;
}

/* La Capa de Color (Overlay) */
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Encima del video, debajo del texto */

  /* Gradiente similar al tuyo pero con transparencia (0.85 = 85% opacidad) */
  /* Si tus variables son HEX, usa este gradiente manual en RGBA para transparencia: */
  background: linear-gradient(to right,
      rgba(15, 50, 30, 0.9) 30%,
      /* Verde oscuro semi-transparente */
      rgba(40, 90, 60, 0.8) 100%
      /* Verde medio semi-transparente */
    );
}

/* --- NAVEGACIÓN --- */
.provalab-nav-bg {
  background: linear-gradient(to right,
      var(--provalab-dark-green) 50%,
      var(--provalab-medium-green) 100%);
  /* La transición ahora puede ser para la sombra, si quieres que aparezca suavemente */
  transition: box-shadow 0.4s ease;
}

/* 2. Esta clase ahora SOLO añade la sombra al hacer scroll */
.provalab-nav-bg.nav-scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.section-nosotros-animation {
  /* Nombre | Duración | Efecto de velocidad | Mantener estado final */
  animation: slideInLeft 0.5s ease-out forwards;
  opacity: 0;
  /* Inicialmente invisible para que no parpadee antes de animar */
}

/* 1. Definimos la animación de Izquierda a Derecha (Para el texto) */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
    /* Empieza 100px a la izquierda */
  }

  to {
    opacity: 1;
    transform: translateX(0);
    /* Llega a su posición original */
  }
}

/* 2. Definimos la animación de Derecha a Izquierda (Para la imagen) */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
    /* Empieza 100px a la derecha */
  }

  to {
    opacity: 1;
    transform: translateX(0);
    /* Llega a su posición original */
  }
}

/* --- IMAGEN CIRCULAR (EL CAMBIO MÁS GRANDE) --- */
.provalab-circle-image {
  position: relative;
  /* Define el tamaño máximo y forma cuadrada aquí en el padre */
  width: 100%;
  max-width: 550px;
  /* Tamaño base de la composición */
  aspect-ratio: 1 / 1;
  /* Asegura que sea cuadrado perfecto */

  /* Alineación: Empuja el div hacia la derecha dentro de la columna .col-md-6 */
  margin-left: auto;

  /* parte de la animacion (Preservado) */
  animation: slideInRight 0.5s ease-out forwards;
  opacity: 0;
  /* Inicialmente invisible */
}

.provalab-circular-img {
  /* Posicionamiento absoluto para cubrir exactamente al padre */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  border-radius: 50%;
  object-fit: cover;
  /* Recorta la imagen para llenar el círculo sin deformarse */
  z-index: 1;
  /* Capa intermedia */
}

/* CAMBIO: Este es el tinte verde (Capa 2) */
.provalab-circle-image::after {
  content: "";
  /* Cubre exactamente al padre y a la imagen */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  border-radius: 50%;
  /* Tu efecto visual: Sombra verde interna brillante */
  box-shadow: inset 0 0 25px rgba(136, 255, 1, 0.212);

  /* Asegura que esté SOBRE la imagen */
  z-index: 2;
}

/* --- CAPA 0 (FONDO): El borde separado --- */
.provalab-circle-image::before {
  content: "";
  position: absolute;

  /* Expande este elemento HACIA AFUERA del contenedor padre */
  /* Ajusta el valor negativo (ej. -15px) para separar más o menos el borde */
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;

  border-radius: 50%;
  /* Tu efecto visual: Borde blanco brillante (según código original, comentario decía verde) */
  border: 2px solid rgba(255, 255, 255, 0.7);

  /* Asegura que esté DETRÁS de la imagen */
  z-index: 0;
}

/* --- NAVEGACIÓN --- */
.provalab-nav-links a {
  color: white;
  position: relative;
  text-decoration: none;
  padding-bottom: 5px;
  margin: 0 5px;
}

.provalab-nav-links a:not(.active):hover {
  color: #b3eb72;
  opacity: 1;
}

/* El separador "|" se añade con CSS para que sea más limpio */
.provalab-nav-links a:not(:last-child)::after {
  content: "|";
  margin-left: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Estilo para el enlace activo */
.provalab-nav-links a.active {
  color: var(--provalab-accent) !important;
  font-weight: 800;
}

/* La línea verde debajo del enlace activo */
.provalab-nav-links a.active::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 40%;
  transform: translateX(-50%);
  width: 70%;
  height: 3px;
  border-radius: 20px;
  background-color: var(--provalab-accent);
}

body {
  font-family: "Nunito Sans", sans-serif;
  /* color: var(--provalab-accent); */
  padding-top: 100px;
}

.provalab-principles-bg {
  background-color: #2a4634;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.provalab-featured-img {
  width: 100%;
  max-width: 1200px; /* Evita que se haga gigante en monitores muy grandes */
  
  /* Usamos clamp() para que la altura sea fluida: 
     Mínimo 250px en celulares, crece según el ancho (50vw), máximo 500px en PC */
  height: clamp(250px, 50vw, 500px); 
  
  margin: 0 auto;
  object-fit: cover;
  object-position: center 20%; /* 'top' a veces corta mucho la parte de abajo, un 20% suele centrar mejor la acción */
  
  border: 2px solid rgba(42, 70, 52, 0.3); /* Convertí el HEX transparente a RGBA para evitar fallos en navegadores antiguos */
  box-shadow: 0 15px 35px rgba(42, 70, 52, 0.25);
  
  /* Le agregamos 'will-change' para que el navegador optimice la animación por hardware */
  will-change: transform, box-shadow;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.4s ease;
}

.provalab-featured-img:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 45px rgba(117, 170, 2, 0.4);
}
/*
  Hacemos que cada <li> sea un contenedor relativo
  para posicionar nuestro "bullet" personalizado.
*/
/* .provalab-principle-liste li {
  position: relative;

  padding-left: 2.5em;

  margin-bottom: 0.5em;
} */



/*
  Aquí creamos el bullet degradado
*/
/* .provalab-principle-liste li::before {
  content: '';
  position: absolute;

  left: 0.5em;

  top: 50%;

  transform: translateY(-50%);
 
  width: 1.5em;

  height: 1.5em;
 
  border-radius: 50%;

 
  background: radial-gradient(circle,
      #75aa02 30%,

      rgba(117, 170, 2, 0) 70%
     
    );
} */

/* 2. Estilo del Círculo Central */
.provalab-diagram-center {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle,
      rgba(160, 200, 150, 0.8) 0%,
      rgba(20, 50, 20, 0) 70%);
  border-radius: 50%;
  overflow: visible;
  z-index: 2;
  position: relative;
  top: 5%;
  margin-top: 0;
}

.verde {
  color: #75aa02;
}

/* --- FONDO DE LA SECCIÓN --- */
.fundadores-hero-bg {
  background: linear-gradient(135deg,
      var(--provalab-dark-green) 50%,
      var(--provalab-medium-green) 100%);
  position: relative;
  overflow: hidden;
}

.fundadores-hero-bg h2 {
  color: #ffffff;
}

.pillar-card {
  padding-bottom: 6rem;
}

/* --- LOGOS --- */
.founder-logo {
  height: 80px;
  width: auto;
  /* filter: brightness(0) invert(1); */
}

/* .d-flex span { */
/* font-weight: 100; */
/* color: var(--provalab-accent) !important; */
/* } */

/* --- CONTENEDOR DE LA LÍNEA DE TIEMPO --- */
.timeline-container {
  position: relative;
  padding-bottom: 80px;
}

/* --- LA LÍNEA HORIZONTAL PRINCIPAL (LA VERDE) --- */
.timeline-container::after {
  content: "";
  position: absolute;
  /* top: 153px; */
  left: 5%;
  width: 90%;
  height: 2px;
  /* ================================================= */
  /* Punto de inicio: 30px desde el fondo. ¡LA CLAVE! */
  /* ================================================= */
  bottom: 132px;
  background-color: var(--provalab-text-on-dark);
}

.timeline-pillar {
  position: relative;
}

/* --- LA LÍNEA VERTICAL (LA BLANCA) --- */
.timeline-pillar::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  bottom: 30px;
  height: 50px;
  background-color: var(--provalab-text-on-dark);
}

/* --- EL PUNTO BRILLANTE --- */
.timeline-pillar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  bottom: 80px;
  background-color: var(--provalab-accent);
  box-shadow: 0 0 15px 4px rgba(171, 255, 0, 0.75);
}

/*
==================================================
  4. POSICIONAMIENTO ABSOLUTO DE LAS CAJAS (Puntos)
==================================================
*/
/* #porque {
  overflow-x: hidden;
} */

.provalab-point {
  width: 220px;
  z-index: 3;
  position: absolute;
}

/* --- LADO IZQUIERDO --- */

/* --- COORDENADAS EXACTAS PARA CADA PUNTO DE TEXTO --- */
/* Ajusta los valores 'top' y 'left' para la perfección */
/* --- COORDENADAS EXACTAS PARA CADA PUNTO DE TEXTO --- */
/* Ajustadas para que estén más pegadas al centro */

.point-expertise {
  top: 45%;
  left: 10%;
  /* Antes estaba en 0%. Lo metemos hacia la derecha. */
  transform: translateY(-50%);
}

.point-tecnologia {
  top: 22%;
  /* Antes 15%. Lo bajamos un poco hacia el centro. */
  left: 30%;
  /* Antes 25%. Lo acercamos a la imagen. */
  transform: translateX(-50%);
}

.point-adaptabilidad {
  top: 22%;
  /* Antes 15%. Lo bajamos un poco hacia el centro. */
  left: 69%;
  /* Antes 75%. Lo metemos hacia la izquierda. */
  transform: translateX(-50%);
}

.point-adaptabilidad2 {
  top: 42%;
  left: 88%;
  /* Antes 100%. Lo despegamos del borde derecho. */
  transform: translate(-100%, -50%);
}

/*
==================================================
  AJUSTES GENERALES DEL DIAGRAMA
==================================================
*/

.provalab-diagram-area {
  width: 100%;
  /*  height: 450px; */
  /* Un poco más de altura para la nueva curva */
  position: relative;
  min-height: 600px;
  /* padding-bottom: 100px; */
  /* Aseguramos que sigue siendo el contenedor */
  /*  margin-bottom: 5rem !important; */
}

/* Contenedor del SVG de la curva */
.full-width-curve {
  left: 0;
  right: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* Puedes ajustar el 'top' de .provalab-diagram-curve si la curva
   queda muy abajo o muy arriba después de esto */
.provalab-diagram-curve {
  position: absolute;
  top: 28%;
  height: 250px;
  opacity: 0.5;
  z-index: 1;
}

/* Los puntos de texto deben estar por encima de todo */
.provalab-point {
  z-index: 3;
}

/* Contenedor para posicionar el SVG completo */
.provalab-curved-text-container {
  position: absolute;
  top: 61%;
  /* Mueve este valor (ej. 68% o 62%) para bajar o subir el texto */
  left: 50%;
  width: 380px;
  /* Aumentamos el ancho del contenedor para que el texto respire */
  height: 100px;
  /* Damos más altura para la nueva curva */
  transform: translateX(-50%) rotate(-19deg);
}

.provalab-curved-text-container text {
  font-family: Arial, sans-serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 700;
  fill: #4f834a;
}

.provalab-curved-text-container svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.provalab-diagram-img {
  border-radius: 50%;
}

/* Estilo para los elementos de la lista en el bloque de principios */
.provalab-principle-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.provalab-principle-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle,
      var(--provalab-green-bullet-light) 50% var(--provalab-green-bullet-dark) 100%);

  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* 1. Estilo para la Caja de Visión y Misión (Fondo Verde) */
/* .provalab-vm-box {
  background-color: var(--provalab-dark-green);
  color: var(--provalab-text-on-dark);
  background-color: #316649;
}

.provalab-vm-box h3 {
  color: var(--provalab-title-accent);

  padding-bottom: 0.5rem;
} */
/* Contenedor principal: ¡Fondo súper vivo y vibrante! */
.provalab-vm-box {
  /* Mezclamos tus dos verdes más vivos para un gradiente moderno */
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--lime-text) 100%);
  /* Una sombra verde sutil para que el bloque "resplandezca" */
  box-shadow: 0 15px 35px rgba(76, 175, 80, 0.3);
  border-radius: 2rem;
  border: 4px solid var(--provalab-text-on-dark);
  /* Un marco blanco opcional para resaltar */
}

/* Títulos: Blancos, enormes y con mucha fuerza */
.provalab-vm-box h3 {
  color: var(--provalab-dark-green);
  font-size: 3rem;
  /* Mucho más grande */
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  /* Sombra para despegar el texto del fondo */
}

/* Textos: Verde oscuro para un contraste limpio, lectura perfecta y cumplir la paleta */
.provalab-vm-box p {
  color: var(--provalab-text-on-dark);
  font-size: 1.25rem;
  /* Tamaño grande para fácil lectura */
  line-height: 1.6;
  font-weight: 600;
  /* Letra con más peso para que no se pierda en el fondo vivo */
}

/* Columnas y animación súper dinámica */
.provalab-vm-col {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 1.5rem;
  padding: 3rem;
}

/* Efecto hover: La tarjeta salta hacia el usuario y se ilumina */
.provalab-vm-col:hover {
  transform: scale(1.03) translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
  /* Un destello blanco al pasar el mouse */
}


/* 2. Estilo de los Valores (Sobre fondo Blanco/Claro) */
.section-title {
  border-bottom: 3px solid var(--provalab-title-accent);
  display: inline-block;
  padding-bottom: 5px;
  text-align: center;
}

.section-titles {
  border-bottom: 3px solid var(--provalab-title-accent);
  display: inline-block;
  padding-bottom: 5px;
  text-align: center;
}

.fundadores-titles {
  border-bottom: 3px solid var(--provalab-title-accent);
  display: inline-block;
  padding-bottom: 5px;
  text-align: center;
}

.nosotros-titles {
  border-bottom: 3px solid var(--provalab-title-accent);
  display: inline-block;
  padding-bottom: 5px;
  text-align: center;
}

.section-titles {
  color: var(--provalab-dark-text) !important;
}

.section-subtitles {
  color: #2B231D;
}

/* Cambiamos h5 por h6 */
.provalab-value-card h6 {
  color: var(--provalab-dark-text);
  /* overflow-wrap: break-word; */
}

/* .provalab-value-card p {
  text-align: center;
}
 */
.provalab-value-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0%) invert(0%);
}

.provalab-image-column {
  /* Eliminamos display flex para que la imagen no intente centrarse y deje huecos */
  display: block;
  overflow: hidden;
}

.provalab-side-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.provalab-vision-wrap {
  display: flex;
  align-items: stretch;
}

/* AÑADE ESTO A TU CSS */
.navbar-brand img {
  width: 250px;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

/* a:hover {
  color: #b2b2b2;
} */

.hero-section1 {
  height: 45vh;
  background-image: url("../img/387.webp");

  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 120px 0 120px 0;
}

.hero-content1 {
  max-width: 1000px;
  padding: 0 2rem;
}

.hero-content1 h1 {
  font-size: 2rem;
  /* Tamaño del título */
  margin-bottom: 1rem;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.hero-content1 p {
  font-size: 1.5rem;
  line-height: 1.6;
  text-align: left;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.provalab-diagram-section {
  background-color: #ededed;
  /* Aumentamos el padding de abajo */
  overflow: visible !important;
}


/* --- FOOTER (PIE DE PÁGINA) --- */

/* .footer-provalab {
  background: linear-gradient(to right,
      var(--provalab-dark-green) 0%,
      var(--provalab-medium-green) 100%);
  color: white;
  padding: 40px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-logo img {
  max-width: 300px;
}

.footer-column h3 {
  font-family: "Syne Bold";
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 5px;
}

.footer-menu a {
  font-size: 1rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin: 0 0 5px 0;
  font-size: 0.95rem;
}

.contact-info i {
  font-size: 1.1rem;
  margin-right: 15px;
  width: 20px;
} */

/* --- FOOTER (PIE DE PÁGINA) --- */
.footer-provalab {
  background: linear-gradient(to right,
      var(--provalab-dark-green) 25%,
      var(--provalab-medium-green) 100%);
}

/* Ajuste del Logo para blanco */
.footer-logo {
  max-width: 230px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Títulos con borde lateral verde */
.footer-heading {
  font-size: 1rem;
  font-family: "Syne Bold";
  font-weight: 900;
  text-transform: uppercase;
  /* letter-spacing: 1px; */
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--provalab-accent);
  /* Detalle de diseño */
  padding-left: 10px;
  color: white;
}

/* Enlaces */
.footer-links li {
  margin-bottom: 0.8rem;
}

.text-green-lima {
  color: var(--provalab-accent-lime);
}

.footer-links a {
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.footer-links a:hover,
.hover-white:hover {
  color: var(--provalab-accent) !important;
  padding-left: 5px;
  /* Efecto deslizamiento */
}

/* Redes Sociales (Círculos) */
.social-icons a {
  width: 42px;
  height: 42px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  position: relative;
  transition: transform 0.3s ease;
  z-index: 1;
}

.social-icons a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--provalab-accent);
  transition: width 0.35s ease;
  border-radius: 50%;
  z-index: -1;
}

.social-icons a i {
  font-size: 1.3rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    text-shadow 0.35s ease;
}

.social-icons a:hover::after {
  width: 100%;
}

.social-icons a:hover {
  transform: translateY(-4px);
}

.social-icons a:hover i {
  transform: scale(1.25);
}

/* ---------------------------------------------------
   BOTÓN QUEJAS + BORDER REVEAL (Fusionado y perfecto)
---------------------------------------------------*/
.btn-quejas {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 15px;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

.btn-quejas i {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-quejas::after {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background-color: white;
  transition: width 0.4s ease;
  z-index: -1;
}

.btn-quejas:hover::after {
  width: 100%;
}

.btn-quejas:hover {
  color: #0f321e !important;
  font-weight: 800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-quejas:hover i {
  transform: scale(1.25) rotate(-12deg);
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.8),
    0 0 4px rgba(255, 255, 255, 0.9),
    0 0 6px rgba(255, 255, 255, 1);
}

.btn-quejas:active {
  transform: translateY(0);
  box-shadow: none;
}

/* --- RESPONSIVE DESIGN (PARA CELULARES) --- */
/* --- RESPONSIVE DESIGN --- */

/* Punto de quiebre lg de Bootstrap (991px hacia abajo) */
@media (max-width: 991px) {

  /* Ajuste de Títulos: Cambiar borde izquierdo por inferior */
  .footer-heading {
    border-left: none;
    /* Quitamos el borde lateral */
    border-bottom: 3px solid var(--provalab-accent);
    /* Lo ponemos abajo */
    display: inline-block;
    /* Para que el borde mida lo mismo que el texto */
    padding-left: 0;
    padding-bottom: 5px;
    /* Espacio entre texto y borde */
    margin-bottom: 20px;
  }

  /* Ajuste para que la dirección se lea bien aunque esté centrada */
  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

}

/* Tu CSS previo para iconos sociales estaba bien, pero asegurémonos de que no afecte el layout */
.social-icons {
  /* Esto asegura que los iconos no se aplasten */
  flex-wrap: wrap;
}

/* Usamos una media query para que esto solo aplique en pantallas pequeñas */
/* * =========================================
 * VISTA MÓVIL (Pantallas < 992px) - ESTILO UNIFICADO
 * =========================================
 */
@media (max-width: 991.98px) {

  /* Oculta los separadores "|" y la línea de escritorio */
  .provalab-nav-links a:not(:last-child)::after {
    content: none;
  }

  .provalab-nav-links a.active::before {
    content: none;
  }

  /* El contenedor del menú desplegable */
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    /* ¡EL TOQUE BONITO #1: Gradiente! */
    background: linear-gradient(to right,
        var(--provalab-dark-green, #2a4634) 0%,
        var(--provalab-medium-green, #386632) 100%);

    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);

    /* Le damos espacio interno al menú */
    padding: 15px 20px;
  }

  /* El contenedor de los links */
  .provalab-nav-links {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  /* Los links en móvil (Ahora son "botones") */
  .provalab-nav-links a {
    display: block;
    margin: 0 0 8px 0;
    /* Separación entre botones */
    padding: 12px 20px;
    /* Padding de botón */
    color: #ffffff;
    opacity: 0.9;
    font-weight: 500;
    text-align: left;
    /* Alinea el texto del botón a la izquierda */
    border-radius: 8px;
    /* ¡Esquinas redondeadas! */
    transition: all 0.3s ease;
    border-bottom: none;
    /* Quitamos la línea divisoria vieja */
  }

  .provalab-nav-links a:last-child {
    margin-bottom: 0;
    /* Sin margen en el último botón */
  }

  /* ¡EL TOQUE BONITO #3: Hover sutil! */
  .provalab-nav-links a:hover {
    background-color: rgba(0, 0, 0, 0.15);
    /* Fondo sutil */
    color: var(--provalab-accent) !important;
    opacity: 1;
  }

  /* ¡EL TOQUE BONITO #4: Botón Activo! */
  .provalab-nav-links a.active {
    background-color: #8dc63f;
    /* Verde Provalab */
    color: #ffffff !important;
    /* Texto blanco */
    opacity: 1;
    font-weight: 600;
  }
}

/* Ajustes responsivos para dispositivos más pequeños */
@media (max-width: 768px) {
  .provalab-circle-image {
    display: none;
    /* Oculta el círculo en móviles para ahorrar espacio */
  }

  .provalab-hero-bg {
    min-height: auto;
  }
}

/* AÑADE ESTO A TU CSS (SOLO PARA ESCRITORIO) */
@media (min-width: 767px) {
  .provalab-vm-box {
    /* Usamos un margen negativo para cancelar el padding de la columna padre */
    margin-left: -3rem;
    margin-right: -3rem;
  }

  .provalab-point {
    /* Usamos solo translateY para no alterar el ancho */
    transform: translateY(-50%) !important;
    width: 210px;
  }

  /* --- CAJAS IZQUIERDAS --- */
  .point-expertise {
    top: 50%;
    left: 2% !important;
    /* Pegado al margen izquierdo, nunca se corta */
  }

  .point-tecnologia {
    top: 20%;
    left: 20% !important;
  }

  /* --- CAJAS DERECHAS (Ancladas con 'right') --- */
  .point-adaptabilidad {
    top: 20%;
    left: auto !important;
    /* Anulamos el left */
    right: 20% !important;
    /* Lo empujamos desde la derecha */
  }

  .point-adaptabilidad2 {
    top: 50%;
    left: auto !important;
    right: 2% !important;
    /* Pegado al margen derecho, nunca se corta */
  }


}

@media (min-width: 992px) and (max-width: 1250px) {
  .provalab-point {
    width: 180px;
    /* Hacemos las cajas ligeramente más angostas para que no pisen la planta */
  }

}

/* ==================================================
   ESTILOS RESPONSIVOS CON FLEXBOX (VERSIÓN FINAL)
   ================================================== */

/* Se aplica a pantallas de 767px de ancho o menos */
@media (max-width: 767px) {

  /* 1. Contenedor flexible vertical */
  .provalab-diagram-area {
    max-width: 1100px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
    height: auto !important;
  }

  /* 2. Reseteo FORZADO de la imagen y los puntos */
  .provalab-diagram-center,
  .provalab-point {
    /* LA CORRECCIÓN CLAVE: Forzamos el posicionamiento */
    position: relative !important;

    /* Y forzamos el reseteo del resto de propiedades */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    height: auto;
    width: 90% !important;
    max-width: 400px !important;
    text-align: center !important;
  }

  /* 3. Ocultamos el texto curvo */
  .provalab-curved-text-container {
    display: none !important;
  }
}

/* Se aplica a pantallas de 480px de ancho o menos */
@media (max-width: 480px) {
  .hero-content1 h5 {
    font-size: 1rem;
  }

  .hero-section1 {
    height: 50vh;
  }


  .hero-content1 p {
    font-size: 1rem;
  }

  .hero-content1 {
    padding: 0 1rem;
  }
}

/* --- ESTILOS PARA MÓVILES --- */
@media (max-width: 767.98px) {

  /* 1. Ocultamos los 3 elementos de la línea de tiempo */
  .timeline-container::after,
  .timeline-pillar::before,
  .timeline-pillar::after {
    display: none;
  }

  /* 2. AJUSTE: Reducimos el espacio extra que sobró */
  .timeline-container {
    padding-bottom: 2rem;
    /* Menos espacio al final de la sección */
  }

  .pillar-card {
    /* Quitamos por completo el padding inferior de las tarjetas */
    padding-bottom: 0;
  }
}

/*estilos para el login */

/* ---------------------------------- */
/* COLUMNA DE IMAGEN (IZQUIERDA)      */
/* ---------------------------------- */
.login-image-side {
  background-image: url("../img/fotos/parte2/sala equipos y analistas.webp");
  background-size: cover;
  background-position: center;
  position: relative;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(21, 86, 75, 0.648),
      rgba(46, 134, 120, 0.7));
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 3rem;
}

/* ---------------------------------- */
/* COLUMNA DE FORMULARIO (DERECHA)    */
/* ---------------------------------- */
.login-form-side {
  background-color: var(--light-bg);
  /* Fondo gris claro */
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form-container {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
}

/* --- Estilos de Formulario para TEMA CLARO --- */

.form-label {
  color: var(--muted-text);
  /* Texto de label gris */
  font-weight: 500;
}

.form-control {
  background-color: #ffffff;
  /* Fondo blanco para los inputs */
  border: 1px solid var(--light-border);
  /* Borde gris claro */
  color: var(--dark-text);
  /* Texto oscuro al escribir */
  padding: 0.75rem 1rem;
}

.form-control::placeholder {
  color: var(--light-border);
}

.form-control:focus {
  background-color: #fcfffa;
  border-color: var(--provalab-accent);
  /* Borde verde al seleccionar */
  color: var(--dark-text);
  box-shadow: 0 0 0 0.25rem rgba(165, 197, 60, 0.25);
}

.form-text a:hover,
.small a:hover {
  text-decoration: underline !important;
  color: var(--provalab-accent);
}

/* --- Estilo para el botón principal --- */

/* --- Estilo para el botón principal --- */

/* Estado normal del botón */
.btn-accent {
  /* Añadimos !important para darle máxima prioridad */
  background-color: var(--provalab-medium-green) !important;
  border-color: var(--provalab-accent) !important;
  color: var(--provalab-light-text) !important;
  padding: 0.75rem;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

/* Estado al pasar el mouse por encima */
.btn-accent:hover {
  background-color: var(--provalab-green-bullet-dark);
  border-color: #b7d84f;
  color: #d0d0d0;
}

/* Estado al hacer clic (:active) y al seleccionar (:focus) */
.btn-accent:active,
.btn-accent:focus {
  background-color: var(--provalab-green-bullet-dark);
  border-color: #b7d84f;
  color: #d0d0d0;
  box-shadow: 0 0 0 0.25rem rgba(165, 197, 60, 0.5);
}

.h-90 {
  height: 90% !important;
}

.vh-90 {
  height: 90vh !important;
}

/* Ajuste para que el borde del botón coincida con el del input */
.input-group .btn {
  border-color: var(--light-border);
}

.input-group .btn:hover {
  background-color: var(--provalab-dark-green);
  /* Un efecto hover sutil */
}

/* ---------------------------------- */
/* VISTA DE FORMULARIO COTIZACIONES    */
/* ---------------------------------- */
/* Le decimos a la sección del formulario que "crezca" y ocupe el espacio sobrante */
#cotizaciones {
  flex-grow: 1;
}

/* Estilos para los checkboxes (el cambio más importante) */
.form-check-input:checked {
  background-color: var(--provalab-accent);
  /* Color de fondo al seleccionar */
  border-color: var(--provalab-title-accent);
  /* Color del borde al seleccionar */
}

.form-check-input:focus {
  border-color: var(--provalab-dark-green);
  box-shadow: 0 0 0 0.25rem rgba(70, 175, 75, 0.25);
  /* Sombra de foco con tu verde oscuro */
}

.aviso {

  color: var(--provalab-green-bullet-light) !important;
}

.aviso a:hover {
  text-decoration: underline !important;
  color: var(--provalab-accent) !important;
}

/* ---------------------------------- */
/* VISTA DE FORMULARIO CONTACTO    */
/* ---------------------------------- */

/* ---------------------------------- */
/* SECCIONES PRINCIPALES              */
/* ---------------------------------- */

.provalab-nav-bg {
  background-color: var(--provalab-primary-fondo) !important;
}

.navbar-brand img {
  filter: brightness(0) invert(1);
  /* Logo en blanco para que contraste */
}


.navbar-toggler {
  filter: invert(1);
}

#contact-section-body {
  background: linear-gradient(to bottom, rgba(60, 110, 83, 1) 0%, rgba(42, 71, 53, 1) 100%), radial-gradient(at top center, rgba(96, 255, 99, 0.551) 0%, rgba(4, 75, 36, 0.4) 120%) #989898;
  background-blend-mode: multiply, multiply;
}

/* Estilos del formulario de contacto */
.contact-section {
  /* background-color: var(--provalab-primary-fondo); */
  /* background: #3c6e53;
  background: radial-gradient(circle, rgba(60, 110, 83, 1) 0%, rgba(42, 71, 53, 1) 50%, rgba(23, 97, 51, 1) 100%); */

  margin-top: 0;
  padding-top: 120px;
  /* Espacio para el navbar fijo */
  /*   padding-bottom: 60px; */
}

/* Títulos */
.section-title,
.section-subtitle {
  color: var(--provalab-text-light);
  font-weight: bold;
  text-transform: uppercase;
}

/* ---------------------------------- */
/* FORMULARIO Y BOTONES               */
/* ---------------------------------- */

.contact-form .form-control {
  background-color: var(--provalab-input-bg);
  border: 1px solid var(--provalab-input-border);
  color: var(--provalab-dark-text);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-form .form-control::placeholder {
  color: #b0b0b0;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--provalab-dark-text);
  font-weight: 800;
}

.contact-form .form-control:focus {
  background-color: var(--provalab-input-bg);
  border-color: var(--provalab-accent-lime);
  /* El borde cambiará a este color */
  color: var(--provalab-dark-text);
  font-size: 0.9rem;
  /* --- MEJORADO: Añadimos un resplandor sutil en lugar de quitar la sombra --- */
  /* Esto crea un "aura" del mismo color que el borde */
  box-shadow: 0 0 0 0.25rem rgba(139, 195, 74, 0.25);
  /* Asumiendo que --provalab-accent-lime es #8BC34A */
}

.btn-submit-custom {
  /* Añadimos !important para darle máxima prioridad */
  background-color: #75aa02 !important;
  border-color: var(--provalab-accent) !important;
  color: var(--provalab-dark-text) !important;
  /* padding: 0.75rem; */
  padding-left: 4rem;
  padding-right: 4rem;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

/* Estado al pasar el mouse por encima */
.btn-submit-custom:hover {
  background-color: var(--provalab-green-bullet-dark);
  border-color: #b7d84f;
  color: #d0d0d0;
}

/* Estado al hacer clic (:active) y al seleccionar (:focus) */
.btn-submit-custom:active,
.btn-submit-custom:focus {
  background-color: var(--provalab-green-bullet-dark);
  border-color: #b7d84f;
  color: #d0d0d0;
  box-shadow: 0 0 0 0.25rem rgba(165, 197, 60, 0.5);
}

.additional-info h4,
.additional-info p {
  color: var(--provalab-text-light);
}

.btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Estilo base del botón (con selector más específico) */
.btn.btn-outline-custom {
  font-weight: 800;
  background-color: transparent;
  border: 1px solid var(--provalab-text-light);
  color: var(--provalab-text-light);
  padding: 0.75rem;
  text-align: center;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

/* Estados combinados para hover, active, focus y el estado seleccionado por JS */
.btn.btn-outline-custom:hover,
.btn.btn-outline-custom:active,
.btn.btn-outline-custom:focus,
.btn.btn-outline-custom.btn-active {
  background-color: var(--provalab-text-light);
  /* Se pone blanco */
  color: var(--provalab-primary-fondo);
  /* El texto se pone oscuro */
  border-color: var(--provalab-green-bullet-dark);
  /* Borde verde oscuro */

  /* --- LÍNEA AÑADIDA PARA RECUPERAR EL EFECTO --- */
  /* Crea un resplandor usando el mismo color del borde pero semi-transparente */
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5);
  /* Asumiendo que el verde es similar a #2f7a0b */
}

.map-container {
  height: 450px;
  width: 100%;
  margin-top: 60px;
}

/* ---------------------------------- */
/* ESTILOS SECCIÓN HERO (PRINCIPAL)   */
/* ---------------------------------- */

/* 1. Define tu fuente personalizada */
@font-face {
  font-family: "Syne ExtraBold";
  src: url("../Fonts/Syne-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  /* Asegúrate que coincida con el peso de la fuente */
  font-style: normal;
}

@font-face {
  font-family: "Syne Bold";
  /* Le damos un nombre a la fuente */
  src: url("../Fonts/Syne-Bold.ttf") format("truetype");
  /* Ruta relativa al archivo */
  font-weight: bold;
  /* Especificamos que es la versión "Bold" */
}

/* 1. Definición de la fuente personalizada */
@font-face {
  font-family: "Nunito Sans";
  src: url("../Fonts/NunitoSans-VariableFont_YTLC\,opsz\,wdth\,wght.ttf") format("truetype");
}

@font-face {
  font-family: "EmojiOneColor";
  src: url("../Fonts/EmojiOneColor.otf") format("truetype");
}

.syne-bold {
  font-family: "Syne Bold";
}

.nunito-sans {
  font-family: "Nunito Sans";
}

.nunito-sans-min-bold {
  font-family: "Nunito Sans";
  font-weight: 400;
}

.nunito-sans-boldded {
  font-family: "Nunito Sans";
  font-weight: 500;
}

/* Este es el "bold" estándar */
.nunito-sans-bold {
  font-family: "Nunito Sans";
  font-weight: 700;
}

/* Este es más grueso (Extra Bold) */
.nunito-sans-extrabold {
  font-family: "Nunito Sans";
  font-weight: 800;
}

/* Este es el más grueso de todos (Black) */
.nunito-sans-black {
  font-family: "Nunito Sans";
  font-weight: 900;
}

/* Estilos de la sección principal */
/* Reemplaza tu regla .hero-section existente con esta */
.hero-section {
  position: relative;
  background-image: linear-gradient(rgba(50, 207, 154, 0.3), rgba(0, 0, 0, 0.3)),
    url("../img/servicios/SERVICIOS.webp");
  background-size: cover;
  background-position: center;
  color: white;
  /* --- CAMBIOS CLAVE AQUÍ --- */
  min-height: 80vh;
  /* 1. Establece una altura mínima para la sección (85% de la altura de la pantalla) */
  display: flex;
  /* 2. Activa Flexbox para alinear el contenido */
  align-items: center;
  /* 3. Centra verticalmente el contenido (el .container) */
  padding-top: 70px;
  /* 4. Agrega un pequeño espacio superior para compensar el header */
  padding-bottom: 60px;
  /* 5. Agrega espacio inferior para que no quede pegado a la siguiente sección */
}

/* 2. Aplica la fuente al título h2 */
.hero-section h2 {
  font-family: "Syne ExtraBold", sans-serif;
  text-align: left;
  /* font-size: 2rem; */
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

.hero-section .hero-text {
  text-align: left;
  font-size: 1rem;
  max-width: 500px;
}


.hero-section- {
  position: relative;
  /* Usamos tu color --provalab-bg (#0b1e16) pero lo convertimos a RGBA para darle transparencia (0.8 = 80% de oscuridad).
     Esto crea el efecto de filtro oscuro sobre la foto.
  */
  background-image: linear-gradient(rgba(11, 30, 22, 0.593), rgba(11, 30, 22, 0.67)),
    url("../img/servicios/SERVICIOS.webp");
  background-size: cover;
  background-position: center;
  color: var(--provalab-text-light);
  /* Usamos tu variable de texto blanco */
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
  padding-bottom: 60px;
}

.hero-section- h2 {
  font-family: "Syne ExtraBold", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2rem;
  letter-spacing: 1px;
  position: relative;
  /* Necesario para ubicar la línea respecto al texto */
  display: inline-block;
  margin-bottom: 35px;
  /* Aumentamos el margen para que no choque con la lista */
  padding-bottom: 15px;
  text-decoration: none;
}

.hero-section- h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.hero-section- .hero-subtitle {
  font-size: 1.1rem;
  max-width: 800px;
  line-height: 1.6;
  color: var(--provalab-text-light);
}

/* Configuración del contenedor principal */
.hero-tech-trust {
  background-color: #fbfbfb;
  z-index: 2;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Capa de profundidad */


/* Color de acento institucional */
.text-accent-lime {
  color: var(--provalab-accent-lime);
}

/* Tamaños de fuente responsivos */
.title-clamp {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.max-w-500 {
  max-width: 500px;
}

.list-text-size {
  font-size: 1.05rem;
}



.break-font {
  overflow-wrap: break-word;
}

/* =========================================
   TARJETA DINÁMICA DE BENEFICIOS
   ========================================= */
/* Gradiente para la tarjeta de beneficios de la derecha y borde de contraste */
.benefits-box-modern {
  background: linear-gradient(135deg, var(--provalab-light-green) 0%, #226a44 100%);
  border-top: 5px solid var(--provalab-accent-lime);
}

/* Animaciones de Flotar (Hover) que pidió el cliente */
.hover-float-card {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.hover-float-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Contenedor que mantiene todo en el mismo tamaño */
.provalab-cortina-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 300px;
  border-radius: 1rem;
  overflow: hidden;
  margin: 0 auto;
  cursor: pointer;
}

/* La imagen de fondo */
.cortina-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* La tarjeta verde (empieza escondida a la izquierda) */
.cortina-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--provalab-dark-green) 0%, #1f5e3da9 100%);

  /* ¡Aquí está el truco! La movemos a la izquierda para que asome solo un 4% */
  transform: translateX(-96%);

  /* El borde verde limón que se asoma */
  border-right: 8px solid var(--provalab-accent-lime);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Los textos dentro de la tarjeta */
.cortina-textos {
  padding: 2.5rem 3rem;
  opacity: 0;
  /* Invisibles al principio */
  transform: translateX(-30px);
  transition: all 0.4s ease;
}

/* --- ANIMACIÓN AL PASAR EL MOUSE (HOVER) --- */

/* 1. La tarjeta verde se desliza y cubre toda la foto */
.provalab-cortina-wrapper:hover .cortina-panel {
  transform: translateX(0);
}

/* 2. El texto aparece suavemente un instante después */
.provalab-cortina-wrapper:hover .cortina-textos {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
  /* Se retrasa para que primero entre el fondo verde */
}

/* 3. La foto hace un zoom inverso y se apaga un poco */
.provalab-cortina-wrapper:hover .cortina-img {
  transform: scale(1.1) translateX(20px);
  opacity: 0.3;
}

/* Ajustes para pantallas más pequeñas (móviles/tablets) */

@media (max-width: 768px) {
  .hero-section h2 {
    font-size: 2.5rem;
  }

  .benefits-box {
    margin-top: 40px;
  }

  .hero-section {
    padding: 120px 0 100px 0;
    /* Menos padding en pantallas pequeñas */
  }

}

@media (max-width: 991.5px) {

  .hero-section {
    padding: 120px 0 1500px 0;

  }

  .tec-confianz {
    text-align: center !important;
    display: block;
    /* Asegura que el text-align funcione correctamente */
    margin-left: auto;
    margin-right: auto;
  }

  .tec-confianz br {
    display: none;
  }

  .hero-stripes {
    display: none;
  }

  .service-stripes {
    display: none;
  }
}

/* Clase base para las franjas */
/* Clase base (Esta ya la tienes bien) */
.hero-stripes {
  position: absolute;
  height: auto;
  pointer-events: none;
  z-index: 2;
  width: 25%;
  max-width: 200px;
}

/* --- Franja de Arriba (Invertida y a la mitad) --- */
.stripes-top-hero {
  /* La bajamos al 60% desde arriba (como tenías) */
  top: 86%;
  left: 5%;

  /* La invertimos verticalmente */
  transform: scaleX(-1);
}

/* --- Franja de Abajo (Fuera de la sección) --- */
.stripes-bottom-hero {
  /* Usamos un valor negativo para sacarla por abajo (como tenías) */
  bottom: -64%;
  right: 5%;
}

.services-section {
  position: relative;
  /* ¡MUY IMPORTANTE! Para anclar las franjas */
  overflow: hidden;
  /* Opcional, pero buena práctica */
  padding: 80px 0;
  text-align: center;
  background-color: #f8f9fa;
  z-index: 2;
  /* Un fondo gris muy claro */
}

.services-section .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}

.services-section .section-subtitle {
  font-size: 1.1rem;
  font-weight: bold;
  color: #000000;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

/* Clase base para las franjas de esta sección */
.service-stripes {
  position: absolute;
  height: auto;
  pointer-events: none;
  /* Para que no se pueda hacer clic */
  z-index: -1;
  /* Para que queden detrás del contenido */

  /* Ajusta el tamaño a tu gusto */
  width: 25%;
  max-width: 250px;
}

/* Franja de arriba-derecha */
.stripes-top-services {
  top: 59%;
  /* Distancia desde arriba */
  right: 5%;
  /* Distancia desde la derecha */
}

/* Franja de abajo-derecha */
.stripes-bottom-services {
  bottom: 5%;
  /* Distancia desde abajo */
  right: 5%;
  /* Distancia desde la derecha */
}

img {
  pointer-events: none;

  /* Opción 2 (Complementaria): 
       Evita que el usuario pueda "seleccionar" la imagen (verla azul).
    */
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Estándar */
}

/* =========================================
   NUEVAS TARJETAS DE SERVICIOS (CON FOTO)
   ========================================= */

.service-card-modern {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  /* Clave para que la foto no se salga de las curvas */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  /* Un borde gris muy sutilito */
}

/* El contenedor de la foto */
.service-img-wrapper {
  height: 240px;
  width: 100%;
  overflow: hidden;
  position: relative;
  border-bottom: 4px solid var(--provalab-accent-lime, #8bc34a);
  background-color: #000;
  /* Fondo negro detrás de la foto */
}

/* La imagen tiene opacidad baja por defecto */
.service-img-wrapper img {
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0.7;
  /* Opacidad para que se mezcle con el fondo negro */
}

/* La tarjeta completa se levanta al pasar el mouse */
.service-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Al hacer hover: zoom + vuelve a la opacidad 100% (se aclara) */
.service-card-modern:hover .service-img-wrapper img {
  transform: scale(1.1);
  opacity: 1;
}

/* Contenedor del título */
.service-title-wrapper {
  padding: 30px 20px;
  background-color: #ffffff;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Títulos más grandes */
.service-title-wrapper h4 {
  font-size: 1.4rem;
  /* Letras más grandes como pidieron */
  line-height: 1.4;
  text-transform: uppercase;
  font-family: 'Nunito Sans', sans-serif;
  letter-spacing: 0.5px;
}





.color-primary {
  color: #2a4735;
}

/* Colores de fondo de las tarjetas */
/* Inocuidad Alimentaria y Microbiología */

.card-bg-inocuidad {
  background-color: #2a4735;
}


/* Análisis Específicos */
.card-bg-analisis {
  background-color: #006646;
}

/* Consultoría y Estudios */
.card-bg-consultoria {
  background-color: #75aa02;
}

/* Metales Pesados */
.card-bg-metales {
  background-color: #2b231d;
}

/* calidad alimentaria */
.card-bg-calidad {
  background-color: #006646;
}

.provalab-nav-bg2 {
  background-color: transparent !important;
  border-bottom: none;
  /* Elimina cualquier línea inferior */
  box-shadow: none;
  /* Elimina cualquier sombra */
}

/* Estilo del header cuando se hace scroll */
/* Estilo del header cuando se hace scroll */

.provalab-nav-bg2.scrolled {
  background-color: #2a4634 !important;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  /* Añade box-shadow a la transición */
  /* --- LÍNEA AÑADIDA --- */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  /* Sombra sutil en la parte de abajo */
}

/* ================================================================= */
/* AJUSTES RESPONSIVOS PARA TABLETS Y MÓVILES                        */
/* ================================================================= */
@media (max-width: 991.98px) {

  /* 1. Ajusta la sección principal */
  .hero-section {
    min-height: auto;
    /* Permite que la altura se ajuste al contenido */
    padding: 170px 0 90px 0;
    /* Reduce el espaciado vertical */
    text-align: center;
    /* Centra el texto cuando las columnas se apilan */
  }

  /* 2. Reduce el tamaño del título principal */
  .hero-section h2 {
    font-size: 2rem;
       margin-top: 50px;
    /* Un tamaño más adecuado para móviles */
  }

  /* 3. Centra el párrafo y elimina su ancho máximo */
  .hero-section .hero-text {
    max-width: none;
    margin: 0 auto;
  }

  /* 4. Ajusta la caja de beneficios */
  .benefits-box {
    margin-top: 40px;
    /* Añade espacio arriba para separarlo del texto */
    text-align: left;
    /* Mantiene el texto de la lista alineado a la izquierda para mejor lectura */
  }
}

@media (max-width: 766.98px) {

  /* 1. Ajusta la sección principal */
  .hero-section {
    min-height: auto;
    /* Permite que la altura se ajuste al contenido */
    padding: 200px 0 100px 0;
    /* Reduce el espaciado vertical */
    text-align: center;
    /* Centra el texto cuando las columnas se apilan */
  }
}

@media (max-width: 575.98px) {

  /* 1. Ajusta la sección principal para evitar desbordes */
  .hero-section {
    /* Reduce el padding vertical y AÑADE padding horizontal */
    padding: 150px 10px 155px 20px;
  }

  /* 2. Reduce drásticamente el tamaño del título */

  /* 4. Reduce el padding de la caja de beneficios */
  .benefits-box {
    padding: 10px;
  }
}

/* ================================================================= */
/* AJUSTE FINAL PARA LEGIBILIDAD EN MÓVILES MUY PEQUEÑOS             */
/* ================================================================= */
/* --- AJUSTE ESTRICTO PARA CELULARES PEQUEÑOS (462px para abajo) --- */
@media (max-width: 462px) {

  .hero-section {
    /* Mantenemos tu fondo oscuro para el contraste */
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/servicios/SERVICIOS.webp") !important;
    background-size: cover !important;
    background-position: center !important;

    /* ¡Magia aquí! Quitamos los 355px y ponemos un espaciado lógico */
    padding: 120px 15px 60px 15px !important;
    min-height: auto !important;
  }


  .tec-confianz {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }

  .hero-text {
    font-size: 1rem !important;
    /* Achicamos un pelín el texto descriptivo */
  }

  /* Tu ajuste para las curvas, escrito de forma segura */
  #curvas-degradacion {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .cortina-textos {
    padding: 0.5rem 0.5rem !important;
    max-height: 100%;
    overflow-y: auto;
  }

  .cortina-textos ul li {
    margin-bottom: 0.8rem !important;
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
  }
}


@media (max-width: 300px) {
  .hero-section {
    padding-top: 80px !important;
  }

  .tec-confianz {
    font-size: 1.8rem !important;
  }


}

/* ================================================================= */
/* ESTILOS ÚNICOS PARA LA PÁGINA DE CALIDAD                          */
/* ================================================================= */

/* --- Estilos para la sección principal (Hero) --- */
.calidad-hero-section {
  position: relative;
  /* IMPORTANTE: Cambia la ruta a tu imagen de fondo */
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../img/calidad/calidad_header.webp");
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px 0;
}

.calidad-hero-section h2,
.calidad-hero-section h3 {
  font-family: "Syne Bold", sans-serif;
  /* Usamos la fuente que definimos */
}

.calidad-hero-section h2 {
  font-size: 3.5rem;
  font-weight: 800;
}

.calidad-hero-section h5 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1rem;
  /* font-weight: bold; */
  text-transform: uppercase;
}

.calidad-hero-section p {
  font-family: "Nunito Sans", sans-serif;
}

/* Lista con puntos cuadrados verdes */
.calidad-hero-section .list-custom-square {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.calidad-hero-section .list-custom-square li {
  font-family: "Nunito Sans", sans-serif;
  padding-left: 25px;
  position: relative;
  margin-bottom: 1px;
  /*  color: #8bc34a;  */
  /* Color verde lima */
  /*  font-weight: bold; */
}

.calidad-hero-section .list-custom-square li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  height: 10px;
  width: 10px;
  background-color: #ffffff;
  border-radius: 5px;
}

.calidad-imagen-destacada {
  position: relative;
  max-width: 550px;
  width: 100%;

}

/* --- ESTA ES LA CAPA FILTRO (OVERLAY) CON RGBA --- */
.calidad-imagen-destacada::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 1rem;
}

.img-flotante-calidad {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
}

/* Ajuste rápido para móviles */
@media (max-width: 991px) {
  .calidad-hero-section .row>div:first-child {
    margin-bottom: 3rem;
  }
}

/* Clase base (igual) */
.calidad-stripes {
  position: absolute;
  height: auto;
  pointer-events: none;
  z-index: 1;
  width: 25%;
  max-width: 250px;
}

/* Franja de arriba (Esquina superior IZQUIERDA) */
.stripes-top-calidad {
  top: 65%;
  left: 5%;
  transform: scaleX(-1);
  /* ¡Añade esta línea para voltearla verticalmente! */
}

/* Franja de abajo (Esquina inferior DERECHA) */
.stripes-bottom-calidad {
  bottom: -20%;
  right: 5%;
  z-index: 3;
  /* <-- Esta se queda a la derecha */
}

/* Estilo para la caja de beneficios con efecto de vidrio esmerilado */
.benefits-box2 {
  /* 1. Fondo blanco semi-transparente */
  background-color: rgba(255, 255, 255, 0.15);
  /* 2. El efecto de desenfoque del fondo (la magia está aquí) */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Para compatibilidad con Safari */
  /* 3. Estilos adicionales para pulir el diseño */
  padding: 30px;
  border-radius: 16px;
  /* Bordes más redondeados como en la imagen */
  border: 1px solid rgba(255, 252, 252, 0.2);
  /* Un borde sutil que atrapa la luz */
}

/* --- NUEVOS ESTILOS para la lista de la DERECHA (CENTRADA) --- */
.benefits-box2 ul {
  list-style: none;
  padding-left: 0;
}

.benefits-box2 ul li {
  margin-bottom: 15px;
  /* Un poco más de espacio entre líneas */
}

/* 2. Crea y posiciona el punto personalizado */
.benefits-box2 ul li::before {
  content: "";
  /* ¡Importante! Crea el elemento */
  display: inline-block;
  /* Lo trata como un carácter de texto */
  width: 8px;
  /* Le da un ancho */
  height: 8px;
  /* Le da un alto */
  background-color: #ffffff;
  /* Puntos blancos sólidos */
  border-radius: 50%;
  /* Lo hace un círculo perfecto */
  margin-right: 12px;
  /* Espacio entre el punto y el texto */
  vertical-align: middle;
  /* Lo alinea verticalmente con el texto */
}

/* Y que el texto también tenga un color sólido */
.benefits-box2,
.benefits-box2 ul li {
  font-weight: 800;
  color: #ffffff;
  /* Texto blanco sólido */
}

/* --- Sección Intermedia: "Lo que esto representa" --- */
.business-value-section {
  background-color: #006646;
  /* Verde oscuro */
  color: white;
  padding: 80px 0;
  text-align: center;
}

.business-value-section h2 {
  font-weight: bold;
  margin-bottom: 60px;
}

.business-value-section .icon {
  margin-bottom: 20px;
  /* Espacio debajo del icono */
  height: 80px;
  /* Altura fija para el contenedor del icono */
  display: flex;
  align-items: center;
  justify-content: center;
}

.business-value-section .icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Para que las imágenes (asumiendo que son oscuras) se vean blancas */
}

.business-value-section h4 {
  font-weight: bold;
  font-size: 1.1rem;
}

/* ================================================================= */
/* ESTILOS PARA LAS NUEVAS SECCIONES DE CALIDAD                      */
/* ================================================================= */

/* --- Sección Acreditaciones (con fondo) --- */
.accreditations-section-v2 {
  /* ¡IMPORTANTE! Reemplaza con la ruta de tu imagen de fondo */
  background-image: linear-gradient(rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.235)),
    url("../img/calidad/acreditaciones.webp");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: #2B231D;
  /* Texto oscuro para que contraste con el fondo claro */
}

.accreditations-section-v2 h2 {
  font-size: 2.8rem;
  font-weight: bold;
}

.accreditations-section-v2 p {
  color: #2B231D;
}

.accreditations-section-v2 h5 {
  text-transform: uppercase;
  color: #2B231D;
}

.accreditations-section-v2 .buttons-container-v2 {
  text-align: right;
}

.accreditations-section-v2 .buttons-container-v2 p {
  font-size: 1rem;
}

/* --- Barra de Logos --- */
.logos-section {
  background-color: #2b231d;
  /* Café oscuro/carbón */
  padding: 40px 0;
}

.green-section {
  background-color: #75aa02;
  /* Café oscuro/carbón */
  padding: 10px 0;
}

.logos-section img {
  max-height: 100px;
  /* Altura máxima uniforme para todos los logos */
  width: auto;
  margin: 15px;
  /* Espacio para que no se peguen en móvil */
}

.inverted-logo {
  filter: grayscale(100%) brightness(200%);
}

.inverter {
  filter: invert(100%) grayscale(100%) brightness(200%);
}

/* --- Sección Certificaciones --- */
.certifications-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  /* Fondo gris claro */
}

.certifications-section h2 {
  font-weight: bold;
}

.certification-card {
  background-color: #2a4735;
  /* Verde oscuro */
  color: white;
  padding: 60px;
  border-radius: 20px;
  height: 100%;
  /* Para que ambas tarjetas tengan la misma altura */
  transition: transform 0.3s ease;
}

.certification-card:hover {
  transform: scale(1) translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.certification-card p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Ajustes responsivos para los botones */
@media (max-width: 991.98px) {
  .accreditations-section-v2 .buttons-container-v2 {
    text-align: left;
    margin-top: 30px;
  }

  .stripes-bottom-calidad,
  .stripes-top-calidad {
    display: none;
  }
}

/* Estado normal del botón */
.btn.btn-accreditation {
  background-color: #2a4735;
  /* Verde oscuro */
  color: white;
  border: 1px solid #2a4735;
  /* Borde del mismo color */
  padding: 10px 10px;
  text-transform: uppercase;
  border-radius: 5px;
  transition: all 0.2s ease-in-out;
}

/* Estado al pasar el mouse por encima */
.btn.btn-accreditation:hover {
  background-color: #3a5a40;
  /* Verde un poco más claro */
  border-color: #3a5a40;
  color: white;
}

/* Estado al hacer clic (:active) y al seleccionar (:focus) */
.btn.btn-accreditation:active,
.btn.btn-accreditation:focus {
  background-color: #1b7729;
  /* Un verde más intenso al hacer clic */
  border-color: #1b7729;
  color: white;
  /* El box-shadow de Bootstrap a menudo ayuda a indicar el foco */
  box-shadow: 0 0 0 0.25rem rgba(42, 71, 53, 0.5);
}

/* ================================================================= */
/* ESTILOS PARA LA PÁGINA DE SOSTENIBILIDAD                          */
/* ================================================================= */

/* --- Sección Principal de Sostenibilidad --- */
.sustainability-content {
  background-color: #2a4735;
  /* Verde oscuro */
  color: white;
  display: flex;
  /* Ayuda a centrar el contenido verticalmente */
  align-items: center;
}

/* Asegúrate que la fila ocupe toda la altura */
.sustainability-hero .row {
  min-height: 90vh;
}

.sustainability-hero {
  background-color: #2a4735;
}

.sustainability-content .content-wrapper {
  padding: 60px;
  /* Espaciado interno */
  width: 100%;
}

.sustainability-image-col {
  background-size: cover;
  background-position: center;
  /* El min-height se controla desde la fila (.row) */
}

/* Caja de Pilares */
.pillars-box {
  background-color: #75aa02;
  /* Verde lima */
  color: #2B231D;
  /* Texto oscuro */
  padding: 30px;
  border-radius: 20px;
  margin: 40px 0;
}

.pillars-box ul {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  margin-bottom: 0;
}

.pillars-box ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 15px;
}

.pillars-box ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  height: 10px;
  width: 10px;
  background-color: #2B231D;

  /* Puntos de color verde oscuro */
  border-radius: 50%;
}

.sustainability-image-col {
  background-size: cover;
  background-position: center;
  position: relative;
  /* ¡Importante! Mantenlo para que el posicionamiento funcione */
  z-index: 2;
}

.sustainability-image-col::after {
  content: "";
  position: absolute;

  /* 2. Técnica para centrar verticalmente */
  top: 0;
  bottom: 0;
  margin: auto 0;

  left: -20px;
  /* Lo mueve 15px a la izquierda de la imagen */
  width: 20px;
  height: 80vh;
  /* Altura del 90% de la pantalla */
  background-color: #75aa02;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  z-index: 1;
  /* 3. Pone la barra verde en una capa inferior a la imagen */
}

/* ================================================================= */
/*          --- Sección de Noticias y Novedades ---                   */
/* ================================================================= */

/*
 * ----------------------------------------------------
 * ESTILOS PARA LA SECCIÓN DE NOTICIAS (NEWS & STORIES)
 * ----------------------------------------------------
 */

/* 1. Fondo de la Sección */
.news-section {
  padding: 0 0 50px 0;
  /*  background-color: var(--light-bg, #f4f7f6); */
  /* Usando tu variable de fondo */
}

/* 2. Título y Subtítulo */
.news-section h2 {
  color: var(--provalab-dark-green, #2a4634) !important;
  letter-spacing: 1.5px;
}

.news-section .subtitle {
  color: var(--muted-text, #6c757d);
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* 3. Estilo de las Tarjetas de Noticias (NEWS-CARD) */
.news-card {
  /* Propiedades base de la tarjeta */
  position: relative;
  overflow: hidden;
  /* Oculta partes de la imagen al aplicar zoom */
  min-height: 250px;
  /* Altura mínima para asegurar visibilidad */
  background-size: cover;
  background-position: center;
  background-color: var(--provalab-dark-green, #2a4634);
  /* Fondo para prevenir flashes blancos */
  border-radius: 1rem;
  /* Bordes redondeados modernos */
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  /* Sombra suave */

  /* Animación y Transición */
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

/* Este es el degradado fijo que no se mueve */
.news-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  /* Altura del degradado */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 90%);
  z-index: 1;
  pointer-events: none;
}

/* Efecto Hover (Interacción Visual) */
.news-card:hover {
  transform: translateY(-5px);
  /* Elevar un poco la tarjeta */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  /* Sombra más fuerte */
  filter: contrast(1.1);
}

/* Efecto Zoom en la Imagen (Usando pseudo-elemento para el fondo) */
.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* La imagen de fondo se maneja directamente en el atributo style del HTML */
  background-size: inherit;
  background-position: inherit;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Transición suave */
  z-index: 1;
}

.news-card:hover::before {
  transform: scale(1.05);
  /* Ligeramente agranda la imagen en hover */
}

/* 4. Estilo del Texto Superpuesto (CARD-OVERLAY-TEXT) */
.card-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
  z-index: 2;
  /* Asegura que el texto esté por encima de la imagen y el gradiente */

  /* Efecto de fondo sutil solo en el texto */
  /* background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        transparent 100%
    ); */
  transition: transform 0.3s ease;
}

/* Efecto: El texto sube un poco cuando pasas el mouse */
.news-card:hover .card-overlay-text {
  transform: translateY(-5px);
}

/* Bonus: Que la categoría resalte al hacer hover */
.news-card:hover .news-category {
  background-color: var(--accent-color);
  color: var(--provalab-dark-green);
  transform: scale(1.05);
}

.card-overlay-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0;
}

/* 2. Estilo de la Categoría/Etiqueta */
.news-category {
  transition: all 0.3s ease;
  display: inline-block;
  /* Usamos tu color de acento Provalab */
  background-color: var(--primary-color, #8bc34a);
  color: var(--provalab-dark-green, #2a4634);
  /* Texto oscuro sobre el acento claro */
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.75rem;
  /* Separación del título */
  border-radius: 15px;
  letter-spacing: 0.5px;
}

/* 3. Estilo de la Fecha de Publicación */
.news-date {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  /* Gris claro para contraste sutil */
  margin-top: 0.5rem;
  /* Separación del título */
  margin-bottom: 0;
}

.news-date i {
  color: rgba(255, 255, 255, 0.6);
  /* Ícono aún más sutil */
}

/* 5. Asegurar la altura en el caso 3 (Dos noticias a la izquierda, una grande a la derecha) */
/* Esto asegura que las columnas col-lg-6 tengan la misma altura */
@media (min-width: 992px) {
  .news-section .row {
    align-items: stretch;
  }

  /* Estilo específico para el Contenedor de las dos tarjetas pequeñas */
  .news-section .d-flex.flex-column.h-100 {
    height: 100%;
  }
}
.overlay-degradado {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.804) 0%, rgba(0,0,0,0.1) 100%);
    pointer-events: none; /* Para que no estorbe si alguien hace clic */
}


.body-detalle-noticia {
    height: 100%;
    background-color: #F3F3F8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}
/* Comportamiento del contenedor principal */
.main-detalle {
    flex-grow: 1;
    width: 80%;
    margin-left: 50px;
    transition: all 0.3s ease;
}
.hr-sutil {
    opacity: 0.1;
}
@media (max-width: 768px) {
    .main-detalle {
        width: 100% !important;
        margin-left: 0 !important;
    }
}



/* --- ESTILOS DE LA PÁGINA DE CONTACTO --- */

.body-contacto {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    height: 100%;
}

.body-contacto main {
    flex-grow: 1;
}

.separador-verde-sm {
    width: 80px; 
    height: 4px; 
    background-color: var(--provalab-accent-lime, #8bc34a); 
    margin: 15px auto; 
    border-radius: 2px;
}

.mapa-interactivo-container {
    width: 100%; 
    height: 600px; 
    border-radius: 0.5rem; 
    z-index: 1;
}

.bg-verde-provalab {
    background-color: var(--provalab-dark-green, #2a4634);
}

.iframe-mapa {
    border: 0;
    width: 100%;
    height: 420px;
}

.leyenda-mapa-box {
    background: rgba(255, 255, 255, 0.95); 
    padding: 15px 20px; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
    border: 1px solid #ddd;
}

.leyenda-item {
    display: flex; 
    align-items: center;
}

.leyenda-item.mb-12 { margin-bottom: 12px; }

.leyenda-icono {
    height: 35px; 
    margin-right: 15px;
}

.leyenda-texto {
    font-family: 'Nunito Sans', sans-serif; 
    font-size: 14px; 
    color: #1a1a1a;
    font-weight: bold;
}


/* --- UTILIDADES PARA CONTACTO Y MAPA (Reemplazo de estilos en línea) --- */

.separador-verde-sm {
    width: 80px; 
    height: 4px; 
    background-color: var(--provalab-accent-lime); 
    margin: 15px auto; 
    border-radius: 2px;
}

.mapa-interactivo-container {
    width: 100%; 
    height: 600px; 
    border-radius: 0.5rem; 
    z-index: 1;
}

.bg-verde-provalab {
    background-color: var(--provalab-dark-green) !important;
}

.text-accent-lime {
    color: var(--provalab-accent-lime) !important;
}

.text-accent-custom {
    color: var(--accent-color) !important;
}

.text-muted-large {
    color: var(--provalab-text-muted) !important; 
    font-size: 1.1rem;
}

.iframe-wrapper-glass {
    background-color: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.1);
}

.iframe-mapa {
    border: 0;
    width: 100%;
    height: 420px;
}
/* --- ESTILOS DEL MODAL DE PDF (Footer) --- */
.modal-content-pdf {
    height: 90vh;
}

.modal-body-pdf {
    flex: 1;
    overflow: hidden;
}

.iframe-pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
}
.body-sin-padding {
    padding-top: 0 !important;
}

/* Evitar que la página brinque a la derecha al abrir un modal de Bootstrap */
body.modal-open {
    padding-right: 0 !important;
    overflow-y: auto !important;
}


/* --- ESTILOS DE LA SECCIÓN DE INTRODUCCIÓN --- */

/* ======================================= */
/* ESTILOS PARA TEMA OSCURO                */
/* ======================================= */

.dark-theme-section {
  background-image: linear-gradient(rgba(42, 71, 53, 0.354), rgba(42, 71, 53, 0.242)),
    url("/img/servicios/ANALISIS MULTIRESIDUAL DE PESTICIDAS.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding-top: 120px;
  padding-bottom: 25px;
}

/* Cajas oscuras de alto contraste para los íconos */
/* Opción 1: Cajas Verde Súper Oscuro */
.bento-box-dark {
  background-color: rgba(20, 113, 68, 0.473);
  /* Verde casi negro */
  backdrop-filter: blur(8px);
  border: 1px solid var(--provalab-accent-lime);
  /* Si no tienes esta variable, ponle #8bc34a */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.bento-box-dark:hover {
  transform: translateY(-5px);
  background-color: rgba(23, 74, 48, 0.768);
  /* Se vuelve sólido al pasar el mouse */
}

/* Efecto opcional de zoom suave para la foto colorida */
.hover-zoom-img {
  transition: transform 0.5s ease;
}

.hover-zoom-img:hover {
  transform: scale(1.08);
}

/* Ajusta el color de elementos específicos que no heredan bien */
.dark-theme-section .subtitle,
.dark-theme-section .section-icon {
  color: #ffffff !important;
}

/* 1. LA FOTO PRINCIPAL (Izquierda) */
.dark-theme-section .section-icon {
  width: 150px !important;
  height: auto;
  object-fit: contain;
}

/* Íconos grandes y 100% blancos */
.dark-theme-section .analysis-icon-cer {
  width: 85px !important;
  height: 85px !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Fuerza a que sean blancos */
}


.dark-theme-section h1,
.dark-theme-section h4,
.dark-theme-section h5 {
  color: #ffffff;
}


.analysis-box {
  color: #ffffff;
}

.analysis-icon {
  /* 1. Tamaño uniforme para todos */
  max-width: 50px;
  height: 60px;
  /* Damos una altura fija para que se alineen */
  object-fit: contain;
  /* Asegura que la imagen quepa sin deformarse */

  /* 2. Los convierte a color blanco */
  filter: brightness(0) invert(1);

  /* 3. Centrado y espaciado */
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
  /* Espacio antes del texto */
}

.dark-theme-section .analysis-box i,
.dark-theme-section .analysis-box small {
  color: #ffffff;
}

.dark-theme-section .border-start-lg {
  border-left: 2px solid rgb(255, 255, 255) !important;
}

.provalab-quote {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  position: relative;
}

.provalab-quote::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--lime-text);
  margin: 15px auto 0;
  border-radius: 10px;
}



/* Ajustes responsivos para la línea divisoria */
@media (max-width: 991.98px) {
  .dark-theme-section .border-start-lg {
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-top: 2rem;
    margin-top: 2rem;
  }
}

/* .section-icon {
  font-size: 3rem;
  color: #2a4735;
} */
.section-icon {
  width: 80;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.analysis-box {
  background-color: #f0f3f2;
}

.analysis-box .bi-check {
  color: #4D5357 !important;
}

.border-start-lg {
  border-left: 1px solid #dee2e6;
}

/* --- ESTILOS PARA TARJETAS Y LISTAS --- */
.info-card {
  padding: 30px;
  border-radius: 20px;
  height: 100%;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* --- EFECTO AL PASAR EL CURSOR (HOVER) --- */
.info-card:hover {
  /* Realiza un zoom del 5% */
  transform: scale(1.05);
  /* Agrega una sombra para dar un efecto de profundidad */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* --- CÓDIGO CORREGIDO --- */
.info-card-green {
  padding: 30px;
  border-radius: 20px;
  /* Se eliminó la línea height: 100%; */
}

.card-icon-img {
  width: 80px;
  /* Ajusta este tamaño como prefieras */
  height: 80px;
  /* Ajusta este tamaño como prefieras */
  margin-bottom: 1.25rem;
  /* Espacio entre la imagen y el título */
  object-fit: contain;
  /* Asegura que la imagen se vea bien sin deformarse */
  filter: brightness(0) invert(1);
}

.card-dark-green {
  background-color: #006646;
  color: #ffffff;
}

.card-dark-brown {
  background-color: #2b231d;
  color: #ffffff;
}

.card-lime-green {
  background-color: #75aa02;
  /* color: #ffffff; */
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

/* texto blanco forzado */
.white-text {
  color: #ffffff !important;
}

.black-text {
  color: #000000 !important;
}

.badge.white-textes {
  color: #ffffff !important;
  --bs-text-opacity: 1 !important;
}


/* --- AJUSTES RESPONSIVOS --- */
@media (max-width: 991.98px) {
  .border-start-lg {
    border-left: none;
    border-top: 1px solid #dee2e6;
    padding-top: 2rem;
    margin-top: 2rem;
  }
}

/* ======================================= */
/* ESTILOS CORREGIDOS PARA LAS LISTAS      */
/* ======================================= */
/* Contenedor de la lista (ul) */
.list-custom-check {
  list-style: none;
  padding-left: 0;
  /* Quita el padding por defecto de la lista */
}

/* Elemento de la lista (li) */
.list-custom-check li {
  /* Se elimina el 'position: relative' y 'padding-left' que ya no son necesarios */
  margin-bottom: 8px;
  /* Espacio entre cada punto */
}

/* El punto personalizado (::before) */
.list-custom-check li::before {
  content: "•";
  /* Usamos un carácter de punto simple */
  font-size: 1.2rem;
  /* Hacemos el punto un poco más grande */
  display: inline-block;
  /* Lo trata como un carácter de texto */
  vertical-align: middle;
  /* Lo alinea verticalmente con el texto */
  margin-right: 10px;
  /* Espacio entre el punto y el texto */
  line-height: 1;
  /* Ajuste fino de la altura de línea */
}

/* Colores específicos para cada fondo */
.how-we-work-section .list-custom-check li::before {
  color: #ffffff;
  /* Puntos blancos en el fondo oscuro */
}

/* Colores específicos para cada fondo */
.how-we-work-section-car .list-custom-check-car li::before {
  color: #2B231D;
  /* Puntos blancos en el fondo oscuro */
}

.list-custom-check-car li::before {
  content: "•";
  /* Usamos un carácter de punto simple */
  font-size: 1.5rem;
  /* Hacemos el punto un poco más grande */
  display: inline-block;
  /* Lo trata como un carácter de texto */
  vertical-align: middle;
  /* Lo alinea verticalmente con el texto */
  margin-right: 10px;
  /* Espacio entre el punto y el texto */
  line-height: 1;
  /* Ajuste fino de la altura de línea */
}

/* ======================================================= */
/* ESTILOS DEFINITIVOS PARA LA SECCIÓN "CÓMO TRABAJAMOS"    */
/* ======================================================= */
.text-color-coff {
  color: #2B231D;
}

.how-we-work-section {
  background-color: #2a4735;
  color: #ffffff;
  padding: 80px 0;
  overflow: hidden;
}

#consultoria_estudios_body {
    max-width: 100%;
    overflow-x: hidden !important;
    background-color: #2a4735;
}

.timeline-step {
  position: relative;
  /* Aumentamos el padding vertical (arriba/abajo) a 80px */
  /* Mantenemos el padding horizontal (lados) en 40px */
  padding: 30px 0;
  padding-bottom: 50px;
  text-align: left;
}

.work-timeline-container {
  position: relative;
  padding: 0 0;
}

/* --- 1. LÍNEA HORIZONTAL --- */
.work-timeline-container::before {
  content: '';
  position: absolute;
  top: 60%;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transform: translateY(-50%);
  z-index: 1;
}

/* --- 2. ESTILOS DE LOS PASOS --- */
.timeline-step,
.work-timeline-container .row:first-of-type .col-md-4:last-of-type {
  position: relative;
}

/* --- 3. APARIENCIA DE LÍNEAS Y PUNTOS --- */
/* (Esto solo define CÓMO SE VEN, no dónde se posicionan) */

/* Apariencia de TODAS las líneas verticales */
.timeline-step::before,
.work-timeline-container .row:first-of-type .col-md-4:last-of-type::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #ffffff;
  transform: translateX(-50%);
  z-index: 1;
}

/* Apariencia de TODOS los puntos */
.timeline-step::after,
.work-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
  content: '';
  position: absolute;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  bottom: 50%;
  background-color: #abff00;
  border-radius: 50%;
  /* border: 3px solid rgba(171, 255, 0, 0.75); */
  /* 3. Agregamos el brillo con box-shadow */
  box-shadow: 0 0 15px 4px rgba(171, 255, 0, 0.75);
  z-index: 2;
}

/* --- 3. POSICIONAMIENTO VERTICAL --- */
/* ======================================================= */
/* POSICIONAMIENTO VERTICAL (CORRECCIÓN FINAL)             */
/* ======================================================= */

/* --- Fila SUPERIOR --- */

/* Líneas nacen del borde inferior del texto y van HACIA ARRIBA */
.work-timeline-container .row:first-of-type .timeline-step::before,
.work-timeline-container .row:first-of-type .col-md-4:last-of-type::before {
  bottom: -27.8px;
  /* La línea nace desde la base del texto */
  height: 50px;
  /* Altura de la línea (puedes ajustarla) */
}

/* Puntos se posicionan AL FINAL de la línea de arriba */
.work-timeline-container .row:first-of-type .timeline-step::after,
.work-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
  bottom: 15px;
  /* Se posiciona justo donde termina la línea de 60px */
}

/* --- Fila INFERIOR --- */

/* Líneas nacen del borde superior del texto y van HACIA ABAJO */
.work-timeline-container .row:last-of-type .timeline-step::before {
  top: -20px;
  /* La línea nace desde la parte superior del texto */
  height: 50px;
  /* Misma altura fija */
}

/* Puntos se posicionan AL FINAL de la línea de abajo */
.work-timeline-container .row:last-of-type .timeline-step::after {
  top: 26px;
  /* Se posiciona justo donde termina la línea de 60px */
}

/* --- 4. POSICIONAMIENTO ESPECÍFICO DE CADA LÍNEA Y PUNTO --- */

/* -- Paso 1: Planificación Técnica -- */
.work-timeline-container .row:first-of-type .timeline-step:nth-of-type(1)::before,
.work-timeline-container .row:first-of-type .timeline-step:nth-of-type(1)::after {
  left: 3%;
  /* Ajusta este % para moverlo horizontalmente */
}

/* -- Paso 2: Análisis por LC-MS/MS -- */
.work-timeline-container .row:first-of-type .timeline-step:nth-of-type(2)::before,
.work-timeline-container .row:first-of-type .timeline-step:nth-of-type(2)::after {
  left: 1%;
  /* Ajusta este % para moverlo horizontalmente */
}

/* -- Tarjeta: ¿Quiénes se benefician? -- */
.work-timeline-container .row:first-of-type .col-md-4:last-of-type::before,
.work-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
  left: 25%;
  /* Ajusta este % para moverlo horizontalmente */
}

/* -- Paso 3: Ejecución en Campo -- */
.work-timeline-container .row:last-of-type .timeline-step:nth-of-type(1)::before,
.work-timeline-container .row:last-of-type .timeline-step:nth-of-type(1)::after {
  left: 58%;
  /* Ajusta este % para moverlo horizontalmente */
}

/* -- Paso 4: Documentación y Soporte -- */
.work-timeline-container .row:last-of-type .timeline-step:nth-of-type(2)::before,
.work-timeline-container .row:last-of-type .timeline-step:nth-of-type(2)::after {
  left: -2%;
  /* Ajusta este % para moverlo horizontalmente */
}

/* Ajustes responsivos */
@media (max-width: 991.98px) {

  /* 1. CONTENEDOR PRINCIPAL */
  .work-timeline-container {
    position: relative;
    /* IMPORTANTE: Espacio interno para que el texto no toque la línea */
    padding: 0 0 50px 30px !important;

    /* IMPORTANTE: Margen externo para separar la línea del borde de la pantalla */
    margin-left: 20px !important;

    /* La línea vertical */
    border-left: 2px solid rgba(255, 255, 255, 0.3);
  }

  /* 2. Ocultamos la línea horizontal de escritorio */
  .work-timeline-container::before {
    display: none !important;
  }

  /* 3. LOS PASOS (Textos) */
  .timeline-step {
    width: 100% !important;
    padding: 0 0 30px 10px !important;
    /* Espacio entre el texto y la línea */
    text-align: left !important;
    margin-bottom: 0 !important;

    /* Reseteo de posiciones */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
  }

  /* 4. EL PUNTO (Lo ajustamos para que caiga en la línea) */
  .timeline-step::after {
    display: block !important;
    content: '';
    position: absolute;

    /* AJUSTE FINO: Coordenada para centrar el punto sobre la línea */
    /* Como el padding-left del container es 30px, regresamos -38px aprox */
    left: -20px !important;

    top: 5px !important;
    /* Ajusta esto si quieres subir/bajar el punto respecto al título */

    width: 15px;
    height: 15px;
    background-color: #71A502;
    /* Tu verde */
    border: 2px solid #2c2c2c;
    /* Borde oscuro para contraste */
    outline: 2px solid white;
    border-radius: 50%;
    z-index: 10;
  }

  /* 5. Ocultar conectores viejos */
  .timeline-step::before {
    display: none !important;
  }

  /* 6. Limpieza de columnas extrañas */
  .work-timeline-container .row:first-of-type .col-md-4:last-of-type::before,
  .work-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
    display: none !important;
  }

  /* 7. Ajuste de la tarjeta de beneficiarios */
  .beneficiaries-card-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
  }

}

/* ================================================================= */
/* AJUSTE PARA PANTALLAS DE LAPTOPS PEQUEÑAS (992px a 1199px) */
/* ================================================================= */
@media (min-width: 992px) and (max-width: 1199.98px) {

  /* 1. Ajustamos la línea principal para que no se desborde */
  .work-timeline-container::before {
    left: 4.9%;
    width: 90%;
  }

  /* 2. Subimos la tarjeta verde para que no choque */
  .beneficiaries-card-wrapper {
    transform: translateY(-40px);
  }

  /* 3. Reposicionamos TODOS los puntos y conectores con porcentajes más estables */

  /* --- Fila SUPERIOR --- */
  .work-timeline-container .row:first-of-type .timeline-step::before {
    bottom: -47px;
    height: 30px;
  }

  .work-timeline-container .row:first-of-type .timeline-step::after {
    bottom: -25px;
  }

  /* Paso 1: Planificación */
  .work-timeline-container .row:first-of-type .timeline-step:nth-of-type(1)::before,
  .work-timeline-container .row:first-of-type .timeline-step:nth-of-type(1)::after {
    left: 18%;
    /* Ajustado */
  }

  /* Paso 2: Análisis */
  .work-timeline-container .row:first-of-type .timeline-step:nth-of-type(2)::before,
  .work-timeline-container .row:first-of-type .timeline-step:nth-of-type(2)::after {
    left: 10%;
    /* Centrado */
  }

  /* Conector de la tarjeta verde */
  .work-timeline-container .row:first-of-type .col-md-4:last-of-type::before,
  .work-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
    left: 20%;
    /* Ajustado */
    bottom: -12.5%;
  }

  /* Bolita verde de la tarjeta */
  .work-timeline-container .row:first-of-type .col-md-4:last-of-type::after {

    /* <-- Muévelo horizontalmente con este */
    bottom: -20px;
    /* <-- Muévelo verticalmente con este */
  }

  /* --- Fila INFERIOR --- */
  .work-timeline-container .row:last-of-type .timeline-step::before {
    top: -1px;
    height: 30px;
  }

  .work-timeline-container .row:last-of-type .timeline-step::after {
    top: 28px;
  }

  /* Paso 3: Ejecución */
  .work-timeline-container .row:last-of-type .timeline-step:nth-of-type(1)::before,
  .work-timeline-container .row:last-of-type .timeline-step:nth-of-type(1)::after {
    left: -10%;
    /* Mismo valor que el de arriba */
  }

  /* Paso 4: Documentación */
  .work-timeline-container .row:last-of-type .timeline-step:nth-of-type(2)::before,
  .work-timeline-container .row:last-of-type .timeline-step:nth-of-type(2)::after {
    left: -7.2%;
    /* Mismo valor que el de arriba */
  }
}

/* Ajustes responsivos */
@media (max-width: 767.98px) {

  /* En móvil, oculta la línea de tiempo y apila las columnas */
  .work-timeline-container::before,
  .timeline-step::before,
  .timeline-step::after {
    display: none;
  }

  .work-timeline-container {
    padding: 0 0;
  }

  /* --- Oculta la línea y el punto de la tarjeta de beneficiarios --- */
  /* SE AÑADIÓ ESTA LÍNEA para ocultar los elementos de la 3ra columna */
  .work-timeline-container .row:first-of-type .col-md-4:last-of-type::before,
  .work-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
    display: none;
  }
}

.text-emoji {
  font-family: 'EmojiOneColor', sans-serif;
}

/* Texto final */
.final-text {
  color: #ffffff;
  font-family: "Syne Bold";
  margin-top: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================= */
/*============== ESTILOS PARA LA PÁGINA CALIDAD ALIMENTARIA ======== */
/* ================================================================= */

/* ===== NUEVO ESTILO PARA EL ÍCONO DEL HERO ===== */
.hero-icon {
  font-size: 4rem;
  /* Ajusta el tamaño del ícono */
  opacity: 0.8;
  /* Le da una ligera transparencia como en la imagen */
  display: block;
  /* Asegura que el ícono se coloque en su propia línea */
}


/* 1. Estilo del Fondo del Hero Section */
.provalab-hero-bg2 {
  background: linear-gradient(to right,
      var(--provalab-dark-green) 50%,
      var(--provalab-medium-green) 100%);
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.provalab-hero-bg2 h2 {
  font-family: "Syne Bold", sans-serif;
}

/* ======================================= */
/* AJUSTES RESPONSIVOS PARA TABLETAS Y MÓVILES */
/* ======================================= */

/* ======================================= */
/* AJUSTES RESPONSIVOS PARA TABLETAS Y MÓVILES */
/* ======================================= */
/* Se activa en 1199.98px (justo antes de 1200px) y menos */
@media (max-width: 1199.98px) {

  /* 1. Le damos un "colchón" a la sección 'hero' */
  .provalab-hero-bg2 {
    min-height: auto;
    padding-top: 80px;

  }

  /* 2. Arreglo para la *siguiente* sección */
  .steps-section {
    margin-top: 0 !important;
  }

  /* 3. ¡AQUÍ ESTÁ EL ARREGLO PARA LA COLISIÓN! */
  /* Reducimos el texto del título en tabletas */
  .provalab-hero-bg2 h2 {
    font-size: 3rem;
    /* <-- El tamaño reducido */
  }

}

/* Se activa en 991.98px (justo antes de 992px) y menos */
@media (max-width: 991.98px) {

  /* 1. Ajustes del hero (ya los tienes) */
  .provalab-hero-bg2 {
    min-height: auto;

  }

  /* 2. Arreglo para la *siguiente* sección (ya lo tienes) */
  .steps-section {
    margin-top: 0 !important;
  }

  /* 3. Arreglo para *cuando se apila* (ya lo tienes) */
  .provalab-circle-image2 {
    margin-top: 50px;
  }

  /* ======================================= */
  /* 4. ¡AÑADE ESTO PARA ARREGLAR LA COLISIÓN! */
  /* ======================================= */
  .provalab-hero-bg2 h2 {
    font-size: 2.5rem;
    /* Un poco más pequeño que display-3 */
  }

}

/* Ajustes responsivos para dispositivos más pequeños */
@media (max-width: 767.98px) {

  /* <-- Cambié 768px por 767.98px por consistencia */
  .provalab-circle-image2 {
    display: none;
    /* Oculta el círculo en móviles para ahorrar espacio */
  }

  .provalab-hero-bg2 h2 {
    font-size: 3rem;
    /* Un poco más pequeño que display-3 */
  }

  .provalab-hero-bg2 {
    min-height: auto;
  }
}

/* --- IMAGEN CIRCULAR (AHORA ES EL CONTENEDOR 'PADRE') --- */
.provalab-circle-image2 {
  position: relative;
  /* ¡MUY IMPORTANTE! */
  display: flex;
  /* Esto ya lo tenías, está bien */
  justify-content: center;
  align-items: center;

  /* Hacemos que su tamaño máximo sea el de la imagen */
  max-width: 450px;
  /* Centramos el contenedor en la columna */
  margin-left: auto;
  margin-right: auto;
}

/* --- IMAGEN PRINCIPAL (LA CAPA DE EN MEDIO) --- */
.provalab-circular-img2 {
  width: 100%;
  /* max-width: 450px;  <-- Ya no va aquí, va en el padre */
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;

  /* --- CAMBIOS CLAVE --- */
  position: relative;
  /* Para que el z-index funcione */
  z-index: 2;
  /* CAPA 2 (En medio) */
  border: 1px solid #ffffff;
  /* Movemos el borde aquí */
}

/* --- BORRAMOS EL PSEUDO-ELEMENTO --- */
/* .provalab-circle-image2::after {
  ¡YA NO SE NECESITA! BÓRRALO.
} */


/* --- FRANJAS DECORATIVAS (AHORA RESPONSIVAS) --- */
.provalab-stripes {
  position: absolute;
  /* Usamos % para que se encoja con el contenedor */
  width: 50%;
  /* Ajusta este % (ej: 45%, 50%, 60%) */
  height: auto;
  pointer-events: none;
}

/* Franja de arriba (DETRÁS) */
.stripes-top {
  z-index: 1;
  /* CAPA 1: Detrás */

  /* Posición con % relativa AL CÍRCULO */
  /* (Valores de ejemplo, ajústalos a tu gusto) */
  top: -15%;
  right: 50%;
}

/* Franja de abajo (ENCIMA) */
.stripes-bottom {
  z-index: 3;
  /* CAPA 3: Encima */
  /* Posición con % relativa AL CÍRCULO */
  /* (Valores de ejemplo, ajústalos a tu gusto) */
  bottom: -19%;
  right: 1%;
}







/* ================================================================= */
/* === ESTILOS ACTUALIZADOS PARA LA SECCIÓN "CÓMO TRABAJAMOS" ==== */
/* ================================================================= */

/* ======================================= */
/* ESTILOS PARA LAS LISTAS               */
/* ======================================= */

/* Puntos blancos para la lista principal en fondo oscuro */
.steps-section .list-custom-check li::before {
  color: #ffffff;
}

/* Estilos para la lista dentro de la tarjeta verde */
.steps-card-list li::before {
  content: "•";
  font-size: 1.5rem;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  line-height: 1;
}

/* Puntos color café para la lista de la tarjeta */
.steps-section .steps-card-list li::before {
  color: #2B231D;
}

/* ======================================= */
/* ESTILOS GENERALES DE LA SECCIÓN       */
/* ======================================= */
.steps-section {
  background-color: #2a4735;
  color: #ffffff;
  padding: 80px 0;
  overflow: hidden;
}

.steps-timeline-container {
  position: relative;
  padding: 0;
}

.steps-item {
  position: relative;
  padding: 30px 0;
  padding-bottom: 50px;
  text-align: left;
}


/* ======================================= */
/* LÍNEA DE TIEMPO (PUNTOS Y LÍNEAS)     */
/* ======================================= */

/* --- 1. LÍNEA HORIZONTAL (AJUSTE Z-INDEX) --- */
.steps-timeline-container::before {
  content: '';
  position: absolute;
  top: 52%;
  width: 102.8%;
  height: 2px;
  background-color: #ffffff;
  transform: translateY(-50%);
  z-index: 1;
  /* Asegúrate de que la línea esté por debajo de la tarjeta */
}



.pe-8 {
  padding-right: 5rem !important;
}

.steps-info-card {
  /* Mantén los estilos existentes de tu tarjeta aquí */
  padding: 30px;
  height: 100%;
  border-radius: 20px;
  background-color: #75AA02;
  /* El color de tu tarjeta verde */
  color: #2B231D;
  /* Color de texto para que contraste con el fondo verde */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  /* Sombra para darle profundidad */

  /* === AÑADE ESTAS LÍNEAS PARA CENTRAR EL CONTENIDO === */
  display: flex;
  flex-direction: column;
  /* Apila los elementos (título y lista) verticalmente */
  justify-content: center;
  /* Centra el contenido en el eje vertical */
  /* height: 100%; */
  /* Asegura que la tarjeta ocupe toda la altura de su contenedor */
}

/* --- 2. APARIENCIA GENERAL --- */
.steps-item,
.steps-timeline-container .row:first-of-type .col-md-4:last-of-type {
  position: relative;
}

.steps-item::before,
.steps-timeline-container .row:first-of-type .col-md-4:last-of-type::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #ffffff;
  transform: translateX(-50%);
  z-index: 1;
}

.steps-item::after,
.steps-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
  content: '';
  position: absolute;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  bottom: 50%;
  background-color: #abff00;
  border-radius: 50%;
  box-shadow: 0 0 15px 4px rgba(171, 255, 0, 0.75);
  z-index: 2;
}

/* Oculta la línea y el punto de la columna de la tarjeta de beneficiarios */
.steps-timeline-container .row:first-of-type .col-md-4:last-of-type::before,
.steps-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
  display: none;
}

/* --- 3. POSICIONAMIENTO VERTICAL --- */

/* Fila SUPERIOR */
.steps-timeline-container .row:first-of-type .steps-item::before,
.steps-timeline-container .row:first-of-type .col-md-4:last-of-type::before {
  bottom: 5px;
  height: 50px;
}

.steps-timeline-container .row:first-of-type .steps-item::after,
.steps-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
  bottom: 48px;
}

/* Fila INFERIOR */
.steps-timeline-container .row:last-of-type .steps-item::before {
  top: -52px;
  height: 50px;
}

.steps-timeline-container .row:last-of-type .steps-item::after {
  top: 7px;
}

/* --- 4. POSICIONAMIENTO HORIZONTAL ESPECÍFICO --- */
.steps-timeline-container .row:first-of-type .steps-item:nth-of-type(1)::before,
.steps-timeline-container .row:first-of-type .steps-item:nth-of-type(1)::after {
  left: 3%;
}

.steps-timeline-container .row:first-of-type .steps-item:nth-of-type(2)::before,
.steps-timeline-container .row:first-of-type .steps-item:nth-of-type(2)::after {
  left: 1%;
}


.steps-timeline-container .row:last-of-type .steps-item:nth-of-type(1)::before,
.steps-timeline-container .row:last-of-type .steps-item:nth-of-type(1)::after {
  left: 3%;
}

.steps-timeline-container .row:last-of-type .steps-item:nth-of-type(2)::before,
.steps-timeline-container .row:last-of-type .steps-item:nth-of-type(2)::after {
  left: -5%;
}

/* ======================================= */
/* AJUSTES RESPONSIVOS                   */
/* ======================================= */
/* PRIMERO EL BREAKPOINT MÁS GRANDE (1999px) */


@media (max-width: 1399.47px) {

  .steps-timeline-container .row:first-of-type .steps-item::before,
  .steps-timeline-container .row:first-of-type .col-md-4:last-of-type::before {
    bottom: 2.5px;
    height: 50px;
  }

  .steps-timeline-container .row:first-of-type .steps-item:nth-of-type(1)::before,
  .steps-timeline-container .row:first-of-type .steps-item:nth-of-type(1)::after {
    left: 3.5%;
  }

  .steps-timeline-container .row:first-of-type .steps-item::after,
  .steps-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
    bottom: 42px;
  }

  .steps-timeline-container .row:last-of-type .steps-item::before {
    top: -50.2px;
    height: 50px;
  }

  .steps-timeline-container .row:last-of-type .steps-item::after {
    top: -6px;
  }

  /* Esto alinea el Item 2 (1ro de la 2da fila) con el Item 1 */
  .steps-timeline-container .row:last-of-type .steps-item:nth-of-type(1)::before,
  .steps-timeline-container .row:last-of-type .steps-item:nth-of-type(1)::after {
    left: 3.4%;
    /* <-- Ponle el mismo valor que el Item 1 */
  }
}

/* Tablets y pantallas medianas */
/* ================================================= */
/* ORDEN CORRECTO: DE MÁS GRANDE A MÁS PEQUEÑO */
/* ================================================= */


/* DESPUÉS EL BREAKPOINT MÁS PEQUEÑO (1200px) */
/* (Este bloque AHORA SÍ sobrescribirá al anterior cuando sea necesario) */
@media (max-width: 1200px) {

  .steps-timeline-container .row:first-of-type .steps-item::before,
  .steps-timeline-container .row:first-of-type .col-md-4:last-of-type::before {
    bottom: 16px;
    height: 50px;
  }

  .steps-timeline-container .row:first-of-type .steps-item:nth-of-type(1)::before,
  .steps-timeline-container .row:first-of-type .steps-item:nth-of-type(1)::after {
    left: 3.5%;
  }

  .steps-timeline-container .row:first-of-type .steps-item::after,
  .steps-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
    bottom: 58px;
  }

  .steps-timeline-container .row:last-of-type .steps-item::before {
    top: -64px;
    height: 50px;
  }

  .steps-timeline-container .row:last-of-type .steps-item::after {
    top: -6px;
  }

  .steps-timeline-container .row:last-of-type .steps-item:nth-of-type(1)::before,
  .steps-timeline-container .row:last-of-type .steps-item:nth-of-type(1)::after {
    left: 3.5%;
  }
}

@media (max-width: 1199px) {

  .steps-timeline-container .row:first-of-type .steps-item::before,
  .steps-timeline-container .row:first-of-type .col-md-4:last-of-type::before {
    bottom: 2px;
    height: 50px;
  }

  .steps-timeline-container .row:first-of-type .steps-item:nth-of-type(1)::before,
  .steps-timeline-container .row:first-of-type .steps-item:nth-of-type(1)::after {
    left: 4%;
  }

  .steps-timeline-container .row:first-of-type .steps-item::after,
  .steps-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
    bottom: 38px;
  }

  .steps-timeline-container .row:last-of-type .steps-item::before {
    top: -48px;
    height: 50px;
  }

  .steps-timeline-container .row:last-of-type .steps-item::after {
    top: -1px;
  }

  .steps-timeline-container .row:last-of-type .steps-item:nth-of-type(1)::before,
  .steps-timeline-container .row:last-of-type .steps-item:nth-of-type(1)::after {
    left: 4%;
  }
}

/* Tablets pequeñas */
@media (max-width: 991.98px) {
  .steps-item {
    padding: 20px 10px;
  }

  .steps-timeline-container::before,
  .steps-item::before,
  .steps-item::after,
  .steps-timeline-container .row:first-of-type .col-md-4:last-of-type::before,
  .steps-timeline-container .row:first-of-type .col-md-4:last-of-type::after {
    display: none;
  }
}

/* Móviles */
@media (max-width: 767.98px) {
  .steps-timeline-container {
    padding: 0;

    /* 1. Convertimos el contenedor en una columna flex */
    display: flex;
    flex-direction: column;
  }

  /* 2. "Rompemos" las filas para que los 4 items 
     sean hijos directos del contenedor flex */
  .steps-timeline-container .row {
    display: contents;
  }

  /* 3. Damos un margen a los items para separarlos */
  .steps-item {
    margin-bottom: 30px;
    width: 100%;
    /* Aseguramos que ocupen todo el ancho */
  }

  /* 4. ASIGNAMOS EL ORDEN CORRECTO */

  /* 1) INFRAESTRUCTURA */
  .steps-timeline-container .row:first-of-type .steps-item:nth-of-type(1) {
    order: 1;
  }

  /* 2) ALINEACIÓN (que antes era el 3ro en aparecer) */
  .steps-timeline-container .row:last-of-type .steps-item:nth-of-type(1) {
    order: 2;
  }

  /* 3) COBERTURA (que antes era el 2do en aparecer) */
  .steps-timeline-container .row:first-of-type .steps-item:nth-of-type(2) {
    order: 3;
  }

  /* 4) CAPACITACIÓN */
  .steps-timeline-container .row:last-of-type .steps-item:nth-of-type(2) {
    order: 4;
  }
}













/* ================================================================= */
/* ESTILOS PARA LA PÁGINA DE METALES PESADOS                         */
/* ================================================================= */
/* ================================================================= */
/*======== ESTILOS PARA LA PÁGINA DE METALES PESADOS ========*/
/* ================================================================= */

/* --- Estilo para el ícono del hero --- */
.metals-hero-icon {
  font-size: 4rem;
  /* Ajusta el tamaño del ícono */
  opacity: 0.8;
  /* Le da una ligera transparencia */
  display: block;
  /* Asegura que el ícono se coloque en su propia línea */
}

/* --- Estilo del fondo del Hero Section --- */
/* .metals-hero-bg {
  background: linear-gradient(to right,
      var(--provalab-dark-green) 50%,
      var(--provalab-medium-green) 100%);
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
} */
/* Configuración del contenedor principal */
.metals-hero-bg {
  position: relative;
  /* Necesario para contener los elementos absolutos */
  overflow: hidden;
  /* Corta el video si sobra */
  background-color: #1a3c2e;
  /* Color de respaldo por si falla el video */
  min-height: 80vh;
  /* Altura mínima para que luzca el video */
}

/* El Video de Fondo */
.bg-video-metals {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Clave: Cubre todo el espacio sin estirarse feo */
  z-index: 0;
  /* Nivel más bajo */
}

/* El filtro oscuro (Overlay) */
.bg-overlay-metals {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Encima del video, debajo del texto */
  /* Gradiente verde oscuro semitransparente para que combine con tu marca */
  background: linear-gradient(to right,
      rgba(16, 40, 24, 0.945) 0%,
      rgba(17, 60, 32, 0.796) 100%);
}

/* Ajuste para que el contenedor tenga prioridad */
.z-2 {
  z-index: 2;
}

.metals-hero-bg h2 {
  font-family: "Syne Bold", sans-serif;
}

/* --- Contenedor principal del círculo y sus bordes --- */
.metals-circle-image {
  position: relative;
  /* ¡CLAVE! Es el ancla para los elementos absolutos */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Hacemos que el contenedor se ajuste a la imagen principal */
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Imagen principal (con su primer borde) --- */
.metals-circular-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;

  /* --- CAMBIOS CLAVE PARA EL DOBLE BORDE --- */
  position: relative;
  /* Para que su z-index funcione */
  z-index: 2;
  /* CAPA 2 (En medio, encima de la franja de atrás y el borde ::after) */
  border: 1px solid #ffffff;
  /* ¡El primer borde blanco! */
}

.metals-circle-image::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  /* --- AUMENTA ESTOS VALORES --- */
  /* (Ejemplo: 30px, pero puedes poner 25px, 40px, etc.) */

  width: calc(100% + 30px);
  max-width: calc(490px + 30px);
  /* Asegúrate de cambiar ambos */

  /* --- El resto queda igual --- */
  height: auto;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid #ffffff;
  z-index: 1;
}

/* --- Clase base para las franjas --- */
.provalab-stripes-met {
  position: absolute;
  /* Usamos % para que se encoja con el contenedor */
  width: 50%;
  /* Ajusta este % (ej: 45%, 50%, 60%) */
  height: auto;
  pointer-events: none;
}

/* Franja de arriba (DETRÁS) */
.stripes-top-met {
  z-index: 1;
  /* CAPA 1: Detrás */

  /* Posición con % relativa AL CÍRCULO */
  /* (Valores de ejemplo, ajústalos a tu gusto) */
  top: -15%;
  right: 50%;
}

/* Franja de abajo (ENCIMA) */
.stripes-bottom-met {
  z-index: 3;
  /* CAPA 3: Encima */

  /* Posición con % relativa AL CÍRCULO */
  /* (Valores de ejemplo, ajústalos a tu gusto) */
  bottom: -19%;
  right: 1%;
}

/* El .metals-circle-image::after que tenías ya no es necesario
   porque el borde está en la imagen de arriba. */

/* --- Ajustes responsivos --- */
@media (max-width: 768px) {
  .metals-circle-image {
    display: none;
    /* Oculta el círculo en móviles */
  }

  .metals-hero-bg {
    min-height: auto;
    /* La altura se ajusta al contenido en móviles */
  }

  .display {
    font-size: 50px;
  }
}


/* --- Estilos para la Tarjeta de Valor (Izquierda) --- */
.value-card {
  background-color: #006646;
  border-radius: 25px;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* --- Efecto Suave --- */
  transition: all 0.3s ease-in-out;
}

.value-card h4 {
  text-align: center;
  /* margin-bottom: 1.5rem; */
}

.value-card .custom-bullet-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: inline-block;
}

.value-card .custom-bullet-list li {
  font-size: 17px;
  font-family: "Nunito Sans";
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
  margin-bottom: 12px;
}

.value-card .custom-bullet-list li::before {
  content: '• ';
  position: center;
  left: -5px;
  top: 0;
  color: #fff;
  font-size: 1.2rem;
}


/* --- Estilos para la Tarjeta de Entrega (Derecha) --- */
.delivery-card {
  background-color: #94A299;
  padding: 0 5rem;
  border-radius: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* --- Efecto Suave --- */
  transition: all 0.3s ease-in-out;
}

.delivery-card h2 {
  font-family: "Syne Bold";
}

.delivery-card .text-uppercase {
  letter-spacing: 0.5px;
  font-size: 1.2rem;
}

/* =====================================================
  ¡AQUÍ ESTÁ EL EFECTO HOVER PARA AMBAS TARJETAS!
=====================================================
*/
.value-card:hover,
.delivery-card:hover {
  transform: scale(1.03);
  /* Un poco más grande */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  /* Sombra suave */
  filter: brightness(1.05);
  /* Un toque de brillo */
  cursor: pointer;
  /* Cambia el cursor para indicar que es interactivo */
}

/* ================================================================= */
/* ESTILOS PARA LA SECCIÓN DE LA LINEA DE TIEMPO DE METALES PESADOS  */
/* ================================================================= */

/* Contenedor principal de la línea de tiempo */
.process-layout {
  position: relative;
  /* Esencial para posicionar la línea horizontal */
}

/* Agregamos esta regla para que todo el texto sea blanco */
.process-section {
  color: #fff;
}


/* La línea horizontal principal que cruza el centro */
.process-layout::before {
  content: '';
  position: absolute;
  top: 51.3%;
  left: 5%;
  /* Un poco de margen a los lados */
  width: 50%;
  height: 2px;
  background-color: #fff;
  /* CAMBIADO: De verde a blanco */
  transform: translateY(-50%);
  z-index: 1;
  /* Para que esté detrás de los círculos */
}

/* Estilo base para cada tarjeta de proceso */
.process-item {
  font-family: "Nunito Sans";
  position: relative;
  /* Esencial para posicionar las líneas y círculos de cada item */
  background-color: transparent;
  padding: 1.6rem;
}

/* El círculo (nodo) en la línea de tiempo */
.process-item::after {
  content: '';
  position: absolute;
  left: 50%;
  /* Centrado horizontalmente con el item */
  width: 16px;
  height: 16px;
  background-color: #8cc63f;
  /* MANTENIDO: Sigue siendo verde */
  border-radius: 50%;
  box-shadow: 0 0 15px 4px rgba(171, 255, 0, 0.75);
  z-index: 2;
  /* Para que esté por encima de la línea horizontal */
}

/* La línea vertical que conecta la tarjeta con el círculo */
.process-item::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  background-color: #fff;
  /* CAMBIADO: De verde a blanco */
  transform: translateX(-50%);
  z-index: 1;
}


/* ----- ESTILOS ESPECÍFICOS PARA FILA SUPERIOR E INFERIOR ----- */

/* Fila Superior: La línea vertical va HACIA ABAJO */
.row:first-of-type .process-item::before {
  left: 120px;
  top: 100.9%;
  height: 40px;
  /* CAMBIADO: Reducido de 80px a 40px para menos separación */
}

/* Fila Superior: El círculo se posiciona al final de la línea vertical */
.row:first-of-type .process-item::after {
  left: 120px;
  top: calc(100% + 40px);
  /* CAMBIADO: Ajustado a 40px para que coincida */
  transform: translate(-50%, -50%);
}

/* Fila Inferior: La línea vertical va HACIA ARRIBA */
.row:last-of-type .process-item::before {
  left: -33px;
  bottom: 113%;
  height: 40px;
  /* CAMBIADO: Reducido de 80px a 40px para menos separación */
}

/* Fila Inferior: El círculo se posiciona al final de la línea vertical */
.row:last-of-type .process-item::after {
  left: -33px;
  bottom: calc(100% + 90px);
  /* CAMBIADO: Ajustado a 40px para que coincida */
  transform: translate(-50%, 50%);
}

/* ----- RESPONSIVE: Ocultar la línea en móviles ----- */
@media (max-width: 767px) {

  .process-layout::before,
  .process-item::before,
  .process-item::after {
    display: none;
    /* Ocultamos la línea y nodos, ya que el layout se apila */
  }

}



/* ================================================================= */
/*                     MEDIA QUERY PARA TABLETS                    */
/* ================================================================= */

@media (max-width: 1400px) {

  /* ----- ESTILOS ESPECÍFICOS PARA FILA SUPERIOR E INFERIOR ----- */

  /* Fila Superior: La línea vertical va HACIA ABAJO */
  .row:first-of-type .process-item::before {
    left: 120px;
    top: 101.2%;
    height: 40px;
    /* CAMBIADO: Reducido de 80px a 40px para menos separación */
  }

  /* La línea horizontal principal que cruza el centro */
  .process-layout::before {
    top: 52.2%;
  }

  /* Fila Superior: El círculo se posiciona al final de la línea vertical */
  .row:first-of-type .process-item::after {
    left: 120px;
    top: calc(101.2% + 45px);
    /* CAMBIADO: Ajustado a 40px para que coincida */
    transform: translate(-50%, -50%);
  }

  /* Fila Inferior: La línea vertical va HACIA ARRIBA */
  .row:last-of-type .process-item::before {
    left: -25.9px;
    bottom: 111.2%;
    height: 40px;

  }

  /* Fila Inferior: El círculo se posiciona al final de la línea vertical */
  .row:last-of-type .process-item::after {
    left: -26px;
    bottom: calc(111.2% + 40px);
    /* CAMBIADO: Ajustado a 40px para que coincida */
    transform: translate(-50%, 50%);
  }

}



@media (max-width: 1199.98px) {

  /* 1. El .process-layout es AHORA el contenedor flex */
  .process-layout {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 40px;
  }

  /* 2. 'display: contents' para liberar los items */
  .process-layout .row {
    display: contents;
  }

  /* 3. Orden del título */
  .process-layout>h3 {
    order: 0;
    margin-left: -40px;
    margin-bottom: 50px;
  }

  /* --- 4. Orden de los Items --- */
  .process-layout .row:first-of-type .process-item:first-child {
    order: 1;
  }

  .process-layout .row:last-of-type .process-item:first-child {
    order: 2;
  }

  .process-layout .row:first-of-type .process-item:last-child {
    order: 3;
  }

  .process-layout .row:last-of-type .process-item:last-child {
    order: 4;
  }

  /* --- 5. Estilos de la línea de tiempo vertical --- */

  .process-layout::before {
    content: '';
    position: absolute;
    left: 10px;
    /* La línea está a 10px del borde */
    top: 0;
    bottom: 50px;
    width: 2px;
    background-color: #fff;
    grid-row: unset;
    grid-column: unset;
    transform: none;
    height: auto;
  }

  .process-item {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    padding: 0;
    text-align: left !important;
  }

  /* --- 6. ¡AQUÍ ESTÁ EL ARREGLO! --- */

  .process-layout .row:first-of-type .process-item::after,
  .process-layout .row:last-of-type .process-item::after {
    position: absolute;
    /* CÁLCULO:
      - El contenedor tiene 40px de padding.
      - La línea está en 'left: 10px' (su centro es 11px).
      - El círculo (asumimos 16px) debe centrarse en 11px.
      - Su borde izquierdo debe estar en: 11px (centro) - 8px (mitad círculo) = 3px (absoluto).
      - Para llegar a 3px (absoluto) desde adentro del item (que empieza en 40px):
      - 3px (objetivo) - 40px (padding) = -37px
    */
    left: -37px;
    top: 10px;
    transform: none;
    /* ¡Quitamos el transform que estaba mal! */
    right: auto;
    bottom: auto;
  }

  /* --- 7. Limpieza final --- */
  .process-item::before {
    display: none;
  }

  .process-item ul {
    list-style: none;
    padding: 0;
  }
}




















/* --- Colores y Estilos Generales --- */
/* --- Colores y Estilos Generales --- */
.bg-main-dark-green {
  background-color: #2A4735;
}

/* --- Estilos Sección 1: Superior --- */
.benefit-card {
  background-color: #006646;
  border-radius: 15px;
  /* VALORES:      ARRIBA | DERECHA | ABAJO | IZQUIERDA  */
  padding: 2.5rem 3rem 2.5rem 8rem;
}

.benefit-bullet-list {
  padding-left: 0;
  /* Reseteamos por si acaso */
}

.benefit-bullet-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

/* Usamos la nueva clase para crear el punto (bullet) */
.benefit-bullet-list li::before {
  content: '•';
  /* Carácter de punto */
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.2;
}

.custom-check-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.custom-check-list .bi-check-circle-fill {
  margin-right: 10px;
  margin-top: 4px;
  color: #a3b925;
}

/* --- Estilos Sección 2: Tarjeta de Análisis --- */
.analysis-card {
  position: relative;
  /* Necesario para que funcione el overlay */
  background-image: url("../img/IMG_2548.webp");
  /* background-color: #f0f2f5; */
  color: #ffffff;
  border: solid 2px #ffffff;
  background-size: cover;
  background-position: center center;
  overflow: hidden;

  border-radius: 40px;
  /* OUTLINE EXTERNO CON SEPARACIÓN */
  outline: 2px solid white;
  outline-offset: 15px;
  /* Espacio entre la tarjeta y la línea blanca */
  position: relative;
  /* Para que z-index funcione */
  /* z-index: 1; */
}


/* 2. EL SECRETO: LA CAPA OSCURA (OVERLAY) */
.analysis-card::before {
  content: "";
  /* Obligatorio para los pseudo-elementos */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Aquí puedes ajustar la opacidad. 0.7 es 70% oscuro */
  background-color: rgba(8, 42, 28, 0.851);

  /* Asegura que el overlay esté sobre la imagen (z-index: 0) pero debajo del texto (z-index: 2) */
  z-index: 1;
}

/* 3. EL CONTENIDO (EL .row) */
.analysis-card .row {
  position: relative;
  /* Obligatorio */
  z-index: 2;
  /* Pone el texto POR ENCIMA del overlay oscuro */
}

/* 4. ARREGLO DE LEGIBILIDAD (Importante) */
/* Tus listas 'custom-check-list-dark' probablemente tienen texto oscuro.
   Esto las forzará a ser blancas para que se lean sobre el fondo. */
.analysis-card .custom-check-list-dark li,
.analysis-card .custom-check-list-dark .bi-check {
  color: #ffffff !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.analysis-card h4,
.analysis-card h6,
.analysis-card p,
.analysis-card ul li {

  text-shadow: 1px 1px 3px rgba(12, 12, 12, 0.8);

}


/* --- CÓDIGO NUEVO Y RESPONSIVO PARA LAS FRANJAS --- */
/* Clase base (si aún no la tienes) */
.provalab-stripes {
  position: absolute;
  height: auto;
  pointer-events: none;
}


.stripes-analysis {
  z-index: 3;
  width: 20%;
  max-width: 200px;
  top: -5%;
  right: -1%;
}

.custom-styled-list li {
  margin-bottom: 1rem;
}

.custom-check-list-dark li {
  display: flex;
  align-items: center;
}

.custom-check-list-dark .bi-check {
  margin-right: 8px;
  font-weight: bold;
  color: #00684A;
}

.custom-bullet-list li::before {
  content: "•";
  margin-right: 8px;
  color: #00684A;
  font-weight: bold;
}

/* --- Estilos Sección 3: Banner de Consultoría --- */
.consulting-banner {
  background-color: #75AA02;
  border-radius: 15px;
  overflow: hidden;
  /* OUTLINE EXTERNO CON SEPARACIÓN */
  outline: 2px solid white;
  outline-offset: 15px;
  /* Espacio entre la tarjeta y la línea blanca */
}


/* Línea divisoria en pantallas grandes */
@media (min-width: 992px) {
  .border-end-lg {
    border-right: 1px solid #ddd;
  }


}

@media (max-width: 992px) {
  .stripes-analysis {
    top: -1%;
    /* Ajusta este % (distancia desde arriba) */
  }
}

@media (max-width: 991.98px) {

  /* Centra el título y todo el texto dentro de la caja */
  .hero-section .pe-lg-5.position-relative {
    text-align: center !important;
  }

  /* Centra el bloque del párrafo (necesario porque tiene max-width de 500px) */
  .hero-section .hero-text.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 400px) {
  .stripes-analysis {
    display: none;
    /* Ajusta este % (distancia desde arriba) */
  }
}


/* --- Estilos para la sección de Curvas de Degradación --- */
/* --- CONTENEDOR PRINCIPAL Y ANIMACIÓN FLOTANTE --- */
.analisis-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: flotar 4s ease-in-out infinite;
  /* Hace que todo el conjunto flote continuamente */
}

/* Anillo exterior (el "cuadro/círculo" alrededor) */
.analisis-image-container::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 450px;
  max-height: 450px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  z-index: 1;
}

/* --- EL CÍRCULO QUE RECORTA LA IMAGEN --- */
.analisis-circle-image {
  position: relative;
  z-index: 2;
  max-width: 450px;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 2px solid #ffffff;
  border-radius: 50%;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.analisis-circular-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(0.85) contrast(1.05);

}

/* --- FRANJAS DECORATIVAS --- */
.analisis-stripes {
  position: absolute;
  width: 40%;
  height: auto;
  pointer-events: none;
}

.stripes-top {
  z-index: 1;
  top: -10%;
  right: 50%;
}

.stripes-bottom {
  z-index: 3;
  bottom: -10%;
  right: 15%;
}


/* (Asegúrate de tener el keyframe 'flotar' en tu CSS si no lo tenías ya) */
@keyframes flotar {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.curvas-hero-bg {
  background-color: #2A4735;
  position: relative;
  overflow: hidden;
}

.degradacion-info-box {
  background-color: #75A902;
  border-radius: 15px;
  color: #1a3a3a;
}

.degradacion-info-box h5 {
  color: #2B231D;
}

.degradacion-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.degradacion-image-container::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 450px;
  max-height: 450px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  z-index: 1;
}

/* --- NUEVA CLASE para el contenedor de la imagen --- */
.degradacion-circle-image {
  position: relative;
  z-index: 2;
  max-width: 450px;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bg-vergreen {
  background-color: #2A4735;
}

/* --- NUEVA CLASE para la imagen --- */
.degradacion-circular-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- NUEVAS FRANJAS DECORATIVAS (PARA DEGRADACIÓN) --- */
.degradacion-stripes {
  position: absolute;
  /* Usamos % para que se encoja con el contenedor */
  width: 40%;
  /* Ajusta este % (ej: 45%, 50%, 60%) */
  height: auto;
  pointer-events: none;
}

/* Franja de arriba (DETRÁS) */
.stripes-top-deg {
  z-index: 1;
  /* CAPA 1: Detrás */

  /* Posición con % relativa AL CÍRCULO */
  /* (Valores de ejemplo, ajústalos a tu gusto) */
  top: -10%;
  right: 50%;
}

/* Franja de abajo (ENCIMA) */
.stripes-bottom-deg {
  z-index: 3;
  /* CAPA 3: Encima */

  /* Posición con % relativa AL CÍRCULO */
  /* (Valores de ejemplo, ajústalos a tu gusto) */
  bottom: -10%;
  right: 15%;
}


/* Solución para pantallas medianas (ej. laptops de 13", tablets horizontales)
  Oculta el círculo decorativo exterior para evitar que se vea amontonado.
*/
@media (min-width: 992px) and (max-width: 1199.98px) {

  .degradacion-image-container::before {
    display: none;
    /* Oculta el círculo exterior */
  }

  .degradacion-image-container {
    padding: 0;
    /* Opcional: Elimina el padding para dar más espacio a la imagen principal */
  }

}


/* --- Estilos para la sección "¿Por qué elegirnos?" --- */

.porque-bg {
  background-color: #2A4735;
  /* Fondo verde oscuro */
}

/* Estilo para los nuevos iconos de Bootstrap */
.porque-icon img {
  max-width: 90px;
  height: auto;
  filter: brightness(0) invert(1);
}

.porque-card p {
  font-size: 17px;
}


/* Estilo de la tarjeta individual con borde grueso */
.porque-card {
  background-color: #75AA02;
  /* Verde lima */
  color: #ffffff;
  /* Texto oscuro */
  padding: 2rem 1.5rem;
  border-radius: 25px;
  /* Bordes bien redondeados */
  /* CAMBIO PRINCIPAL: Borde blanco, sólido y grueso */
  border: 8px solid white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover interactivo */
.porque-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}


























/* --- Sección Beneficios con Curva --- */
/* --- Sección Beneficios con Curva (Versión con Posicionamiento Absoluto) --- */
/* --- Sección Beneficios con Curva (Versión Corregida) --- */
/* --- Sección Beneficios con Línea Recta --- */

.curva-bg {
  background-color: #2A4735;
  overflow-x: hidden;
}

.proceso-flujo {
  position: relative;
  min-height: 450px;
  color: white;
  padding: 0 40px;
}

/* 1. LÍNEA RECTA HORIZONTAL */
.proceso-flujo::before {
  content: '';
  position: absolute;
  top: 50%;
  /* Centrada verticalmente */
  left: 0;
  right: 0;
  height: 2px;
  /* Grosor de la línea */
  background-color: rgba(255, 255, 255, 0.8);
  /* Color de la línea */
  z-index: 1;
}

.paso-flujo {
  position: absolute;
  width: 20%;
  z-index: 2;
  text-align: left;
  /* Fondo para "cortar" la línea recta */
  padding: 5px 0;
  /* Pequeño espacio para que el corte no sea tan justo */
}

/* Línea conectora vertical */
.paso-flujo::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.8);
}

/* Punto verde */
.paso-flujo::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background-color: #a3b925;
  border-radius: 50%;
  /* border: 3px solid #1a3a3a; */
  box-shadow: 0 0 15px 4px rgba(171, 255, 0, 0.75);
}

/* --- Posicionamiento CORREGIDO para centrar los puntos --- */

/* Estilos para los pasos de ARRIBA */
.paso-arriba {
  bottom: 50%;
  /* El margen debe ser igual a la altura de la línea */
  margin-bottom: 60px;
}

.paso-arriba::before {
  top: 100%;
  /* La línea sale de abajo del texto */
}

.paso-arriba::after {
  /* Posiciona el punto al final de la línea y lo centra verticalmente (restando la mitad de su altura de 18px) */
  top: calc(100% + 60px - 9px);
}

/* Estilos para los pasos de ABAJO */
.paso-abajo {
  top: 50%;
  /* El margen debe ser igual a la altura de la línea */
  margin-top: 60px;
}

.paso-abajo::before {
  bottom: 100%;
  /* La línea sale de arriba del texto */
}

.paso-abajo::after {
  /* Posiciona el punto al final de la línea y lo centra verticalmente */
  bottom: calc(100% + 60px - 9px);
}


/* --- Adaptación para Celulares (se queda igual) --- */
/* --- Adaptación para Celulares (SIN PADDING NI MARGIN) --- */
@media (max-width: 992px) {

  /* 1. Quitamos el padding de los contenedores principales */
  .curva-bg,
  .proceso-flujo {
    padding: 0 !important;
    /* Usamos !important para anular clases de Bootstrap como py-5 */
    min-height: auto;
  }

  /* 2. Ocultamos la línea y los adornos */
  .proceso-flujo::before,
  .paso-flujo::before,
  .paso-flujo::after {
    display: none;
  }

  /* 3. Reseteamos cada paso para que se apilen sin espacios */
  .paso-flujo {
    position: static;
    width: 100%;
    text-align: center;

    /* LA CLAVE: Eliminamos todo el margin y padding */
    margin: 0;
    padding: 15px 10px;
    /* Dejamos un padding vertical pequeño para que el texto no se pegue */
  }
}



/* ================================================================= */
/* ESTILOS PARA LA SECCION DE COMO TRABAJAMOS EN PROBALAV (NUEVO)   */
/* ================================================================= */
/* ================================================================= */
/* ESTILOS PARA LA SECCION DE COMO TRABAJAMOS (VERSIÓN CORREGIDA)     */
/* ================================================================= */
/* ================================================================= */
/* ESTILOS PARA LA SECCION DE COMO TRABAJAMOS (VERSIÓN FINAL CORREGIDA) */
/* ================================================================= */

.trabajo-bg {
  background-color: #2A4735;
  color: white;
}

/* Contenedor de la línea de tiempo (pasos 1-4) */
.linea-proceso {
  position: relative;
  display: flex;
  justify-content: space-around;
  /* 1. Este padding crea el espacio vertical para que todo quepa */
  padding: 295px 0;
}

/* La línea horizontal que cruza la sección */
.linea-proceso::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: rgb(255, 255, 255);
  transform: translateY(-50%);
  z-index: 1;
}

/* Cada paso individual de la línea de tiempo (1-4) */
.paso-proceso {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0;
}

/* El conector vertical */
/* El conector vertical */
.paso-proceso::before {
  content: '';
  position: absolute;
  /* La clave: centrado automático */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background-color: rgba(255, 255, 255, 0.8);
}

/* El punto verde */
.paso-proceso::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background-color: #a3b925;
  box-shadow: 0 0 15px 4px rgba(171, 255, 0, 0.75);
  border-radius: 50%;
}

/* --- Posicionamiento Alternado --- */
/* Ajuste específico para el primer conector */
.paso-proceso:first-child {
  padding-bottom: 20px;
  /* Ajusta este valor hasta que conecte perfecto */
}

/* Pasos de ARRIBA (1 y 3) - Más arriba */
.paso-proceso:nth-child(odd) {
  align-self: flex-start;
  margin-top: -278px;
  /* Aumentamos el margen para subirlos más */
}

.paso-proceso:nth-child(odd)::before {
  left: 1px;
  bottom: -67px;
  /* La línea conectora se alarga para alcanzar la nueva posición */
  height: 60px;
  /* Sincronizamos la altura de la línea */
}

.paso-proceso:nth-child(odd)::after {
  left: 1px;
  bottom: -10px;
  /* El punto se queda en su sitio */
}

.paso-proceso:nth-child(3) {
  margin-top: -235px;
}

.paso-proceso:nth-child(3)::before {
  bottom: -66px;
  height: 60px;
}

.paso-proceso:nth-child(3)::after {

  bottom: -10px;
}

/* --- Pasos de ABAJO (Divididos para control individual) --- */

/* --- AJUSTES PARA EL PASO 2 --- */
.paso-proceso:nth-child(2) {
  align-self: flex-end;
  margin-bottom: -249px;
}

/* Conector (línea) del Paso 2 */
.paso-proceso:nth-child(2)::before {
  left: -50px;
  top: -100px;
  height: 60px;
}

/* Punto del Paso 2 */
.paso-proceso:nth-child(2)::after {
  left: -50px;
  top: -46px;
}


/* --- AJUSTES PARA EL PASO 4 --- */
.paso-proceso:nth-child(4) {
  align-self: flex-end;
  margin-bottom: -268px;
}

/* AQUÍ PUEDES MOVER SOLO LA LÍNEA DEL PUNTO 4 
  Cambiando los valores de 'left', 'top' o 'height'
*/
.paso-proceso:nth-child(4)::before {
  left: -50px;
  /* <-- Mueve la línea horizontalmente */
  top: -100px;
  /* <-- Mueve la línea verticalmente */
  height: 60px;
  /* <-- Cambia el largo de la línea */
}

/* Punto del Paso 4 */
.paso-proceso:nth-child(4)::after {
  left: -50px;
  top: -46px;
  /* (Si también quieres mover el punto 4, hazlo aquí) */
}



/* --- Estilo de la tarjeta resaltada (Paso 5) --- */
.paso-resaltado {
  background-color: #71A502;
  color: #ffffff;
  border-radius: 20px;
  padding: 1.5rem;
  border: 4px solid white;
}

.paso-resaltado h6 {
  color: #ffffff;
}

.paso-resaltado ul li {
  color: #ffffff;
}

/* --- Adaptación para Celulares (CORREGIDO) --- */
@media (max-width: 991.98px) {

  /* 1. Reset del contenedor principal */
  .linea-proceso {
    display: block;
    /* Espacio a la izquierda para la nueva línea vertical */
    padding: 0 0 0 30px;
    /* Creamos la LÍNEA VERTICAL para móvil */
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 10px;
    margin-top: 50px;
    position: relative;
    /* Necesario para que los hijos se posicionen bien */
  }

  /* 2. ¡AQUÍ ESTÁ EL ARREGLO! Ocultamos la línea horizontal de escritorio */
  .linea-proceso::before {
    display: none !important;
    content: none !important;
    border: none !important;
  }

  /* 3. Títulos centrados */
  #como-trabajamos h4 {
    text-align: center !important;
    margin-bottom: 40px;
  }

  /* 4. Ocultamos los conectores verticales viejos (los del zig-zag) */
  .paso-proceso::before {
    display: none !important;
  }

  /* 5. Estilo de las cajas de texto (Pasos) */
  .paso-proceso {
    width: 100% !important;
    margin: 0 0 10px 0 !important;

    text-align: left !important;

    background-color: transparent;
    position: relative;
    padding-left: 20px;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  /* 6. EL PUNTO VERDE (Alineado sobre la línea vertical) */
  .paso-proceso::after {
    display: block !important;
    content: '';
    position: absolute;

    left: -31px !important;
    top: 0px !important;
    bottom: auto !important;

    width: 16px;
    height: 16px;
    background-color: #71A502;
    border: 3px solid #2c2c2c;
    outline: 2px solid white;
    border-radius: 50%;
  }


  .paso-resaltado {
    margin-top: 0px;
    margin-left: 0;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .linea-proceso::before {
    /* Forzamos la línea a respetar el padding de la columna */
    left: 12px;
    right: 12px;
  }

  .accreditations-section-v2 .paso-proceso:first-child {
    padding-bottom: 2px;
    /* Ajusta este valor hasta que conecte perfecto */
  }

  /* Pasos de ARRIBA (1 y 3) - Más arriba */
  .paso-proceso:nth-child(odd) {
    align-self: flex-start;
    margin-top: -299px;
    /* Aumentamos el margen para subirlos más */
  }

  .paso-proceso:nth-child(odd)::before {
    left: 13.5px;
    bottom: -47px;
    /* La línea conectora se alarga para alcanzar la nueva posición */
    height: 60px;
    /* Sincronizamos la altura de la línea */
  }

  .paso-proceso:nth-child(odd)::after {
    left: 13.5px;
    bottom: -1px;
    /* El punto se queda en su sitio */
  }

  .paso-proceso:nth-child(3)::before {
    /* Juega con estos valores si la línea queda chueca */
    bottom: -129px;
    height: 60px;
  }

  .paso-proceso:nth-child(3)::after {
    bottom: -75px;
  }

  /* PASO 2 - Más abajo, necesita subir más */
  .paso-proceso:nth-child(2) {
    align-self: flex-end;
    /* Un valor negativo MÁS GRANDE para subirlo más y compensar su altura */
    margin-bottom: -281px;
  }

  .paso-proceso:nth-child(2)::before {
    left: -50px;
    top: -113px;
    height: 60px;
  }

  .paso-proceso:nth-child(2)::after {
    left: -50px;
    top: -54px;
  }

  /* PASO 4 - Ya estaba casi bien */
  .paso-proceso:nth-child(4) {
    align-self: flex-end;
    /*  margin-bottom: -289px; */
  }

  .paso-proceso:nth-child(4)::before {
    left: -50px;
    top: -100px;
    height: 60px;
  }

  .paso-proceso:nth-child(4)::after {
    left: -50px;
    top: -46px;
  }

}

@media (min-width: 992px) and (max-width: 1199px) {

  #como-trabajamos h4 {
    position: relative;
    /* Le permite usar z-index */
    z-index: 10;
    top: -40px;
    /* Lo pone en una capa superior */
  }

  .linea-proceso {
    margin-top: 130px;
    padding: 240px 0;
  }

  .paso-proceso:first-child {
    padding-bottom: -50px;
    /* Ajusta este valor hasta que conecte perfecto */
  }

  /* Pasos de ARRIBA (1 y 3) - No tan arriba */
  .paso-proceso:nth-child(odd) {
    margin-top: -360px;
    /* Reducimos el margen para que no suban tanto */
  }

  .paso-proceso:nth-child(odd)::before {
    bottom: -46px;
    height: 50px;
  }

  .paso-proceso:nth-child(odd)::after {
    bottom: 0;
  }

  .paso-proceso:nth-child(3)::before {
    bottom: -150px;
    height: 60px;
  }

  .paso-proceso:nth-child(3)::after {
    bottom: -94px;
  }

  /* PASO 2 - No tan pegado a la línea */
  .paso-proceso:nth-child(2) {
    margin-bottom: -239px;
    /* Valor negativo más pequeño para bajarlo */
  }

  .paso-proceso:nth-child(2)::before {
    top: -30px;
    height: 50px;
  }

  .paso-proceso:nth-child(2)::after {
    top: 20px;
  }


  /* PASO 4 - No tan pegado a la línea */
  .paso-proceso:nth-child(4) {
    margin-bottom: -272px;
    /* Valor negativo más pequeño para bajarlo */
  }

  .paso-proceso:nth-child(4)::before {
    top: -83px;
    height: 50px;
  }

  .paso-proceso:nth-child(4)::after {
    top: -33px;
  }
}


/* 1. Contenedor Principal del Modal */
#opcionesPdfModal .modal-content {
  /* Forma y Sombra */
  border-radius: 1rem;
  /* Esquinas mucho más suaves (16px) */
  border: 0;
  /* Quita el borde por defecto */
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
  /* Sombra más suave y difusa */

  /* Importante: Oculta el iframe que se sale de las esquinas */
  overflow: hidden;
}

/* 2. Encabezado Limpio */
#opcionesPdfModal .modal-header {
  background-color: #2d8330;
  /* Fondo blanco (igual que el body) */
  border-bottom: 0;
  /* Sin línea divisoria */
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  /* Más espacio para "respirar" */
}

#opcionesPdfModal .modal-header .modal-title {
  font-weight: 600;
  /* Título un poco más grueso */
  color: #343a40;
}

/* 3. Pie de página Limpio */
#opcionesPdfModal .modal-footer {
  background-color: #7fcc66;
  /* Fondo blanco */
  border-top: 0;
  /* Sin línea divisoria */
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  /* Más espacio */

  /* Mueve los botones a la derecha */
  justify-content: flex-end;
}

/* 4. Estilo de Botones (Usando tu paleta de colores) */
#opcionesPdfModal .modal-footer .btn {
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  /* Botones también redondeados */
  transition: all 0.2s ease;
}

/* Botón Primario (Descargar) */
#opcionesPdfModal .modal-footer .btn-primary {
  background-color: #016D3A;
  /* Tu verde principal */
  border-color: #016D3A;
}

#opcionesPdfModal .modal-footer .btn-primary:hover {
  background-color: #014F2A;
  /* Verde más oscuro al pasar el mouse */
  border-color: #014F2A;
  transform: translateY(-2px);
  /* Pequeño efecto de "levantar" */
}

/* Botón Secundario (Cerrar) */
#opcionesPdfModal .modal-footer .btn-secondary {
  background-color: #e9ecef;
  /* Gris claro */
  border-color: #e9ecef;
  color: #343a40;
}

#opcionesPdfModal .modal-footer .btn-secondary:hover {
  background-color: #ced4da;
  border-color: #ced4da;
}






/* ================================================================= */
/*             ESTILOS PARA ANIMACIONES              */
/* ================================================================= */
/* Estado inicial de los elementos (oculto y desplazado hacia abajo) */
/* .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease-out;
}
 */
/* Estado activo (visible y en su posición original) */
/* .reveal.active {
  opacity: 1;
  transform: translateY(0);
}
 */

/* ================================================================= */
/* ESTILOS PARA ANIMACIONES SCROLL                       */
/* ================================================================= */


.img-medida-fija {
  width: 100%;
  max-width: 500px;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
}

.img-animada:hover {
  transform: scale(1.05) translateY(-5px);
  animation-play-state: paused;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);

  /* Opcional pero muy recomendado: 
       Al pasar el mouse, regresa al brillo 100% para que "resalte" */
  filter: brightness(1) contrast(1.05);
}

@keyframes flotar {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
    /* Sube la imagen 15 pixeles */
  }

  100% {
    transform: translateY(0px);
  }
}

.hover-scale-img img {
  transition: transform 0.6s ease;
}

.hover-scale-img:hover img {
  transform: scale(1.05);
}


/* 1. Clase Base: Configuración común (oculto y transición) */
.reveal {
  opacity: 0;
  transition: all 0.5s ease-out;
  /* Un poco más lento (0.8s) se ve más elegante */
  will-change: transform, opacity;
  /* Optimización para navegadores */
}

/* 2. Direcciones iniciales */

/* Opción A: Viene de abajo (Clásico) */
.reveal-up {
  transform: translateY(50px);
}

.reveal-down {
  transform: translateY(-50px);
}

/* Opción B: Viene desde la DERECHA (entra hacia la izquierda) */
.reveal-right {
  transform: translateX(50px);
  /* Empieza 50px a la derecha */
}

/* Opción C: Viene desde la IZQUIERDA (entra hacia la derecha) */
.reveal-left {
  transform: translateX(-50px);
  /* Empieza 50px a la izquierda */
}

/* 3. Estado ACTIVO (Cuando el JS detecta el scroll) */
.reveal.active {
  opacity: 1;
  transform: translate(0, 0);
  /* Regresa a su posición original (X:0, Y:0) */
}

/* Opcional: Si quieres un efecto de "Zoom suave" sin moverlo de lugar */
/* Esto hace que crezca un poquito al aparecer, se ve muy elegante */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.8);
  /* Empieza al 80% de su tamaño */
  transition: all 0.8s ease-out;
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
  /* Termina en su tamaño normal */
}

/* Animaciones Hover para los Valores */
.value-item .provalab-value-icon {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 60px;
}

.value-item .provalab-value-card {
  transition: transform 0.3s ease;
}

.value-item:hover .provalab-value-icon {
  transform: scale(1.15) rotate(5deg);
}

.value-item:hover .provalab-value-card {
  transform: translateX(5px);
}


/* 4. Delays (Para efecto cascada) */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
}

.delay-600 {
  transition-delay: 0.6s;
}

.delay-700 {
  transition-delay: 0.7s;
}

.delay-800 {
  transition-delay: 0.8s;
}

.delay-800 {
  transition-delay: 0.9s;
}

.delay-1000 {
  transition-delay: 1s;
}

/* ================================================================= */
/* ANIMACIÓN ESTÁTICA (Para elementos con position: absolute)        */
/* ================================================================= */

.reveal-static {
  opacity: 0;
  /* Empieza invisible */
  transition: opacity 1s ease-in-out;
  /* Tarda 1 segundo en aparecer suavemente */
  will-change: opacity;
}

.reveal-static.active {
  opacity: 1;
  /* Se vuelve visible */
}


@view-transition {
  navigation: auto;
}

::view-transition-group(*) {
  animation-duration: 0.1;
}


/* @keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
 */

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


.text-shadow-strong {
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.799);
}

.text-shadow-stronger {
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.913);
}

.circle-animation {
  animation: spin-slow 20s linear infinite;
}


/* --- Estilos Sección Microbiología --- */

/* Efecto de elevación en las tarjetas */
.micro-card {
  border: none;
  border-radius: 12px;
  background-color: rgb(240, 240, 240);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  /* Para que todas midan lo mismo */
  overflow: hidden;
}

.micro-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.micro-card .card-img-top {
  height: 200px;
  /* Altura fija para uniformidad */
  object-fit: cover;
  /* Recorta la imagen sin deformar */
}

/* Badges (Etiquetas) para los microorganismos */
.badge-bacteria {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  /* Verde Bootstrap */
  background-color: rgba(255, 255, 255, 0.183);
  border: 1px solid #d1e7dd;
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-block;
  margin: 4px;
  transition: all 0.2s;
}

.badge-bacteria:hover {
  background-color: #198754;
  color: white;
  cursor: default;
}

/* Caja de Normas */
.normas-box {
  background-color: #f1f8f53a;
  /* Verde muy suave */
  border-left: 4px solid #198754;
}





/* =========================================
   ESTILOS PÁGINA DETALLE NOTICIA (Nuevo)
   ========================================= */

/* 1. Header del Artículo (Fondo gris claro superior) */
.provalab-article-header {
  background-color: var(--light-bg);
  /* Usando tu variable */
  padding-top: 30px;
  /* Espacio para el navbar fixed */
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-border);
}

.provalab-article-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.provalab-article-header .breadcrumb-item a {
  color: var(--provalab-dark-green);
  text-decoration: none;
  font-weight: 600;
}

.provalab-article-header .breadcrumb-item.active {
  color: var(--muted-text);
}

.article-title {
  color: var(--provalab-dark-green);
  font-weight: 800;
  /* Tamaño dinámico: mínimo 2rem, ideal 4vw, máximo 3.5rem */
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 1rem;
  color: var(--muted-text);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
}

.meta-item i {
  color: var(--provalab-accent-lime);
  /* Tu verde lima */
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* 2. Cuerpo e Imagen Principal */
.provalab-article-body {
  background-color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.article-featured-image-wrapper {
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  /* Sombra elegante */
}

.article-featured-image {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: cover;
  /* Evita que la imagen se estire feo */
  display: block;
}

/* 3. Tipografía del Contenido (Lo que viene de la API) 
   Diseñado para máxima legibilidad */
.article-content-typography {
  color: var(--dark-text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  /* Fuente limpia */
  font-size: 1.15rem;
  /* Un poco más grande para leer cómodo */
  line-height: 1.8;
}

.article-content-typography p {
  margin-bottom: 1.5rem;
}

/* Títulos dentro del contenido (h2, h3, etc) */
.article-content-typography h2,
.article-content-typography h3,
.article-content-typography h4 {
  color: var(--provalab-dark-green);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* Listas personalizadas con tus colores */
.article-content-typography ul {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.article-content-typography ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
}

.article-content-typography ul li::before {
  content: "\f00c";
  /* Icono de check de FontAwesome (opcional) o bullet */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--provalab-accent-lime);
  /* Bullet verde lima */
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1rem;
}

/* Tablas responsivas */
.article-content-typography table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
}

.article-content-typography th {
  background-color: var(--provalab-dark-green);
  color: #fff;
  padding: 12px;
  text-align: left;
}

.article-content-typography td {
  border-bottom: 1px solid var(--light-border);
  padding: 12px;
}

/* Botón de regreso personalizado */
.btn-outline-provalab {
  color: var(--provalab-dark-green);
  border: 2px solid var(--provalab-dark-green);
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-provalab:hover {
  background-color: var(--provalab-dark-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 70, 52, 0.2);
}


/* 4. Animaciones de entrada (Fade In Up) */
.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

.delay-100_ {
  animation-delay: 0.1s;
}

.delay-200_ {
  animation-delay: 0.2s;
}

.delay-300_ {
  animation-delay: 0.3s;
}

.delay-400_ {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================
   ANIMACIÓN SKELETON (MAQUETA DE CARGA)
   ========================================= */
/* Animación de pulso gris */
@keyframes skeleton-pulse {
  0% {
    background-color: #e0e0e0;
  }

  50% {
    background-color: #f0f0f0;
  }

  100% {
    background-color: #e0e0e0;
  }
}

/* Estado de carga para los botones */
.btn-social.skeleton {
  color: transparent !important;
  /* Oculta el texto y los iconos */
  background: #e0e0e0;
  /* Fondo base */
  animation: skeleton-pulse 1.5s infinite ease-in-out;
  /* Animación */
  pointer-events: none;
  /* No se puede hacer clic mientras carga */
  box-shadow: none;
  /* Sin sombras */
  border: none;
  min-width: 120px;
  /* Ancho mínimo para que parezca un botón real */
}

/* Opcional: Para ocultar los iconos específicamente si dan problemas */
.btn-social.skeleton i,
.btn-social.skeleton span {
  opacity: 0;
}

/* =========================================
   ESTILOS BOTONES COMPARTIR
   ========================================= */
.btn-social {
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  /* Forma de píldora */
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Espacio entre icono y texto */
  color: white;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Efecto rebote sutil */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Animación Hover: Sube y aumenta la sombra */
.btn-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  color: white;
  /* Asegurar texto blanco */
}

/* Colores Específicos */

/* 1. General (Tu marca o gris oscuro) */
.btn-general {
  background-color: var(--provalab-dark-green, #333);
}

/* 2. Facebook Azul */
.btn-facebook {
  background-color: #1877F2;
}

/* 3. X (Negro) */
.btn-x {
  background-color: #000000;
}

/* 4. WhatsApp Verde */
.btn-whatsapp {
  background-color: #25D366;
}

/* Ajuste Responsive para móviles */
@media (max-width: 768px) {
  main {
    width: 100% !important;
    /* Forzamos ancho completo */
    margin-left: 0 !important;
    /* Quitamos el margen de 50px */
    margin-right: 0 !important;
    overflow-x: hidden;
    /* Evita scroll horizontal */
    padding-left: 0;
    padding-right: 0;
  }

  .provalab-article-header {
    padding-top: 30px;

  }

  .article-title {
    font-size: 1.8rem;
  }

  .article-featured-image {
    max-height: 300px;
  }

}

/* Ajuste Mobile: En pantallas muy chicas, solo mostramos el icono (opcional) */
@media (max-width: 400px) {
  .btn-social {
    padding: 10px;
    border-radius: 50%;
    /* Se vuelven circulos */
    width: 40px;
    height: 40px;
    justify-content: center;
  }

  .btn-social span {
    display: none;
    /* Oculta texto si no usas las clases d-none de bootstrap */
  }

}





/* Variables locales para facilitar ajustes */
#cotizaciones {
  --pl-bg-dark: #1b3a2b;
  /* Verde oscuro base de la imagen */
  --pl-green-accent: #75aa02;
  /* Verde lima del botón */
  --pl-white: #ffffff;

  /* Fondo general de la sección (igual que Contacto) */
  background-color: var(--pl-bg-dark);
  /* Opcional: si tu sección de contacto usa degradado, descomenta esto: */
  /* background: linear-gradient(to bottom, #2a4634 0%, #1b3a2b 100%); */

  color: var(--pl-white);
}

/* 1. Contenedor */
/* Si quieres que se vea como una tarjeta sutil sobre el fondo oscuro */
#cotizaciones .cotizacion-container {
  background-color: rgba(255, 255, 255, 0.05);
  /* Muy sutil transparencia */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 2. Inputs (Igualitos a la imagen de Contacto) */
#cotizaciones .form-control {
  background-color: #ffffff !important;
  /* Fondo Blanco sólido */
  border: none;
  /* Sin borde visible como en la imagen */
  border-radius: 4px;
  /* Bordes ligeramente redondeados */
  color: #333;
  /* Texto oscuro al escribir */
  padding: 0.8rem 1rem;
  font-weight: 700;
}

/* Placeholder en mayúsculas y negritas */
#cotizaciones .form-control::placeholder {
  color: #000000;
  /* Texto placeholder oscuro */
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.85rem;
}

#cotizaciones .form-control:focus {
  box-shadow: 0 0 0 4px rgba(117, 170, 2, 0.5);
  /* Resplandor verde al escribir */
  background-color: #fff;
}

/* 3. Checkboxes (Adaptados para fondo oscuro) */
#cotizaciones .form-check-input {
  background-color: #fff;
  border: none;
  width: 1.2em;
  height: 1.2em;
}

#cotizaciones .form-check-input:checked {
  background-color: var(--pl-green-accent);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

/* Estilo para el texto "Acepto el..." */
#cotizaciones .form-check-label {
  color: rgba(255, 255, 255, 0.8);
  /* Blanco al 80%, más legible que el -50 */
  font-size: 0.85rem;
  text-transform: uppercase;
  /* Para que grite "Provalab" */
  font-weight: 700;
  /* Letra gordita */
  letter-spacing: 0.5px;
  padding-top: 3px;
  /* Pequeño ajuste para alinear con el checkbox */
  cursor: pointer;
}

/* Estilo para el enlace "Aviso de Privacidad" */
#cotizaciones .form-check-label a {
  color: #ffffff !important;
  text-decoration: none;
  /* Quitamos el subrayado por defecto para poner uno mejor */
  border-bottom: 2px solid var(--pl-green-accent);
  /* Subrayado verde sutil */
  transition: all 0.3s ease;
}

/* Efecto al pasar el mouse sobre el enlace */
#cotizaciones .form-check-label a:hover {
  color: var(--pl-green-accent) !important;
  /* Se pone verde lima */
  /*  border-bottom-color: transparent; */
}

/* 4. Botón (Estilo "ENVIAR" de la imagen) */
.btn-cotizar {
  background-color: var(--pl-green-accent) !important;
  color: #1a3b2a !important;
  /* Texto oscuro sobre botón verde */
  border: none !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-cotizar:hover {
  background-color: #8bc34a !important;
  /* Un poco más claro al hover */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Detalles extra de tipografía */
#cotizaciones .section-title {
  letter-spacing: 2px;
  font-size: 2.5rem;
  /* font-family: 'Syne', sans-serif; (Si usas esa fuente) */
}


/* --- ESTILOS PARA LA GALERÍA DE NOTICIAS --- */
.provalab-gallery-card {
    border-radius: 12px; /* Bordes más redondeados y modernos */
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Sombra suave inicial */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.provalab-gallery-card:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.1); /* Sombra más fuerte al pasar el mouse */
    transform: translateY(-5px); /* Se levanta un poquito la tarjeta */
}


.provalab-gallery-img-wrapper {
    position: relative;
    width: 100%;
    /* Quitamos el aspect-ratio para no forzar la forma del contenedor */
    overflow: hidden;
}

.provalab-gallery-img {
    width: 100%;
    height: auto; /* Dejamos que la imagen dicte su altura real basada en el ancho */
    display: block; /* Evita pequeños márgenes blancos debajo de la imagen */
    transition: transform 0.5s ease; /* Mantenemos la transición suave del zoom */
}
/* La capa oscura que aparece al hacer hover */
.provalab-gallery-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Efectos al pasar el mouse */
.provalab-gallery-card:hover .provalab-gallery-img {
    transform: scale(1.1); /* Zoom a la imagen */
}

.provalab-gallery-card:hover .provalab-gallery-overlay {
    opacity: 1; /* Aparece la capa oscura y el ícono */
}