/* ============================================
   COHABRENACA PRO - ESTILOS PRINCIPALES
   ============================================
   
   Diseño: Minimalismo Corporativo Moderno
   Tipografía: Playfair Display (headlines) + Inter (body)
   Colores: Blanco, Negro profundo, Grises sofisticados
   
   ============================================ */

/* ============================================
   VARIABLES Y RESET
   ============================================ */

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

:root {
  /* Colores */
  --color-white: #FFFFFF;
  --color-black: #1A1A1A;
  --color-dark-gray: #3A3A3A;
  --color-light-gray: #F5F5F5;
  /* Mismo gris que "Nuestras Clases" en todo el sitio */
  --color-section-bg: var(--color-light-gray);
  --color-border: #E8E8E8;
  --color-accent: #5BBAD5;

  /* Colores de cinturones */
  --color-belt-white: #F0F0F0;
  --color-belt-blue: #2563EB;
  --color-belt-purple: #9333EA;
  --color-belt-brown: #92400E;
  --color-belt-black: #000000;

  /* Tipografía */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Espaciado */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Transiciones */
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-section-bg);
}

body {
  font-family: var(--font-body);
  color: var(--color-black);
  background-color: var(--color-section-bg);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0 !important;
  padding: 0 !important;
  padding-top: 72px;
}

/* ============================================
   CONTENEDOR Y LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ============================================
   MOBILE (CELULAR)
   ============================================ */

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* HEADER */
  .header-content {
    display: flex;
    justify-content: center;
  }
  .logo-img {
    position: static;
    transform: none;
    text-align: center;
  }
  .logo-img img {
    height: 50px;
    width: auto;
  }
  /* HERO */
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 80px 0;
    text-align: center;
  }
  .hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  /* TÍTULO */
  .hero-title {
    font-size: 1.8rem;
  }
  /* 🔥 SUBTÍTULO (EDITA SOLO ESTO) */
  .hero-subtitle {
    max-width: 600px;
    margin: 30px auto 40px;
    text-align: center;
  }
  /* BOTONES */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
  }
  /* GRIDS */
  .belts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .classes-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    margin: 0 auto 40px;
  }
  /* IMÁGENES */
  .instalaciones-img img {
    height: 250px;
  }
}

/* ============================================
   HAMBURGUESA (SOLO MOBILE)
   ============================================ */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: 0;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background-color: var(--color-black);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* DESKTOP: hamburguesa oculto, nav horizontal visible */
@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
  .nav {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    max-height: none !important;
    margin: 0 !important;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-md) 0;
  overflow: visible;
  width: 100%;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.header .container {
  max-width: 100%;
  overflow: visible;
}

.nav {
  display: flex;
  gap: 35px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-black);
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--color-dark-gray);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-black);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
  }

  .header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(0.3rem, 1.5vw, 0.6rem);
    width: 100%;
    position: relative;
    padding: max(3px, calc(env(safe-area-inset-top, 0px) + 2px)) max(env(safe-area-inset-right, 0px), 0px) max(3px, env(safe-area-inset-bottom, 0px)) max(env(safe-area-inset-left, 0px), 0px);
    min-height: auto;
  }

  .nav {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: clamp(0.3rem, 1.8vw, 0.8rem);
    width: 100%;
    max-width: 100%;
    padding: 0 max(env(safe-area-inset-left, 0px), 8px);
    position: static;
    height: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: transparent;
    margin: 0 auto;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    visibility: visible;
  }

  .nav-link {
    flex: 0 0 auto;
    font-size: clamp(0.72rem, 2.6vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: clamp(0.4rem, 1.8vw, 0.55rem) clamp(0.4rem, 1.2vw, 0.5rem);
    text-transform: uppercase;
    border-radius: 4px;
    opacity: 1;
    transform: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    margin: 0;
  }

  .hamburger {
    display: none !important;
  }

  .logo-img {
    display: none;
  }

  .logo-img img {
    height: 60px;
  }

  .nav.active {
    max-height: none;
    opacity: 1;
    visibility: visible;
    padding: 0;
    background: transparent;
    border-bottom: none;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    color: var(--color-black);
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
  }
}

/* ============================================
   HERO SECTION (PRO + ESTABLE)
   ============================================ */

.hero {
  position: relative;
  height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center; 
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/instalaciones1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--color-white);

  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFade 1s ease forwards;
}

@keyframes heroFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  white-space: nowrap;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
}

/* =========================
   ABOUT PRO (IMAGEN DE FONDO REAL)
========================= */

.about {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: stretch;
}

.about-item {
  position: relative;
  border-radius: 10px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.about-item:hover img {
  transform: scale(1.12);
  filter: brightness(0.85);
}

.about-box {
  background: white;
  padding: 30px;
  width: 85%;
  position: relative;
  margin: -60px auto 0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  z-index: 5;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.about-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.about-box p {
  color: var(--color-dark-gray);
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-box ul {
  list-style: none;
  padding: 0;
}

.about-box li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .about-item img {
    height: 180px;
  }
  .about-box {
    width: 90%;
    margin: -35px auto 0;
    padding: 20px 15px;
  }
  .about-box h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .about-box p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  .about-box li {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
}

/* ============================================
   HISTORIA
   ============================================ */

.historia {
  padding: 100px 0;
}

.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* TEXTO */
.historia-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.historia-text p {
  color: var(--color-dark-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* IMAGEN */
.historia-img {
  display: flex;
  justify-content: center;
}
.historia-img img {
  width: 100%;
  max-width: 500px;
  opacity: 0.95;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.historia-img img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* ANIMACIÓN ENTRADA */
.historia-text,
.historia-img {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.historia-img {
  animation-delay: 0.2s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .historia-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .historia-img img {
    width: 60%;
  }
}

/* ============================================
   SISTEMA - CINTURÓN ÚNICO
   ============================================ */

.belt-single {
  margin: 50px 0 70px;
  display: flex;
  justify-content: center;
}
.belt-single img {
  width: 100%;
  max-width: 500px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  transition: transform 0.4s ease;
}
.belt-single img:hover {
  transform: scale(1.03);
}

/* ============================================
   BOTONES BASE (ESTRUCTURA)
   ============================================ */

.btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-center .btn-primary {
  background: transparent;
  color: #111;
  border: none;
  box-shadow: none;
  border-radius: 6px;
}
.cta-center .btn-primary:hover {
  background: rgba(0,0,0,0.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.btn-secondary {
  background: #111;
  color: #fff;
}
.btn-secondary:hover {
  background: #333;
  transform: translateY(-2px);
}

.btn-transparent {
  background: transparent;
  color: #111;
  border: 2px solid rgba(0,0,0,0.2);
  box-shadow: none;
}
.btn-transparent:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.hero .btn {
  background: transparent;
  color: white;
  border: none;
  box-shadow: none;
  letter-spacing: 1px;
  font-weight: 500;
  border-radius: 0;
  padding: 12px 26px;
  transition: all 0.25s ease;
}
.hero .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
.hero .btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

@media (max-width: 640px) {
  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    width: 100%;
  }
  .hero-buttons {
    flex-direction: column;
  }
}

/* ============================================
   SECCIONES GENERALES (SCROLL PRO LIMPIO)
   ============================================ */

section {
  padding: var(--spacing-2xl) 0;
  scroll-margin-top: 120px;
}

#tipos-clases {
  scroll-margin-top: 100px;
}
#contacto {
  scroll-margin-top: 100px;
}
#sistema {
  scroll-margin-top: 100px;
}

/* ============================================
   HEADER SECCIONES
   ============================================ */

.section-header {
  margin-bottom: var(--spacing-2xl);
}
.section-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  text-align: center;
  letter-spacing: 1px;
}
#tipos-clases .section-title {
  color: var(--color-accent);
}
.nav-link[href="#tipos-clases"] {
  color: var(--color-accent);
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-dark-gray);
  max-width: 600px;
  line-height: 1.8;
  font-weight: 300;
  margin: 0 auto;
  text-align: center;
}

/* ============================================
   MOBILE FIX SCROLL
   ============================================ */

@media (max-width: 768px) {
  section {
    padding: 80px 0;
    scroll-margin-top: 120px;
  }
  #contacto {
    scroll-margin-top: 100px;
  }
}

/* ============================================
   SISTEMA DE CINTURONES
   ============================================ */

.belts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.belt-card {
  text-align: center;
}
.belt-color {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  margin-bottom: var(--spacing-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}
.belt-card:hover .belt-color {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.belt-white {
}
.belt-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}
.belt-description {
  font-size: 0.875rem;
  color: var(--color-dark-gray);
}
.belt-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.4s ease;
}
.belt-card:hover .belt-img {
  transform: scale(1.15);
}

/* ============================================
   BENEFICIOS (SIN ANIMACIÓN)
   ============================================ */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: var(--spacing-2xl);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  align-items: stretch;
}
.benefit-item {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.benefit-item:hover {
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.15);
}
.benefit-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.benefit-item p {
  color: var(--color-dark-gray);
  line-height: 1.8;
  font-weight: 300;
  font-size: 1rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   🧪 TEST CINTURONES PRO (VERSION FINAL PRO)
   ============================================ */

.belt-animation {
  position: relative;
  width: 100%;
  min-height: 280px;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  margin: 60px 0;
  background: transparent;
  transition: min-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.belt-animation:hover,
.belt-animation.is-active {
  min-height: 420px;
  padding: 80px 0;
}
.belt-final {
  position: absolute;
  width: 800px;
  height: 550px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
  background: transparent;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
}
.belt-lines {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  background: transparent;
  width: 100%;
  height: auto;
  gap: 12px;
}
.belt-piece {
  width: min(90%, 580px);
  height: 52px;

  border-radius: 10px; /* 🔥 más natural */

  object-fit: cover;
  object-position: center;

  transform: translateY(0) scaleX(1);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  flex-shrink: 0;


  display: block;
}
/* DESPLIEGUE DE CINTURONES */
.belt-animation:hover .belt-final,
.belt-animation.is-active .belt-final {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.75);
}
.belt-animation:hover .belt-lines,
.belt-animation.is-active .belt-lines {
  opacity: 1;
}
.belt-animation:hover .belt-white,
.belt-animation.is-active .belt-white {
  transform: translateY(-28px) scaleX(1.08);
}
.belt-animation:hover .belt-blue,
.belt-animation.is-active .belt-blue {
  transform: translateY(-14px) scaleX(1.06);
}
.belt-animation:hover .belt-purple,
.belt-animation.is-active .belt-purple {
  transform: translateY(0px) scaleX(1.04);
}
.belt-animation:hover .belt-brown,
.belt-animation.is-active .belt-brown {
  transform: translateY(14px) scaleX(1.06);
}
.belt-animation:hover .belt-black,
.belt-animation.is-active .belt-black {
  transform: translateY(28px) scaleX(1.08);
}

/* ============================================
   CLASES
   ============================================ */

.clases {
  background-color: var(--color-section-bg);
}
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  overflow: visible;
  margin-bottom: var(--spacing-2xl);
  align-items: stretch;
}
.class-card {
  background-color: var(--color-white);
  padding: var(--spacing-xl);
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.class-card:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--color-dark-gray);
  z-index: 10;
}
.class-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
}
.class-card p {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-gray);
  font-size: 0.95rem;
}
.class-info p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark-gray);
  font-size: 0.95rem;
}
.cta-center {
  text-align: center;
  margin-top: var(--spacing-2xl);
}

/* ============================================
   EQUIPO / INSTRUCTORES (FIX PRO)
   ============================================ */

.equipo {
  background-color: var(--color-section-bg);
}
.instructor-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}
.instructor-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.instructor-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.instructor-image {
  overflow: hidden;
  border-radius: 0.5rem;
}
.instructor-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}
.instructor-title {
  font-size: 1.125rem;
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
}
.instructor-bio {
  color: var(--color-dark-gray);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
}
.instructor-specialties {
  margin-top: var(--spacing-lg);
}
.instructor-specialties p {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}
.instructor-specialties ul {
  list-style: none;
  padding-left: 0;
}
.instructor-specialties li {
  padding-left: var(--spacing-lg);
  position: relative;
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark-gray);
  font-weight: 300;
}
.instructor-specialties li::before {
  content: '•';
  position: absolute;
  left: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .instructor-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    max-width: 100%;
  }
  .instructor-image {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0.5rem;
  }
  .instructor-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  .instructor-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }
  .instructor-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  .instructor-title {
    font-size: 0.95rem;
    color: var(--color-dark-gray);
    margin-bottom: 1.25rem;
    font-weight: 400;
  }
  .instructor-bio {
    color: var(--color-dark-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-size: 0.9rem;
    max-width: 100%;
  }
  .instructor-specialties {
    margin-top: 1rem;
    width: 100%;
    padding: 0 1rem;
  }
  .instructor-specialties p {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
  .instructor-specialties ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .instructor-specialties li {
    padding-left: 0;
    margin-bottom: 0.5rem;
    color: var(--color-dark-gray);
    font-weight: 300;
    font-size: 0.9rem;
    text-align: center;
    position: relative;
  }
  .instructor-specialties li::before {
    content: '✓';
    position: relative;
    left: 0;
    margin-right: 0.5rem;
    color: var(--color-accent);
    font-weight: 600;
  }
}

/* ============================================
   ANIMACIÓN REVEAL (CONTROLADA)
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   INSTALACIONES (FIX PRO)
   ============================================ */

.instalaciones {
  background-color: var(--color-section-bg);
}
.instalaciones-img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.instalaciones-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.instalaciones-img:hover img {
  transform: scale(1.05);
}
.instalaciones-description {
  max-width: 700px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark-gray);
}

/* ============================================
   BOTÓN FLOTANTE (GLASS / TRANSPARENTE)
   ============================================ */

.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  padding: 0.9rem 1.6rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}
.floating-cta:hover {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
  .floating-cta {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    right: max(1rem, env(safe-area-inset-right, 0px));
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ============================================
   RESPONSIVE DESIGN (ORDENADO)
   ============================================ */

@media (max-width: 768px) {
  :root {
    --spacing-xl: 1.75rem;
    --spacing-2xl: 2.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ============================================
   ANIMACIONES (CONTROLADAS)
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ============================================
   HORARIO (PRO FIXED)
   ============================================ */

.schedule {
  overflow-x: auto;
  margin-top: 40px;
}
.schedule table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.schedule th {
  background: #0d0d0d;
  color: white;
  padding: 16px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.schedule td {
  padding: 18px;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}
.schedule tr:last-child td {
  border-bottom: none;
}
.schedule td:first-child {
  font-weight: 700;
  background: #fafafa;
  color: #111;
  border-right: 1px solid #eee;
}
.schedule thead tr th:first-child {
  border-top-left-radius: 12px;
}
.schedule thead tr th:last-child {
  border-top-right-radius: 12px;
}

/* Cabeceras: nombre completo en escritorio, abreviado en móvil */
.schedule .day-abbr {
  display: none;
}
.cta-merch {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.btn-merch {
  background: transparent;
  color: #111;
  border: none;
  border-radius: 6px;
  padding: 12px 22px;
  box-shadow: none;
  transition: all 0.25s ease;
}
.btn-merch:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ============================================
   HEADER FIX FINAL
   ============================================ */

.header {
  padding: 20px 0;
}


/* ============================================
   MOBILE OPTIMIZATION PRO (CONSOLIDATED)
   ============================================ */

@media (max-width: 768px) {
  /* CONTAINER */
  .container {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  body {
    padding-top: 60px !important;
  }

  /* HERO */
  .hero {
    height: auto;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    text-align: center;
  }
  .hero .container {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .hero-content {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title {
    font-size: 1.6rem;
    white-space: normal;
    max-width: min(100%, 22rem);
    padding: 0 0.5rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    max-width: 500px;
    margin: 20px auto;
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-buttons .btn {
    width: 100%;
  }

  /* SECTIONS */
  section {
    padding: 50px 0;
    scroll-margin-top: 88px;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
  }
  .left-space {
    display: none;
  }

  /* HISTORIA */
  .historia {
    padding: 50px 0;
  }
  .historia-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .historia-img img {
    width: 60%;
  }
  .historia-text h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* ABOUT */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
  }
  .about-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 100%;
  }
  .about-item:nth-child(2n+1):nth-last-child(1) {
    grid-column: 1 / -1;
    max-width: 100%;
    margin: 0 auto;
  }
  .about-item img {
    height: 220px;
    border-radius: 10px;
  }
  .about-box {
    width: 100%;
    margin: -45px auto 0;
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    gap: 8px;
  }
  .about-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
  }
  .about-box p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
  }
  .about-box li {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  /* BELTS & SISTEMA */
  .belts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .belt-img {
    width: 120px;
    height: 120px;
  }
  .belt-animation {
    width: 100%;
    min-height: 150px;
    padding: 40px 0;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: min-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .belt-animation:hover,
  .belt-animation.is-active {
    min-height: 280px;
    padding: 60px 0;
  }
  .belt-final {
    position: absolute;
    width: 90vw;
    max-width: 360px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
  }
  .belt-piece {
    width: 100% !important;
    max-width: 320px !important;
    height: 24px !important;
    border-radius: 12px;
  }
  .belt-lines {
    width: 100%;
    gap: 8px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 24px;
    border-top: none;
    align-items: stretch;
  }
  .benefit-item {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .benefit-item h3 {
    margin-bottom: 10px;
  }
  .benefit-item p {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* CLASES */
  .classes-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
  }
  .class-card {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    padding: 24px 20px;
  }
  .class-card h3 {
    margin-bottom: 14px;
    font-size: 1.3rem;
  }
  .class-card p {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 60px;
  }
  .class-card:nth-child(2n+1):nth-last-child(1) {
    grid-column: 1 / -1;
    max-width: 100%;
    margin: 0 auto;
  }

  /* HORARIO */
  .schedule {
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
  }
  .schedule .day-full {
    display: none;
  }
  .schedule .day-abbr {
    display: inline;
  }
  .schedule table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    font-size: clamp(8px, 2.1vw, 11px);
  }
  .schedule th,
  .schedule td {
    padding: 5px 3px;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
    vertical-align: middle;
  }
  .schedule th {
    display: table-cell;
    padding: 8px 2px;
    font-size: 0.95em;
    letter-spacing: 0.02em;
    text-transform: none;
  }
  .schedule td {
    display: table-cell;
    font-size: 1em;
  }
  .schedule thead {
    display: table-header-group;
  }
  .schedule tr {
    display: table-row;
  }
  .schedule td:first-child {
    width: 19%;
    font-weight: 700;
    background: #fafafa;
    border-right: 1px solid #eee;
    white-space: normal;
  }

  /* VESTUARIO */
  .vestuario-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
  }

  .vestuario-row {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    gap: 16px !important;
    align-items: stretch;
    justify-content: flex-start;
    text-align: center;
  }

  .vestuario-row.reveal {
    transform: translateY(40px);
  }

  .vestuario-row.reveal.active {
    transform: translateY(0);
  }

  .vestuario-row.reverse {
    flex-direction: column !important;
  }

  .vestuario-row.reverse .vestuario-img {
    order: 1 !important;
  }

  .vestuario-row.reverse .vestuario-text {
    order: 2 !important;
  }

  .vestuario-row .vestuario-img {
    order: 1 !important;
    width: 100% !important;
  }

  .vestuario-row .vestuario-text {
    order: 2 !important;
    width: 100% !important;
  }

  .vestuario-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
  }

  .vestuario-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .vestuario-text {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 16px;
    background: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    text-align: center;
  }

  .vestuario-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .vestuario-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-dark-gray);
    margin: 0;
  }

  /* IMÁGENES */
  .instalaciones-img img {
    height: 220px;
  }

  /* CONTACTO */
  .contact-item {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    padding: 20px 16px;
    text-align: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .contact-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
  .contact-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.9;
    flex-shrink: 0;
  }
  .contact-item h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .contact-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-gray);
  }
  .contact-map iframe {
    height: 320px;
  }
  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 24px;
    margin-bottom: 32px;
  }
  .contact-buttons .btn {
    width: 100%;
    max-width: 100%;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* BOTONES */
  .btn,
  .hero .btn,
  button.floating-cta {
    touch-action: manipulation;
    min-height: 44px;
    padding: 0.65rem 1.4rem;
    font-size: 0.875rem;
  }
  .btn {
    width: 100%;
  }

  /* FOOTER */
  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }

  /* Ocultar sección Enlaces en mobile */
  .footer-section:nth-child(2) {
    display: none !important;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-brand h4 {
    font-size: 1.25rem;
  }

  .footer-brand p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
  }

  .footer-section {
    width: 100%;
  }

  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .footer-social {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    font-size: 16px;
    transition: all 0.25s ease;
  }

  /* Colores activos en mobile para redes sociales */
  .footer-social a:nth-child(1) {
    background: #E1306C;
    color: #fff;
    border: none;
  }

  .footer-social a:nth-child(2) {
    background: #1877F2;
    color: #fff;
    border: none;
  }

  .footer-social a:nth-child(3) {
    background: #25D366;
    color: #fff;
    border: none;
  }

  .footer-bottom {
    grid-column: unset !important;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.75rem;
  }

  /* FLOATING CTA */
  .floating-cta {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    right: max(1rem, env(safe-area-inset-right, 0px));
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ============================================
   CONTACTO (CARDS PRO COMO CLASES)
   ============================================ */

.contacto {
  background-color: var(--color-section-bg);
  text-align: center;
  padding: 60px 0;
  padding-bottom: 20px !important;
  padding-bottom: 0 !important;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 40px;
  align-items: stretch;
}

/* DESKTOP: 3 columnas */
@media (min-width: 769px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
  }

  /* FOOTER SIMPLIFICADO EN DESKTOP (IGUAL QUE MOBILE) */
  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    gap: 1.5rem !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Ocultar sección Enlaces en desktop también */
  .footer-section:nth-child(2) {
    display: none !important;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-brand h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .footer-brand p {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    max-width: none;
  }

  .footer-section {
    width: 100%;
  }

  .footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0;
  }

  .footer-section:not(.footer-brand) h4::after {
    display: none;
  }

  .footer-social {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-top: 0.5rem;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none !important;
    background: var(--color-light-gray) !important;
    color: var(--color-dark-gray) !important;
  }

  /* Colores en hover para cada red social en desktop */
  .footer-social a:nth-child(1):hover {
    background: #E1306C !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
  }

  .footer-social a:nth-child(2):hover {
    background: #1877F2 !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
  }

  .footer-social a:nth-child(3):hover {
    background: #25D366 !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  }

  .footer-bottom {
    grid-column: unset !important;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.8rem;
    width: 100%;
  }
}
.contact-item {
  text-align: center;
  background: var(--color-white);
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.contact-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  opacity: 0.85;
  flex-shrink: 0;
}
.contact-item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.contact-item p {
  color: var(--color-dark-gray);
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-map {
  width: 100%;
  max-width: 1100px;
  margin: 30px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.contact-map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 3rem;
  margin-bottom: 4rem;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
.contact-buttons .btn {
  border-radius: 8px;
  padding: 14px 28px;
}


/* ============================================
   VESTUARIO PRO (FIX FINAL INTERCALADO + CARD + ANIMACIÓN)
   ============================================ */

.vestuario {
  background-color: var(--color-section-bg);
}
.vestuario-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 50px;
}
.vestuario-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  transition: all 0.8s ease;
}
.vestuario-row.reverse .vestuario-img {
  order: 2;
}
.vestuario-row.reverse .vestuario-text {
  order: 1;
  margin-left: auto;
}
.vestuario-row.reveal {
  opacity: 0;
  transform: translateX(-60px);
}
.vestuario-row.reveal.active {
  opacity: 1;
  transform: translateX(0);
}
.vestuario-row.reverse.reveal {
  transform: translateX(60px);
}
.vestuario-row.reverse.reveal.active {
  transform: translateX(0);
}
.vestuario-img {
  display: flex;
  justify-content: center;
}
.vestuario-img img {
  width: 100%;
  max-width: 380px;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.vestuario-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}
.vestuario-text {
  max-width: 420px;
  background: var(--color-white);
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vestuario-text:hover {
  transform: scale(1.04);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.vestuario-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.vestuario-text p {
  color: var(--color-dark-gray);
  line-height: 1.7;
  font-size: 1rem;
}
.vestuario-row.reverse .vestuario-text {
  margin-left: auto;
}

/* ============================================
   FIX FINAL ESPACIO
   ============================================ */

section {
  padding: 80px 0;
  scroll-margin-top: 120px;
}

section:last-of-type {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
html, body {
  overflow-x: hidden;
}

/* ============================================
   FOOTER — MARCO PROFESIONAL
   ============================================ */

.footer {
  background: var(--color-section-bg);
  color: var(--color-black);
  padding: 3.5rem 0 2.75rem;
  border-top: 1px solid rgba(26, 26, 26, 0.06);
}
.footer .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-frame {
  position: relative;
  background: var(--color-white);
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 14px;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 40px rgba(0, 0, 0, 0.07),
    0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  text-align: center;
}

.footer-section h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--color-black);
  position: relative;
  padding-bottom: 0.65rem;
}
.footer-brand h4 {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  max-width: 260px;
  margin: 0.35rem auto 0;
  line-height: 1.65;
}
.footer-section:not(.footer-brand) h4::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 2.25rem;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.footer-section p,
.footer-section li,
.footer-section a {
  color: var(--color-dark-gray);
  font-size: 0.92rem;
  line-height: 1.65;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section li {
  margin-bottom: 0.55rem;
}
.footer-section a {
  display: inline-block;
  border-bottom: 1px solid transparent;
}
.footer-section a:hover {
  color: var(--color-black);
  border-bottom-color: rgba(26, 26, 26, 0.25);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-dark-gray);
  opacity: 0.92;
}

/* =========================
   REDES FOOTER
   ========================= */

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-light-gray);
  border: 1px solid rgba(26, 26, 26, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease, border-color 0.25s ease;
}
.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background: var(--color-white);
  border-color: rgba(26, 26, 26, 0.1);
}
.footer-social a:nth-child(1):hover {
  background: #E1306C;
  color: #fff;
  border-color: transparent;
}
.footer-social a:nth-child(2):hover {
  background: #1877F2;
  color: #fff;
  border-color: transparent;
}
.footer-social a:nth-child(3):hover {
  background: #25D366;
  color: #fff;
  border-color: transparent;
}



@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-content {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

