/* ========== 1. VARIABLES DE MARCA (azul brillante + dark) ========== */
:root {
  --clr-primary: #4c8dff;
  --clr-bg-start: #09172e;
  --clr-bg-end: #000308;
  --clr-card: rgba(255, 255, 255, 0.04);
  --clr-card-border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* ========== 2. RESET BÁSICO ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  font-family: 'Inter', sans-serif;
  color: #e6eaf5;
  background: var(--clr-bg-end);
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

/* ========== 3. UTILIDADES ========== */
.container {
  width: min(96%, 1200px);
  margin-inline: auto;
}
.section__heading {
  text-align: center;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin-bottom: 2rem;
}
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s;
}
.btn--primary {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(76, 141, 255, 0.5);
}
.btn--secondary {
  background: #fff;
  color: var(--clr-primary);
}
.btn:hover {
  transform: translateY(-3px);
}

/* ========== 4. HERO (gradiente radial + glow) ========== */
.hero {
  padding: 6rem 1rem 8rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0, var(--clr-bg-start) 0%, var(--clr-bg-end) 70%);
}
.hero__logo {
  width: 100%;
  filter: drop-shadow(0 0 10px rgba(76, 141, 255, 0.6));
}
.hero__title {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 800;
  color: var(--clr-primary);
  margin: 1.2rem 0 0.5rem;
}
.hero__tagline {
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

/* ========== 5. BENEFICIOS (glass-dark cards) ========== */
.benefits {
  display: grid;
  gap: 1.5rem;
  margin-top: -4rem;           /* efecto de superposición sobre hero */
  padding-bottom: 3rem;
}
.card {
  background: var(--clr-card);
  border: 1px solid var(--clr-card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.card__title {
  color: var(--clr-primary);
  margin-bottom: 0.7rem;
}

/* ========== 6. GALERÍA ========== */
.gallery {
  padding: 4rem 0;
}
.gallery__item {
  margin-bottom: 2.5rem;
  text-align: center;
}
.gallery__item figcaption {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ========== 7. CTA FINAL ========== */
.cta {
  text-align: center;
  padding: 4rem 1rem 5rem;
  background: linear-gradient(180deg, var(--clr-bg-start) 0%, var(--clr-bg-end) 100%);
}
.cta__title {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  margin-bottom: 0.7rem;
}
.cta__text {
  opacity: 0.85;
  margin-bottom: 1.8rem;
}

/* ========== 8. FOOTER ========== */
.footer {
  text-align: center;
  padding: 1rem 0 2rem;
  font-size: 0.8rem;
  opacity: 0.6;
}
/* === Lightbox =================================================== */
.lightbox{
  position:fixed;inset:0;display:none;place-items:center;
  background:rgba(0,0,0,.85);z-index:999;backdrop-filter:blur(2px);}
.lightbox.is-visible{display:grid;animation:fadeIn .25s both;}
.lightbox__img{max-width:90vw;max-height:90vh;border-radius:14px;
  box-shadow:0 0 30px rgba(0,0,0,.6);}
.lightbox__close{
  position:absolute;top:1.2rem;right:1.2rem;font-size:2rem;line-height:1;
  background:none;border:none;color:#fff;cursor:pointer;}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}

/* ========== 9. BREAKPOINTS RESPONSIVOS ========== */
@media (min-width: 768px) {
  .hero__logo {
  width: 20%;

}
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
