* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden; /* 🚫 NO SCROLL */
}

body {
  background-image: url("images/fondo.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* Capa oscura */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

/* CONTENEDOR PRINCIPAL */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* HERO */
.hero {
  flex: 0.35;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 3px;
}

.hero p {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  margin-top: 10px;
  opacity: 0.9;
}

/* CONTENIDO */
.content {
  flex: 0.45;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2);
}

.card h2 {
  color: #4fc3f7;
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.card p {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.5;
}

/* FOOTER */
footer {
  flex: 0.2;
  text-align: center;
  padding: 15px;
  background: rgba(0, 0, 0, 0.6);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
}

/* 📱 RESPONSIVE CELULAR */
@media (max-width: 768px) {
  .content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero {
    flex: 0.3;
  }

  footer {
    flex: 0.15;
  }
}
