* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body,
html {
  height: 100%;
}

/* CONTENEDOR */
.page {
  position: relative;
  min-height: 100vh;
}

/* FONDO */
.bg {
  position: fixed;
  inset: 0;
  background: url("../img/index2.jpg") center/cover no-repeat;
  z-index: -2;
  opacity: 0;
  animation: fadeInBg 1.5s ease forwards;
}

@keyframes fadeInBg {
  to {
    opacity: 1;
  }
}

/* OVERLAY OSCURO */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* HEADER */
.header {
  position: relative;
  height: 170px; /* mismo espacio que genera index */
}

/* LOGO */
.logo {
  position: absolute;
  top: 35px; /* igual que .logo.final */
  left: 50%;
  transform: translateX(-50%);
  width: clamp(180px, 30vw, 320px); /* mismo tamaño que index */
  z-index: 5;
  opacity: 0;
  animation: fadeInLogo 1.5s ease forwards;
}

/*************************/

@keyframes fadeInLogo {
  to {
    opacity: 1;
  }
}

/* CONTENIDO */
.content {
  max-width: 800px;
  margin: 0 auto 60px auto;
  padding: 40px 25px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-align: center;

  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* TITULOS */
h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

h2 i {
  margin-right: 8px;
  color: #ffffff;
  opacity: 0.9;
}

.intro {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* BLOQUES */
.info-block {
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.info-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-block ul {
  padding-left: 20px;
  line-height: 1.6;
}

.info-block p {
  line-height: 1.6;
}

/* BOTÓN */
.btn-cta {
  display: inline-block;
  margin: 30px auto 0 auto;
  padding: 15px 40px;
  background: #0f305b;
  border: .5px solid #807f7f;
  color: white;
  text-decoration: none;
  border-radius: 15px;
  font-weight: 500;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    opacity 0.6s ease;

  opacity: 0;
  transform: translateY(20px);
}

.btn-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-cta:hover {
  background: #164a87;
  transform: translateY(-3px);
}

/* CONTENEDOR DE BOTONES */
.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* BOTÓN SECUNDARIO */
.secondary-btn {
  background: #0f305b;
}

.footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

.page {
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .content {
    margin: 20px 15px 20px 15px;
    padding: 25px;
  }
}
