body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #000000;
}

body.blocked {
  overflow: hidden;
  height: 100vh;
  background-color: #000;
  /* Oculta cualquier fondo temporalmente */
}






/* ===== BARRA DE NAVEGACIÓN MINIMALISTA Y RESPONSIVA ===== */
.navbar-minimal {
  background: transparent;
  color: #fff;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 90px;
  object-fit: contain;
  filter: brightness(1.1);
  margin-top: 30px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1201;
  margin-left: 1rem;
}

.navbar-toggle span {
  display: block;
  width: 28px;
  height: 3.5px;
  background: #fff;
  border-radius: 2px;
  margin: 4px 0;
  transition: all 0.3s;
}

.navbar-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.open span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-menu li {
  display: flex;
  align-items: center;
}

.navbar-menu a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.4em 1em;
  border-radius: 2em;
  transition: background 0.18s, color 0.18s;
  background: none;
  border: none;
  outline: none;
}

.navbar-menu a:hover,
.navbar-menu a:focus {
  color: #1ee7ff;
  scale: 1.03;
}

.nav-btn-enlvivo {
  padding: 12px 30px !important;
  background: #1ee7ff !important;
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  border-radius: 25px !important;
  cursor: pointer !important;
  border: none !important;
  transition: transform 0.2s !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.nav-btn-enlvivo:hover,
.nav-btn-enlvivo:focus {
  transform: scale(1.05) !important;
  background: #1ee7ff !important;
  color: #000 !important;
}

.btn-inscribete {
  background: #1ee7ff !important;
  color: #111 !important;
  font-weight: 700;
  border-radius: 2em;
  padding: 0.4em 1.2em;
  margin-right: 0.5em;
  transition: background 0.18s, color 0.18s;
  border: none !important;
  box-shadow: 0 2px 8px rgba(30, 231, 255, 0.08);
  font-size: 1.05rem;
}

.btn-inscribete:hover,
.btn-inscribete:focus {
  background: #fff !important;
  color: #111 !important;
}

.navbar-socials-desktop {
  display: none;
}

.navbar-socials-desktop a {
  color: #fff;
  transition: color 0.18s;
}

.navbar-socials-desktop a:hover {
  color: #1ee7ff;
}

.navbar-socials-mobile {
  display: none;
  gap: -5px;
  margin-top: 1.2em;
  width: 100%;
  justify-content: flex-start;
}

.navbar-socials-mobile a {
  color: #1ee7ff;
  font-size: 1.5rem;
  transition: color 0.18s;
}

.navbar-socials-mobile a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .navbar-container {
    padding: 0 0.7rem;
    height: 60px;
    justify-content: flex-start;
  }

  .navbar-logo img {
    height: 70px;
  }

  .navbar-toggle {
    display: none;
  }

  .navbar-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    height: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 1.2rem;
    z-index: 1200;
    overflow-y: visible;
    transition: none;
    width: auto;
    max-width: none;
    margin-left: auto;
  }

  .navbar-menu li {
    display: flex;
    align-items: center;
  }

  .navbar-menu a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4em 1em;
    border-radius: 2em;
    transition: background 0.18s, color 0.18s;
    background: none;
    border: none;
    outline: none;
  }

  .navbar-menu a:hover,
  .navbar-menu a:focus {
    color: #1ee7ff;
    scale: 1.03;
  }

  .navbar-socials-desktop {
    display: none;
  }

  .navbar-socials-mobile {
    display: none;
  }
}

@media (min-width: 901px) {
  .navbar-menu {
    position: static;
    flex-direction: row;
    height: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 1.2rem;
  }

  .navbar-socials-mobile {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    max-width: 340px;
    height: 100vh;
    background: #10151b;
    box-shadow: -2px 0 18px #0008;
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.3rem 2rem 1.3rem;
    gap: 1.12rem;
    z-index: 1200;
    overflow-y: auto;
    display: none;
    transition: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: #eaf5f6;
    font-size: 1.13rem;
    text-decoration: none;
    display: block;
    padding: 0.7em 0.2em;
    border-radius: 7px;
    transition: background 0.18s, color 0.18s;
    font-weight: 500;
  }

  .btn-inscribete {
    background: #00ddff;
    color: #000 !important;
    font-weight: 700;
    margin-bottom: 0.5em;
    text-align: center;
    font-size: 1.13rem;
    width: 100%;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background: #232b3a;
    color: #6ad2df;
  }

  .mobile-socials {
    display: flex;
    gap: 1.2em;
    margin-top: 1.5em;
    width: 100%;
    justify-content: flex-start;
  }

  .mobile-socials a {
    color: #6ad2df;
    font-size: 1.5rem;
    transition: color 0.2s;
  }

  .mobile-socials a:hover {
    color: #00ddff;
  }

  .desktop-socials {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1201;
    margin-left: auto;
    margin-right: 0.5em;
    padding: 0;
  }

  .hamburger div {
    width: 28px;
    height: 3.5px;
    background: #6ad2df;
    border-radius: 2px;
    margin: 3.5px 0;
    transition: all 0.3s;
    display: block;
  }
}

@media (min-width: 901px) {
  .nav-links {
    position: static !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.1rem !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    right: 0 !important;
    display: flex !important;
  }

  .nav-links a {
    color: #f7f5f4;
    font-size: 1rem;
    padding-bottom: 4px;
    transition: color 0.3s;
    font-weight: 400;
    background: none;
    border-radius: 0;
    width: auto;
    display: inline-block;
    margin: 0;
  }

  .btn-inscribete {
    font-size: 1rem;
    width: auto;
    margin-left: 0.5em;
    margin-bottom: 5px;
    justify-content: center;
    background: #00ddff !important;
    color: #000 !important;
  }

  .mobile-socials {
    display: none !important;
  }

  .desktop-socials {
    display: flex !important;
  }

  .hamburger {
    display: none !important;
  }
}

















/* ========== SECCIÓN HERO ========== */
.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  padding: 0 20px;
  margin-top: -70px;
  padding-top: 70px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-animated-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: #000000;
  overflow: hidden;
  /* Hero Image */
  background-image: url("imagenes/imagen 2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  /* Reduced opacity for subtlety */
  animation: float 15s infinite alternate ease-in-out;
}

/* Orb 1: Cyan/Turquoise - Overlay for tint */
.orb-1 {
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: #00ffff;
  animation-duration: 15s;
  animation-delay: 0s;
  mix-blend-mode: overlay;
}

/* Orb 2: Deep Blue - Depth */
.orb-2 {
  bottom: -10%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: #00008b;
  animation-duration: 18s;
  animation-delay: -5s;
  mix-blend-mode: overlay;
}

/* Orb 3: Highlight - Soft Light */
.orb-3 {
  top: 30%;
  left: 40%;
  width: 50vw;
  height: 50vw;
  background: #40e0d0;
  animation-duration: 12s;
  animation-delay: -8s;
  mix-blend-mode: soft-light;
  opacity: 0.4;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1) rotate(5deg);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9) rotate(-3deg);
  }

  100% {
    transform: translate(10px, -10px) scale(1.05) rotate(2deg);
  }
}

.hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* ========== HERO MARQUEE ========== */
.hero-marquee {
  position: absolute;
  bottom: 12%;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  /* Behind content (z-index 2) but above bg (z-index 0) */
  pointer-events: none;
  opacity: 0.6;
  /* More visible since it's smaller */
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 60s linear infinite;
  /* Very slow */
}

.marquee-content span {
  font-size: 1.2rem;
  /* Much smaller */
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  /* Normal white text */
  -webkit-text-stroke: 0;
  /* No stroke */
  margin-right: 3rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2px;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 2.2rem 1.3rem 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titulo-imagen {
  text-align: center;
  margin: 0 auto 0.8rem auto;
}

.titulo-imagen img {
  max-width: 60%;
  min-width: 210px;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.22));
}

.frase-final {
  font-size: 1.17rem;
  color: #f6eeea;
  margin-bottom: 22px;
  margin-top: 0.2em;
}

.btn-resaltado {
  color: #6ad2df;
  font-weight: 600;
  text-decoration: underline;
  padding: 0.1em 0.3em;
  transition: color 0.2s;
}

.btn-resaltado:hover,
.btn-resaltado:focus {
  color: #21a7b6;
  text-decoration: underline;
  background: none;
}

.countdown-wrapper {
  margin-top: 1.2rem;
  width: 100%;
}

.countdown-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: #fff;
}

.timer-grid {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.time-box {
  background: rgba(255, 255, 255, 0.09);
  border: 1.4px solid #6ad2df22;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.14);
  padding: 1rem;
  border-radius: 13px;
  min-width: 65px;
  transition: transform 0.3s;
}

.time-box:hover {
  transform: translateY(-5px) scale(1.04);
}

.time-box span {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #6ad2df;
}

.time-box small {
  font-size: 1rem;
  color: #eaf5f6;
  letter-spacing: 0.5px;
}

/* --- Botones y textos de clases en vivo --- */
.hero-buttons {
  margin-top: 2.5em;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 0.2em;
  color: #fff;
  letter-spacing: 0.2px;
}

.hero-title span {
  color: #6ad2df;
}

.hero-subtitle {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 1em;
  font-weight: 500;
  margin-top: 10px;
}

.clases-botones {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.1em;
  margin-bottom: 1.2em;
}

.btn-clases {
  background: #1ee7ff !important;
  color: #000 !important;
  font-weight: 700 !important;
  border-radius: 25px !important;
  border: none !important;
  padding: 12px 35px !important;
  transition: transform 0.2s !important;
  outline: none !important;
  font-size: 14px !important;
  min-width: auto !important;
  margin: 0.12em 0;
  display: inline-block;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.btn-clases:hover,
.btn-clases:focus {
  background: #1ee7ff !important;
  color: #000 !important;
  border: none !important;
  outline: none;
  transform: scale(1.05);
  box-shadow: none;
}


/* -------- Responsive para hero -------- */
@media (max-width: 900px) {
  .hero-content {
    max-width: 90vw;
  }

  .titulo-imagen img {
    max-width: 68vw;
    min-width: 120px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 75vh;
    padding: 8rem 1rem 2rem 1rem;
    text-align: center;
  }

  .hero-content {
    padding: 1.3rem 0.5rem 1rem 0.5rem;
    margin-top: 0;
    max-width: 95vw;
  }

  .titulo-imagen img {
    max-width: 400px;
    margin-bottom: 0.8rem;
  }

  .frase-final {
    font-size: 1.20rem;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .hero-buttons {
    margin-top: 2em;
  }

  .clases-botones {
    flex-direction: column;
    gap: 0.8em;
    align-items: center;
    width: 100%;
  }

  .btn-clases {
    width: 100%;
    font-size: 0.97em;
    padding: 0.7em 0;
    min-width: unset;
    max-width: 300px;
  }

  .hero-title {
    font-size: 1.90em;
  }

  .hero-subtitle {
    font-size: 1.20em;
  }

  .countdown-title {
    font-size: 1.80rem;
  }
}

@media (max-width: 600px) {

  /* Timer en 1 sola fila con cajas cuadradas */
  .timer-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.3rem;
    width: 100%;
  }

  .time-box {
    flex: 1 1 0;
    aspect-ratio: 1 / 1;
    /* 🔹 hace que sea cuadrado */
    min-width: 70px;
    max-width: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
  }

  .time-box span {
    font-size: 1.3rem;
    font-weight: bold;
  }

  .time-box small {
    font-size: 0.75rem;
  }
}











/* ========== SECCIÓN MAESTROS (ENTRENADORES) ========== */
.maestros-section {
  position: relative;
  background: url('imagenes/BG 1.jpg') center/cover no-repeat;
  padding: 2rem 1rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.maestros-section .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.785);
  z-index: 1;
}

.contenedor-maestros {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.galeria-title {
  font-size: 2.3rem;
  margin: 18px 0 10px;
  font-weight: bold;
  color: #6ad2df;
  text-shadow: 0 2px 10px #0003;
  letter-spacing: 0.3px;
}

.contenedor-maestros p {
  font-size: 1.1rem;
  color: #eaf5f6;
  max-width: 820px;
  margin: 0 auto 20px auto;
  line-height: 1.58;
}

/* GRID MEJORADO DE INSTRUCTORES */
.maestros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 2.2rem 1.2rem 0 1.2rem;
  z-index: 2;
  position: relative;
  margin-bottom: 2.2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 1400px;
}

.maestro-card {
  background: transparent;
  border-radius: 13px;
  padding: 1.5rem 1rem 1.15rem 1rem;
  width: 100%;
  text-align: center;
  transition: transform 0.33s, box-shadow 0.26s;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.maestro-image-wrapper {
  display: none;
}

.maestro-card img {
  width: 100%;
  border-radius: 13px;
  margin-bottom: 0.7rem;
  aspect-ratio: 1/1;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09);
  transition: transform 0.3s;
}

.maestro-overlay {
  display: none;
}

.maestro-card:hover .maestro-overlay {
  opacity: 1;
}

.maestro-card h2 {
  font-size: 1.2em;
  color: #6ad2df;
  margin-bottom: 0.1em;
  margin-top: 0.2em;
  font-weight: 700;
}

.maestro-overlay h2 {
  font-size: 1.2em;
  color: #1ee7ff;
  margin-bottom: 0.1em;
  margin-top: 0.2em;
  font-weight: 700;
}

.maestro-card h3 {
  font-size: 1.05em;
  color: #fff;
  margin-bottom: 0.4em;
  font-weight: 600;
}

.maestro-overlay h3 {
  font-size: 1.05em;
  color: #fff;
  margin-bottom: 0.4em;
  font-weight: 600;
}

.maestro-card p {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 1.1em;
}

.maestro-overlay p {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 1.1em;
  line-height: 1.5;
}

.maestro-overlay .btn-clases {
  margin-top: 0.3em;
}

.maestro-card .btn-clases {
  margin-top: 0.3em;
  background: #6ad2df;
  color: #191919 !important;
  font-weight: bold;
  border-radius: 50;
  border: 1.4px solid #6ad2df46;
  padding: 0.62rem 1.6rem;
  transition: background 0.22s, color 0.18s, border-color 0.18s;
  box-shadow: 0 1px 6px #6ad2df1a;
  outline: none;
}

.maestro-card .btn-clases:hover,
.maestro-card .btn-clases:focus {
  background: #191919;
  color: #ffffff !important;
  border-color: #21a7b6;
  box-shadow: 0 0 8px #6ad2df66;
  outline: none;
}

/* RESPONSIVE GRID */
@media (max-width: 1100px) {
  .contenedor-maestros {
    max-width: 98vw;
  }

  .maestros-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
    /* Separación horizontal */
    row-gap: 2.7rem;
    /* Separación vertical mejorada */
    padding: 2.5rem 1.6rem 0 1.6rem;

  }
}

@media (max-width: 650px) {
  .maestros-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 1.1rem 0.7rem 0 0.7rem;
    margin-left: 1px;
    margin-right: 4px;
  }

  .maestro-card {
    padding: 1.1rem 0.4rem 1rem 0.4rem;
  }
}


/* ========== ICONOS DE MAESTROS ========== */
.iconos-maestros {
  margin: 3rem 0 0.2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}

.icono-item {
  flex: 1 1 180px;
  max-width: 218px;
  min-width: 155px;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  padding: 1.35rem 0.95rem 1.05rem 0.95rem;
  box-shadow: 0 1px 8px #6ad2df18;
  transition: background 0.2s, box-shadow 0.22s;
}

.icono-item i {
  font-size: 2rem;
  color: #6ad2df;
  margin-bottom: 0.45rem;
}

.icono-item h4 {
  font-size: 1.09rem;
  margin-bottom: 0.38rem;
  color: #fff;
  font-weight: 700;
}

.icono-item p {
  font-size: 0.96rem;
  color: #c8c8c8;
}

.icono-item:hover {
  background: rgba(106, 210, 223, 0.12);
  box-shadow: 0 2px 12px #6ad2df2a;
}

/* ========== MODAL DE CLASES (FUNCIONAL Y RESPONSIVO) ========== */
/* ===== MODAL DE CLASES MEJORADO ===== */
/* ====== MODAL DE CLASES (GRANDE + GRID + CELESTE) ====== */
body.modal-open .navbar {
  display: none !important;
}

/* Fondo modal */
#modalClases.modal {
  display: none;
  position: fixed;
  z-index: 2200;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}

/* Forzar display flex si el modal está abierto vía JS */
#modalClases.modal[style*="display: flex"] {
  display: flex !important;
}

/* Contenido del modal: más grande y centrado */
.modal-content {
  color: #fff;
  max-width: 1200px;
  width: 100vw;
  margin: auto;
  padding: 2.5rem 2rem 2rem 2rem;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.42);
  position: relative;
  animation: fadeInUp 0.36s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal .cerrar,
.modal button[aria-label="Cerrar video"] {
  position: absolute;
  top: -40px;
  right: -70px;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.7);
  color: #6ad2df;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.modal .cerrar:hover,
.modal button[aria-label="Cerrar video"]:hover {
  background: #6ad2df;
  color: #111;
}


.btn-favorito {
  background: #6ad2df;
  border: none;
  color: #191919;
  padding: 7px 16px;
  font-size: 15px;
  border-radius: 50px;
  border: 1.4px solid #6ad2df46;
  cursor: pointer;
  margin-top: 0.5rem;
  font-weight: bold;
  box-shadow: 0 1px 6px #6ad2df2c;
  transition: background 0.16s, color 0.12s;
}

.btn-favorito:hover {
  background: #191919;
  color: #fff;
  box-shadow: 0 0 8px #6ad2df66;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.30em;
  width: 120%;
  margin-top: -30px;
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-right: 20px;
    width: 90%;
    margin-top: -10px;
  }

  .modal .cerrar,
  .modal button[aria-label="Cerrar video"] {
    top: -10px;
    right: 30px;
    width: 38px;
    height: 38px;
    font-size: 1.90rem;
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
    width: 90%;
    margin-right: 20px;
    margin-top: 5px;
  }
}

.video-item video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Botón cerrar modal video siempre visible */

/* SECCION MAESTROS*/
/* SECCION MAESTROS*/
/* SECCION MAESTROS*/
/* SECCION MAESTROS*/









/* MEMBRESIAS */
/* MEMBRESIAS */
/* MEMBRESIAS */
/* MEMBRESIAS */
/* MEMBRESIAS */
.membresia-upgrade {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 0 2.5rem 0;
  background: #000;
  /* Fondo negro plano */
  border-radius: 0;
  box-shadow: none;
  width: 100vw;
  min-height: 1px;
}

.membresia-info {
  text-align: center;
  width: 100%;
}

.membresia-info h2 {
  color: #6ad2df;
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px #000a, 0 1px 0 #fff2;
  text-align: center;
}

.membresia-info .subtitulo-principal {
  color: #eaf5f6;
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 1px 6px #0008;
  text-align: center;
}

.membresia-destacado {
  color: #6ad2df;
  font-weight: 800;
  font-size: 1.18rem;
  display: block;
  margin-top: 0.3rem;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 6px #0008, 0 1px 0 #fff2;
  text-align: center;
}

.membresia-cta {
  margin-top: 0.7rem;
  text-align: center;
}

.btn-membresia {
  background: #6ad2df;
  color: #191919 !important;
  font-weight: bold;
  border-radius: 50px;
  border: 1.4px solid #6ad2df46;
  padding: 0.62rem 1.6rem;
  transition: background 0.22s, color 0.18s, border-color 0.18s, box-shadow 0.17s;
  box-shadow: 0 1px 6px #6ad2df1a;
  outline: none;
  font-size: 1.07em;
  min-width: 140px;
  margin: 0.12em 0;
  display: inline-block;
  text-decoration: none;
}

.btn-membresia:hover {
  background: #191919;
  color: #ffffff !important;
  border-color: #21a7b6;
  outline: none;
  transform: scale(1.03);
  box-shadow: 0 0 8px #6ad2df66;
}


@media (max-width: 900px) {
  .membresia-info h2 {
    font-size: 1.4rem;
  }

  .membresia-info .subtitulo-principal {
    font-size: 1.01rem;
  }

  .membresia-destacado {
    font-size: 1.01rem;
  }
}

@media (max-width: 600px) {
  .membresia-upgrade {
    padding: 1.2rem 0.2rem 1.2rem;
    width: 100vw;
  }

  .membresia-info h2 {
    font-size: 1.08rem;
  }

  .membresia-info .subtitulo-principal {
    font-size: 0.93rem;
  }

  .membresia-destacado {
    font-size: 0.93rem;
  }

  .btn-membresia {
    font-size: 1rem;
    padding: 0.7em 1.2em;
    width: 100%;
    max-width: 270px;
  }
}

/* MEMBRESIAS */
/* MEMBRESIAS */
/* MEMBRESIAS */
/* MEMBRESIAS */
/* MEMBRESIAS */






/* ===== NUTRITION SECTION ===== */
.nutrition-section {
  padding: 3rem 1.2rem;
  background: transparent;
}

.nutrition-header {
  max-width: 1100px;
  margin: 0 auto 2rem;
  text-align: center;
}

.nutrition-header h2 {
  margin: 0 0 .5rem 0;
  font-size: 2.1rem;
  font-weight: 800;
  color: #6ad2df;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.nutrition-header h3 {
  margin: 0;
  color: #eaf5f6;
  line-height: 1.6;
  font-size: 1.02rem;
  font-weight: 400;
}

.nutrition-header p {
  margin: 0;
  color: #eaf5f6;
  line-height: 1.6;
  font-size: 1.02rem;
}

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.nutri-card {
  background: linear-gradient(180deg, #121416, #0f1113);
  border: 1px solid rgba(140, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
  cursor: default;
}

.nutri-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 231, 255, .6);
  border-width: 2px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.card-desc {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 20px;
  flex: 1;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.card-actions .btn {
  appearance: none;
  border: 0;
  outline: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: .95rem;
  border-radius: 30px;
  padding: .64rem 1rem;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  letter-spacing: .2px;
  white-space: nowrap;
}

.card-actions .btn.btn-primary {
  background: #66d8e0;
  color: #052025;
}

.card-actions .btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  filter: brightness(1.03);
}

@media (max-width: 768px) {
  .nutrition-section {
    padding: 2rem 1rem;
  }

  .nutrition-header h2 {
    font-size: 1.8rem;
  }

  .nutrition-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-img {
    height: 180px;
  }
}

/* ===========================================================
   PDF MODAL (Clean Version)
=========================================================== */
.pdf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9999;
  display: none;
  flex-direction: column;
  padding: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pdf-modal.active {
  opacity: 1;
}

.modal-header {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #111;
  color: #fff;
  border-bottom: 1px solid rgba(106, 210, 223, 0.2);
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #66d8e0;
}

.close-modal {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.close-modal:hover {
  background: #ff4d4d;
}

.pdf-container {
  width: 100%;
  flex: 1;
  background: #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pdf-iframe {
  display: block;
  width: 100%;
  height: 100%;
  /* Fill container */
  border: 0;
  background: #fff;
  /* White background for the PDF viewer */
}

/* Mobile responsive fixes from recetario.css */
@media (max-width: 900px) {
  .modal-header {
    padding: 12px 15px;
  }

  .close-modal {
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
  }
}

@media (max-width: 600px) {

  /* Ensure container takes full available height in small screens */
  .pdf-container {
    height: calc(100dvh - 60px);
  }
}



/* FOOTER*/
/* FOOTER*/
/* FOOTER*/
/* FOOTER*/
.site-footer {
  background-color: #181d1f;
  color: #eaf5f6;
  padding: 44px 16px 24px 16px;
  text-align: center;
  position: relative;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 23px;
}

.footer-social a {
  color: #ffffff;
  font-size: 1.65rem;
  transition: color 0.23s, transform 0.21s;
  text-decoration: none;
}

.footer-social a:hover {
  color: #6ad2df;
  transform: scale(1.13);
}

.footer-copy {
  font-size: 1.05rem;
  color: #ffffff;
  margin-top: 0.7rem;
  letter-spacing: 0.2px;
}

@media (max-width:600px) {
  .footer-social {
    gap: 16px;
  }

  .footer-copy {
    font-size: .93rem;
  }
}


/* FOOTER*/
/* FOOTER*/
/* FOOTER*/
/* FOOTER*/


/* CODIGO DE OCULTAR LA CLASES pregrabadas*/
/* codigo para ocultar la seccion de clases pregrabadas.
Se oculto porque estaba creando confuciomn porque esta vacia, Yeimi pasara el material para subirlo, son clases de 15 minutos*/
.pregrabadas-full-section {
  display: none !important;
}



/* WHATSAPP FLOAT BUTTON */
/* WHATSAPP FLOAT BUTTON */
/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* ← redondo perfecto */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* WHATSAPP FLOAT BUTTON */
/* WHATSAPP FLOAT BUTTON */
/* WHATSAPP FLOAT BUTTON */