:root {
  --brand-1: #0052d4;
  --brand-2: #00b8e6;
  --accent-1: #0ea5e9;
  --accent-2: #22d3ee;
  --ink-1: #04153a;
  --surface-soft: rgba(255, 255, 255, 0.16);
  --surface-strong: rgba(255, 255, 255, 0.30);
  --text-light: #f8fbff;
}

body {
  font-family: 'Outfit', sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 82, 212, 0.08), transparent 32%),
    radial-gradient(circle at 94% 84%, rgba(14, 165, 233, 0.10), transparent 36%),
    #f4f7ff;
  color: var(--text-light);
  overflow-x: hidden;
}

    /* GLOW */
.bg-glow, .bg-glow2 {
  position: fixed;
  filter: blur(120px);
  opacity: 0.28;
  z-index: 0;
}

.bg-glow {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 82, 212, 0.9), transparent);
  top: -100px;
  left: -100px;
}

.bg-glow2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.62), transparent);
  bottom: -100px;
  right: -100px;
}

    /* NAV */
.navbar {
  background: linear-gradient(90deg, rgba(0, 54, 148, 0.82), rgba(0, 117, 199, 0.72));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.navbar-brand {
  letter-spacing: 0.2px;
}

    /* HERO */
.hero {
  position: relative;
  z-index: 2;
  padding-top: 142px;
  padding-bottom: 90px;
  aspect-ratio: 2851 / 1229;
  text-align: center;
  background-color: #0b1a3f;
  background:
    linear-gradient(155deg, rgba(2, 10, 30, 0.08), rgba(2, 8, 33, 0.14)),
    url('../img/inicion.jpg') center center / cover no-repeat;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
  overflow: visible;
  box-shadow: 0 22px 44px rgba(2, 6, 23, 0.25);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.18));
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 30%, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.06), transparent 36%),
    linear-gradient(180deg, transparent 68%, rgba(2, 6, 23, 0.05));
  z-index: 0;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* En móvil se mantiene centrada para no sacar ninguno de los dos logos. */
@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }
}


.hero img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  margin-top: 100px;
  opacity: 0.7;
}

.hero h3 {
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  font-weight: 900;
  color: #0b2f6b;
  margin: 8px auto 10px;
  max-width: 760px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9), 0 0 18px rgba(14, 165, 233, 0.18);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(90deg, #ffffff 12%, #d9f2ff 60%, #bff6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 8px auto 10px;
  max-width: 760px;
  letter-spacing: -0.02em;
}

.hero-kicker {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: linear-gradient(120deg, rgba(0, 184, 230, 0.25), rgba(34, 211, 238, 0.24));
  color: #eff7ff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.hero p {
  max-width: 680px;
  margin: 20px auto;
  opacity: 1;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #0b2f6b;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.hero-actions {
  margin-top: 28px !important;
}

    /* BOTONES */
.btn-main {
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-login {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border: none;
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.38);
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.44);
}

.btn-cert {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: white;
  background: linear-gradient(120deg, rgba(0, 82, 212, 0.45), rgba(0, 194, 255, 0.25));
  backdrop-filter: blur(6px);
}

.btn-cert:hover {
  transform: translateY(-3px);
  background: linear-gradient(120deg, rgba(0, 82, 212, 0.58), rgba(34, 211, 238, 0.34));
  box-shadow: 0 12px 30px rgba(0, 82, 212, 0.35);
}

    /* SECCIÓN IMPACTO */
.impact {
  padding-top: 56px;
  padding-bottom: 64px;
}

.impact-box {
  background:
    linear-gradient(145deg, rgba(0, 86, 204, 0.95), rgba(0, 156, 214, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  padding: 56px 40px;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: 0 26px 48px rgba(2, 6, 23, 0.22);
}

.impact-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(2, 6, 23, 0.2);
}

.impact-box p {
  max-width: 700px;
  margin: 20px auto;
  opacity: 0.9;
}

.impact-img {
  margin-top: 40px;
  border-radius: 16px;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  opacity: 0.8;
}

    /* FEATURES */
.features {
  padding-top: 30px;
  padding-bottom: 16px;
}

.feature-card {
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.feature-card h5 {
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.feature-card p {
  margin: 0;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(142, 229, 255, 0.92);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.28), rgba(0, 184, 230, 0.20));
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.2);
}

footer {
  text-align: center;
  padding: 30px;
  color: #0a2f85;
  font-weight: 600;
}

    /* Títulos dentro de impact-box */
.impact-box h2 {
  margin-bottom: 20px;
}

    /* Párrafos dentro de impact-box */
.impact-box p {
  margin-bottom: 30px;
}

.impact.container, .features.container {
  margin-top: 0;
  margin-bottom: 0;
}

.btn-main {
  width: 100%;
  max-width: 340px;
  text-align: center;
  white-space: normal;
}

.check-verde {
  color: #8ef4ff;
}

.hero p,
.hero-kicker,
.hero h1,
.btn-main,
.impact-box,
.feature-card {
  animation: riseUp 0.7s ease both;
}

.hero h1 {
  animation-delay: 0.08s;
}

.hero p {
  animation-delay: 0.16s;
}

.btn-main:nth-child(2) {
  animation-delay: 0.24s;
}

@keyframes riseUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .impact-box {
    padding: 44px 26px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 112px;
    padding-bottom: 88px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.9rem;
  }

  .hero p {
    max-width: 92%;
    font-size: 1rem;
  }

  .btn-main {
    max-width: 100%;
  }

  .impact {
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .feature-card {
    padding: 22px 18px;
  }
}