/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #050c18;
  color: #e0e0e0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(0, 0, 0, 0.7);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  min-height: 70px;
}

.logo {
  font-weight: 700;
  font-size: 1.8rem;
  color: #4da6ff;
  letter-spacing: 2px;
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background-color: #4da6ff;
  color: #050c18;
}

/* CONTENEDOR */
.container {
  max-width: 1000px;
  margin: 60px auto 80px;
  padding: 0 20px;
  text-align: center;
}

/* TITULOS */
h1 {
  font-size: 3rem;
  font-weight: 900;
  color: #4da6ff;
  margin-bottom: 10px;
  text-shadow: 0 0 10px #4da6ff;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 60px;
  margin-bottom: 20px;
  color: #7ec0ff;
  text-shadow: 0 0 6px #7ec0ff;
}

/* DESCRIPCIÓN */
.desc {
  color: #a0a0a0;
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* GRID (corregido → eliminé duplicado y dejé el bueno) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(77, 166, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(77, 166, 255, 0.6);
}

iframe {
  width: 100%;
  height: 280px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(77, 166, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

iframe:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(77, 166, 255, 0.7);
}

/* BLOQUE */
.bloque p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  color: #c0c0c0;
  line-height: 1.7;
}

.bloque p:last-child {
  margin-top: 30px;
}

/* TESTIMONIOS */
.testimonios {
  margin-top: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: #b0cfff;
}

.testimonios h2 {
  color: #7ec0ff;
  margin-bottom: 20px;
}

.testimonios blockquote {
  background: rgba(77, 166, 255, 0.1);
  border-left: 5px solid #4da6ff;
  padding: 20px 25px;
  margin-bottom: 25px;
  font-style: italic;
  border-radius: 8px;
}

/* CONTACTO */
.contact-cta {
  margin-top: 60px;
  background: rgba(77, 166, 255, 0.15);
  padding-bottom: 20px;
  border-radius: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* YOUTUBE */
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.video-item iframe {
  width: 100%;
  height: 280px;
  border-radius: 15px;
}

.video-item h3 {
  margin-top: 15px;
  color: #7ec0ff;
}

/* ===================== */
/* 🔥 FIX MOBILE */
/* ===================== */

@media (max-width: 768px) {

  /* NAV FIX */
  .nav {
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    min-height: auto;
    gap: 12px;
  }

  .logo {
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
  }

  .nav-links {
    flex-direction: row;
    gap: 12px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-links li {
    height: auto;
  }

  .nav-links a {
    display: inline-block;
    width: auto;
    padding: 8px 12px;
  }

  /* TEXTOS */
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .desc {
    font-size: 1rem;
  }

  /* IFRAME FIX */
  iframe {
    height: 220px;
  }

  /* YOUTUBE */
  .youtube-grid {
    grid-template-columns: 1fr;
  }
}
.btn-link {
  position: relative;
  padding: 14px 28px;
  color: #00d4ff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* glow animado */
.btn-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(0,212,255,0.4), transparent);
  opacity: 0;
  transition: 0.4s;
}

/* hover */
.btn-link:hover {
  color: #ffffff;
  background: rgba(0, 212, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.btn-link:hover::before {
  opacity: 1;
}

/* click */
.btn-link:active {
  transform: scale(0.96);
}