/* ============================================================
   CENTRO DE SANEAMIENTO SOSTENIBLE — Stylesheet
   ============================================================ */

/* -----------------------------------------------
   BASE
----------------------------------------------- */
.centro-page {
  padding-top: 80px;
}


/* -----------------------------------------------
   TÍTULO PRINCIPAL
----------------------------------------------- */
.css-header {
  padding: 3.5rem 0 1.5rem;
  background-color: #ffffff;
}

.css-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0;
  position: relative;
}

.css-titulo::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* -----------------------------------------------
   BLOQUE VIDEO + TEXTO
----------------------------------------------- */
.css-video-bloque {
  padding: 3rem 0 4rem;
  background-color: #ffffff;
  border-bottom: 1px solid #eaeff4;
}

.css-video-bloque .centro-video-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* -----------------------------------------------
   SECCIONES DE CONTENIDO
----------------------------------------------- */
.css-contenido {
  padding: 3rem 0 5rem;
  background-color: #ffffff;
}

.css-bloque {
  padding: 0 0;
  border-bottom: 1px solid #eaeff4;
}

.css-bloque:last-child {
  border-bottom: none;
}

/* -----------------------------------------------
   SUBTÍTULOS (h2) — igual que .tec-etapa-titulo
----------------------------------------------- */
.css-subtitulo {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--text-dark);
  margin-bottom: 1.3rem;
  position: relative;
  padding-bottom: 0.7rem;
}

.css-subtitulo::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 10px;
  opacity: 0.4;
}

/* -----------------------------------------------
   TEXTO
----------------------------------------------- */
.css-texto {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 0.9rem;
}

.css-texto:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------
   RESPONSIVE
----------------------------------------------- */
@media (max-width: 991.98px) {
  .css-video-bloque {
    padding: 2.5rem 0 3rem;
  }

  .css-contenido {
    padding: 2rem 0 3rem;
  }

  .css-bloque {
    padding: 2rem 0;
  }
}

@media (max-width: 767.98px) {
  .css-header {
    padding: 2.5rem 0 1rem;
  }

  .css-bloque {
    padding: 1.5rem 0;
  }
}

.css-bloque p{
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 0.9rem;
}

section.css-contenido h2{
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--text-dark);
  position: relative;

  text-align: left;
  padding: 1.5rem 0;
  border-top: 1px solid #eaeff4;
  margin-bottom: 15px;
}
section.css-contenido h2:first-of-type {
  border-top: none;
}

section.css-contenido h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;

  opacity: 0.4;
  margin: 10px 0 0;
}

