/* ============================================================
   LUDUS — CrossFit Box | Industrial/Grunge Theme
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --orange: #FF6A00;
  --orange-dark: #cc5500;
  --orange-light: #ff8533;
  --red-glow: #ff8533;
  --white: #F2F2F2;
  --white-pure: #ffffff;
  --black: #0a0a0a;
  --gray-900: #111111;
  --gray-800: #1a1a1a;
  --gray-700: #222222;
  --gray-600: #2a2a2a;
  --gray-500: #3a3a3a;
  --gray-400: #555555;
  --gray-300: #888888;
  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Rajdhani', 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-orange: 0 4px 30px rgba(255,106,0,0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

/* ---------- UTILITIES ---------- */
.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;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.text-orange {
  color: var(--orange);
}
.text-glow {
  color: var(--orange);
  text-shadow:
    0 0 10px var(--orange),
    0 0 30px rgba(255,106,0,0.5),
    0 0 60px rgba(255,106,0,0.2);
}

/* ---------- NOISE OVERLAY (grunge texture) ---------- */
.hero__noise,
.section__noise,
.clase-gratis__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: var(--white-pure);
  box-shadow: 0 2px 16px rgba(255,106,0,0.3);
}
.btn--primary:hover {
  background: var(--orange-light);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}
.btn--outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover {
  background: var(--white);
  color: var(--black);
}
.btn--whatsapp {
  background: #25D366;
  color: var(--white-pure);
}
.btn--whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}
.btn--sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn--block {
  width: 100%;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(10,10,10,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header__logo {
  display: flex;
  align-items: center;
}
.header__logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.nav__list {
  display: flex;
  gap: 32px;
}
.nav__link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  transition: var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.nav__link:hover,
.nav__link.active {
  color: var(--white);
}
.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}
.header__cta {
  margin-left: 16px;
}
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.header__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__burger.active span:nth-child(2) {
  opacity: 0;
}
.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- NAV DROPDOWN ---------- */
.nav__dropdown {
  position: relative;
}
.nav__arrow {
  font-size: 0.6rem;
  margin-left: 4px;
  transition: var(--transition);
}
.nav__dropdown:hover .nav__arrow {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--gray-800);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius);
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--gray-800);
  border-left: 1px solid var(--gray-600);
  border-top: 1px solid var(--gray-600);
}
.nav__dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--gray-300);
  transition: var(--transition);
  white-space: nowrap;
}
.dropdown__link i {
  font-size: 0.85rem;
  color: var(--orange);
  min-width: 18px;
  text-align: center;
}
.dropdown__link:hover {
  background: rgba(255,106,0,0.08);
  color: var(--white);
  padding-left: 24px;
}
.dropdown__divider {
  height: 1px;
  background: var(--gray-600);
  margin: 6px 16px;
}
.dropdown__link--cta {
  color: var(--orange);
  font-weight: 600;
}
.dropdown__link--cta:hover {
  background: rgba(255,106,0,0.12);
  color: var(--orange-light);
}

/* ---------- HERO CAROUSEL ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero__slides {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* Individual slide */
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  z-index: 0;
}
.hero__slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 6s ease;
}
.hero__slide-bg .hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__slide.active .hero__slide-bg {
  transform: scale(1.06);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.65) 0%,
    rgba(10,10,10,0.8) 50%,
    rgba(10,10,10,0.95) 100%
  );
  z-index: 1;
}
.hero__slide-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px 80px;
}

/* Slide content animations */
.hero__slide .hero__badge,
.hero__slide .hero__title,
.hero__slide .hero__sub,
.hero__slide .hero__actions {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero__slide.active .hero__badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.hero__slide.active .hero__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.hero__slide.active .hero__sub {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}
.hero__slide.active .hero__actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,106,0,0.15);
  border: 1px solid rgba(255,106,0,0.4);
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  color: var(--white);
}
.hero__sub {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.15em;
  color: var(--gray-300);
  margin-bottom: 40px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Arrow controls */
.hero__controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 10;
  pointer-events: none;
}
.hero__arrow {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10,10,10,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: auto;
  backdrop-filter: blur(6px);
}
.hero__arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.1);
}

/* Indicators */
.hero__indicators {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.hero__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.hero__indicator.active {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 10px rgba(255,106,0,0.5);
}
.hero__indicator:hover {
  background: rgba(255,255,255,0.5);
}

/* Progress bar */
.hero__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.08);
  z-index: 10;
}
.hero__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--gray-400);
  font-size: 1.2rem;
  animation: bounce-scroll 2s ease-in-out infinite;
}
@keyframes bounce-scroll {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ---------- SECTIONS COMMON ---------- */
.section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section__subtitle {
  font-size: 1.05rem;
  color: var(--gray-300);
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- GRID ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- ENTRENAMIENTOS ---------- */
.entrenamientos {
  background: var(--gray-900);
}

.card-ent {
  background: var(--gray-800);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card-ent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.card-ent:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(255,106,0,0.15);
}
.card-ent:hover::before {
  transform: scaleX(1);
}
.card-ent__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,106,0,0.1);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--orange);
}
.card-ent__tag {
  display: inline-block;
  background: rgba(255,106,0,0.12);
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.card-ent__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.card-ent__desc {
  color: var(--gray-300);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ---------- HORARIOS ---------- */
.horarios {
  margin-top: 60px;
  background: var(--gray-800);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.horarios__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.horarios__title i {
  color: var(--orange);
}
.horarios__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.chip {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--gray-700);
  color: var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.chip:hover {
  border-color: var(--orange);
  color: var(--white);
}
.chip.active {
  background: var(--orange);
  color: var(--white-pure);
  border-color: var(--orange);
}
.horarios__panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.horario-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-700);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 0.9rem;
  transition: var(--transition);
  min-width: 220px;
}
.horario-item:hover {
  border-color: var(--orange);
}
.horario-item__time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange);
  min-width: 60px;
}
.horario-item__class {
  color: var(--gray-300);
  font-size: 0.85rem;
}

/* ---------- CLASE GRATIS ---------- */
.clase-gratis {
  background: var(--gray-900);
  padding: 100px 0;
  position: relative;
}
.clase-gratis__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,106,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(255,26,26,0.05) 0%, transparent 60%);
}
.clase-gratis__stripe {
  position: absolute;
  top: -40px;
  right: -100px;
  width: 500px;
  height: 600px;
  background: var(--orange);
  opacity: 0.04;
  transform: rotate(-12deg);
  border-radius: 40px;
}
.clase-gratis__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.clase-gratis__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--white);
}
.clase-gratis__glow {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.06em;
  color: var(--orange);
  text-shadow:
    0 0 10px var(--orange),
    0 0 30px rgba(255,106,0,0.4),
    0 0 60px rgba(255,106,0,0.15);
  margin-bottom: 20px;
}
.clase-gratis__text {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: 24px;
  line-height: 1.6;
}
.clase-gratis__benefits {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.clase-gratis__benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--white);
}
.clase-gratis__benefits i {
  color: var(--orange);
  font-size: 1.1rem;
}
.clase-gratis__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Form */
.clase-gratis__form-wrap {
  background: var(--gray-800);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.clase-gratis__form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}
.form-clase__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  text-align: center;
}
.form-group {
  margin-bottom: 16px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--gray-700);
  border: 1px solid var(--gray-500);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input::placeholder {
  color: var(--gray-400);
}
.form-group select {
  appearance: none;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,106,0,0.15);
}
.form-group select option {
  background: var(--gray-700);
  color: var(--white);
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 20px 0;
}
.form-success__icon {
  font-size: 3rem;
  color: #25D366;
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.form-success p {
  color: var(--gray-300);
  margin-bottom: 24px;
}

/* ---------- PLANES ---------- */
.planes {
  background: var(--black);
}

.card-plan {
  background: var(--gray-800);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.card-plan:hover {
  transform: translateY(-6px);
  border-color: var(--gray-500);
}
.card-plan--featured {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(255,106,0,0.08) 0%, var(--gray-800) 40%);
}
.card-plan--featured:hover {
  border-color: var(--orange-light);
  box-shadow: 0 8px 40px rgba(255,106,0,0.15);
}
.card-plan__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white-pure);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 6px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.card-plan__sessions {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.card-plan__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 20px;
}
.card-plan__old {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.card-plan__price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--orange);
  line-height: 1;
}
.card-plan__per {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.planes__cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- TESTIMONIOS ---------- */
.testimonios {
  background: var(--gray-900);
}

.slider {
  position: relative;
  overflow: hidden;
}
.slider__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial {
  min-width: 100%;
  padding: 0 40px;
  text-align: center;
  flex-shrink: 0;
}
.testimonial__stars {
  color: var(--orange);
  font-size: 1rem;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.testimonial__text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 20px;
  font-style: italic;
}
.testimonial__author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.slider__btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-700);
  border: 1px solid var(--gray-500);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}
.slider__btn:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.slider__dots {
  display: flex;
  gap: 8px;
}
.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.slider__dot.active {
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255,106,0,0.4);
}

/* ---------- CONTACTO ---------- */
.contacto {
  background: var(--black);
}

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contacto__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-600);
}
.map-placeholder {
  background: var(--gray-800);
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-400);
}
.map-placeholder i {
  font-size: 2.5rem;
  color: var(--orange);
}
.map-placeholder p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}
.map-placeholder small {
  font-size: 0.8rem;
}

.contacto__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contacto__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--gray-800);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.contacto__item:hover {
  border-color: var(--orange);
}
.contacto__item > i {
  font-size: 1.3rem;
  color: var(--orange);
  margin-top: 2px;
  min-width: 24px;
  text-align: center;
}
.contacto__item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contacto__item p {
  color: var(--gray-300);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- SUSCRIPCIÓN ---------- */
.suscripcion {
  background: var(--gray-800);
  position: relative;
  overflow: hidden;
}
.suscripcion::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(255,106,0,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.suscripcion__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.suscripcion__text {
  flex: 1;
  min-width: 0;
}
.suscripcion__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--white);
  margin: 0 0 10px;
}
.suscripcion__title i {
  color: var(--orange);
  margin-right: 10px;
}
.suscripcion__desc {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.6;
  max-width: 420px;
}
.suscripcion__form {
  flex: 1;
  min-width: 0;
  max-width: 480px;
}
.suscripcion__fields {
  display: flex;
  gap: 10px;
}
.suscripcion__field {
  flex: 1;
  min-width: 0;
}
.suscripcion__field input {
  width: 100%;
  padding: 14px 18px;
  background: var(--gray-900);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.suscripcion__field input::placeholder {
  color: var(--gray-400);
}
.suscripcion__field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,106,0,0.12);
}
.suscripcion__btn {
  flex-shrink: 0;
  padding: 14px 28px;
  white-space: nowrap;
}
.suscripcion__disclaimer {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 10px;
  text-align: right;
}

@media (max-width: 900px) {
  .suscripcion__inner {
    flex-direction: column;
    text-align: center;
  }
  .suscripcion__desc {
    max-width: 100%;
  }
  .suscripcion__form {
    max-width: 100%;
    width: 100%;
  }
  .suscripcion__fields {
    flex-direction: column;
  }
  .suscripcion__btn {
    width: 100%;
  }
  .suscripcion__disclaimer {
    text-align: center;
  }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}
.footer__top-line {
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
  background-size: 200% 100%;
  animation: footer-line-shift 4s ease infinite;
}
@keyframes footer-line-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
/* Footer CTA Banner */
.footer__cta-banner {
  background: linear-gradient(135deg, #1a1000 0%, #0d0d0d 50%, #1a1000 100%);
  border-bottom: 1px solid rgba(255,106,0,0.15);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.footer__cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,106,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.footer__cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.footer__cta-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 6px;
}
.footer__cta-title i {
  color: var(--orange);
  margin-right: 8px;
}
.footer__cta-banner-text p {
  font-size: 1rem;
  color: var(--gray-400);
}
.footer__cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* Footer Grid */
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1.1fr 1.1fr;
  gap: 52px;
  padding: 68px 0 56px;
  position: relative;
}
.footer__grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
}

/* Col: Brand */
.footer__col--brand {
  padding-right: 32px;
  border-right: 1px solid var(--gray-800);
}
.footer__logo {
  display: inline-block;
  margin-bottom: 18px;
  transition: opacity var(--transition);
}
.footer__logo:hover {
  opacity: 0.8;
}
.footer__logo-img {
  height: 50px;
  width: auto;
  display: block;
}
.footer__tagline {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer__social {
  display: flex;
  gap: 8px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gray-700);
  color: var(--gray-400);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer__social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white-pure);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(255,106,0,0.35);
}

/* Col: Headings */
.footer__heading {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}
.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255,106,0,0.3);
}

/* Col: Links */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer__links li {
  list-style: none;
}
.footer__links a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 7px 0;
  position: relative;
}
.footer__links a::before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin-right: 0;
}
.footer__links a:hover {
  color: var(--white);
  padding-left: 6px;
}
.footer__links a:hover::before {
  width: 14px;
  margin-right: 8px;
}

/* Col: Contact */
.footer__contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray-400);
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}
.footer__contact-line:hover {
  color: var(--white);
  background: rgba(255,255,255,0.03);
}
.footer__contact-line i {
  color: var(--orange);
  font-size: 0.85rem;
  min-width: 18px;
  text-align: center;
  transition: transform 0.25s ease;
}
.footer__contact-line:hover i {
  transform: scale(1.15);
}

/* Col: Map */
.footer__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-700);
  transition: all 0.35s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.footer__map:hover {
  border-color: var(--orange);
  box-shadow: 0 6px 24px rgba(255,106,0,0.12);
}
.footer__map iframe {
  display: block;
  filter: grayscale(0.5) brightness(0.65) contrast(1.15);
  transition: filter 0.5s ease;
}
.footer__map:hover iframe {
  filter: grayscale(0.15) brightness(0.85) contrast(1.05);
}
.footer__map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-300);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}
.footer__map-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white-pure);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,106,0,0.3);
}
.footer__map-btn i {
  font-size: 0.85rem;
}

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid var(--gray-800);
  padding: 22px 0;
  margin-top: 0;
  background: rgba(0,0,0,0.15);
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-size: 0.78rem;
  color: var(--gray-500);
  letter-spacing: 0.01em;
}
.footer__copy strong {
  color: var(--orange);
  font-weight: 700;
}
.footer__credit {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  width: 100%;
  padding: 10px 0 4px;
}
.footer__credit-link {
  color: var(--orange);
  font-weight: 600;
  transition: var(--transition);
}
.footer__credit-link:hover {
  color: var(--orange-light);
  text-decoration: underline;
}
.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__bottom-links a {
  font-size: 0.78rem;
  color: var(--gray-500);
  transition: var(--transition);
}
.footer__bottom-links a:hover {
  color: var(--orange);
}
.footer__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-600);
}

/* ---------- WHATSAPP FLOAT + MESSAGE ---------- */
.whatsapp-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.whatsapp-msg {
  background: var(--white-pure);
  color: var(--gray-900);
  border-radius: var(--radius-lg);
  padding: 16px 40px 16px 18px;
  max-width: 280px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.3);
  position: relative;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.whatsapp-msg.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.whatsapp-msg::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 26px;
  width: 16px;
  height: 16px;
  background: var(--white-pure);
  transform: rotate(45deg);
  border-radius: 2px;
}
.whatsapp-msg__text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #1a1a1a;
}
.whatsapp-msg__text strong {
  color: #25D366;
}
.whatsapp-msg__close {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-400);
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
  line-height: 1;
}
.whatsapp-msg__close:hover {
  background: rgba(0,0,0,0.06);
  color: var(--gray-900);
}
.whatsapp-wrap__buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.whatsapp-float {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white-pure);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-wa 2s ease-in-out infinite;
  flex-shrink: 0;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}
@keyframes pulse-wa {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  }
  50% {
    box-shadow:
      0 4px 20px rgba(37,211,102,0.4),
      0 0 0 12px rgba(37,211,102,0.1);
  }
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  width: 60px;
  height: 60px;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .clase-gratis__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contacto__grid {
    grid-template-columns: 1fr;
  }
  .footer__cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer__cta-banner-actions {
    justify-content: center;
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--gray-900);
    border-left: 1px solid var(--gray-700);
    padding: 100px 32px 40px;
    transition: var(--transition);
    z-index: 999;
  }
  .header__nav.open {
    right: 0;
  }
  .nav__list {
    flex-direction: column;
    gap: 24px;
  }
  .nav__link {
    font-size: 1.1rem;
  }
  .header__cta {
    display: none;
  }
  .header__burger {
    display: flex;
  }

  .nav__dropdown {
    position: static;
  }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: var(--gray-800);
    border: none;
    border-left: 2px solid var(--orange);
    border-radius: 0;
    box-shadow: none;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0 0 0 16px;
    transition: max-height 0.35s ease, padding 0.35s ease, margin 0.35s ease;
  }
  .dropdown::before {
    display: none;
  }
  .nav__dropdown.open .dropdown {
    max-height: 300px;
    padding: 10px 0 10px 16px;
    margin-top: 12px;
  }
  .dropdown__link {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
  .dropdown__link:hover {
    padding-left: 18px;
  }
  .nav__arrow {
    transition: var(--transition);
  }
  .nav__dropdown.open .nav__arrow {
    transform: rotate(180deg);
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  .hero__arrow {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }
  .hero__controls {
    padding: 0 12px;
  }
  .hero__indicators {
    bottom: 70px;
  }
  .hero__indicator {
    width: 10px;
    height: 10px;
  }

  .horarios {
    padding: 24px;
  }
  .horarios__chips {
    gap: 8px;
  }
  .chip {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .clase-gratis__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .clase-gratis__form-wrap {
    padding: 28px;
  }
  .clase-gratis__actions {
    flex-direction: column;
  }

  .testimonial {
    padding: 0 16px;
  }
  .testimonial__text {
    font-size: 1rem;
  }

  .footer__cta-banner {
    padding: 36px 0;
  }
  .footer__cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .footer__cta-banner-actions .btn {
    width: 100%;
    text-align: center;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 32px;
    text-align: center;
  }
  .footer__col--brand {
    padding-right: 0;
  }
  .footer__heading::after {
    margin: 0 auto;
  }
  .footer__links a {
    justify-content: center;
  }
  .footer__social {
    justify-content: center;
  }
  .footer__contact-line {
    justify-content: center;
  }
  .footer__map {
    max-width: 360px;
    margin: 0 auto;
  }
  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .hero__badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
  .btn--lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  .card-ent {
    padding: 28px 20px;
  }
  .card-plan {
    padding: 32px 20px;
  }
  .horario-item {
    min-width: 100%;
  }
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
