/* ===============================
   NOSTRADAMUS HOME CSS LIMPIO
================================ */

/* HERO */
.nostra-home-hero {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 60px 0;
}

.nostra-home-hero .hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(8, 134, 152, 0.22);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: .4px;
  margin-bottom: 18px;
  box-shadow: 0 0 30px rgba(8, 134, 152, 0.45);
}

.nostra-home-hero h1,
.nostra-future-hero h1 {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: transparent;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f1f5f9 15%,
    #cbd5e1 30%,
    #94a3b8 45%,
    #e2e8f0 60%,
    #64748b 75%,
    #0f172a 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.5),
    0 4px 10px rgba(0,0,0,0.3);
  filter: contrast(1.1) brightness(1.05);
}

.nostra-home-hero p,
.nostra-future-hero p {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.7;
  max-width: 760px;
  margin-bottom: 28px;
  text-shadow:
    0 1px 4px rgba(0,0,0,0.8),
    0 0 8px rgba(0,0,0,0.5);
}

.nostra-future-hero {
  max-width: 700px;
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.nostra-alert {
  display: inline-block;
  margin-bottom: 24px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(255, 77, 77, 0.18);
  border: 1px solid rgba(255, 77, 77, 0.55);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(255, 77, 77, 0.35);
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

.nostra-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* OSCURECER HERO */
.th-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.th-hero-slide {
  transition: all 1s ease !important;
}

/* BOTONES */
.th-btn.style3 {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(90deg, #0aa7b4, #0f2239);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.4);
  transition: all 0.3s ease;
}

.th-btn.style3:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 25px rgba(0, 200, 255, 0.8),
    0 0 50px rgba(0, 200, 255, 0.5);
}

/* TITULOS NORMALES */
.sec-title {
  color: #0f2239 !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: none !important;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* RUTAS */
.nostra-rutas-card {
  height: 100%;
  padding: 34px;
  background: #fff;
  border: 1px solid rgba(8,134,152,.12);
}

.nostra-rutas-card h4 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 14px;
}

.nostra-rutas-card p {
  margin-bottom: 24px;
}

/* CICLOS */
.course-box2 {
  transition: all 0.3s ease;
  border-radius: 16px;
  overflow: hidden;
}

.course-box2:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 15px 40px rgba(0,0,0,0.3),
    0 0 25px rgba(8,134,152,0.4);
}

.course-content {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(8,134,152,0.18);
}

/* CONTADORES */
.counter-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 18px;
  padding: 30px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.4),
    0 0 20px rgba(0,200,255,0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.counter-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.6),
    0 0 30px rgba(0,200,255,0.5);
}

.counter-card_number {
  color: #00e5ff !important;
}

.counter-card_text {
  color: #e2e8f0 !important;
}

.counter-card_text strong {
  color: #ffffff !important;
}

/* FOOTER */
.footer-wrapper,
.footer-wrapper p,
.footer-wrapper li,
.footer-wrapper a,
.footer-wrapper .about-text,
.footer-wrapper .contact-text,
.footer-wrapper .info-box_text,
.footer-wrapper .info-box_link {
  color: rgba(255,255,255,0.85) !important;
}

.footer-wrapper .widget_title,
.footer-wrapper .title {
  color: #ffffff !important;
}

.footer-wrapper i {
  color: #22d3ee !important;
}

.footer-wrapper a:hover {
  color: #22d3ee !important;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .nostra-home-hero,
  .nostra-future-hero {
    text-align: center;
    padding: 45px 0;
  }

  .nostra-home-hero h1,
  .nostra-future-hero h1 {
    font-size: 34px;
  }

  .nostra-home-hero p,
  .nostra-future-hero p {
    font-size: 16px;
  }

  .nostra-home-actions .th-btn {
    width: 100%;
    text-align: center;
  }

  .nostra-rutas-card {
    padding: 24px;
  }
}
/* =========================
   TITULO IMPACTO UNI
========================= */

.impact-title {
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  color: #0f172a;

  text-shadow:
    0 3px 10px rgba(0,0,0,0.2);
}

/* NUMERO PROTAGONISTA */

.impact-number {
  color: #06b6d4;

  text-shadow:
    0 0 10px rgba(6,182,212,0.7),
    0 0 20px rgba(6,182,212,0.5);

  font-size: 1.2em;
  font-weight: 900;
}

/* MEJORA FONDO PARA CONTRASTE */

.space.overflow-hidden {
  position: relative;
}

.space.overflow-hidden::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  z-index: 1;
}

.space.overflow-hidden .container {
  position: relative;
  z-index: 2;
}

/* ===============================
   BOTÓN CLASES EN VIVO
================================ */
.header-top .dropdown-link .btn-live {
  background: linear-gradient(90deg, #ff1e00, #ff4500);
  color: #fff !important;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 14px rgba(255, 70, 0, 0.65);
  animation: live-blink 1.6s infinite alternate, colorPulse 3s infinite alternate;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  letter-spacing: .3px;
  line-height: 1;
}

.header-top .dropdown-link .btn-live:hover {
  transform: scale(1.07);
  box-shadow: 0 0 22px rgba(255, 70, 0, .9);
  filter: saturate(1.15);
}

@keyframes live-blink {
  0% { opacity: 1; box-shadow: 0 0 9px rgba(255,70,0,.7), 0 0 18px rgba(255,120,80,.35); }
  100% { opacity: .82; box-shadow: 0 0 22px rgba(255,90,60,1), 0 0 36px rgba(255,140,80,.55); }
}

@keyframes colorPulse {
  0% { color: #ffffff; }
  50% { color: #ffe6e6; }
  100% { color: #fff0f0; }
}

.btn-live-mobile {
  background: linear-gradient(90deg, #ff1e00, #ff4500);
  color: #fff !important;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 14px rgba(255, 70, 0, 0.65);
  animation: live-blink-mobile 1.6s infinite alternate, colorPulseMobile 3s infinite alternate;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  letter-spacing: .5px;
  width: 80%;
}

.btn-live-mobile:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(255, 70, 0, .9);
  filter: saturate(1.15);
}

.live-help-text {
  margin-top: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

@keyframes live-blink-mobile {
  0% { opacity: 1; box-shadow: 0 0 9px rgba(255,70,0,.7), 0 0 18px rgba(255,120,80,.35); }
  100% { opacity: .82; box-shadow: 0 0 22px rgba(255,90,60,1), 0 0 36px rgba(255,140,80,.55); }
}

@keyframes colorPulseMobile {
  0% { color: #ffffff; }
  50% { color: #fff8c2; }
  100% { color: #fff0a3; }
}

.only-mobile-live { display: none; }

@media (max-width: 991.98px) {
  .only-mobile-live { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-live-mobile,
  .header-top .dropdown-link .btn-live {
    animation: none;
  }
}

/* ==================================================
   NOSTRADAMUS PRO CONVERSION LAYER
   Mejora de conversion: barra superior, WhatsApp flotante
   y bloque de confianza en la home.
================================================== */
.nostra-pro-topbar{width:100%;position:relative;z-index:99;background:linear-gradient(90deg,#07182f 0%,#0b5b78 50%,#07182f 100%);color:#fff;text-align:center;padding:10px 16px;font-weight:800;letter-spacing:.2px;box-shadow:0 8px 24px rgba(0,0,0,.22)}
.nostra-pro-topbar a{color:#fff!important;text-decoration:underline;text-underline-offset:3px;font-weight:900}
.nostra-pro-trust{background:linear-gradient(135deg,#07182f 0%,#0f2f4f 55%,#062033 100%);color:#fff;padding:34px 0;position:relative;overflow:hidden}
.nostra-pro-trust:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top left,rgba(34,211,238,.24),transparent 35%),radial-gradient(circle at bottom right,rgba(255,255,255,.12),transparent 30%);pointer-events:none}
.nostra-pro-trust .container{position:relative;z-index:2}.nostra-pro-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.nostra-pro-trust-card{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);border-radius:18px;padding:20px 16px;text-align:center;backdrop-filter:blur(8px)}.nostra-pro-trust-card strong{display:block;font-size:28px;line-height:1;color:#22d3ee;margin-bottom:8px}.nostra-pro-trust-card span{display:block;color:rgba(255,255,255,.88);font-weight:700;font-size:14px}
.nostra-floating-whatsapp{position:fixed;right:22px;bottom:22px;z-index:9999;display:inline-flex;align-items:center;gap:10px;padding:14px 18px;border-radius:999px;background:linear-gradient(135deg,#25d366,#128c7e);color:#fff!important;font-weight:900;text-decoration:none!important;box-shadow:0 14px 34px rgba(18,140,126,.42);transition:transform .25s ease,box-shadow .25s ease}.nostra-floating-whatsapp:hover{transform:translateY(-3px) scale(1.03);box-shadow:0 18px 44px rgba(18,140,126,.55);color:#fff!important}.nostra-floating-whatsapp .nostra-wa-icon{width:30px;height:30px;display:inline-grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.18);font-size:18px}.nostra-floating-whatsapp .nostra-wa-text{display:flex;flex-direction:column;line-height:1.05}.nostra-floating-whatsapp .nostra-wa-text small{font-size:11px;font-weight:700;opacity:.9}.nostra-floating-whatsapp .nostra-wa-text b{font-size:14px}
@media(max-width:991.98px){.nostra-pro-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575.98px){.nostra-pro-topbar{font-size:13px;line-height:1.35;padding:9px 12px}.nostra-pro-trust{padding:24px 0}.nostra-pro-trust-card{padding:16px 10px}.nostra-pro-trust-card strong{font-size:23px}.nostra-floating-whatsapp{left:14px;right:14px;bottom:14px;justify-content:center;border-radius:16px}}
