/* ===========================================================
   Hito SIBIA, versión clara (10/11/2026)
   Se carga DESPUÉS de hito-landing.css y solo pisa lo oscuro:
   hero con el video de la planta y velo blanco, números en claro,
   prensa, pantallas reales de SIBIA y cierre con el degradé de marca.
   =========================================================== */

.hito-page {
  --hc-celeste: #1592cc;
  --hc-verde: #16a172;
  --hc-ink: #0f2d38;
  --hc-muted: #4d6873;
  --hc-line: #d6e4ea;
  --hc-suave: #f3f9fc;
}

/* ---------- HERO: video de planta de fondo + velo claro ---------- */
.hito-page .hito-hero {
  background: #eef6f9;
  isolation: isolate;
}

.hito-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hito-hero-velo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .9) 40%, rgba(255, 255, 255, .55) 70%, rgba(255, 255, 255, .25) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(243, 249, 252, 1) 100%);
}

.hito-hero.hito-dark .hito-kicker { color: var(--hc-celeste); }
.hito-hero h1 { color: var(--hc-ink); }

.hito-hero h1 em {
  background: linear-gradient(90deg, var(--hc-celeste), var(--hc-verde));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hito-page .hito-hero p.hito-lead { color: var(--hc-muted) !important; }
.hito-hero .hito-stamp { color: var(--hc-ink); }
.hito-hero .hito-stamp i { color: var(--hc-verde); }

.hito-hero .hito-btn-primary {
  background: linear-gradient(120deg, var(--hc-celeste), var(--hc-verde));
  color: #fff;
  box-shadow: 0 14px 30px rgba(21, 146, 204, .28);
}

.hito-hero .hito-btn-primary:hover { color: #fff; }

.hito-hero .hito-btn-ghost {
  border-color: var(--hc-line);
  background: rgba(255, 255, 255, .8);
  color: var(--hc-ink);
}

.hito-hero .hito-btn-ghost:hover {
  border-color: var(--hc-celeste);
  color: var(--hc-celeste);
}

.hito-hero .hito-video-card {
  border: 4px solid #fff;
  box-shadow: 0 24px 60px rgba(15, 45, 56, .22);
}

.hito-page .hito-hero .hito-video-note { color: var(--hc-muted) !important; }

@media (max-width: 991px) {
  .hito-hero-velo { background: rgba(255, 255, 255, .9); }
}

/* en el celular y con "reducir movimiento" queda la foto: el video gasta datos */
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .hito-hero-bg { display: none; }
  .hito-page .hito-hero { background: #eef6f9 url("../img/hito/planta-fondo.jpg") center / cover no-repeat; }
}

/* ---------- NÚMEROS en claro ---------- */
.hito-page .hito-numbers {
  background: linear-gradient(180deg, var(--hc-suave), #eef8f3);
  border-bottom: 1px solid var(--hc-line);
}

.hito-numbers .hito-num {
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: 14px;
  padding: 26px 20px 22px;
  box-shadow: 0 8px 22px rgba(15, 45, 56, .06);
}

.hito-numbers .hito-num > strong { color: var(--hc-ink); }
.hito-numbers .hito-num > strong em { color: var(--hc-verde); }
.hito-numbers .hito-num span { color: var(--hc-muted); }
.hito-numbers .hito-num span strong { color: var(--hc-ink); }

/* ---------- PRENSA ---------- */
.hito-page .hito-prensa {
  padding: 26px 0 !important;
  background: #fff;
  border-bottom: 1px solid var(--hc-line);
}

.hito-prensa-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}

.hito-prensa-label {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--hc-muted);
}

.hito-prensa a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--hc-line);
  border-radius: 999px;
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--hc-ink);
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.hito-prensa a span {
  font-weight: 500;
  color: var(--hc-muted);
}

.hito-prensa a i { color: var(--hc-celeste); }

.hito-prensa a:hover {
  border-color: var(--hc-celeste);
  color: var(--hc-celeste);
  transform: translateY(-1px);
}

/* ---------- SIBIA POR DENTRO (reemplaza el en vivo oscuro) ---------- */
.hito-page .hito-pantallas {
  background: linear-gradient(180deg, var(--hc-suave) 0%, #eef8f3 100%);
  border-top: 1px solid var(--hc-line);
}

.hito-pantallas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 34px;
}

.hito-pantallas figure { margin: 0; }

.hito-pantallas .hp-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 75% 40%;
  border-radius: 14px;
  border: 1px solid var(--hc-line);
  box-shadow: 0 12px 30px rgba(15, 45, 56, .10);
  background: #fff;
}

.hito-page .hito-pantallas figcaption {
  margin-top: 12px;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--hc-muted);
}

.hito-pantallas figcaption strong { color: var(--hc-ink); }

@media (max-width: 767px) {
  .hito-pantallas-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- CIERRE con el degradé de marca ---------- */
.hito-page .hito-cta {
  background: linear-gradient(120deg, #0f86c4 0%, #14a07a 100%);
}

.hito-page .hito-cta h2 { color: #fff; }
.hito-page .hito-cta p { color: rgba(255, 255, 255, .9); }
.hito-page .hito-cta p strong { color: #fff; }

.hito-cta .hito-btn-primary {
  background: #fff;
  color: #0f6e8f;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .15);
}

.hito-cta .hito-btn-primary:hover { color: #0f6e8f; }

.hito-cta .hito-btn-ghost {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}

.hito-cta .hito-btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.hito-page .hito-cta .hito-note {
  color: rgba(255, 255, 255, .78) !important;
  border-top-color: rgba(255, 255, 255, .3);
}

/* ---------- SIBIA EN 1 MINUTO: video con subtítulos a elección ---------- */
.hito-page .hito-presenta {
  background: #fff;
  border-bottom: 1px solid var(--hc-line);
}

.hito-presenta-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
}

.hito-presenta-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--hc-celeste);
}

.hito-page .hito-presenta h2 {
  margin: 0 0 16px;
  font-family: "Figtree", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: var(--hc-ink);
}

.hito-page .hito-presenta p {
  margin: 0 0 26px;
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--hc-muted);
}

.hito-subs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hito-subs span {
  margin-right: 6px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--hc-muted);
}

.hito-subs button {
  padding: 8px 16px;
  border: 1px solid var(--hc-line);
  border-radius: 999px;
  background: #fff;
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--hc-ink);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.hito-subs button:hover { border-color: var(--hc-celeste); color: var(--hc-celeste); }

.hito-subs button.on {
  border-color: transparent;
  background: linear-gradient(120deg, var(--hc-celeste), var(--hc-verde));
  color: #fff;
}

.hito-presenta-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 4px solid #fff;
  border-radius: 16px;
  background: #0f2d38;
  box-shadow: 0 24px 60px rgba(15, 45, 56, .20);
}

.hito-presenta video::cue {
  font-family: "Segoe UI", "Open Sans", sans-serif;
  font-size: 1.05em;
  line-height: 1.35;
  color: #fff;
  background: rgba(15, 45, 56, .78);
}

@media (max-width: 991px) {
  .hito-presenta-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* cierre: solo el video de la planta (login de SIBIA), con una sombra leve para que se lea el texto */
.hito-page .hito-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #2b3f48;
}

.hito-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hito-cta-velo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 24, 32, .42);
}

@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .hito-cta-bg { display: none; }
  .hito-page .hito-cta { background: #2b3f48 url("../img/hito/planta-fondo.jpg") center / cover no-repeat; }
}

.hito-page .hito-cta h2,
.hito-page .hito-cta .hito-note,
.hito-page .hito-cta > .hito-wrap > p { text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }

/* botón de reunión debajo de los subtítulos del video */
.hito-presenta .hito-presenta-cta {
  margin-top: 26px;
  background: linear-gradient(120deg, var(--hc-celeste), var(--hc-verde));
  color: #fff;
  box-shadow: 0 14px 30px rgba(21, 146, 204, .28);
}

.hito-presenta .hito-presenta-cta:hover { color: #fff; }

/* laboratorio sin la imagen oscura del organismo: números y descartes a todo el ancho */
.hito-page .hito-lab-grid { grid-template-columns: 1fr; }
