:root {
  --blue-main: #1f78b4;
  --blue-dark: #0a2540;
  --blue-soft: #eaf4fb;
  --dark-bg: #0b1d2d;
}

/* =========================
   HERO
========================= */
.prod-hero {
  position: relative;
  height: 420px;
  background: linear-gradient(
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.55)
    ),
    url('/assets/productos-servicios/banner.webp')
    center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-hero-content {
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 0 20px;
}

.prod-hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
}

/* =========================
   INTRO
========================= */
.sio2-intro {
  background: var(--blue-soft);
  padding: 90px 20px;
}

.sio2-intro-content {
  max-width: 1000px;
  margin: auto;
  font-size: 19px;
  line-height: 1.9;
  text-align: center;
  color: var(--blue-dark);
}

/* =========================
   BLOQUES A / B
========================= */
.sio2-ab {
  padding: 120px 20px;
}

.sio2-ab-grid {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
}

.sio2-ab-block {
  background: #ffffff;
  padding: 70px 60px;
  border-radius: 28px;
  position: relative;
  box-shadow: 0 35px 70px rgba(0,0,0,.08);
}

.sio2-ab-block h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.sio2-ab-block p {
  font-size: 17px;
  line-height: 1.8;
}

.sio2-ab-block.dark {
  background: radial-gradient(
    circle at top,
    #12324a,
    var(--dark-bg)
  );
  color: #ffffff;
}

.sio2-ab-block .letter {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 70px;
  height: 70px;
  background: var(--blue-main);
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/* ===============================
   BLOQUE IMAGEN + TEXTO SIO2
================================ */

.sio2-image-text {
  position: relative;
  padding: 120px 20px;
  background: #ffffff;
  overflow: hidden;

  /* 🔥 CLAVE */
  display: flex;
  justify-content: center;
}
/* Contenedor centrado 70% */
.sio2-image-text-inner {
  width: 70%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  gap: 90px;
  position: relative;
  z-index: 2;
}

/* Imagen */
.sio2-image img {
  width: 360px;
  max-width: 100%;
  filter: drop-shadow(0 25px 45px rgba(0,0,0,0.18));
}

/* Texto */
.sio2-text p {
  font-size: 18px;
  line-height: 1.9;
  color: #3e556b;
  max-width: 520px;
}

/* ===============================
   FORMAS SUAVES DE FONDO
================================ */

/* Forma principal */
.sio2-image-text::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: rgba(31, 120, 180, 0.08);
  border-radius: 50%;
  top: 50%;
  left: -140px;
  transform: translateY(-50%);
  filter: blur(10px);
  z-index: 1;
}

/* Forma secundaria */
.sio2-image-text::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(127, 179, 213, 0.12);
  border-radius: 50%;
  bottom: -120px;
  right: 10%;
  filter: blur(14px);
  z-index: 1;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1100px) {
  .sio2-image-text-inner {
    max-width: 85%;
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .sio2-image-text-inner {
    flex-direction: column;
    text-align: center;
  }

  .sio2-text p {
    max-width: 100%;
  }

  .sio2-image img {
    width: 300px;
  }

  .sio2-image-text::before,
  .sio2-image-text::after {
    display: none;
  }
}


/* =========================
   PHASES
========================= */
/* ===============================
   FASES – BASE COMÚN
================================ */

.sio2-phase {
  position: relative;
  padding: 130px 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.sio2-phase-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

/* títulos */
.sio2-phase h2 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 36px;
}

/* subtítulo (fase futura) */
.sio2-phase h3 {
  font-size: 22px;
  margin: 45px 0 22px;
  font-weight: 600;
}

/* párrafos */
.sio2-phase p {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 28px;
}

/* énfasis */
.sio2-phase p b {
  font-weight: 600;
  color: inherit;
}

/* ===============================
   FASE INICIAL – FONDO CLARO
================================ */

.sio2-phase.light {
  background: var(--blue-soft);
}

/* forma decorativa */
.sio2-phase.light::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(31, 120, 180, 0.08);
  filter: blur(10px);
  top: 50%;
  left: -160px;
  transform: translateY(-50%);
  z-index: 1;
}

.sio2-phase.light::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(31, 120, 180, 0.05);
  filter: blur(12px);
  bottom: -120px;
  right: -120px;
  z-index: 1;
}

/* ===============================
   FASE FUTURA – FONDO OSCURO
================================ */

.sio2-phase.dark {
  background: var(--dark-bg);
  color: #ffffff;
}

/* forma oscura */
.sio2-phase.dark::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(14px);
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  z-index: 1;
}

/* lista */
.sio2-phase.dark ul {
  padding-left: 22px;
}

.sio2-phase.dark li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* párrafo final fuera del content */
.sio2-phase.dark > p {
  max-width: 900px;
  margin: 50px auto 0;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  color: #d7e3ec;
  z-index: 2;
  position: relative;
}
/* ===============================
   FIX FASE FINAL – CONTENIDO CENTRADO
================================ */

/* forzar columna */
.sio2-phase.dark {
  flex-direction: column;
  align-items: center;
}

/* centrar bloque principal */
.sio2-phase.dark .sio2-phase-content {
  text-align: center;
}

/* centrar lista */
.sio2-phase.dark ul {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 0;
  list-style-position: inside;
}

/* texto final centrado y alineado */
.sio2-phase.dark > p {
  max-width: 900px;
  margin: 50px auto 0;
  text-align: center;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .sio2-phase {
    padding: 90px 20px;
    text-align: center;
  }

  .sio2-phase h2 {
    font-size: 28px;
  }

  .sio2-phase p {
    font-size: 16px;
  }

  .sio2-phase.dark ul {
    padding-left: 0;
    list-style-position: inside;
  }

  /* ocultar formas en mobile */
  .sio2-phase::before,
  .sio2-phase::after {
    display: none;
  }
}

/* ===========================
   VISIÓN FINAL
=========================== */

.sio2-vision-final {
  position: relative;
  padding: 140px 20px;
  background: linear-gradient(
    180deg,
    #0b1d2d 0%,
    #0a2540 100%
  );
  overflow: hidden;
}

/* formas suaves de fondo */
.sio2-vision-final::before,
.sio2-vision-final::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(31, 120, 180, 0.12);
  filter: blur(80px);
  z-index: 0;
}

.sio2-vision-final::before {
  top: -120px;
  left: -120px;
}

.sio2-vision-final::after {
  bottom: -120px;
  right: -120px;
}

.sio2-vision-final-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

.sio2-vision-final-content h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 26px;
}

.sio2-vision-final-content p {
  font-size: 18px;
  line-height: 1.9;
  color: #dbe7f0;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 768px) {
  .sio2-vision-final {
    padding: 100px 20px;
  }

  .sio2-vision-final-content h2 {
    font-size: 30px;
  }

  .sio2-vision-final-content p {
    font-size: 16px;
  }
}

/* =========================
   BLOQUE CLARO – PRUEBA PILOTO
========================= */
.sio2-pilot {
  background: #ffffff;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

/* formas suaves de fondo */
.sio2-pilot::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(31, 120, 180, 0.08);
  filter: blur(70px);
  top: -180px;
  right: -200px;
}

.sio2-pilot::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(31, 120, 180, 0.06);
  filter: blur(60px);
  bottom: -120px;
  left: -140px;
}

/* contenido */
.sio2-pilot-content {
  max-width: 820px;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 34px;
  position: relative;
  z-index: 1;
}

/* texto */
.sio2-pilot-content p {
  font-size: 18px;
  line-height: 1.9;
  color: #1f2f3f;
}

/* responsive */
@media (max-width: 700px) {
  .sio2-pilot {
    padding: 90px 20px;
  }

  .sio2-pilot-content p {
    font-size: 17px;
  }
}


/* =========================
   BLOQUE FINAL OSCURO
========================= */
.sio2-final {
  background: var(--dark-bg);
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

/* forma sutil de fondo */
.sio2-final::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(31, 120, 180, 0.12);
  filter: blur(60px);
  top: 20%;
  left: -160px;
}

/* contenedor centrado */
.sio2-final-content {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
  text-align: center;
  color: #ffffff;
}

/* =========================
   LISTA
========================= */
.sio2-final-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sio2-final-list li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 18px;
  position: relative;
  padding-left: 28px;
  text-align: left;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* estrella */
.sio2-final-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-main);
  font-size: 16px;
}

/* =========================
   CTA
========================= */
.sio2-final-cta p {
  font-size: 17px;
  line-height: 1.9;
  max-width: 760px;
  margin: 0 auto 35px;
  color: #dbe7f1;
}

.sio2-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--blue-main);
  color: #ffffff;
  border-radius: 30px;
  font-weight: 500;
  transition: transform .3s ease, box-shadow .3s ease;
}

.sio2-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 700px) {
  .sio2-final {
    padding: 90px 20px;
  }

  .sio2-final-list li {
    text-align: center;
    padding-left: 0;
  }

  .sio2-final-list li::before {
    display: none;
  }
}


/* =========================
   ANIMACIONES ON-SCROLL
   (JS COMPATIBLE)
========================= */
.animate {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Variantes */
.sio2-hero-content.animate {
  transform: translateY(70px);
}

.sio2-ab-block.animate {
  transform: translateY(60px) scale(0.96);
}

.sio2-ab-block.animate.show {
  transform: translateY(0) scale(1);
}

.sio2-image-text-content.animate {
  transform: translateY(70px);
}

.sio2-phase-content.animate {
  transform: translateY(60px);
}

.sio2-vision-content.animate {
  transform: translateY(40px);
}

/* Stagger A/B */
.sio2-ab-block.animate:nth-child(1) { transition-delay: .1s; }
.sio2-ab-block.animate:nth-child(2) { transition-delay: .25s; }

/* Listas */
.sio2-phase-content ul li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.sio2-phase-content.animate.show ul li {
  opacity: 1;
  transform: translateY(0);
}

.sio2-phase-content.animate.show ul li:nth-child(1) { transition-delay: .1s; }
.sio2-phase-content.animate.show ul li:nth-child(2) { transition-delay: .2s; }
.sio2-phase-content.animate.show ul li:nth-child(3) { transition-delay: .3s; }
.sio2-phase-content.animate.show ul li:nth-child(4) { transition-delay: .4s; }
