/* GLOBAL FONTS */
body {
  font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: var(--color-robotikids-cyan);
  /* Default Cyan for subtitles */
}

h1,
.h1-hero {
  color: var(--color-robotikids-red) !important;
  /* Main Titles RED */
}

h2 {
  color: var(--color-robotikids-cyan);
}

/* BRANDED BUTTONS */
.btn {
  background-color: var(--color-robotikids-red);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--color-robotikids-yellow);
  color: #000;
}

.btn-primary {
  background-color: var(--color-robotikids-cyan) !important;
  border-color: var(--color-robotikids-cyan) !important;
}

.btn-primary:hover {
  background-color: var(--color-robotikids-yellow) !important;
  border-color: var(--color-robotikids-yellow) !important;
  color: #000 !important;
}

/* FIX ICONS */
.fa {
  font-family: 'FontAwesome' !important;
}

/* HOME - Estilos Cromos */
.robotikids-cromos-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
  border-top: 5px solid #E30613;
  /* rojo Robotikids */
}

.robotikids-cromos-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.robotikids-cromos-title {
  font-size: 28px;
  color: #E30613;
  margin-bottom: 15px;
  font-weight: 700;
}

.robotikids-cromos-subtitle {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
}

.robotikids-cromos-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.robotikids-cromo-box {
  background-color: white;
  border: 2px solid #29ABE2;
  /* azul Robotikids */
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 300px;
  max-width: 400px;
  text-align: left;
}

.robotikids-cromo-box h3 {
  color: #29ABE2;
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.robotikids-cromo-box p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.robotikids-cromos-footer {
  margin-top: 30px;
  font-size: 16px;
  color: #000;
  font-weight: bold;
}

/* MEDIOS COMUNICACION */
.clients-section {
  background: #ffffff;
  padding: 40px 20px;
}

.clients-section .clients-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.clients-section .clients-container img {
  max-height: 50px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}

.clients-section .clients-container img:hover {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .clients-section .clients-container img {
    max-height: 40px;
    margin: 0 5px;
  }
}

/* EXTRAESCOLAR */
/* Definición de colores base ajustados para un tema CLARO con colores Robotikids */
:root {
  /* Colores de tu logo Robotikids */
  --color-robotikids-red: #ef4b4b;
  --color-robotikids-yellow: #ffbe02;
  --color-robotikids-cyan: #0198a1;
  /* Turquesa oscuro del logo */

  /* Colores generales */
  --color-text-dark: #1f2937;
  /* Gris oscuro para el texto */
  --color-card-shadow: rgba(0, 0, 0, 0.05);
  /* Sombra sutil */

  /* Campamento Vars */
  --color-neon-blue: #00f3ff;
  --color-neon-purple: #bc13fe;
  --color-neon-green: #39ff14;
  --color-xmas-red: #ff0f4b;
  /* Nuevo rojo tech navideño */
  --bg-dark: #050518;
  /* Fondo un poco más azulado/frío */

  /* Musica Vars */
  --primary-color: #ff6f61;
  --secondary-color: #4a4a4a;
  --bg-color: #f8f8f8;
  --card-bg: #ffffff;
  --border-radius: 12px;
  --transition-speed: 0.3s;
}

/* Estilos de la sección principal: Fondo limpio estilo Antigravity */
.extra-section-bg {
  background-color: #f8f9fa;
  /* Google-style light gray */
  padding: 8rem 2rem;
  /* More generous spacing */
  border-bottom: none;
}

/* Título de la sección */
.extra-title {
  color: #202124;
  /* Google Sans Dark */
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Subtítulo con acento */
.extra-subtitle-accent {
  color: var(--color-robotikids-cyan);
  font-weight: 600;
}

/* Estilo para las tarjetas de beneficio: Minimalista */
.benefit-card {
  background: white;
  border: none;
  /* Removed border for cleaner look */
  border-radius: 16px;
  /* Soft rounding */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* Very soft shadow */
  transition: all 0.3s ease;
  color: var(--color-text-dark);
  padding: 2rem;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Estilo para el botón CTA: Pill Shape */
.extra-cta-button {
  background-color: var(--color-robotikids-red);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  /* Pill shape */
  padding: 12px 32px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(229, 95, 82, 0.3);
}

.extra-cta-button:hover {
  background-color: var(--color-robotikids-yellow);
  color: #202124;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(247, 181, 0, 0.4);
}

/* Estilo para el callout */
.callout-robotikids {
  border-left: 4px solid var(--color-robotikids-red);
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Colores de iconos específicos */
.icon-robotikids-red {
  color: var(--color-robotikids-red);
}

.icon-robotikids-yellow {
  color: var(--color-robotikids-yellow);
}

.icon-robotikids-cyan {
  color: var(--color-robotikids-cyan);
}

/* Añadimos un color extra para el cuarto icono si se desea, manteniendo la paleta */
.icon-robotikids-greenish {
  color: #32cd32;
  /* Un verde lima, complementario */
}


/* CAMPAMENTO NAVIDAD 2025 */
.camp-section-container {
  background-color: var(--bg-dark);
  /* Gradientes ajustados: Azul frío + Rojo Navidad Tech + Violeta */
  background-image:
    radial-gradient(circle at 15% 15%, rgba(0, 243, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(188, 19, 254, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 10%, rgba(255, 15, 75, 0.1) 0%, transparent 50%);
  /* Destello rojo superior */
  position: relative;
  overflow: hidden;
}

.camp-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Grid tecnológico */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
}

/* --- NIEVE TECNOLÓGICA (Animación CSS) --- */
@keyframes tech-snow {
  0% {
    background-position: 0px 0px, 0px 0px;
  }

  100% {
    background-position: 100px 600px, -100px 400px;
  }
}

.camp-snow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  /* Simulamos nieve con gradientes radiales pequeños */
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 200px 150px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(3px 3px at 400px 50px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 600px 300px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 800px 100px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(3px 3px at 50px 400px, rgba(255, 255, 255, 0.6), transparent);
  background-size: 600px 600px, 400px 400px;
  animation: tech-snow 10s linear infinite;
  opacity: 0.6;
}

.camp-title-gradient {
  /* Degradado Navideño-Tech: Verde Neón -> Blanco -> Rojo Neón */
  background: linear-gradient(90deg, var(--color-neon-blue), #fff, var(--color-xmas-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.camp-feature-card {
  background: rgba(20, 20, 40, 0.4);
  /* Un poco más oscuro para contraste con la nieve */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Efecto de borde "congelado" al pasar el mouse */
.camp-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-neon-blue);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.camp-icon-box {
  color: var(--color-neon-blue);
  transition: color 0.3s ease;
}

.camp-feature-card:hover .camp-icon-box {
  color: #fff;
  text-shadow: 0 0 10px var(--color-neon-blue);
}

.camp-cta-button {
  /* Degradado Rojo Navidad a Púrpura Tech */
  background: linear-gradient(45deg, var(--color-xmas-red), var(--color-neon-purple));
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 15, 75, 0.5);
}

.camp-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.5s;
}

.camp-cta-button:hover::before {
  left: 100%;
}

.camp-cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 15, 75, 0.7);
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(57, 255, 20, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0);
  }
}

.camp-badge-urgent {
  animation: pulse-border 2s infinite;
  background-color: var(--color-neon-green);
  /* Verde Grinch/Tech */
  color: black;
  font-weight: bold;
}

.camp-location-tag {
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--color-neon-blue);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}

.camp-location-tag:hover {
  background: rgba(255, 255, 255, 0.2);
  border-left-color: var(--color-neon-green);
}

.camp-robot-bg {
  background-image: url('/imagenes/campamentos/prime.png');
}

/* Override H2 general - Consider scoping this if it causes issues */
h2.custom-h2-style {
  font-size: 40px;
  /* Tamaño */
  margin-top: 20px;
  /* Separación superior */
  margin-bottom: 10px;
  /* Separación inferior */
  font-weight: 700;
  /* No completamente bold */
  line-height: 1.1;
  /* Altura de línea */
}

/* PELICULAS */
/* Colores por plataforma */
.btn-netflix {
  background: #FF0000;
}

.btn-prime {
  background: #00BFFF;
}

.btn-disney {
  background: #0D47A1;
}

.btn-hbo {
  background: #6C3483;
}

.btn-filmin {
  background: #2ECC71;
}

.btn-movistar {
  background: rgb(29, 15, 223);
}

.btn-apple {
  background: #808080;
}

.btn-paramount {
  background: #FFD700;
}

.btn-justwhatch {
  background: rgb(233, 153, 4);
}

.pelis-section {
  background: #111;
  color: #eee;
  padding: 60px 20px;
  text-align: center;
}

.pelis-section h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #29ABE2;
}

.pelis-section p.subtitulo {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #ccc;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flip-card {
  background: transparent;
  width: 220px;
  height: 330px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  background: #222;
  color: #fff;
  transform: rotateY(180deg);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flip-card-back h3 {
  margin: 0 0 10px;
  font-size: 1.1em;
  font-weight: 700;
}

.flip-card-back p {
  font-size: 0.9em;
  color: #ccc;
}

.flip-card-back a {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 10px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.pelis-explicacion {
  max-width: 700px;
  margin: 50px auto 20px;
  font-size: 1.1em;
  color: #bbb;
}

.pelis-section a.btn-ver-lista {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: #E30613;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.btn-view {
  display: inline-block;
  padding: 2px 8px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* MUSICA ROBOTIKIDS */
.playlist-section {
  background: var(--bg-color);
  padding: 60px 20px;
}

.playlist-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.playlist-section .header-content {
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

.playlist-section .header-content h2 {
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.playlist-section .header-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.playlist-section .header-content p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0.5em auto;
}

.playlist-section .header-content .play-message {
  font-size: 1.2rem;
  margin-top: 20px;
}
}

.playlist-section .song-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
}

.playlist-section .song-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.playlist-section .song-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.playlist-section .song-card .song-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.playlist-section .song-card .song-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
  font-weight: 600;
}

.playlist-section .song-card .song-content audio {
  width: 100%;
  outline: none;
}

@media (max-width: 600px) {
  .playlist-section .header-content h1 {
    font-size: 2rem;
  }

  margin-bottom: 40px;
  color: #ccc;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flip-card {
  background: transparent;
  width: 220px;
  height: 330px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  background: #222;
  color: #fff;
  transform: rotateY(180deg);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flip-card-back h3 {
  margin: 0 0 10px;
  font-size: 1.1em;
  font-weight: 700;
}

.flip-card-back p {
  font-size: 0.9em;
  color: #ccc;
}

.flip-card-back a {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 10px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.pelis-explicacion {
  max-width: 700px;
  margin: 50px auto 20px;
  font-size: 1.1em;
  color: #bbb;
}

.pelis-section a.btn-ver-lista {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: #E30613;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.btn-view {
  display: inline-block;
  padding: 2px 8px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* MUSICA ROBOTIKIDS */
.playlist-section {
  background: var(--bg-color);
  padding: 60px 20px;
}

.playlist-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.playlist-section .header-content {
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

.playlist-section .header-content h2 {
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.playlist-section .header-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.playlist-section .header-content p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0.5em auto;
}

.playlist-section .header-content .play-message {
  font-size: 1.2rem;
  margin-top: 20px;
}

.playlist-section .song-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.playlist-section .song-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
}

.playlist-section .song-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.playlist-section .song-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.playlist-section .song-card .song-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.playlist-section .song-card .song-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
  font-weight: 600;
}

.playlist-section .song-card .song-content audio {
  width: 100%;
  outline: none;
}

@media (max-width: 600px) {
  .playlist-section .header-content h1 {
    font-size: 2rem;
  }

  margin-bottom: 40px;
  color: #ccc;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flip-card {
  background: transparent;
  width: 220px;
  height: 330px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  background: #222;
  color: #fff;
  transform: rotateY(180deg);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flip-card-back h3 {
  margin: 0 0 10px;
  font-size: 1.1em;
  font-weight: 700;
}

.flip-card-back p {
  font-size: 0.9em;
  color: #ccc;
}

.flip-card-back a {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 10px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.pelis-explicacion {
  max-width: 700px;
  margin: 50px auto 20px;
  font-size: 1.1em;
  color: #bbb;
}

.pelis-section a.btn-ver-lista {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: #E30613;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.btn-view {
  display: inline-block;
  padding: 2px 8px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .playlist-section .song-card img {
    height: 140px;
  }
}

/* GLOBAL FONTS */
body {
  font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
}

/* PROXIMAS ACTIVIDADES */
#courses .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

#courses .section-title h5 {
  font-size: 1.2rem;
  color: #666;
}