:root {
  --red: #AE0E19;
  --blue: #579DCC;
  --yellow: #F8B628;
  --black: #000;
  --white: #fff;
  --bg-dark: #0b0b0b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  background-color: var(--black);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 2rem;
}

.container {
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.logo {
  font-weight: 800;
  color: var(--red);
}

/* NAV */
.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-list a {
  color: var(--white);
  text-decoration: none;
}

.nav-cta {
  color: var(--yellow);
  font-weight: 600;
}

.nav-toggle {
  display: none;
}

/*HERO*/
.hero {
  /* 3. IMAGEN DE FONDO CON OVERLAY */
  /* Reemplaza 'tu-fondo.jpg' por la ruta de tu imagen de chispas/fuego */
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.9));
             
  background-size: cover;
  background-position: center;
  color: var(--white);
  /* 2. REDUCCIÓN DE ESPACIOS SUPERIORES */
  padding: 0 1.5rem 3rem; 
  overflow: hidden;
  position: relative;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 700;
  animation: fadeUp 0.8s ease-out both;
  animation: fadeUp 0.8s ease-out both; animation-delay: 0.9s;
}

@keyframes fadeUp {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.text-red { color: var(--red); }
.text-yellow { color: var(--yellow); }
.text-blue { color: var(--blue); }

.hero__subtitle {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--gray);
  max-width: 520px;
  animation: slideInLeft 1s ease-out both;
  animation-delay: 0.3s;
}

@keyframes slideInLeft {
  0% { transform: translateX(-50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn--header-style {
  padding: 0.7rem 1.5rem !important;
  background: #ff0012 !important;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  text-align: center;
  position: relative;
  min-width: 220px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 0, 18, 0.4);
  animation: heartbeat 2s infinite ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.btn__subtext {
    font-size: 0.7rem;
    font-weight: 400;
    display: block;
}

/* 3. BOTÓN WHATSAPP */
.btn--whatsapp {
    background: #ffffff !important;
    color: #000 !important;
    display: flex !important;
    flex-direction: row !important; /* Icono al lado del texto */
    gap: 10px;
    align-items: center;
    padding: 0.7rem 1.5rem !important;
    font-size: 0.85rem;
    border-radius: 999px;
    font-weight: 700;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.hero__visual {
  position: relative;
  height: 500px; /* Altura necesaria para contener el traslape */
  display: block;
  margin-top: 2rem;
  align-items: center;
  justify-content: flex-end;
}

.image-wrapper--top {
  position: absolute;
  top: 0%;
  right: 0;
  width: 65%;
  z-index: 1;
  cursor: pointer;
  animation: scale-up-top-right 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- HOVER EFECTOS --- */
.image-wrapper--top:hover, 
.image-wrapper--bottom:hover {
  transform: scale(1.05); /* Expansión leve */
  z-index: 20;
}

.image-wrapper--top:hover .hero__image,
.image-wrapper--bottom:hover .hero__image {
  /* Al pasar el cursor, la sombra roja se intensifica */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 
              0 0 40px rgba(255, 0, 18, 0.9), 
              0 0 80px rgba(255, 0, 18, 0.4);
}

@keyframes scale-up-top-right {
  0% { 
    transform: scale(0.5); 
    transform-origin: top right; 
    opacity: 0; 
  }
  100% { 
    transform: scale(1); 
    transform-origin: top right; 
    opacity: 1; 
  }
}

@keyframes slideInLeftImg {
  0% { 
    transform: translateX(-100px); 
    opacity: 0; 
  }
  100% { 
    transform: translateX(0); 
    opacity: 1; 
  }
}

.image-wrapper--bottom {
  position: absolute;
  bottom: 0%;
  right: 40%;
  left: 0%;
  width: 50%;
  z-index: 5; /* La imagen pequeña del técnico va al frente */
  animation: slideInLeftImg 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation-delay: 0.6s;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero__image {
  width: 100%;
  display: block;
  border-radius: 3rem; /* Bordes redondeados pronunciados como la imagen */
  border: 2px solid #ffffff; /* Pequeño borde para separar */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 
              0 0 40px rgba(255, 0, 18, 0.6), 
              0 0 50px rgba(255, 0, 18, 0.2); 
  
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.4s ease-in-out;
  object-fit: cover;
}


.hero__image--top {
  position: relative;
  z-index: 2;
}

.hero__image--bottom {
  position: absolute;
  right: -10%;
  bottom: -15%;
  width: 55%;
  z-index: 1;
}

.slider-wrapper {
  overflow: hidden; /* Oculta las otras 2 imágenes */
  position: absolute;
  padding: 0;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  flex-direction: row; 
  align-items: stretch;
}

.slider-track img {
  flex: 0 0 100%; 
  min-width: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 3rem; /* Importante mantenerlo aquí también */
}


/* Flechas con diseño especial */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4); /* Fondo oscuro traslúcido */
  backdrop-filter: blur(8px); /* Efecto de desenfoque */
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 30;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Efecto al pasar el mouse por la imagen */
.slider-wrapper:hover .slider-btn {
  opacity: 1;
}

/* Efecto al pasar el mouse por el botón */
.slider-btn:hover {
  background: var(--red); /* Usamos tu color rojo corporativo */
  border-color: transparent;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 0 20px rgba(255, 0, 18, 0.6);
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

/* Ajuste para que el borde redondeado se vea en el track */
.image-wrapper--top, .image-wrapper--bottom {
  border-radius: 3rem;
  border: 2px solid #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 0, 18, 0.6);
}

/* Quitamos el borde de la imagen individual para que no se duplique */
.hero__image {
    border: none;
    box-shadow: none;
}


.hero__ticker {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.ticker__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.ticker__track span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

@keyframes ticker {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero__container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2rem;
  }

  .hero__visual {
    margin-top: 0;
  }
}

/* --- SECCIÓN SERVICIOS RCI PREMIUM (V2 Ajustada) --- */

/* --- ESTADOS DE REVELADO (SCROLL) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.services-rci {
  background: radial-gradient(circle at center top, #9b0000 0%, #4a0000 40%, #000000 100%);
  color: #fff;
  /* 1. Reduje padding superior/inferior para compactar todo el bloque visual */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
  padding: 2rem 1.5rem 4rem; 
  position: relative;
  overflow: hidden;
  font-family: sans-serif;
  height: auto;
  min-height: 700px;
}

.rci__container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.rci__eyebrow {
  position: relative;
    margin-top: 0; /* Relativo al viewport */
    margin-bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(1.2rem, 4vw, 1.7rem);
    font-family: var(--font-cinzel);
    font-weight: 700;
    color: #ff0012;
    opacity: 1;
    z-index: 30;
    text-shadow: 0 0 10px #ff0000;
    display: block;
    visibility: visible;
}

/* --- GRID LAYOUT --- */
.rci__layout {
  display: grid;
  gap: 1rem;
  align-items: center; 
  /* Esto ayuda a mantener los textos centrados respecto al bloque central */
}

/* Bloques de Texto Laterales */
.rci__block {
  text-align: center;
  color: #fff; 
  position: relative;
  z-index: 10;
}

.rci__block h3 {
  text-align: right;
  font-family: Impact, sans-serif;
  font-weight: 500;
  line-height: 0.9;
  margin: 0;
  text-align: left;
  margin-left: 50px;
  margin-top: 150px;
  letter-spacing: 1px;
  font-size: 2rem;
  margin-bottom: 0.4rem;
  color: #fff;
  text-transform: uppercase;
}

.rci__block p {
  font-family: var(--font-cinzel);
  text-align: left;
  line-height: 1.5;
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #fff;
  text-transform: uppercase;
  max-width: 300px;
  margin: 0 auto;
  border-left: 2px solid #ff0000;
  padding-left: 30px;
  padding-top: 10px;
}

.rci__inline {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1rem;
  transform: var(--transition);
}

.rci__inline img {
  width: 80px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 50%;
  padding: 5px;
}

.rci__inline span {
  font-family: var(--font-cinzel);
  font-size: 1rem;
  font-weight: 200;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 0, 0, 0.5);
  padding-bottom: 5px;
  line-height: 1.3;
}

/* --- POSICIONAMIENTO EN ARCO (Solo Desktop) --- */
@media (min-width: 1024px) {
    .item-top { transform: translateX(40px); }
    .item-middle { transform: translateX(10px); }
    .item-bottom { transform: translateX(35px); }
}

.rci__block--right {
  display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem; /* Espaciado base entre elementos */
    padding-left: 3rem;
}

.item-top {
    margin-bottom: -2rem; /* Este es el espacio extra que pediste */
}
/* Ajuste de separación específico entre bloque 2 y 3 */
.item-middle {
    margin-bottom: 2rem; /* Este es el espacio extra que pediste */
}

/* --- ESTILO DE ICONOS PREMIUM CON BRILLO --- */
.icon-wrapper {
    position: relative;
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    overflow: hidden; /* Corta el brillo para que no se salga del círculo */
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.icon-wrapper img {
    width: 80%;
    height: auto;
    z-index: 2;
}

/* El Brillo (Glint) */
.icon-wrapper::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right, 
        transparent, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent
    );
    transform: rotate(30deg);
    animation: glint 4s infinite;
}

/* Tiempos diferentes para que no brillen todos a la vez */
.item-top .icon-wrapper::after { animation-delay: 0s; }
.item-middle .icon-wrapper::after { animation-delay: 1.5s; }
.item-bottom .icon-wrapper::after { animation-delay: 3s; }

@keyframes glint {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

/* Ajuste específico para el espacio entre el bloque 2 y 3 */
.rci__block--right .rci__inline:nth-child(2) {
  margin-bottom: 1.5rem; /* Crea el aire extra que pediste */
}

/* --- CENTRO (RCI + SISTEMA) --- */
.rci__center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Importante para que no ocupe espacio extra innecesario */
  margin-bottom: -1rem; 
}

/* Contenedor del título */
.rci__title-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1; /* Texto AL FRENTE */
  line-height: 0.8; /* Reduce altura de línea para pegar más los fuegos */
}

/* Texto RCI */
.rci__title {
  font-family: Impact, sans-serif;
  font-size: clamp(6rem, 22vw, 13rem); /* Ligeramente más grande */
  margin: 0;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

/* --- FUEGOS AJUSTADOS (Punto 2) --- */
.fire {
  position: absolute;
  width: 200px; /* 2. Aumentado tamaño */
  height: auto;
  z-index: 20;
  filter: drop-shadow(0 0 15px rgba(255, 80, 0, 0.8));
}

/* Fuego 1: Parte INFERIOR DERECHA de la letra R */
/* Ajusta 'left' según el ancho de tu fuente, 28% suele ser la pata de la R */
.fire--r {
  bottom: 20%; 
  left: 5%; 
  transform: translate(-50%, 20%); /* Ajuste fino para centrar en la pata */
}

/* Fuego 2: Punta SUPERIOR DERECHA de la letra I */
.fire--i {
  top: 10%;
  right: -5%;
  transform: translate(30%, -30%); /* Lo saca un poco hacia arriba y derecha */
}
/* --- SISTEMA DE VAPOR TÉCNICO 10X (CORREGIDO) --- */

.rci__center {
  position: relative;
  z-index: 5;
}

/* Contenedor maestro del vapor */
.steam-container {
  position: absolute;
  top: 65%; /* Ajustado para salir desde la tubería blanca */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300px;
  pointer-events: none;
  z-index: 11; /* Por encima de la tubería, por debajo del texto RCI */
}

.steam-particle {
  position: absolute;
  bottom: 0;
  left: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0;
}

/* Partícula 1 - Centro Izquierda */
.s1 {
  width: 150px;
  height: 150px;
  animation: vaporFlow 6s infinite ease-out;
}

/* Partícula 2 - Centro Derecha */
.s2 {
  width: 200px;
  height: 200px;
  animation: vaporFlow 8s infinite ease-out;
  animation-delay: 2s;
}

/* Partícula 3 - Pequeña y rápida */
.s3 {
  width: 100px;
  height: 100px;
  animation: vaporFlow 5s infinite ease-out;
  animation-delay: 4s;
}

@keyframes vaporFlow {
  0% {
    transform: translate(-50%, 0) scale(0.5);
    opacity: 0;
  }
  20% {
    opacity: 0.5;
  }
  100% {
    transform: translate(-30%, -150px) scale(1.8);
    opacity: 0;
  }
}

/* VAPOR REACTIVO AL HOVER DEL CTA */
/* Cuando el usuario hace hover en el botón, el vapor se acelera y brilla más */
.services-rci:has(.rci__cta:hover) .steam-particle {
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
  animation-duration: 2s !important;
  filter: blur(15px);
}

/* --- AJUSTE EXTRA: ASEGURAR QUE EL SISTEMA NO TAPE EL VAPOR --- */
.rci__system {
  position: relative;
  z-index: 9; /* El vapor está en z-index 11, así que el vapor pasará "por encima" de la tubería */
  margin-top: -40%; 
}

/* --- IMAGEN SISTEMA (Punto 1) --- */
.rci__system {
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 10; /* DETRÁS del texto */
  
  /* 1. Sube agresivamente para iniciar detrás de la mitad de las letras */
  margin-top: -30%; 
  
  pointer-events: none;
  opacity: 0.95;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
}

/* --- ASIMETRÍA DE TEXTOS (DESALINEADOS) --- */
@media (min-width: 1024px) {
  .rci__layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: center;
  }

  /* Izquierda: Bloque superior sube */
  .rci__block--left {
    text-align: right;
    padding-left: 0.5rem;
  }
  .rci__block--left h3, .rci__block--left p {
    transform: translateY(-50px);
  }

  /* Derecha: Bloque superior sube y se abre */
  .rci__block--right {
    text-align: left;
    padding-left: 2rem;
  }
  .rci__block--right .rci__inline:first-child {
    transform: translate(40px, -60px);
  }
}

/* --- 4. BOTÓN CTA CON PULSO --- */
.rci__cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 3.5rem;
  background: red; 
  color: white;
  font-weight: 800; /* Letra más gruesa */
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 50px;
  text-transform: uppercase;
  position: relative;
  z-index: 12;
  /* Animación */
  box-shadow: 0 0 0 rgba(255, 0, 0, 0.7);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(255, 0, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

.rci__cta:hover {
  background: #e60000;
  transform: scale(1.05) !important;
  letter-spacing: 1px;
}

/* SUELO DE FUEGO */
.rci__fire-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("/assets/img/33.webp") repeat-x center bottom;
  background-size: auto 100%;
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  animation: fireMove 25s linear infinite;
}

@keyframes fireMove {
  from { background-position-x: 0; }
  to { background-position-x: -2000px; }
}

/* --- RESPONSIVE DESKTOP (POSICIONES ASIMÉTRICAS) --- */
@media (min-width: 1024px) {
  .rci__layout {
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 0;
  }

  /* --- 2. AJUSTES DE POSICIÓN (DESALINEADOS) --- */
  
  /* LADO IZQUIERDO */
  .rci__block--left {
    text-align: right;
    justify-self: end;
    padding-right: 1rem;
  }
  
  .rci__block--left .rci__inline {
    flex-direction: row-reverse;
  }

  /* Mover el título y párrafo superior hacia ARRIBA */
  .rci__block--left h3,
  .rci__block--left p {
    position: relative;
    top: -40px; /* Sube el bloque superior */
  }
  /* El icono de abajo se queda donde está (naturalmente bajará por el flujo, o podemos forzarlo) */


  /* LADO DERECHO */
  .rci__block--right {
    text-align: left;
    justify-self: start;
    padding-left: 1rem;
    position: relative; /* Para poder mover los hijos libremente */
  }

  /* Mover el PRIMER elemento (top) hacia ARRIBA y DERECHA */
  .rci__block--right .rci__inline:first-child {
    transform: translate(30px, -50px); /* Arriba y Derecha */
  }

  /* El SEGUNDO elemento (bottom) se queda en su sitio (o lo ajustas si quieres) */
  .rci__block--right .rci__inline:last-child {
    transform: translate(0, 0); 
  }

  /* Ajuste sistema */
  .rci__system {
    margin-top: -45%; /* Ajustado para el nuevo z-index */
    max-width: 750px;
  }
}

/* --- AJUSTES DE PRECISIÓN PARA MÓVILES (Max-width: 768px) --- */
@media (max-width: 768px) {
    
    /* 1. REDUCCIÓN DE ESPACIO ENTRE EYEBROW Y TÍTULO */
    .rci__eyebrow {
        margin-bottom: 5px !important; /* Reduce drásticamente el espacio con el H3 */
        font-size: 1.2rem; /* Ajuste sutil para mejor legibilidad en pantallas pequeñas */
    }

    /* --- OPTIMIZACIÓN DE RENDIMIENTO MÓVIL --- */

    .steam-particle {
        /* Forzamos a que el celular use la tarjeta de video para estas capas */
        will-change: transform, opacity;
        /* Reducimos el blur de 20px a 10px para aliviar la carga del procesador */
        filter: blur(10px);
    }

    /* Eliminamos una de las partículas en móvil para ahorrar recursos sin perder el efecto */
    .s3 {
        display: none;
    }

    .rci__fire-floor {
        /* En móvil, una animación de 25s es muy pesada. La suavizamos. */
        animation-duration: 40s; 
        /* Evitamos que el navegador recalcule el diseño durante la animación */
        will-change: background-position;
    }

    /* Si el usuario tiene activado "Reducir movimiento" en su celular, respetamos su elección */
    @media (prefers-reduced-motion: reduce) {
        .steam-particle, .fire, .rci__fire-floor {
            animation: none !important;
        }
    }

    .rci__block h3 {
        margin-top: 20px !important; /* Elimina el margin-top de 150px que empujaba el texto hacia abajo */
        margin-left: 0 !important;   /* Centra visualmente en móvil */
        text-align: center !important;
        font-size: 1.8rem;
    }

    .rci__block p {
        border-left: none !important; /* En móvil el borde lateral suele verse asimétrico */
        padding-left: 0 !important;
        text-align: center !important;
        font-size: 1rem;
        margin-top: 10px;
    }

    /* 2. ESPACIADO HOMOGÉNEO PARA LOS 3 ITEMS (DASHBOARD) */
    .rci__block--right {
        display: flex;
        flex-direction: column;
        gap: 1.5rem !important; /* Espacio idéntico y controlado entre los 3 items */
        padding-left: 0 !important; /* Centra el bloque en móviles */
        margin-top: 2rem;
    }

    .rci__inline {
        margin-top: 0 !important; /* Limpiamos márgenes previos */
        margin-bottom: 0 !important; /* Limpiamos márgenes previos */
        transform: none !important; /* Eliminamos desplazamientos laterales de desktop */
        justify-content: flex-start; /* Alineación limpia para lectura */
        width: 100%;
    }

    /* Ajuste de los items específicos para que sean idénticos */
    .item-top, .item-middle, .item-bottom {
        margin-bottom: 0 !important; 
        transform: none !important;
    }

    /* Ajuste de texto de los items para consistencia visual */
    .rci__inline span {
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 0, 0, 0.3);
        flex: 1; /* Hace que el texto ocupe el resto del espacio */
        text-align: left;
    }

    /* Iconos un poco más compactos en móvil para no saturar */
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    /* 3. AJUSTE DE TÍTULO RCI Y SISTEMA */
    .rci__title {
        font-size: 7rem !important; /* Evita que el RCI se desborde */
    }

    .rci__system {
        margin-top: -20% !important; /* Ajuste para que no tape los textos en móvil */
    }

    .rci__cta {
        width: 100%; /* Botón más fácil de clickear en móviles */
        padding: 1rem 1rem;
    }
}

/* --- SECCIÓN SERVICIOS HIDRAULICOS (REMASTERIZADA) --- */

/* --- VARIABLES & RESET --- */
:root {
    --primary-blue: #004e92;
    --deep-dark: #000c18;
    --accent-cyan: #62d4f0;
    --neon-glow: rgba(98, 212, 240, 0.6);
    --font-impact: 'Impact', sans-serif;
    --font-cinzel: 'Cinzel', serif;
}

* { box-sizing: border-box; }

/* --- SECCIÓN PRINCIPAL --- */
.services-hid {
    /* CORRECCIÓN 1: Fondo Radial "Studio Lighting" para profundidad 3D */
    background: radial-gradient(circle at 50% 40%, #1a4b6e 0%, #082032 40%, #000000 90%);
    color: #fff;
    padding: 60px 0px; 
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* --- ELEMENTOS DE AMBIENTE (CASCADA) --- */
.hid__waterfall {
    position: absolute;
    top: -45px; 
    right: -200px; 
    width: auto;
    height: 120%; /* Un poco más alto para evitar cortes */
    transform: rotate(9deg); 
    z-index: 30; 
    opacity: 0.1; /* Ajustado para que no compita con el texto */
    mix-blend-mode: screen; /* Fusión perfecta con el fondo negro */
    pointer-events: none;
    /* ANIMACIÓN 5: Flujo sutil continuo */
    animation: waterfallShimmer 8s ease-in-out infinite alternate;
}

/* --- CORRECCIÓN CRÍTICA: SUELO DE AGUA --- */
.hid__water-floor {
    position: absolute;
    bottom: -2px; /* FIX: Pegado al borde inferior (negativo para evitar gaps) */
    left: 0;
    width: 100%;
    height: 150px; /* Más alto para cubrir bien */
    background: url("/assets/img/footeragua.webp") repeat-x center bottom; /* repeat-x es CLAVE */
    background-size: auto 100%; /* Mantiene la altura, repite a lo ancho */
    z-index: 10; /* Por encima del fondo, debajo del CTA */
    pointer-events: none;
    /* ANIMACIÓN 1: Flujo Infinito */
    animation: infiniteRiver 40s linear infinite;
    opacity: 0.9;
}

/* --- CONTENEDOR CENTRAL --- */
.hid__container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 60; /* Capa superior */
    text-align: center;
    height: auto; /* Ocupar altura disponible */
    gap: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrado vertical perfecto */
}

/* --- SUBTÍTULO --- */
.hid__eyebrow {
    position: relative;
    margin-top: -40PX; /* Relativo al viewport */
    margin-bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.5rem;
    font-family: var(--font-cinzel);
    font-weight: 700;
    color: var(--accent-cyan);
    opacity: 0.9;
    z-index: 30;
    text-shadow: 0 0 10px rgba(98, 212, 240, 0.3);
}

/* --- GRID LAYOUT --- */
.hid__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    width: 100%;
    margin-top: 0;
}

/* --- CENTRO: TÍTULO Y MOTOR --- */
.hid__center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hid__title-wrapper {
    position: relative;
    z-index: 25; 
    display: inline-block;
}

.hid__title {
    font-family: var(--font-impact);
    font-size: clamp(3rem, 14vw, 9rem); /* Tipografía masiva brutalista */
    line-height: 0.85;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    /* Efecto metálico/mojado en el texto */
    background: linear-gradient(to bottom, #ffffff 30%, #b4dbe9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8));
    letter-spacing: 2px;
}

.hid__splash {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; 
    max-width: 600px; 
    z-index: 26; 
    opacity: 0.9;
    pointer-events: none;
    mix-blend-mode: screen;
    filter: brightness(1.2) contrast(1.1);
}

.hid__motor {
    position: relative;
    z-index: 40; /* El motor debe resaltar sobre el texto */
    width: 100%;
    max-width: 650px;
    margin-top: -50px; 
    transform: translateX(-40px); 
    filter: drop-shadow(0 30px 50px rgba(0,12,24,0.8));
    /* ANIMACIÓN 3: Suspensión Hidráulica */
    animation: zeroGravity 6s ease-in-out infinite;
}

/* --- LATERALES --- */
.hid__block--left { text-align: center; color: #fff; position: relative; z-index: 45;}

.hid__logo-group {
    display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}

.water-drop-icon {
    width: 40px; 
    margin-right: 15px; 
    filter: drop-shadow(0 0 8px var(--accent-cyan));
    /* ANIMACIÓN 4: Gota elástica */
    animation: elasticDrop 3s ease-in-out infinite;
}

.hid__sist-text h3 {
    font-family: var(--font-impact); font-size: 1.6rem; color: #ffffff; font-weight: 500; line-height: 0.9; margin: 0; text-align: left; margin-left: 10px;letter-spacing: 1px;
}

.hid__desc {
    font-family: var(--font-cinzel, sans-serif); font-size: 1.2rem; font-weight: 400; line-height: 1.5; color: #dcebf5; max-width: 300px; margin: 0 auto; border-left: 2px solid var(--accent-cyan); padding-left:30px;
}

.hid__block--right { display: flex; justify-content: center; position: relative; z-index: 45; }
.text-right-highlight {
    font-family: var(--font-cinzel); padding-top: 100px; font-weight: 500; font-size: 1.2rem; line-height: 1.6; text-align: center; max-width: 450px; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0,0,0,1); color: #ffffff;padding-right: 200px; border-bottom: 1px solid #2c8cb3;
    /* Efecto de brillo sutil */
    background: linear-gradient(to right, #a2cee2 20%, #1a3588 50%, #0015ff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Animación */
    animation: revealPremium 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards,
               shimmer 4s infinite linear;
    opacity: 0;
}

@keyframes revealPremium {
    0% {
        opacity: 0;
        transform: translateX(30px) skewX(-10deg);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) skewX(0deg);
        filter: blur(0);
    }
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}
.hid__cta {
    display: inline-block; /* Asegura que respete el ancho y padding */
    margin: 2rem auto 0;   /* Centra el botón horizontalmente */
    padding: 18px 60px;    /* Aumentado para igualar el grosor de la imagen 2 */
    background: linear-gradient(135deg, #62d4f0 0%, #2c8cb3 100%);
    color: #ffffff;
    font-family: var(--font-cinzel);
    font-weight: 700;
    font-size: 0.95rem;    /* Ligeramente mayor para mejor legibilidad */
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 20px;   /* Reducido: de 50px a 20px para que sea rectangular redondeado como el rojo */
    position: relative;
    z-index: 20;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(44, 140, 179, 0.4);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    animation: ctaPulse 2s infinite;
}

/* Ajuste de la animación para que coincida con la nueva forma */
.hid__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px; /* Misma que el botón */
    background: var(--accent-cyan);
    z-index: -1;
    opacity: 0;
    animation: ringPulse 2s infinite;
}

/* Hover: Pausar animación al pasar el mouse para facilitar el clic */
.hid__cta:hover {
    animation-play-state: paused;
    background: linear-gradient(135deg, #2c8cb3 0%, #62d4f0 100%);
    transform: scale(1.1);
}

/* --- KEYFRAMES (LA MAGIA) --- */

/* 1. Río Infinito */
@keyframes infiniteRiver {
    0% { background-position: 0 bottom; }
    100% { background-position: 1920px bottom; } /* Asume que la img tilea bien */
}

@keyframes ctaPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(44, 140, 179, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 45px rgba(98, 212, 240, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(44, 140, 179, 0.4);
    }
}

/* Animación 2: Un aro de luz que se expande y desaparece */
@keyframes ringPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4, 1.6); /* Se expande más en horizontal */
        opacity: 0;
    }
}

/* 3. Suspensión Motor */
@keyframes zeroGravity {
    0%, 100% { transform: translate(-40px, 0px); }
    50% { transform: translate(-40px, -15px); }
}

/* 4. Gota Elástica */
@keyframes elasticDrop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 5. Cascada Shimmer */
@keyframes waterfallShimmer {
    0% { opacity: 0.5; transform: rotate(9deg) translateX(0); }
    100% { opacity: 0.7; transform: rotate(9deg) translateX(10px); }
}


/* --- MEDIA QUERIES (PC) --- */
@media (min-width: 1024px) {
    .hid__layout {
        grid-template-columns: 1fr 1.4fr 1fr; 
        gap: 0; 
    }
    
    .hid__block--left {
      margin-top: 0; /* Eliminado el margen negativo excesivo */
        text-align: left; 
        align-items: flex-start; 
        display: flex; 
        flex-direction: column;
        padding-left: 5%; /* Porcentual para mejor adaptabilidad */
    }
    
    .hid__logo-group { justify-content: flex-start; }
    
    .hid__sist-text h3 { font-size: 2.2rem; }
    .hid__desc { margin-left: 0; text-align: left; }
    
    .hid__block--right {
        justify-content: flex-start; 
        text-align: left; 
        align-self: center; 
        margin-bottom: 0;
        padding-right: 5%;
    }
    
    .text-right-highlight { text-align: left; padding-right: 0;}

    /* Ajuste para que el motor no tape textos */
    .hid__motor { max-width: 110%; margin-left: -5%; }
}

/* --- MEDIA QUERIES (MOVIL) --- */
/* --- AJUSTES DE PRECISIÓN MÓVIL: SECCIÓN HIDRÁULICA --- */
@media (max-width: 768px) {

    /* 1. ELIMINAR IMAGEN DE CASCADA */
    .hid__waterfall {
        display: none !important;
    }

    /* 2. REDUCIR ESPACIO ENTRE DESCRIPCIÓN Y "SIST. HID." */
    .hid__desc {
        margin-bottom: 40px !important; /* Aumentamos el respiro visual */
        line-height: 1.4;
        font-size: 0.95rem;
        margin-left: 60px !important; /* Centra el texto en móvil */
    }

    .hid__sist-text h3 {
        margin-top: 10px !important; /* Elimina el margin-top de 150px que empujaba el texto hacia abajo */
        margin-left: -40px !important;   /* Centra visualmente en móvil */
        text-align: center !important;
        font-size: 1.8rem;
    }

    .hid__water-drop-icon {
        width: 30px; /* Un poco más pequeño para móvil */
        margin-left: -30px; /* Ajuste para centrar con el texto reducido */
        margin-top: -20px !important; /* Ajuste vertical para alinear con el texto */
    }


    .hid__title-wrapper {
        margin-bottom: 40px !important; /* Aumentamos el respiro visual */
        margin-left: 10px;
        line-height: 1.4;
        font-size: 1.2rem;
    }

    .hid__title {
        font-size: 4rem !important; /* Ajuste de escala para impacto visual sin desbordar */
        line-height: 1;
    }

    .hid__eyebrow {
        margin-top: -20px !important; /* Reduce el espacio entre eyebrow y título */
        margin-bottom: 60px !important; /* Aumenta el espacio entre eyebrow y título para mejor legibilidad */
        font-size: 1.2rem !important; /* Ajuste de tamaño para móvil */
    }

    /* 3. REDUCIR ESPACIO ENTRE MOTOR Y TEXTO DE FALLA */
    .hid__motor {
        margin-top: -10px !important;
        margin-bottom: 10px !important;
        max-width: 80% !important;
    }

    .text-right-highlight {
        padding-top: 0 !important; /* Elimina el padding de 100px que venía de desktop */
        padding-right: 0 !important;
        margin-top: 0 !important;
        font-size: 1.1rem;
        border-bottom: none !important; /* Limpieza visual en móvil */
    }

    /* 4. BOTÓN CENTRADO VERTICAL Y HORIZONTAL EN EL FOOTER DE AGUA */
    .services-hid {
        min-height: 110vh; /* Damos un poco más de altura total para distribuir el contenido */
        padding-top: 40px;
    }

    /* Contenedor del suelo de agua como base de posicionamiento */
    .hid__water-floor {
        height: 160px; /* Un poco más alto para dar aire al botón */
        display: flex;
        align-items: center;    /* Centrado Vertical */
        justify-content: center; /* Centrado Horizontal */
        pointer-events: auto;    /* IMPORTANTE: Permite que el botón sea clickeable dentro de esta capa */
    }

    /* Movemos el CTA dentro del flujo o lo forzamos a estar sobre el agua */
    .hid__cta {
        /* Reducción de tamaño */
        padding: 12px 35px !important; 
        font-size: 0.85rem !important;
        width: auto !important; /* Deja de ser bloque completo para ser más elegante */
        min-width: 200px;
        
        /* Ajuste de posición exacto */
        position: absolute;
        bottom: 10px; /* Lo subimos un poco más para que flote centrado en la franja de agua */
        left: 25%;
        transform: translateX(-50%) scale(1); /* Mantenemos centrado */
    }

    /* Ajuste de contenedor para evitar cortes */
    .hid__container {
        gap: 10px !important;
        padding-bottom: 100px; /* Espacio de reserva para que el contenido no choque con el botón */
    }
}


/*Services energia electrica*/
/* --- SECCIÓN 3: INFRAESTRUCTURA (Compacta & Premium) --- */
.section-infraestructura {
    position: relative;
    /* Corrección de Color: Radial para dar profundidad central, no lineal plano */
    background: radial-gradient(circle at 40% 40%, #E2A621 0%, #9e7215 30%, #251803 70%, #000000 100%);
    padding: 10px 0 0 0; /* Padding superior reducido para compactar */
    overflow: hidden;
    /* Ajuste de altura para "Una sola vista" */
    min-height: 550px; 
    height: auto;
    font-family: 'Cinzel', serif;
}

.content-wrapper {
    max-width: 1350px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    padding: 0 15px;
}

.main-title {
    color: #fff;
    text-align: center;
    font-size: 1.5rem; /* Ajustado para que no ocupe tanto espacio */
    letter-spacing: 2px;
    margin-bottom: 40px; /* Reducido drásticamente (antes 40px) */
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-family: var(--font-cinzel);
}

/* --- GRID PRINCIPAL COMPACTO --- */
.grid-main {
    display: grid;
    /* Columnas más ajustadas para acercar los textos al centro */
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start; /* Alineación superior para control manual de alturas */
    padding-top: 10px;
}

/* --- SOLUCIÓN 2: POSICIÓN DEL MOTOR Y PE --- */
.col-center {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.pe-composition {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.pe-text {
    font-family: var(--font-impact, sans-serif); /* Fallback por si la variable falla */
    font-size: 9.5rem; /* Tamaño masivo */
    font-weight: 900;
    color: #fff;
    line-height: 0.8; /* Altura de línea compacta */
    z-index: 2;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.img-motor {
    position: relative; /* Cambiado de absolute a relative para flujo */
    width: 800px; /* Ancho REDUCIDO (antes 110% era demasiado) */
    max-width: 100%;
    margin-top: -60px; /* TRUCO: Margen negativo para subirlo y solaparlo con PE */
    z-index: 1; /* Encima de la base de PE */
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.8));
}

.img-rayo-pe {
    position: absolute;
    width: 300px;
    top: 25%; /* Centrado óptico en las letras */
    left: 40%;
    transform: translate(-50%, -50%);
    z-index: 20; /* Encima de todo */
    filter: drop-shadow(0 0 15px #FFD700);
}

/* --- SOLUCIÓN 3: RAYO IZQUIERDO AMARILLO VIVO --- */
.col-left {
    padding-top: 30px; 
    padding-left: 10px;
    text-align: left;
}

.text-wrapper-relative {
    position: relative; /* Contexto para el rayo overlay */
    display: inline-block;
}

.img-rayo-overlay {
    position: absolute;
    top: -20px;
    left: -30px;
    width: 130%; /* Cubre todo el texto */
    height: 140%;
    z-index: 15; /* ENCIMA del texto (clave) */
    opacity: 1; /* CERO transparencia */
    mix-blend-mode: screen; /* ELIMINA lo negro, deja solo la luz amarilla */
    pointer-events: none; /* Permite seleccionar el texto debajo */
    filter: brightness(1.2) contrast(1.1); /* Potencia el amarillo */
}

/* --- CONTENEDOR Y ALINEACIÓN (Punto 1) --- */
.ee__logo-group {
    display: flex;
    align-items: center; /* Alinea verticalmente al centro el icono y el texto */
    gap: 15px; /* Espacio real entre el rayo y el texto */
    position: relative;
    margin-top: 30px;
}

.ee__icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.rayo-premium-icon {
    width: 200%; /* Se ajusta al contenedor sin tapar el texto */
    height: auto;
    margin-left: -150px;
    filter: drop-shadow(0 0 15px #faff00) brightness(1.2);
    animation: electricVibration 0.8s infinite alternate; /* Vibración de alta frecuencia */
}

/* --- SISTEMA DE PARTÍCULAS 20X (Punto 2) --- */
.energy-particles::before,
.energy-particles::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    margin-left: -150px;
    background: #faff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #faff00;
    opacity: 0;
}

/* Partícula 1 */
.energy-particles::before {
    animation: floatingParticle 2s infinite ease-in-out;
}

/* Partícula 2 */
.energy-particles::after {
    animation: floatingParticle 2.5s infinite ease-in-out 0.5s;
    width: 4px;
    height: 4px;
}

/* --- ANIMACIONES --- */

/* Vibración eléctrica sutil */
@keyframes electricVibration {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(1px, 1px) rotate(1deg); }
}

/* Partículas que orbitan y desaparecen - CORREGIDO */
@keyframes floatingParticle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    /* Eliminamos el calc con Math.random que causaba el error */
    100% {
        transform: translate(20px, -60px) scale(0);
        opacity: 0;
    }
}

/* Segunda variante para que las partículas no vayan al mismo sitio */
@keyframes floatingParticleAlt {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translate(-25px, -50px) scale(0);
        opacity: 0;
    }
}

/* Aplicación de las animaciones a los pseudo-elementos */
.energy-particles::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: #faff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #faff00;
    animation: floatingParticle 2s infinite ease-in-out;
}

.energy-particles::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    background: #faff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #faff00;
    /* Usamos la animación alternativa para dar variedad */
    animation: floatingParticleAlt 2.5s infinite ease-in-out 0.5s;
}

/* Mejora del texto para que no sea tapado */
.ee__sist-text h3 {
    position: relative;
    z-index: 11;
    margin: 0;
    pointer-events: none; /* El texto es intocable para efectos visuales */
}

/* --- AJUSTE DEL TEXTO PARA QUE NO SE MUEVA --- */
.ee__sist-text h3 {
    white-space: nowrap; /* Evita que el texto salte de línea si el icono crece */
    /* ... resto de tus estilos ... */
}

.ee__sist-text h3 {
    font-family: var(--font-impact); font-size: 2.6rem; color: #ffffff; font-weight: 500; line-height: 0.9; margin: 0; text-align: left; letter-spacing: 1px; margin-left: -90px;
}

.ee__desc {
    font-family: var(--font-cinzel); font-size: 1.2rem; font-weight: 400; margin-left: -50px; line-height: 1.5; color: #dcebf5; max-width: 280px; border-left: 2px solid #faff00; padding-left: 15px; margin-top: 30px;
}


/* --- CONTENEDOR DE LISTA DERECHA --- */
.ee__features-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alinea todo a la derecha */
    gap: 0; /* Controlado por el padding de los items */
    max-width: 400px;
    margin-left: auto;
    margin-top: 70px;
}

/* Cada fila de la lista */
.ee__feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Línea divisoria sutil */
    transition: all 0.3s ease;
}

.ee__feature-item:last-child {
    border-bottom: none; /* Quita la línea al último */
}

/* El punto de luz (Glow Indicator) */
.ee__status-glow {
    width: 8px;
    height: 8px;
    background-color: #faff00; /* Amarillo energía */
    border-radius: 50%;
    margin-left: 15px; /* Espacio entre texto y punto */
    order: 2; /* Lo pone a la derecha del texto */
    box-shadow: 0 0 10px #faff00, 0 0 20px rgba(250, 255, 0, 0.6);
    animation: statusPulse 2s infinite ease-in-out;
}

/* Estilo del Texto */
.ee__feature-item p {
    color: #ffffff;
    font-family: var(--font-cinzel), serif;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    order: 1; /* Texto a la izquierda del punto */
}

/* --- EFECTOS EXTRA --- */

/* Pulso para los indicadores LED */
@keyframes statusPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Hover premium: ilumina la fila */
.ee__feature-item:hover {
    background: linear-gradient(to left, rgba(255, 215, 0, 0.05), transparent);
    padding-right: 10px;
}

.ee__feature-item:hover .ee__status-glow {
    box-shadow: 0 0 15px #faff00, 0 0 30px #faff00;
}

.info-text {
    color: #FFF;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* --- FONDO Y EXTRAS --- */
.layer-bg-lightning {
    position: absolute;
    top: 0;
    right: 0;
    width: 35%; /* Reducido para no invadir */
    height: 80%;
    z-index: 1;
    opacity: 0.4;
    mix-blend-mode: screen;
}

.img-rayo-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top right;
    opacity: 0.5;
}

/* --- FOOTER COMPACTO --- */
.footer-section-overlay {
    position: relative;
    width: 100%;
    height: 100px; /* Altura reducida (antes 250px) */
    margin-top: 10px; /* Solapamiento negativo */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 40px;
    z-index: 30;
}

.img-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.btn-mas-info {
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, #FFD700 0%, #B8860B 100%);
    padding: 12px 40px;
    border-radius: 50px;
    color: #FFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s;
}

.btn-mas-info:hover {
    transform: scale(1.05);
}

/* --- RESPONSIVE MOBILE --- */
/* --- OPTIMIZACIÓN MÓVIL SECCIÓN 4: ENERGÍA CRÍTICA --- */
@media (max-width: 768px) {
    /* 1. Ajuste del contenedor principal para flujo vertical */
    .grid-main {
        display: flex !important;
        flex-direction: column !important; /* Apila los elementos uno bajo otro */
        align-items: center !important;
        gap: 30px;
        padding-top: 20px;
    }

    /* 1. Reducción del título principal de la sección */
    .main-title {
        font-size: 1.2rem !important; /* Tamaño reducido para mejor balance */
        padding: 0 15px;
        line-height: 1.3;
        margin-bottom: 25px !important;
    }

    /* 2. Logo y Título Izquierdo (ENERGIA ELECTRICA) */
    .col-left {
        width: 100%;
        padding: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ee__logo-group {
        margin-top: 0;
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }

    .ee__sist-text h3 {
        margin-left: -85px !important; /* Elimina el desplazamiento de PC */
        font-size: 2rem;
        text-align: center;
    }

    .ee__desc {
        margin: 15px auto !important;
        text-align: center;
        border-left: none;
        border-top: 2px solid #faff00; /* Borde superior para separar */
        padding: 10px 0 0 0;
        max-width: 280px;
        font-size: 0.95rem;
    }

    /* 3. Título Central (ENERG. ELECT.) y Motor */
    .col-center {
        width: 100%;
        overflow: visible; /* Asegura que el motor no se corte */
    }

    .pe-text {
        font-size: 4rem !important; /* Tamaño ajustado para no desbordar */
        text-align: center;
        width: 100%;
        display: block;
        letter-spacing: -1px;
    }

    .img-motor {
        width: 280px !important; /* Aumento de tamaño solicitado */
        margin-top: -40px !important; /* Solapamiento estético */
        display: block;
        margin-left: auto;
        margin-right: auto;
        filter: drop-shadow(0 15px 25px rgba(0,0,0,0.9));
    }

    /* 3. Reducción al 50% de la imagen del rayo central */
    .img-rayo-pe {
        width: 120px !important; /* Reducido al 50% del tamaño anterior (aprox) */
        top: 20% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        opacity: 0.9;
    }

    

    /* 4. Lista de Beneficios (Alineada al borde izquierdo) */
    .col-right {
        width: 100%;
        padding: 0 20px; /* Margen de seguridad en los bordes */
    }

    .ee__features-list {
        align-items: flex-start !important; /* Todo al borde izquierdo */
        margin-top: 20px;
        margin-left: 0;
        width: 100%;
    }

    .ee__feature-item {
        justify-content: flex-start !important;
        width: 100%;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }

    .ee__status-glow {
        order: 1 !important; /* El punto amarillo primero */
        margin-left: 0 !important;
        margin-right: 15px !important;
    }

    .ee__feature-item p {
        order: 2 !important; /* El texto después del punto */
        text-align: left !important;
        font-size: 0.9rem;
    }

    /* Ajuste de los rayos decorativos para que no estorben */
    .img-rayo-overlay, .img-rayo-bg {
        display: none; /* Sugiero ocultar rayos pesados en móvil para claridad */
    }
}

/* =========================================
   ANIMACIONES ULTRA PREMIUM 10X (ADD-ON)
   ========================================= */

/* --- 1. BOTÓN CON PULSO MAGNÉTICO --- */
@keyframes gold-pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7), 0 0 0 0 rgba(184, 134, 11, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 215, 0, 0), 0 0 0 30px rgba(184, 134, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0), 0 0 0 0 rgba(184, 134, 11, 0); }
}

.btn-mas-info {
    /* Mantiene tu gradiente y estilos, añade el pulso */
    animation: gold-pulse-ring 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-mas-info:hover {
    transform: scale(1.1) translateY(-3px); /* Un poco más de pop */
    filter: brightness(1.2); /* Brillo extra */
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

/* --- 2. RAYOS CON ENERGÍA VIVA (Flicker) --- */
@keyframes electric-shiver {
    0%, 100% { opacity: 1; filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 5px #FFD700); }
    5% { opacity: 0.8; }
    10% { opacity: 0.4; filter: brightness(2); } /* Chispazo */
    10.2% { opacity: 0.9; }
    50% { opacity: 0.95; }
    90% { filter: brightness(1.5) drop-shadow(0 0 15px #FFD700); }
}

.img-rayo-pe {
    /* Aplica al rayo central */
    animation: electric-shiver 4s infinite alternate-reverse;
}

.img-rayo-overlay {
    /* Aplica al rayo izquierdo, manteniendo tu mix-blend-mode */
    animation: electric-shiver 5s infinite linear -2s;
    mix-blend-mode: screen; 
}

/* --- 3. ENTRADA CINEMÁTICA (SCROLL REVEAL) --- */
/* Estado inicial invisible */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-zoom-in {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: opacity 1s ease-out, transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1); /* Rebote elástico */
}

/* Estado visible (activado por JS) */
.is-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Retrasos para efecto cascada */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-400 { transition-delay: 0.4s; }
.delay-600 { transition-delay: 0.6s; }





.diagnostico__subtitle {
    position: absolute;
    top: 3vh; /* Relativo al viewport */
    left: 0;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.6rem;
    font-family: var(--font-cinzel);
    font-weight: 700;
    color: #ffffff;
    opacity: 0.9;
    z-index: 30;
    text-shadow: 0 0 10px rgba(98, 212, 240, 0.3);

}

/* ==========================================================================
   DIAGNOSTICO - MODO OSCURO (RADAR DE RIESGOS)
   ========================================================================== */

:root {
    --color-red: #AE0E19;
    --color-blue: #579DCC;
    --color-white: #FFFFFF;
    --color-yellow: #F8B628;
    --color-black: #000000;
    --color-dark-grey: #1a1a1a;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.diagnostico__subtitle {
    position: absolute;
    top: 3vh; /* Relativo al viewport */
    left: 0;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.6rem;
    font-family: var(--font-cinzel);
    font-weight: 700;
    color: #ffffff;
    opacity: 0.9;
    z-index: 30;
    text-shadow: 0 0 10px rgba(98, 212, 240, 0.3);

}

.diagnosis {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-main);
    padding: 120px 5%;
    overflow: hidden;
    position: relative;
}

.diagnosis__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* --- Contenido --- */

.diagnosis__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.diagnosis__title--highlight {
    color: var(--color-red);
    text-transform: uppercase;
}

.diagnosis__lead {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.diagnosis__lead strong {
  font-size: 1.4rem;
  color: var(--color-red);
  margin-bottom: 2rem;
}

.diagnosis__list {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.diagnosis__item {
    padding: 15px 0;
    border-bottom: 1px solid #333;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: default;
}

.diagnosis__item:hover {
    color: var(--color-red);
    padding-left: 10px;
    border-bottom-color: var(--color-red);
}

.diagnosis__icon-wrapper {
    width: 12px;
    height: 12px;
    background: var(--color-red);
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 0 10px var(--color-red);
}

.diagnosis__copy {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.diagnosis__disclaimer {
    color: var(--color-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.3;
    margin-bottom: 0.2rem;
}

.diagnosis__microcopy {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

/* --- Botón CTA --- */

.btn--primary {
    display: inline-block;
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 18px 35px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: transform 0.2s ease, background 0.3s ease;
}

.btn--primary:hover {
    background-color: #8a0b14;
    transform: translateY(-3px);
}

.btn--primary1 {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--black);
    padding: 18px 35px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: transform 0.2s ease, background 0.3s ease;
}

.btn--primary1:hover {
    background-color: #da0413;
    transform: translateY(-3px);
}

/* --- Área Visual: Radar --- */

.diagnosis__visual-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.radar {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a0a0a 0%, #000 70%);
    border: 1px solid var(--color-red);
}

.radar__circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--color-red); /* Azul sutil */
    border-radius: 50%;
}

.radar__circle:nth-child(1) { width: 33%; height: 33%; }
.radar__circle:nth-child(2) { width: 66%; height: 66%; }
.radar__circle:nth-child(3) { width: 100%; height: 100%; }

.radar__sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: conic-gradient(from 0deg, rgba(87, 157, 204, 0.4) 0deg, transparent 90deg);
    transform-origin: top left;
    animation: sweep 4s linear infinite;
    border-radius: 0 100% 0 0;
}

/* --- Puntos de Alerta (Blips) --- */

.radar__dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--color-red);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 15px var(--color-red), 0 0 30px var(--color-red);
}

/* Posiciones arbitrarias de riesgos */
.radar__dot--tech { top: 25%; left: 65%; }
.radar__dot--invisible { top: 60%; left: 30%; }
.radar__dot--legal { top: 40%; left: 75%; }
.radar__dot--urgency { top: 70%; left: 60%; }

/* Interacción: Cuando el usuario hace hover en el texto, el punto brilla */
.diagnosis__item[data-risk="tech"]:hover ~ .diagnosis__visual-area .radar__dot--tech,
.diagnosis__item[data-risk="invisible"]:hover ~ .diagnosis__visual-area .radar__dot--invisible,
.diagnosis__item[data-risk="legal"]:hover ~ .diagnosis__visual-area .radar__dot--legal,
.diagnosis__item[data-risk="urgency"]:hover ~ .diagnosis__visual-area .radar__dot--urgency {
    opacity: 1;
}

/* Etiqueta de Alerta */
.radar__alert-label {
    position: absolute;
    bottom: -80px;
    left: 60%;
    transform: translateX(-50%);
    color: var(--color-red);
    font-family: monospace;
    font-size: 1.2rem;
    letter-spacing: 2px;
    animation: blink 1s steps(2) infinite;
}

/* --- Animaciones --- */

@keyframes sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes blink {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* --- Responsividad --- */

@media (max-width: 968px) {
    .diagnosis__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .diagnostico__subtitle {
        top: 2vh;
        font-size: 1.2rem;
    }
    
    .diagnosis__visual-area {
        height: 350px;
        order: -1;
    }
    
    .radar {
        width: 300px;
        height: 300px;
    }
    
    .radar__sweep {
        width: 150px;
        height: 150px;
    }

    .diagnosis__item {
        justify-content: center;
    }
}

/* ==========================================================================
   VARIABLES Y CONFIGURACIÓN BASE
   ========================================================================== */
:root {
    --color-primary: #AE0E19;    /* Rojo Ingefuller */
    --color-secondary: #579DCC;  /* Azul Técnico */
    --color-accent: #F8B628;     /* Amarillo Acento */
    --color-bg: #FFFFFF;
    --color-dark: #000000;
    --color-text-light: #666666;
    --grid-color: rgba(87, 157, 204, 0.1); /* Azul sutil para cuadrícula */
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   SECCIÓN: PROPUESTA DE VALOR (BLUEPRINT OVERLAY)
   ========================================================================== */
.value-prop {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-bg);
    overflow: hidden;
}

/* Fondo de Cuadrícula Técnica */
.value-prop__blueprint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.value-prop__header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 60px;
}

.value-prop__title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--color-dark);
}

.value-prop__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 15px auto 0;
}

/* Contenedor de Grid y Conectores */
.value-prop__grid-wrapper {
    position: relative;
    z-index: 2;
}

/* SVG Conectores (Líneas de Pulso) */
.value-prop__connectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.pulse-line {
    stroke: var(--color-secondary);
    stroke-width: 10;
    stroke-dasharray: 10, 5;
    animation: pulseFlow 30s linear infinite;
}

@keyframes pulseFlow {
    from { stroke-dashoffset: 500; }
    to { stroke-dashoffset: 0; }
}

/* Grid de Tarjetas */
.value-prop__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* ==========================================================================
   COMPONENT: VALUE CARD
   ========================================================================== */
.value-card {
    background: rgba(255, 255, 255, 0.9);
    border-left: 4px solid var(--color-secondary);
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
}

.value-card:hover {
    transform: translateY(-5px);
    border-left-color: var(--color-primary);
    box-shadow: 0 15px 40px rgba(174, 14, 25, 0.15);
}

/* Indicador Numérico Técnico */
.value-card::before {
    content: attr(data-step);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    font-family: monospace;
    opacity: 0.5;
}

.value-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-dark);
    line-height: 1.3;
}

.value-card__text {
    font-size: 1rem;
    color: var(--color-text-light);
    margin: 0;
}



.barber-carousel-container {
    position: relative;
    margin-top: 50px;
    width: 100%;
    height: 420px; /* reducido para imágenes más pequeñas */
    display: flex;
    align-items: center;
    overflow: hidden; /* Oculta lo que sale de pantalla */
    justify-content: center;
}

.barber-carousel-track {
    display: flex;
    gap: 36px; /* Espacio entre imágenes ligeramente reducido */
    padding: 16px 0;
    will-change: transform;
    /* El movimiento infinito se gestiona por JS para precisión total */
}

/* --- Estilo de las Tarjetas (Items) --- */
/* Forzamos que como máximo 3 imágenes estén visibles en escritorio usando min() para controlar el tamaño */
.barber-item {
    flex: 0 0 min(320px, calc((100% - 72px) / 3)); /* Máx 3 visibles, ancho tope 320px */
    max-width: 320px;
    min-width: 180px; /* Evita tamaños demasiado pequeños */
    height: 360px; /* altura reducida */
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    filter: brightness(0.45) ;
    -webkit-box-reflect: below 12px linear-gradient(transparent, transparent, rgba(255,255,255,0.03));
}

.barber-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

/* Overlay de Texto */
.barber-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 16px; /* padding reducido */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    opacity: 0;
    transition: 0.35s ease;
}

.overlay-text {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- RESALTE CENTRAL (VÍA JS) --- */
/* Esta clase se aplica automáticamente a la imagen que cruza el centro */
.barber-item.highlight {
    filter: brightness(1) grayscale(0%);
    transform: scale(1.03); /* escala un poco menor para que no ocupe demasiado */
    border: 2px solid #ff0012;
    box-shadow: 0 18px 40px -10px rgba(255, 0, 18, 0.35);
    z-index: 10;
}

.barber-item.highlight .barber-overlay {
    opacity: 1;
}

/* --- HOVER CONTROLADO --- */
.barber-item:hover {
    transform: scale(1.08) translateY(-10px) !important;
    filter: brightness(1.1) grayscale(0%) !important;
    border: 2px solid #ff0012 !important;
    box-shadow: 0 30px 60px -15px rgba(255, 0, 18, 0.6) !important;
    z-index: 100 !important;
}

.barber-item:hover .barber-overlay {
    opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    /* En pantallas medianas mostrar 2 items como máximo */
    .barber-item { flex: 0 0 calc((100% - 40px) / 2); height: 380px; }
}

@media (max-width: 768px) {
    .barber-carousel-container { height: 450px; }
    /* En móvil mostramos aproximadamente 1 item completo */
    .barber-item { flex: 0 0 90%; height: 320px; }
}



/* Footer / Microcopy */
.value-prop__footer {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 50px;
}

.value-prop__microcopy {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary);
    display: inline-block;
    padding: 5px 15px;
    border: 1px dashed var(--color-secondary);
}

/* Responsividad */
@media (max-width: 768px) {
    .value-prop__connectors { display: none; } /* Simplificar en móvil */
    .value-prop__title { font-size: 2rem; }
    .value-card { padding: 30px 20px; }
}

/* Ajuste para Grid de 3 columnas en pantallas grandes */
@media (min-width: 1024px) {
    .value-prop__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Variante para Tarjeta 6 (Cierre de Autoridad) */
.value-card--highlight {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-left: 4px solid var(--color-primary); /* Rojo para destacar el beneficio final */
}

.value-card--highlight .value-card__title {
    color: var(--color-primary);
}

/* Ajuste de animación de pulso para mayor complejidad visual */
.pulse-line {
    stroke-width: 2;
    opacity: 1.5;
    stroke-dasharray: 15, 30;
    animation: pulseFlow 30s linear infinite;
}

@keyframes pulseFlow {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}


/* ==========================================================================
   VARIABLES Y RESET
   ========================================================================== */
:root {
    --rojo: #AE0E19;
    --azul: #579DCC;
    --amarillo: #F8B628;
    --negro: #000000;
    --gris-oscuro: #1A1A1A;
    --gris-borde: #333333;
    --blanco: #FFFFFF;
    --fuente-principal: 'Inter', sans-serif;
    --fuente-tecnica: 'Roboto Mono', monospace;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   SECCIÓN 6: AUTORIDAD
   ========================================================================== */
.authority {
    padding: 100px 0;
    background: radial-gradient(circle at 10% 10%, #1a1a1a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

/* Decoración de fondo tipo plano técnico */
.authority::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(var(--gris-borde) 1px, transparent 1px), 
                      linear-gradient(90deg, var(--gris-borde) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
    pointer-events: none;
}

/* Headline y Subheadline */
.authority__header {
    margin-bottom: 60px;
    max-width: 900px;
}

.authority__headline {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #FFFFFF;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.authority__headline span {
    color: var(--rojo);
}

.authority__subheadline {
    font-size: 1.25rem;
    color: #CCCCCC;
    border-left: 4px solid var(--rojo);
    padding-left: 1.5rem;
}

/* Grid Layout */
.authority__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 992px) {
    .authority__grid { grid-template-columns: 1fr; gap: 60px; }
}

/* Manifesto y Beneficios */
.authority__manifesto {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.text--highlight {
    background: #ff0000;
    color: #FFFFFF;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.text--highlight1 {
    color: #FFFFFF;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}


.authority__benefits-title {
    font-family: var(--fuente-tecnica);
    color: var(--amarillo);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.authority__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.authority__item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
    color: #FFFFFF;
}

.authority__item::before {
    content: "✓";
    color: var(--amarillo);
    font-weight: bold;
    margin-right: 15px;
    border: 1px solid var(--amarillo);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border-radius: 50%;
}

.authority__promise {
    font-family: var(--fuente-tecnica);
    font-size: 1.1rem;
    border-top: 1px solid var(--gris-borde);
    padding-top: 20px;
    color: #FFF;
}

.authority__promise span {
    color: var(--rojo);
    font-weight: bold;
}

/* ==========================================================================
   COMPONENTE: TESTIMONIOS (Inspirado en la imagen)
   ========================================================================== */
.testimonials__header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials__label {
    color: var(--amarillo);
    font-family: var(--fuente-tecnica);
    letter-spacing: 4px;
    font-size: 0.8rem;
}

.testimonials__title {
    font-size: 2rem;
    margin-top: 10px;
    font-weight: 700;
    color: #FFFFFF;
}

.testimonials__wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    color: #FFFFFF;
    border: 1px solid var(--gris-borde);
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--amarillo);
}

.testimonial-card__quote {
    font-style: italic;
    color: #BBBBBB;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Contenedor que agrupa estrellas y sello */
.testimonial-card__validation {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Separa estrellas a la izq y sello a la der */
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.testimonial-card__stars {
    display: flex;
    gap: 3px;
}

.star-icon {
    width: 18px;
    height: 18px;
    color: #F8B628; /* Amarillo Ingefuller */
}

/* El Sello de Garantía Técnica */
.testimonial-card__badge {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.65rem;
    font-weight: 800;
    color: #AE0E19; /* Rojo para autoridad */
    background-color: rgba(174, 14, 25, 0.05); /* Fondo rojo muy suave */
    padding: 4px 8px;
    border: 1px solid rgba(174, 14, 25, 0.2);
    border-radius: 3px;
    letter-spacing: 1px;
    display: inline-block;
}

/* Efecto al pasar el mouse por la tarjeta */
.testimonial-card:hover .testimonial-card__badge {
    background-color: #AE0E19;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.author__image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
}

/* Idea creativa 4: Anillo de progreso/estatus */
.author__image--active img {
    border-color: var(--rojo);
    box-shadow: 0 0 15px rgba(174, 14, 25, 0.4);
}

.author__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.author__role {
    font-family: var(--fuente-tecnica);
    color: var(--amarillo);
    font-size: 0.8rem;
    text-transform: uppercase;
}


/* Contenedor de estrellas */
.testimonial-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 15px; /* Espacio antes del texto del testimonio */
}

/* Estilo de cada estrella */
.star-icon {
    width: 20px;
    height: 20px;
    color: #F8B628; /* El amarillo de marca */
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.1)); /* Sutil relieve */
    transition: transform 0.3s ease;
}

/* Micro-interacción: Las estrellas brillan un poco al pasar el mouse por la card */
.testimonial-card:hover .star-icon {
    transform: scale(1.1);
}

/* ==========================================================================
   SECCIÓN #7: DIAGNÓSTICO (DARK MODE & ESTRATEGIA 10X)
   ========================================================================== */

.diagnosis-section-dark {
    background-color: #01050a; /* Negro Industrial Ingefuller */
    color: #ffffff;
    overflow: hidden;
    /* Compensar header fijo (100px) + espacio respiración */
    padding: 120px 0 80px;
}

/* Limitar ancho del contenido para evitar que "ocupe toda la pantalla" */
.diagnosis-section-dark .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.diagnosis-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;

    /* Explicación del degradado: 
       - Empieza blanco.
       - Apenas al 10% empieza a transformarse.
       - Al 50% ya es rojo sólido (#ff0012) y se mantiene así hasta el final. 
    */
    background: linear-gradient(to right, 
        #ffffff 0%, 
        #ffffff 10%, 
        #ff0012 50%, 
        #880009 100%
    );
    
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    display: inline-block;
}

.diagnosis-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px; /* Espacio reducido para mejor equilibrio visual */
    align-items: start;
    width: 100%;
}

/* --- BLOQUE DE TEXTO Y BADGE --- */
.section-badge {
    display: inline-block;
    color: #ff0012;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    border: 1px solid #ff0012;
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.diagnosis-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 45px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

/* ======================================================
   FIX: Asegurar que el contenido dentro de #diagnostico-principal
   sea visible aunque el observer no active las animaciones.
   Esta regla es deliberadamente específica y localizada.
   ====================================================== */
.diagnosis-section-dark .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.diagnosis-lead {
    font-size: 19px;
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* --- GRID DE BENEFICIOS (CARDS) --- */
.benefits-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 30px;
    border-radius: 12px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ff0012;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-num {
    position: absolute;
    top: 20px;
    right: 25px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.benefit-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.benefit-card-header i {
    color: #ff0012;
    font-size: 25px;
}

.benefit-card-header h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
}

.benefit-card p {
    font-size: 17px;
    line-height: 1.5;
    color: #a0aec0;
}

/* --- FRASE DE AUTORIDAD (ESTILO CENTRADO DE IMPACTO) --- */
.authority-quote-dark {
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
}

.authority-quote-dark p {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    font-style: italic;
    line-height: 1.3;
    margin: 20px 0;
}

.quote-line-top, .quote-line-bottom {
    width: 80px;
    height: 4px;
    background: #ff0012;
    margin: 0 auto;
}

/* --- TARJETA DE FORMULARIO (MODERN WHITE) --- */
.diagnosis-card-inner {
    background: #ffffff;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    color: #01050a;
    position: relative;
    overflow: hidden;
}

.card-header-v2 h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
}

.card-header-v2 p {
    color: #718096;
    font-size: 15px;
    margin-bottom: 40px;
}

/* --- FORMULARIO Y CAMPOS --- */
.form-group-v2 {
    margin-bottom: 25px;
}

.form-group-v2 label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #4a5568;
}

.form-group-v2 input, 
.form-group-v2 select {
    width: 100%;
    padding: 16px;
    border: 2px solid #edf2f7;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.form-group-v2 input:focus,
.form-group-v2 select:focus {
    border-color: #ff0012;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 0, 18, 0.1);
}

/* --- CAMPO CONDICIONAL (OTRO ESCENARIO) --- */
.conditional-field {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.conditional-field.show {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
    margin-bottom: 15px;
}

#detalle-otro {
    width: 100%;
    padding: 15px;
    border: 2px solid #edf2f7;
    border-radius: 8px;
    background: #f8fafc;
    font-family: inherit;
    resize: none;
    min-height: 100px;
    font-size: 1.1rem; /* Tamaño solicitado anteriormente */
    line-height: 1.5;
}

#detalle-otro::placeholder {
    font-size: 1.1rem;
    color: #a0aec0;
    font-weight: 400;
}

/* --- BOTÓN DE ENVÍO --- */
.btn-submit-v2 {
    width: 100%;
    background: #ff0012;
    color: #ffffff;
    border: none;
    padding: 22px;
    border-radius: 6px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

.btn-submit-v2:hover {
    background: #01050a;
    transform: translateY(-3px);
}

.btn-loader-text {
    display: block;
    font-size: 10px;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.7;
}

/* --- TRUST BAR (DEBAJO DEL BOTÓN) --- */
.trust-bar-dark {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid #edf2f7;
    padding-top: 25px;
}

.trust-bar-dark span {
    font-size: 11px;
    font-weight: 700;
    color: #a0aec0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-bar-dark i {
    color: #38a169;
}

/* ==========================================================================
   SUCCESS OVERLAY Y ANIMACIONES
   ========================================================================== */

.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-icon {
    font-size: 70px;
    color: #38a169;
    margin-bottom: 25px;
}

.success-content h3 {
    font-size: 26px;
    font-weight: 900;
    color: #01050a;
    margin-bottom: 15px;
}

.success-content p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
}

.success-highlight {
    font-weight: 700;
    color: #ff0012 !important;
    margin-top: 10px;
}

.success-loader {
    width: 60px;
    height: 4px;
    background: #edf2f7;
    margin: 30px auto 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.success-loader::after {
    content: '';
    position: absolute;
    left: -50%;
    width: 50%;
    height: 100%;
    background: #ff0012;
    animation: loadBar 2s infinite linear;
}

/* KEYFRAMES */
@keyframes flashPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; color: #f6e05e; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

@keyframes loadBar {
    from { left: -50%; }
    to { left: 100%; }
}

.success-icon .fa-bolt {
    animation: flashPulse 1.5s infinite;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
    .diagnosis-grid { grid-template-columns: 1fr; gap: 70px; }
    .diagnosis-title { font-size: 38px; }
    .diagnosis-card-inner { padding: 40px; }
    .authority-quote-dark { margin: 40px auto; }
}

@media (max-width: 600px) {
    .benefits-cards-grid { grid-template-columns: 1fr; }
    .diagnosis-section-dark { padding: 80px 0; }
    .diagnosis-title { font-size: 32px; }
    .authority-quote-dark p { font-size: 20px; }
}


/* ==========================================================================
   OPTIMIZACIÓN PARA MÓVIL: SECCIÓN AUDITORÍA TÉCNICA
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. Espaciado general de la sección */
    .diagnosis-section-dark {
        padding: 70px 0; /* Un poco menos de padding vertical para no alargar tanto */
    }

    /* 2. Padding para los textos de cabecera (Título y Lead) */
    .diagnosis-content {
        padding: 0 25px; /* Evita que el texto toque los bordes */
        text-align: center;
    }

    .diagnosis-title {
        font-size: 30px; /* Tamaño ajustado para pantallas pequeñas */
        margin-bottom: 20px;
    }

    .diagnosis-lead {
        font-size: 17px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    /* 3. Padding en las Cards de Beneficios */
    .benefits-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 20px; /* Margen lateral para el grid de cards */
    }

    .benefit-card {
        padding: 30px 25px; /* Espacio interno de la card */
    }

    /* 4. Ajuste de la frase de autoridad */
    .authority-quote-dark {
        padding: 0 30px;
        margin: 40px auto;
    }

    /* 5. EL FORMULARIO (Diagnosis Card) */
    .diagnosis-card-wrapper {
        padding: 0 15px; /* Crea el efecto de que la tarjeta flota */
    }

    .diagnosis-card-inner {
        padding: 40px 25px; /* Aumentamos el padding interno para que respire */
        border-radius: 12px;
    }

    .card-header-v2 h3 {
        font-size: 24px;
        text-align: center;
    }

    .card-header-v2 p {
        text-align: center;
        padding: 0 10px;
    }

    /* 6. Inputs y Botones con padding extra */
    .form-group-v2 input, 
    .form-group-v2 select {
        padding: 18px; /* Más área de toque */
    }

    .btn-submit-v2 {
        padding: 20px;
        font-size: 13px;
    }

    .btn-secondary-v2 {
        padding: 18px 20px;
    }

    /* 7. Barra de confianza inferior */
    .trust-bar-dark {
        flex-direction: column; /* Apilados en móvil */
        gap: 15px;
        align-items: center;
        padding-top: 30px;
    }
}

/* ================================
   BOTÓN SECUNDARIO ESTILO COHERENTE
================================ */

.btn-secondary-v2 {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 16px 20px;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;

    border-radius: 8px;
    border: 2px solid #ff0f1f; /* mismo rojo del botón principal */
    
    background: transparent;
    color: #ff0f1f;

    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover */
.btn-secondary-v2:hover {
    background: #ff0f1f;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 15, 31, 0.35);
    transform: translateY(-5px);
}

/* Click */
.btn-secondary-v2:active {
    transform: scale(0.98);
}

/* Focus accesibilidad */
.btn-secondary-v2:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 15, 31, 0.3);
}

/* --- MÓVIL: reducir tamaño de las cards e íconos en la sección 'risks' --- */
@media (max-width: 768px) {
    /* Añadimos padding horizontal al contenedor para que las cards no lleguen al borde */
    .risks .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .risks .risks__visual-grid {
        gap: 12px; /* menos espacio entre tarjetas */
        grid-template-columns: 1fr 1fr; /* mantiene 2 columnas en móvil pequeño */
        padding: 0 6px; /* pequeño acolchonamiento interno */
    }

    /* Limitamos el ancho de cada card y las centramos para que no se vean tan anchas */
    .risks .risk-card {
        padding: 12px 10px !important; /* reducir padding interior */
        border-radius: 10px !important;
        gap: 8px !important;
        aspect-ratio: auto !important;
        height: auto !important;
        font-size: 0.95rem !important; /* reduce texto dentro de la card */
        max-width: 340px; /* limita ancho visual */
        margin: 0 auto; /* centra cada card dentro de su celda */
    }

    .risks .risk-card__icon i {
        font-size: 28px !important; /* ícono más pequeño */
    }

    .risks .risk-card__title {
        font-size: 1rem !important; /* título más compacto */
        line-height: 1.2 !important;
    }
}
