/* Variables */
:root {
  --main-bg: #ffffff;
  --main-text: #000;
  --accent: #808080;
  --dark-bg: #111;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  background-color: var(--dark-bg);
  line-height: 1.5;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: transparent;
  color: #fff;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
  gap: 1rem;
}

nav a:hover {
  transform: scale(1.2); /* Zoom suave */
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links a {
  margin: 0 0.8rem;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

.cta-btn {
  background-color: var(--main-bg);
  color: var(--main-text);
  padding: 0.5rem 1.2rem;
  border: 1px solid #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s ease;

  position: relative;
  display: inline-block;
  overflow: hidden;
  z-index: 1;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  z-index: 0;
}

.cta-btn:hover::before {
  left: 125%;
}


.cta-btn:hover {
  background-color: #808080;
  color: #fff;
}


.social-icons a {
  color: #fff;
  font-size: 1rem;
  margin-left: 0.5rem;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 0.7;
}

.social-icons a:hover {
  color: #808080;
}


.cta-btn.large {
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  background-image: url('../imagenes/barberiajorge.jpeg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  animation: hero-carousel 10s ease-in-out infinite;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(135, 131, 131, 0.5);
}

@keyframes hero-carousel {
  0%,
  45% {
    background-image: url('../imagenes/barberiajorge.jpeg');
  }
  50%,
  95% {
    background-image: url('../imagenes/barberiapremium.jpeg');
  }
  100% {
    background-image: url('../imagenes/barberiajorge.jpeg');
  }
}


.hero-content {
  position: relative;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero .cta-btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  background-color: var(--main-bg); /* o el color que estés usando */
  color: var(--main-text);
  text-decoration: none;
  border: 1px solid #fff;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.hero .cta-btn:hover{
  background-color: #808080;
  color: #fff;
}

/* Estilos exclusivos para Storytelling video */

.storytelling-video-wrapper {
  width: 100%;
  max-width: 900px; 
  height: 70vh; 
  margin: 0 auto 2rem auto; 
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.storytelling-video-wrapper video#videoStorytelling {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  border-radius: 16px;
}


/* ===== Sección de Servicios ===== */
.servicios {
  background-color: #fff;
  color: #111;
  padding: 4rem 2rem;
  text-align: center;
}

.servicios h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.servicios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.servicio {
  max-width: 250px;
  padding: 1.5rem;
  background-color: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.servicio:hover {
  transform: translateY(-5px);
}

.servicio i {
  font-size: 2rem;
  color: #808080;
  margin-bottom: 1rem;
}

.servicio h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.servicio p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.cursos {
  background-color: #111;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;

}

.cursos-contenido h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cursos-contenido p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.cursos-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12rem;
  justify-content: center;
  align-items: flex-start;
}

/* Overlay borroso con Próximamente */
.proximamente-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  border-radius: 12px;
}

.proximamente-overlay h3 {
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.1em;
}

/* Botón */
.btn-registro {
  background: #fff;
  color: #000;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}
.btn-registro:hover {
  background: #ccc;
}

/* Fondo oscuro del modal */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

/* Contenido del modal */
.modal-contenido {
  background: #222;
  color: #fff;
  padding: 30px;
  border-radius: 15px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-contenido input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  background: #444;
  color: #fff;
}

.modal-contenido input::placeholder {
  color: #bbb;
}

.btn-registrarse {
  background: #fff;
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 10px;
  width: 100%;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}
.btn-registrarse:hover {
  background: black;
}

/* Botón de cerrar */
.cerrar-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}




.login-box {
  position: relative;
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 350px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  align-self: center;
  margin-top: 1rem;
}


.login-box h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.login-box form {
  display: flex;
  flex-direction: column;
}

.login-box input,
.login-box button {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

.login-box button {
  background-color: #808080;
  color: #000;
  font-weight: bold;
  cursor: pointer;

  padding: 0.5rem 1.2rem;
  border: 1px solid #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.4s ease;

  background: linear-gradient(to right, #808080 50%, #ffffff 50%);
  background-size: 200% 100%;
  background-position: right bottom;

}

.login-box button:hover {
    background-position: left bottom;
  color: #fff;
}

.separador-o {
  text-align: center;
  margin: 1rem 0;
  color: #ccc;
  font-size: 0.95rem;
}

.iconos-sociales {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.icono-social {
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #ccc;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.icono-social:hover {
  transform: scale(1.1);
  background-color: #eee;
}

.registro-texto {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

.registro-texto a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}


.video-wrapper {
  flex: 1;
  width: 100%;
  max-width: 500px;
  height: 77vh;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  
}

.video-wrapper video {
  width: 85%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .servicios-grid {
    flex-direction: column;
    align-items: center;
  }

  .video-wrapper {
    height: 77vh; 
  }

  .video-wrapper video {
    height: 100%;
  }
}

/* Tienda de Productos */
.tienda {
  background-color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  color: #000;
}

.tienda .container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}

.bloque-servicios,
.bloque-sucursales {
  flex: 1 1 0;
  min-width: 320px;
  max-width: 520px;
}

.bloque-servicios h2,
.bloque-sucursales h2 {
  margin-bottom: 1.5rem;
}

.bloque-servicios .carrusel-contenedor,
.bloque-sucursales .productos-carrusel {
  max-width: 520px;
}

.tienda h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.producto {
  background-color: #f8f8f8;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.producto:hover {
  transform: translateY(-5px);
}

.producto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.producto h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
  text-align: center;
}

.producto p {
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.producto button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.producto button:hover {
  background-color: #808080;
}

/* Spotlight peleador (entre servicios y mapa) */
.peleador-spotlight {
  --peleador-gold: #c9a227;
  --peleador-gold-muted: #a88416;
  position: relative;
  padding: 5.5rem 2rem;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 65% at 12% 18%, rgba(201, 162, 39, 0.065) 0%, transparent 50%),
    radial-gradient(ellipse 75% 55% at 94% 78%, rgba(139, 105, 20, 0.09) 0%, transparent 48%),
    radial-gradient(ellipse 115% 75% at 50% 0%, #232017 0%, #0b0b0b 48%, #060606 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -120px 140px rgba(0, 0, 0, 0.35);
}

.peleador-spotlight__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Malla rombos (mismo concepto): más densa, barras gruesas, viñeta fuerte */
  background:
    radial-gradient(ellipse 80% 68% at 50% 48%, transparent 6%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(105deg, transparent 30%, rgba(201, 162, 39, 0.16) 50%, transparent 70%),
    linear-gradient(97deg, transparent 38%, rgba(120, 28, 28, 0.09) 50%, transparent 62%),
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 8px,
      rgba(201, 162, 39, 0.28) 8px,
      rgba(201, 162, 39, 0.28) 10px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 8px,
      rgba(255, 255, 255, 0.14) 8px,
      rgba(255, 255, 255, 0.14) 10px
    );
}

.peleador-spotlight__inner {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  gap: 3.5rem 3.5rem;
  align-items: center;
}

.peleador-spotlight__copy {
  text-align: left;
}

.peleador-spotlight__card {
  padding: 2.35rem 2.6rem 2.45rem;
  border-radius: 20px;
  background: linear-gradient(
    158deg,
    rgba(255, 255, 255, 0.065) 0%,
    rgba(255, 255, 255, 0.022) 45%,
    rgba(0, 0, 0, 0.12) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.105);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.22),
    0 18px 42px rgba(0, 0, 0, 0.32),
    0 36px 72px rgba(0, 0, 0, 0.28),
    0 0 80px rgba(201, 162, 39, 0.07),
    0 2px 0 rgba(255, 255, 255, 0.045) inset,
    0 0 0 1px rgba(201, 162, 39, 0.06) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.peleador-spotlight__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e8d48a;
  margin-bottom: 1.05rem;
}

.peleador-spotlight__eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  flex-shrink: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--peleador-gold), rgba(201, 162, 39, 0.15));
}

.peleador-spotlight__title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 1.2rem;
  letter-spacing: -0.025em;
}

.peleador-spotlight__title-solid {
  color: #ffffff;
}

.peleador-spotlight__title-gradient {
  background: linear-gradient(
    125deg,
    #ffffff 0%,
    #f5efe6 38%,
    #dcc062 68%,
    var(--peleador-gold) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.peleador-spotlight__name {
  margin: 0 0 0.6rem;
}

.peleador-spotlight__name-text {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.93);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.13);
  border: 1px solid rgba(201, 162, 39, 0.38);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(201, 162, 39, 0.12);
}

.peleador-spotlight__contexto {
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.62;
  margin: 0 0 1.25rem;
  max-width: min(52ch, 100%);
  letter-spacing: 0.012em;
}

.peleador-spotlight__desc {
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 38ch;
  margin: 0 0 1.45rem;
  line-height: 1.68;
}

.peleador-spotlight__social-block {
  margin-top: 0.15rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.085);
}

.peleador-spotlight__redes-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 1rem;
}

.peleador-spotlight__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.peleador-social-btn {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.38);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.35),
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(201, 162, 39, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.peleador-social-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 212, 138, 0.72);
  background: rgba(201, 162, 39, 0.2);
  box-shadow:
    0 6px 16px rgba(201, 162, 39, 0.2),
    0 16px 36px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(201, 162, 39, 0.14);
}

.peleador-social-btn:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 3px;
}

.peleador-spotlight__photos {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  justify-self: end;
}

.peleador-spotlight__photos::before {
  content: "";
  position: absolute;
  width: min(132%, 600px);
  height: 80%;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse,
    rgba(201, 162, 39, 0.22) 0%,
    rgba(201, 162, 39, 0.06) 48%,
    transparent 72%
  );
  filter: blur(4px);
}

.peleador-spotlight__photos .peleador-spotlight__frame {
  position: relative;
  z-index: 1;
}

.peleador-carousel {
  position: relative;
  z-index: 1;
  --peleador-carousel-radius: 20px;
  --peleador-autoplay: 8000ms;
}

.peleador-carousel:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 4px;
}

.peleador-carousel__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.peleador-carousel__progress {
  height: 4px;
  margin-top: 1rem;
  margin-left: 6px;
  margin-right: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.25);
}

.peleador-carousel__progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #a88416, #f0dd95, #c9a227);
  will-change: transform;
}

.peleador-carousel__progress-fill.is-animating {
  animation: peleador-autoplay-progress var(--peleador-autoplay, 8000ms) linear forwards;
}

.peleador-carousel.is-paused .peleador-carousel__progress-fill.is-animating {
  animation-play-state: paused;
}

@keyframes peleador-autoplay-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .peleador-carousel__progress {
    display: none;
  }
}

.peleador-carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--peleador-carousel-radius);
  touch-action: pan-y pinch-zoom;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.075),
    inset 0 -32px 64px rgba(0, 0, 0, 0.42),
    0 16px 40px rgba(0, 0, 0, 0.52);
}

/* Viñeta fuerte estilo ring / foco en el combate */
.peleador-carousel__viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    ellipse 84% 78% at 50% 38%,
    transparent 22%,
    rgba(0, 0, 0, 0.22) 68%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.peleador-carousel__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .peleador-carousel__track {
    transition-duration: 0.01ms;
  }
}

.peleador-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.peleador-carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--peleador-carousel-radius) - 3px);
  filter: contrast(1.16) saturate(1.14) brightness(0.96);
}

.peleador-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 0.75rem;
  padding: 0.35rem 0.75rem;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.peleador-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition:
    width 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
    background 0.28s ease,
    box-shadow 0.28s ease,
    opacity 0.28s ease;
}

.peleador-carousel__dot:hover {
  background: rgba(255, 255, 255, 0.48);
}

.peleador-carousel__dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, #a88416, #e8d48a);
  box-shadow:
    0 0 16px rgba(201, 162, 39, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.32);
}

.peleador-carousel__dot:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 3px;
}

.peleador-spotlight__frame {
  position: relative;
  padding: 3px;
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    #d4b04a,
    #8b6914,
    #f0e0a8,
    #b8922c,
    #c9a227
  );
  background-size: 220% 220%;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.38),
    0 28px 56px rgba(0, 0, 0, 0.45),
    0 48px 88px rgba(0, 0, 0, 0.22),
    0 10px 32px rgba(201, 162, 39, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 72px rgba(201, 162, 39, 0.1);
}

@media (prefers-reduced-motion: no-preference) {
  .peleador-spotlight__frame {
    animation: peleador-frame-glow 11s ease-in-out infinite;
  }
}

@keyframes peleador-frame-glow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Ubicación */
.ubicacion {
  background-color: #1a1a1a;
  padding: 5.5rem 2rem;
  text-align: center;
  color: #ffffff;
}

.ubicacion h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.ubicacion p {
  margin: 0.5rem 0;
  font-size: 1rem;
}


.ubicacion .mapa:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}


.ubicacion-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.ubicacion-col {
  flex: 1 1 45%;
  min-width: 300px;
}

.ubicacion .mapa {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 800px; /* limita el tamaño en pantallas grandes */
  margin-left: auto;
  margin-right: auto;
}


.ubicacion .mapa iframe {
  width: 100%;
  height: 400px; /* antes 300px */
  border: none;
  display: block;
}


/* Footer */
.footer {
  background-color: #111; /* fondo oscuro */
  padding: 15px 0;
  text-align: center;
}

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

.icon-box {
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(7, 7, 7, 0.1);
}

.icon-box:hover {
  transform: scale(1.2); /* Zoom suave */
}


html {
  scroll-behavior: smooth;
}

.carrusel-contenedor {
  overflow: hidden;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}

.productos-carrusel {
  overflow: hidden;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}

.carrusel-3d {
  display: flex;
  justify-content: center;
  transition: transform 0.5s ease;
}

.carrusel-3d .producto {
  flex: 0 0 250px;
  margin: 0 15px;
  transition: transform 0.5s, opacity 0.5s;
  transform: scale(0.85);
  opacity: 0.5;
}

.carrusel-3d .producto.active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 2;
}

.bloque-servicios,
.bloque-sucursales {
  margin-bottom: 2.5rem;
}



.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #111;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 36px;
  font-size: 18px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
  transform: scale(1.1);
}

/* Cuando se activa */
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.mensaje-registro {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #333;
  color: white;
  padding: 20px 30px;
  border-radius: 10px;
  font-size: 18px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0.95;
  transition: opacity 0.3s ease-in-out;
  text-align: center;
  max-width: 90%;
  width: 300px;
}

.mensaje-registro.ok {
  background-color: rgba(0, 0, 0, 0.8); /* negro con 80% opacidad */
  border-left: 6px solid #4caf50; /* línea verde de éxito */
}


.mensaje-registro.oculto {
  display: none;
}

.input-error {
  border: 2px solid red !important;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.error-text {
  color: #e74c3c;
  font-size: 12px; 
  display: none;
  margin-top: 1px;
  margin-bottom: 10px;
  display: none; 
}


/* Responsive */
@media (max-width: 768px) {
  .servicios-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* Responsive general */
@media (max-width: 1024px) {
  .cursos-grid {
    gap: 4rem;
  }

  .hero-content {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.7);
    flex-direction: column;
    padding: 0.75rem 1rem;
  }

  .logo img {
    height: 36px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .nav-links a {
    margin: 0;
    font-size: 0.9rem;
  }

  .hero {
    height: 80vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .cta-btn.large {
    padding: 0.8rem 1.5rem;
  }

  .storytelling-video-wrapper {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .storytelling-video-wrapper video#videoStorytelling {
    height: 100%;
  }

  .cursos-grid {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .proximamente-overlay h3 {
    font-size: 1.8rem;
  }

  .video-wrapper {
    height: auto;
    max-width: 100%;
  }

  .video-wrapper video {
    width: 100%;
    height: auto;
  }

  .login-box {
    max-width: 100%;
  }

  .tienda {
    padding: 3rem 1.5rem;
  }

  .carrusel-contenedor {
    max-width: 100%;
  }

  .carrusel-3d {
    flex-wrap: wrap;
    justify-content: center;
    transform: none !important;
  }

  .carrusel-3d .producto {
    flex: 1 1 240px;
    margin: 0.75rem;
    transform: none;
    opacity: 1;
  }

  .carrusel-3d .producto.active {
    transform: none;
  }

  .ubicacion {
    padding: 3.5rem 1.5rem;
  }

  .ubicacion-col {
    min-width: 0;
    flex: 1 1 100%;
  }

  .ubicacion .mapa iframe {
    height: 280px;
  }

  .footer-content {
    gap: 10px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }

  .tienda .container {
    flex-direction: column;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .bloque-servicios,
  .bloque-sucursales {
    width: 100%;
  }

  .peleador-spotlight {
    padding: 3.75rem 1.5rem;
  }

  .peleador-spotlight__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .peleador-spotlight__copy {
    text-align: center;
  }

  .peleador-spotlight__card {
    padding: 1.85rem 1.65rem;
  }

  .peleador-spotlight__eyebrow {
    justify-content: center;
  }

  .peleador-spotlight__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .peleador-spotlight__contexto {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .peleador-spotlight__social {
    justify-content: center;
  }

  .peleador-spotlight__photos {
    order: -1;
    max-width: min(400px, 92vw);
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
  }

}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .cta-btn.large {
    width: 100%;
    max-width: 260px;
  }

  .producto img {
    height: 160px;
  }

  .mensaje-registro {
    width: 90%;
  }

  .peleador-spotlight__name-text {
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    padding: 0.42rem 0.9rem;
  }

  .peleador-spotlight__contexto {
    font-size: 0.85rem;
  }
}