/* =========================
   VARIABLES
========================= */
:root {
  --primary: #ff5a2c;
  --secondary: #ff2c2c;
  --dark: #000;
  --card: #1a1a1a;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--dark);
  color: white;
  font-family: 'Segoe UI', sans-serif;
  
}

/* =========================
   HEADER (MEJORADO VISUAL)
========================= */

body .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  /* FONDO PARA DAR CONTRASTE */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.4),
    transparent
  );

  z-index: 1000;
}

/* LOGO */
body .logo img {
  height: 70px;
   /* 👇 sombra potente para separar del fondo */
  filter: 
    drop-shadow(0 0 1px rgba(255,255,255,0.6))
    drop-shadow(0 0 15px rgba(0,0,0,0.9));
}

/* NAV */
body .nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

/* LINKS */
body .nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  position: relative;
  transition: 0.3s ease;
}

/* HOVER */
body .nav a:hover {
  color: #ff5a2c;
}

/* SUBRAYADO */
body .nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #ff5a2c;
  left: 0;
  bottom: -5px;
  transition: 0.3s ease;
}

body .nav a:hover::after {
  width: 100%;
}
/* TEXTO */
.live-text {
  margin-top: 20px;
  opacity: 0.8;
  font-size: 15px;
}

/* BOTÓN */
.live-wrapper .btn {
  margin-top: 20px;
}

/* TÍTULO */
.live-title {
  margin-top: 25px;
  color: #ff5a2c;
  letter-spacing: 1px;
}

/* =========================
   HERO (GLOW MODERNO)
========================= */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  background: radial-gradient(circle at center, rgba(255,90,44,0.25), #000 70%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,90,44,0.4), transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero-logo {
  width: 500px;
  opacity: 0.9;
}

.hero h1 {
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-sub {
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

/* =========================
   BOTONES
========================= */
.btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 30px;
  text-decoration: none;
  color: white;
  border-radius: 30px;
  transition: 0.3s ease;
}

.btn.primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  box-shadow: 0 0 20px rgba(255,90,44,0.5);
}

.btn.secondary {
  border: 1px solid rgba(255,255,255,0.3);
}

.btn:hover {
  transform: scale(1.05);
}

/* =========================
   LIVE (HOME)
========================= */
.live {
  text-align: center;
  padding: 80px 40px;
}

.live h2 {
  margin-bottom: 20px;
}

.video-box iframe {
  width: 80%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(255,90,44,0.3);
}

/* INDICADOR */
.dot {
  width: 10px;
  height: 10px;
  background: red;
  display: inline-block;
  border-radius: 50%;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {opacity: 1;}
  50% {opacity: 0.4;}
  100% {opacity: 1;}
}

/* =========================
   PROGRAMAS
========================= */
.programs-page {
  padding: 120px 60px;
}

.title {
  font-size: 40px;
  margin-bottom: 40px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.program-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s ease;
  border: 3px solid grey;
}

.program-card img {
  width: 100%;
  display: block;
}

.program-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255,90,44,0.4);
}

.program-card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.program-card h3 {
  margin: 0;
}

/* =========================
   SERVICES PAGE (MATCH ABOUT)
========================= */

.services-page {
  padding: 120px 60px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(255,90,44,0.15), #000 70%);
}

/* HERO */
.hero-services h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-services p {
  opacity: 0.7;
  margin-bottom: 50px;
}

/* GRID VISUAL */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

/* TARJETAS */
.service-card {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 16px;
  transition: 0.3s ease;
  text-align: center;
}

/* HOVER */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 30px rgba(255,90,44,0.4),
    0 0 60px rgba(255,90,44,0.2);
}

/* TITULOS */
.service-card h2 {
  margin-bottom: 10px;
  color: #ff5a2c;
}

/* TEXTO */
.service-card p {
  opacity: 0.8;
  font-size: 14px;
}

/* CTA */
.cta-services {
  margin-top: 80px;
}

.cta-services h2 {
  margin-bottom: 20px;
}



/* =========================
   ABOUT PAGE - ANIMAPIX
========================= */

.about-page {
  padding: 120px 60px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(255,90,44,0.15), #000 70%);
}

/* HERO */
.about-hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.about-hero p {
  opacity: 0.7;
  margin-bottom: 50px;
}

/* GRID VISUAL */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

/* TARJETAS */
.about-card {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 16px;
  transition: 0.3s ease;
  text-align: center;
}

/* HOVER */
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 30px rgba(255,90,44,0.4),
    0 0 60px rgba(255,90,44,0.2);
}

/* TITULOS */
.about-card h2 {
  margin-bottom: 10px;
  color: #ff5a2c;
}

/* TEXTO */
.about-card p {
  opacity: 0.8;
  font-size: 14px;
}

/* BLOQUE IMPACTO */
.about-impact {
  margin-top: 80px;
}

.about-impact h2 {
  font-size: 30px;
}

.about-impact p {
  opacity: 0.7;
  margin-top: 10px;
}

/* CTA */
.cta-about {
  margin-top: 80px;
}

.cta-about h2 {
  margin-bottom: 20px;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-page {
  padding: 120px 60px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(255,90,44,0.15), #000 70%);
}

/* HERO */
.contact-hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.contact-hero p {
  opacity: 0.7;
  margin-bottom: 60px;
}

/* GRID */
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* CARDS */
.contact-card {
  background: #1a1a1a;
  padding: 35px;
  border-radius: 16px;
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 30px rgba(255,90,44,0.4),
    0 0 60px rgba(255,90,44,0.2);
}

/* =========================
   CTA FINAL
========================= */
.cta {
  text-align: center;
  padding: 100px 20px;
}

/* =========================
   LIVE PAGE (PRO)
========================= */
.live-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(circle at center, rgba(255,90,44,0.15), #000 70%);
}

.live-wrapper {
  text-align: center;
  max-width: 1000px;
  width: 100%;
  padding: 20px;
  padding-top: 50px;
}

.live-status {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 14px;
  letter-spacing: 2px;
}

.player {
  max-width: 850px;   /* 👈 AJUSTA AQUÍ EL TAMAÑO */
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;

  box-shadow: 
    0 0 40px rgba(255,90,44,0.3),
    0 0 80px rgba(255,90,44,0.15);
}

.player:hover {
  transform: scale(1.01);
  box-shadow: 
    0 0 60px rgba(255,90,44,0.4),
    0 0 120px rgba(255,90,44,0.2);
}

.player iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.live-title {
  margin-top: 15px;
  color: var(--primary);
}

/* =========================
   MENU RESPONSIVE FINAL
========================= */

@media (max-width: 768px) {
    
.hero h1 {
    font-size: 28px;   /* 👈 antes era muy grande */
    line-height: 1.2;
    padding: 0 10px;   /* 👈 evita que toque los bordes */
  }

.header {
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
  }

  .logo img {
    height: 50px;
    margin-bottom: 10px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav a {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
  }
  

  /* CONTENEDORES */
  .programs-page,
  .services-page,
  .about-page,
  .contact-page {
    padding: 120px 20px 40px; /* 👈 menos padding lateral */
  }

  /* TITULOS */
  .title,
  .hero-services h1,
  .about-hero h1,
  .contact-hero h1 {
    font-size: 26px;
  }

  /* TEXTOS */
  p {
    font-size: 14px;
  }

  /* GRID → UNA COLUMNA */
  .programs-grid,
  .services-grid,
  .about-grid,
  .contact-options {
    grid-template-columns: 1fr;
  }

  /* TARJETAS */
  .program-card,
  .service-card,
  .about-card,
  .contact-card {
    width: 100%;
  }

  /* IMÁGENES */
  .program-card img {
    width: 100%;
    height: auto;
  }

  /* VIDEO */
  .player {
    width: 100%;
  }
  
  .programs-page,
.services-page,
.about-page,
.contact-page {
  padding-top: 200px;
}

}

/* =========================
   FOOTER FINAL
========================= */

.footer {
  background: #000;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* CONTENIDO */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

/* MARCA */
.footer-brand h3 {
  color: #ff5a2c;
  margin-bottom: 5px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 14px;
}

/* LINKS */
.footer-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.7;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ff5a2c;
  opacity: 1;
}

/* COPY */
.footer-copy {
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.5;
}