/* ============ Variables de marca — cambiar aquí colores cuando llegue el logo ============ */
:root {
  --bg: #111114;
  --bg-alt: #1a1a1f;
  --surface: #222228;
  --text: #f2f2f2;
  --text-muted: #a5a5ad;
  --accent: #e0242b;      /* rojo boxeo */
  --accent-dark: #b01c22;
  --whatsapp: #25d366;
  --radius: 14px;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; }

.accent { color: var(--accent); }

/* ============ Botones ============ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { border: 2px solid var(--text-muted); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--small { padding: 8px 18px; background: var(--accent); }
.btn--whatsapp { background: var(--whatsapp); color: #0b1a10; font-weight: 700; margin-top: 12px; }

/* ============ Navegación ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a2a30;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.nav__logo-badge {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.1rem;
}
.nav__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1080px) { .nav__name-prefix { display: none; } }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav__links a:not(.btn):hover { color: var(--accent); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); display: block; }

/* ============ Hero ============ */
.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(224, 36, 43, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero__inner { max-width: 720px; }
.hero__kicker {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(3rem, 8vw, 5.2rem); line-height: 1.0; font-weight: 800; }
.hero__sub { margin: 22px 0 30px; color: var(--text-muted); font-size: 1.15rem; max-width: 560px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__values { display: flex; gap: 12px; list-style: none; margin-top: 44px; flex-wrap: wrap; }
.hero__values li {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--text);
}

/* ============ Secciones ============ */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.section__sub { color: var(--text-muted); margin-bottom: 40px; font-size: 1.05rem; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ============ Tarjetas de clases ============ */
.card {
  background: var(--surface);
  border: 1px solid #2e2e35;
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card__icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ============ Horarios ============ */
.schedule-title { font-size: 1.5rem; margin: 34px 0 14px; }
.schedule-title:first-of-type { margin-top: 0; }
.schedule-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 16px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid #2e2e35; }
.schedule { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 640px; }
.schedule th, .schedule td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #2e2e35; }
.schedule thead th {
  background: var(--accent);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.schedule td:first-child { font-weight: 600; color: var(--accent); white-space: nowrap; }
.schedule tbody tr:last-child td { border-bottom: none; }
.schedule td small { display: block; color: var(--text-muted); font-size: 0.75rem; line-height: 1.3; }
.schedule td small + * { margin-top: 6px; }

/* ============ Etiqueta de edad en tarjetas ============ */
.card__age {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(224, 36, 43, 0.12);
  border: 1px solid rgba(224, 36, 43, 0.4);
  padding: 2px 10px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
  letter-spacing: 0.03em;
}

/* ============ Precios — Socios Fundadores ============ */
.promo-badge {
  display: inline-block;
  background: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.pricing-title { font-size: 1.5rem; margin: 10px 0 14px; }
.pricing-list {
  border: 1px solid #2e2e35;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.pricing-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid #2e2e35;
}
.pricing-list .pricing-row:last-child { border-bottom: none; }
.pricing-row--featured { background: rgba(224, 36, 43, 0.08); }
.pricing-row__icon { font-size: 1.5rem; text-align: center; }
.pricing-row__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; }
.pricing-row__name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; color: var(--text-muted); text-transform: none; }
.pricing-row__old { color: var(--text-muted); text-decoration: line-through; font-weight: 600; font-size: 1.05rem; }
.pricing-row__new { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--accent); white-space: nowrap; }
.pricing-row__new small { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }

.pricing-fisico {
  margin-top: 20px;
  border: 1px solid #2e2e35;
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  padding: 20px;
  align-items: center;
}
.pricing-fisico__rates h4 { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; margin-bottom: 8px; }
.pricing-fisico .pricing-row { grid-template-columns: 1fr auto auto; padding: 10px 0; border-bottom: 1px dashed #2e2e35; }
.pricing-fisico .pricing-row:last-child { border-bottom: none; }
.pricing-fisico .pricing-row__name { font-size: 1.05rem; }
.pricing-fisico__note { color: var(--text-muted); font-size: 0.9rem; border-left: 3px solid var(--accent); padding-left: 14px; }
.pricing-fisico__note strong { color: var(--accent); }

.pricing-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.pricing-info__box {
  border: 1px solid #2e2e35;
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}
.pricing-info__box--warn { border-color: rgba(224, 36, 43, 0.5); }
.pricing-info__box h4 { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; margin-bottom: 10px; }
.pricing-info__box ul { list-style: none; }
.pricing-info__box li { padding: 6px 0; color: var(--text-muted); font-size: 0.95rem; }
.pricing-info__box li strong { color: var(--text); }
.pricing-familiar { margin-top: 18px; color: var(--text-muted); font-size: 0.9rem; }
.pricing-familiar strong { color: var(--text); }
.pricing-cta { margin-top: 26px; text-align: center; }

/* ============ Entrenadores ============ */
.coach { text-align: center; }
.coach__photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #2a2a30, #1c1c22);
  border: 1px solid #2e2e35;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.coach h3 { font-size: 1.3rem; }
.coach__role { color: var(--accent); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.coach p:not(.coach__role) { color: var(--text-muted); font-size: 0.95rem; }

/* ============ Galería ============ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery__item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #26262c, #1a1a20);
  border: 1px solid #2e2e35;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============ Contacto ============ */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: start; }
.contact__info p { margin-bottom: 18px; }
.contact__info a:not(.btn) { color: var(--accent); }
.contact__info .btn { text-decoration: none; }
.map-placeholder, .contact__map iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid #2e2e35;
}
.map-placeholder {
  background: linear-gradient(135deg, #26262c, #1a1a20);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  text-align: center;
}

/* ============ Footer ============ */
.footer { border-top: 1px solid #2a2a30; padding: 26px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: 0.9rem; }
.footer__social { display: flex; gap: 18px; }
.footer__social a { color: var(--text-muted); text-decoration: none; }
.footer__social a:hover { color: var(--accent); }

/* ============ Botón flotante WhatsApp ============ */
.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  z-index: 90;
  transition: transform 0.15s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .pricing-fisico { grid-template-columns: 1fr; }
  .pricing-info { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .pricing-row { grid-template-columns: 1fr auto auto; }
  .pricing-row__icon { display: none; }
}

@media (max-width: 680px) {
  .grid--3 { grid-template-columns: 1fr; }
  .coach__photo { max-width: 320px; margin-inline: auto; }
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 20px;
    border-bottom: 1px solid #2a2a30;
  }
  .nav__links.open { display: flex; }
  .grid--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { gap: 26px; }
  .section { padding: 56px 0; }
}
