/* =========================================================
   GALPÓN 3 · style.css
   Landing oscura, deportiva, premium.
   Verde G3 principal · Wellness morado/lila
   ========================================================= */

/* ---------- 1. VARIABLES ---------- */
:root {
  --g3-green: #C7D92C;
  --g3-green-dark: #A8B821;
  --g3-black: #070A09;
  --g3-dark: #0D1210;
  --g3-card: #141A17;
  --g3-card-soft: #1A211D;
  --g3-border: rgba(255,255,255,0.10);
  --g3-white: #FFFFFF;
  --g3-muted: rgba(255,255,255,0.72);
  --g3-soft: rgba(255,255,255,0.06);
  --g3-purple: #8B5CF6;
  --g3-purple-soft: #C084FC;
  --g3-purple-dark: #5B21B6;
  --g3-pink: #F472B6;
  --g3-yellow: #FACC15;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;

  --shadow-soft: 0 10px 40px rgba(0,0,0,0.35);
  --shadow-glow: 0 20px 60px rgba(199,217,44,0.18);

  --font-display: "Barlow Condensed", "Bebas Neue", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1200px;
  --container-narrow: 880px;
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--g3-black);
  color: var(--g3-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0 0 16px;
}
h1 { font-weight: 800; }
h2 { font-weight: 800; letter-spacing: 0; }
h3 { font-weight: 700; letter-spacing: 0.005em; }
h4 { font-weight: 700; letter-spacing: 0.01em; }

/* Marca destacada: "Galpón" blanco / "3" verde */
.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
}
.brand-word span { color: var(--g3-white); }
.brand-word strong {
  color: var(--g3-green);
  font-weight: 800;
}

p { margin: 0 0 14px; }

/* Selección de texto */
::selection { background: var(--g3-green); color: var(--g3-black); }

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); }

.section {
  padding: 110px 0;
  position: relative;
}
.section-alt {
  background: var(--g3-dark);
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g3-green);
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(199,217,44,0.30);
  border-radius: 999px;
  background: rgba(199,217,44,0.08);
}

.section h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  margin-bottom: 18px;
}
.section-lead {
  color: var(--g3-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin-bottom: 56px;
}

.text-green { color: var(--g3-green); }
.text-wellness { color: var(--g3-purple-soft); }

/* ---------- 4. HEADER ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s ease, backdrop-filter .3s ease, padding .3s ease;
}
.site-header.is-scrolled {
  background: rgba(7,10,9,0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--g3-border);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  background: transparent;
}
.brand-logo {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--g3-white);
  opacity: 0.85;
  transition: color .2s ease, opacity .2s ease;
  position: relative;
}
.primary-nav a:hover { opacity: 1; color: var(--g3-green); }

/* Wellness en morado/lila */
.nav-wellness {
  color: var(--g3-purple-soft) !important;
  font-weight: 900 !important;
  opacity: 1 !important;
  position: relative;
}
.nav-wellness::after {
  content: "pronto";
  font-size: 0.55rem;
  text-transform: uppercase;
  background: var(--g3-purple);
  color: #fff;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.btn-nav { padding: 11px 20px; font-size: 0.9rem; }

/* Toggle móvil */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--g3-border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--g3-white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- 5. BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 12px;
  border: 1px solid transparent;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--g3-green);
  color: var(--g3-black);
  box-shadow: 0 12px 30px rgba(199,217,44,0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--g3-green-dark);
  box-shadow: 0 18px 40px rgba(199,217,44,0.36);
}
.btn-secondary {
  background: transparent;
  color: var(--g3-white);
  border-color: var(--g3-border);
}
.btn-secondary:hover {
  border-color: var(--g3-green);
  color: var(--g3-green);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--g3-black);
  color: var(--g3-green);
  border: 1px solid rgba(7,10,9,0.5);
}
.btn-dark:hover { transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  color: var(--g3-black);
  border: 2px solid var(--g3-black);
}
.btn-outline-dark:hover { background: var(--g3-black); color: var(--g3-green); }

.btn-block { width: 100%; }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--g3-white);
  background: var(--g3-black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("banner-galpon.jpg") center/cover no-repeat,
    linear-gradient(135deg, #0a1410 0%, #1a2418 60%, #0a1410 100%);
  opacity: 0.22;
  filter: contrast(1.05) brightness(0.75);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 30%, rgba(199,217,44,0.10), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(199,217,44,0.06), transparent 40%),
    linear-gradient(90deg, rgba(7,10,9,0.94), rgba(7,10,9,0.72), rgba(7,10,9,0.92)),
    linear-gradient(180deg, rgba(7,10,9,0.25), rgba(7,10,9,1));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 150px 0 100px;
}
.hero .section-kicker {
  color: var(--g3-green);
  background: rgba(199,217,44,0.08);
  border-color: rgba(199,217,44,0.30);
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 26px;
}
.highlight-green {
  display: block;
  color: var(--g3-green);
}
.hero p {
  color: var(--g3-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  max-width: 680px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 46px;
}
.hero-stats div {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  min-width: 140px;
}
.hero-stats strong {
  display: block;
  color: var(--g3-green);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}
.hero-stats span {
  color: var(--g3-muted);
  font-size: 0.85rem;
  display: block;
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
}
.hero-scroll span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--g3-green);
  border-radius: 3px;
  margin: 6px auto;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ---------- 7. GRIDS REUTILIZABLES ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

/* ---------- 8. CARDS GENÉRICAS (comunidad) ---------- */
.card {
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(199,217,44,0.35);
  background: var(--g3-card-soft);
}
.card-icon,
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(199,217,44,0.10);
  border: 1px solid rgba(199,217,44,0.22);
  color: var(--g3-green);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card-icon svg,
.icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.card p {
  color: var(--g3-muted);
  font-size: 0.97rem;
}

/* ---------- 9. BENEFICIOS ---------- */
.benefit {
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease;
}
.benefit:hover {
  transform: translateY(-3px);
  border-color: rgba(199,217,44,0.30);
}
.benefit-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--g3-green);
  display: block;
  margin-bottom: 8px;
}
.benefit h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.benefit p {
  color: var(--g3-muted);
  font-size: 0.95rem;
}

/* ---------- 10. CLASES ---------- */
.class-card {
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease;
}
.class-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199,217,44,0.40);
}
.class-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.class-card h3 {
  font-size: 2.4rem;
  margin: 0;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--g3-muted);
  border: 1px solid var(--g3-border);
}
.tag-green {
  background: rgba(199,217,44,0.14);
  color: var(--g3-green);
  border-color: rgba(199,217,44,0.30);
}
.class-card p {
  color: var(--g3-muted);
  margin-bottom: 18px;
}
.class-card ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex-grow: 1;
}
.class-card ul li {
  padding-left: 24px;
  position: relative;
  color: var(--g3-muted);
  margin-bottom: 8px;
}
.class-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  background: var(--g3-green);
  border-radius: 3px;
  transform: rotate(45deg);
}

/* ---------- 11. CLASE DE PRUEBA / FORM ---------- */
.trial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.trial-copy h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.trial-copy p { color: var(--g3-muted); font-size: 1.05rem; }
.trial-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.trial-bullets li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--g3-white);
}
.trial-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--g3-green);
  color: var(--g3-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
}
.trial-note {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--g3-green);
  margin-top: 22px;
}

.trial-form {
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g3-muted);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-sm);
  color: var(--g3-white);
  padding: 13px 15px;
  font-family: inherit;
  font-size: 0.97rem;
  transition: border-color .2s, background .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--g3-green);
  background: rgba(0,0,0,0.5);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-foot {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 14px;
  margin-bottom: 0;
}

/* ---------- 12. PLANES ---------- */
.plan-card {
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease;
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199,217,44,0.30);
}
.plan-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--g3-green);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.plan-desc { color: var(--g3-muted); font-size: 0.95rem; margin-bottom: 14px; }
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}
.plan-card ul li {
  padding-left: 22px;
  position: relative;
  color: var(--g3-muted);
  margin-bottom: 8px;
  font-size: 0.93rem;
}
.plan-card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--g3-green);
  font-weight: 900;
}
.plan-card-featured {
  background: linear-gradient(160deg, rgba(199,217,44,0.08), var(--g3-card));
  border-color: rgba(199,217,44,0.40);
  box-shadow: var(--shadow-glow);
}
.plan-card .plan-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--g3-green);
  color: var(--g3-black);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- 13. ENTRENAMIENTO PERSONALIZADO ---------- */
.step-card {
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease;
}
.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(199,217,44,0.30);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--g3-green);
  color: var(--g3-black);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 14px;
}
.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.step-card p {
  color: var(--g3-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- 14. WELLNESS (morado/lila) ---------- */
.wellness-landing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 25%, rgba(139, 92, 246, 0.38), transparent 35%),
    radial-gradient(circle at 45% 70%, rgba(244, 114, 182, 0.16), transparent 35%),
    linear-gradient(135deg, #080910 0%, #151026 55%, #090B10 100%);
  padding: 120px 0;
  border-top: 1px solid rgba(139, 92, 246, 0.28);
  border-bottom: 1px solid rgba(139, 92, 246, 0.28);
}
.wellness-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.wellness-badge,
.wellness-plan-card .plan-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: var(--g3-purple-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  position: static;
}
.wellness-copy h2 {
  color: #fff;
  font-size: clamp(2.3rem, 4.8vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 24px;
}
.wellness-copy p {
  max-width: 680px;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}
.wellness-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.wellness-tags span {
  background: rgba(139, 92, 246, 0.16);
  color: #fff;
  border: 1px solid rgba(192, 132, 252, 0.25);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}
.wellness-plan-card {
  background:
    linear-gradient(160deg, rgba(139, 92, 246, 0.96), rgba(91, 33, 182, 0.88)),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(216, 180, 254, 0.35);
  border-radius: 30px;
  padding: 36px;
  color: #fff;
  box-shadow: 0 30px 90px rgba(91, 33, 182, 0.42);
}
.wellness-plan-card h3 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: #fff;
}
.wellness-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.wellness-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: #fff;
}
.wellness-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--g3-purple-soft);
  font-size: 0.95rem;
}
.wellness-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 22px;
  color: #fff;
  opacity: 0.95;
}
.btn-wellness {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(90deg, var(--g3-pink), var(--g3-purple-soft));
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 16px 20px;
  font-weight: 900;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-wellness:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(244, 114, 182, 0.45);
}

/* ---------- 15. HORARIOS ---------- */
.schedule-wrap {
  overflow-x: auto;
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-lg);
  padding: 8px;
}
.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
}
.schedule-table th,
.schedule-table td {
  padding: 14px 12px;
  text-align: center;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--g3-border);
}
.schedule-table thead th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--g3-green);
  border-bottom: 2px solid rgba(199,217,44,0.30);
  padding: 18px 12px;
}
.schedule-table tbody th {
  text-align: left;
  font-family: var(--font-display);
  color: var(--g3-white);
  font-size: 1.05rem;
  padding-left: 18px;
  font-weight: 800;
}
.schedule-table tbody tr:hover {
  background: rgba(255,255,255,0.025);
}
.schedule-table tbody tr:last-child td,
.schedule-table tbody tr:last-child th { border-bottom: 0; }

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-green {
  background: rgba(199,217,44,0.15);
  color: var(--g3-green);
  border: 1px solid rgba(199,217,44,0.35);
}
.badge-purple {
  background: rgba(139, 92, 246, 0.18);
  color: var(--g3-purple-soft);
  border: 1px solid rgba(192, 132, 252, 0.35);
}
.badge-yellow {
  background: rgba(250, 204, 21, 0.14);
  color: var(--g3-yellow);
  border: 1px solid rgba(250, 204, 21, 0.35);
}

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
  color: var(--g3-muted);
  font-size: 0.9rem;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.dot-green { background: var(--g3-green); }
.dot-yellow { background: var(--g3-yellow); }
.dot-purple { background: var(--g3-purple); }

/* ---------- 16. INSTAGRAM CAROUSEL ---------- */
.instagram-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 320px);
  gap: 18px;
  overflow-x: auto;
  padding: 20px 0 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--g3-green) transparent;
}
.instagram-carousel::-webkit-scrollbar { height: 8px; }
.instagram-carousel::-webkit-scrollbar-thumb { background: var(--g3-green); border-radius: 4px; }
.instagram-carousel::-webkit-scrollbar-track { background: transparent; }

.instagram-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(135deg, var(--g3-card), var(--g3-card-soft));
  border: 1px solid var(--g3-border);
  scroll-snap-align: start;
  text-decoration: none;
  transition: transform .3s ease, border-color .3s ease;
}
.instagram-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform .3s ease, opacity .3s ease;
}
.instagram-card span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(7,10,9,0.78);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  z-index: 2;
}
.instagram-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199,217,44,0.35);
}
.instagram-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}
/* Fallback cuando la imagen no existe */
.instagram-card.ig-fallback {
  background:
    repeating-linear-gradient(45deg, rgba(199,217,44,0.06), rgba(199,217,44,0.06) 12px, transparent 12px, transparent 24px),
    linear-gradient(135deg, var(--g3-card), var(--g3-card-soft));
}
.instagram-card.ig-fallback::before {
  content: "📸";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0.5;
}

/* ---------- 17. GALERÍA ---------- */
.gallery-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 420px);
  gap: 20px;
  overflow-x: auto;
  padding: 22px 0 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--g3-green) transparent;
}
.gallery-carousel::-webkit-scrollbar { height: 8px; }
.gallery-carousel::-webkit-scrollbar-thumb { background: var(--g3-green); border-radius: 4px; }
.gallery-carousel::-webkit-scrollbar-track { background: transparent; }

.gallery-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--g3-card), var(--g3-card-soft));
  border: 1px solid var(--g3-border);
  min-height: 360px;
  scroll-snap-align: start;
  transition: transform .3s ease, border-color .3s ease;
}
.gallery-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-card figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(7,10,9,0.78);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  z-index: 2;
}
.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199,217,44,0.35);
}
.gallery-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}
.gallery-card.g-fallback {
  background:
    radial-gradient(circle at 30% 30%, rgba(199,217,44,0.10), transparent 50%),
    linear-gradient(135deg, var(--g3-card), var(--g3-card-soft));
  min-height: 360px;
}
.gallery-card.g-fallback::before {
  content: "🏋️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.4rem;
  opacity: 0.4;
}

/* ---------- 18. TESTIMONIOS ---------- */
.testimonial-card {
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .3s ease, border-color .3s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(199,217,44,0.30);
}
.stars {
  color: var(--g3-green);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-card blockquote {
  margin: 0 0 16px;
  color: var(--g3-white);
  font-size: 1.02rem;
  line-height: 1.65;
  font-style: italic;
}
.testimonial-card cite {
  color: var(--g3-muted);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
}

/* ---------- 19. FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}
.faq-item {
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-md);
  padding: 6px 24px;
  transition: border-color .3s ease, background .3s ease;
}
.faq-item[open] {
  border-color: rgba(199,217,44,0.30);
  background: var(--g3-card-soft);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--g3-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--g3-green);
  transition: transform .3s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--g3-muted);
  padding: 0 0 18px;
  margin: 0;
  line-height: 1.7;
}
.faq-item a { color: var(--g3-green); }
.faq-item a:hover { text-decoration: underline; }

/* ---------- 20. CTA FINAL ---------- */
.cta-final {
  background:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,0.10), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,0.06), transparent 50%),
    linear-gradient(135deg, var(--g3-green) 0%, var(--g3-green-dark) 100%);
  padding: 100px 0;
  color: var(--g3-black);
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  margin-bottom: 18px;
  color: var(--g3-black);
}
.cta-brand {
  font-family: var(--font-display);
  position: relative;
  display: inline-block;
}
.cta-final p {
  font-size: 1.15rem;
  color: rgba(7,10,9,0.78);
  max-width: 640px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- 21. FOOTER ---------- */
.site-footer {
  background: var(--g3-black);
  color: var(--g3-muted);
  padding: 70px 0 0;
  border-top: 1px solid var(--g3-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-bottom: 16px;
}
.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--g3-white);
}
.footer-brand p { color: var(--g3-muted); font-size: 0.92rem; }
.site-footer h4 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g3-green);
  margin-bottom: 18px;
  font-family: var(--font-body);
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}
.footer-list a {
  color: var(--g3-muted);
  transition: color .2s ease;
}
.footer-list a:hover { color: var(--g3-green); }

.footer-bottom {
  border-top: 1px solid var(--g3-border);
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
.footer-bottom p { margin: 0; }

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wellness-layout, .trial-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .wellness-landing { padding: 90px 0; }

  /* Header móvil */
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(7,10,9,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
    z-index: 99;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .primary-nav ul li {
    border-bottom: 1px solid var(--g3-border);
  }
  .primary-nav ul li a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
  }
  .btn-nav { width: 100%; margin-top: 12px; }

  /* Hero */
  .hero { min-height: 88vh; }
  .hero-content { padding: 130px 0 80px; }
  .hero-stats div { flex: 1 1 30%; min-width: 0; padding: 12px 14px; }
  .hero-stats strong { font-size: 1.5rem; }

  /* Grids */
  .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; }

  /* Clases */
  .class-card h3 { font-size: 2rem; }

  /* Wellness */
  .wellness-copy h2 { font-size: 2.4rem; }
  .wellness-plan-card { padding: 26px; }

  /* CTA */
  .cta-actions .btn { width: 100%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 70px 0; }
  .hero h1 { font-size: 2.6rem; }
  .section h2 { font-size: 2rem; }
  .btn { padding: 13px 22px; font-size: 0.88rem; }
  .trial-form { padding: 26px 22px; }
  .brand-text { display: none; }
}

/* ---------- 23. PÁGINAS INTERNAS (page-hero, section--dark, etc.) ---------- */
.page-hero {
  padding: 180px 0 80px;
  background:
    radial-gradient(circle at 20% 30%, rgba(199,217,44,0.10), transparent 40%),
    linear-gradient(180deg, var(--g3-black) 0%, var(--g3-dark) 100%);
  border-bottom: 1px solid var(--g3-border);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.page-hero p {
  color: var(--g3-muted);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0;
}
.breadcrumbs {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g3-muted);
  margin-bottom: 22px;
  font-weight: 700;
}
.breadcrumbs a { color: var(--g3-green); }
.breadcrumbs span { margin: 0 8px; opacity: 0.5; }

.section--dark { background: var(--g3-dark); }
.section--darker { background: var(--g3-black); }
.section-head {
  text-align: left;
  max-width: 800px;
  margin-bottom: 50px;
}
.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--g3-muted);
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .cards-grid { grid-template-columns: 1fr; } }

.final-cta {
  background:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,0.10), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,0.06), transparent 50%),
    linear-gradient(135deg, var(--g3-green) 0%, var(--g3-green-dark) 100%);
  padding: 100px 0;
  color: var(--g3-black);
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  color: var(--g3-black);
  margin-bottom: 18px;
}
.final-cta p {
  color: rgba(7,10,9,0.78);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 36px;
}
.final-cta .hero-actions { justify-content: center; }
.final-cta .btn-primary {
  background: var(--g3-black);
  color: var(--g3-green);
}
.final-cta .btn-primary:hover { background: #000; }
.final-cta .btn-secondary {
  color: var(--g3-black);
  border-color: var(--g3-black);
}
.final-cta .btn-secondary:hover { background: var(--g3-black); color: var(--g3-green); }

/* Footer legacy con .footer-col */
.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g3-green);
  margin-bottom: 18px;
  font-family: var(--font-body);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}
.footer-col ul a {
  color: var(--g3-muted);
  transition: color .2s ease;
}
.footer-col ul a:hover { color: var(--g3-green); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--g3-border);
  color: var(--g3-muted);
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.footer-social a:hover {
  color: var(--g3-green);
  background: rgba(199,217,44,0.08);
  border-color: rgba(199,217,44,0.30);
  transform: translateY(-2px);
}

/* Página de contacto y formularios genéricos */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info {
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-info li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--g3-border);
  font-size: 0.95rem;
}
.contact-info li:last-child { border-bottom: 0; }
.contact-info li strong {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--g3-green);
  display: block;
  margin-bottom: 4px;
}
.contact-info a { color: var(--g3-white); }
.contact-info a:hover { color: var(--g3-green); }

/* 404 */
.error-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(199,217,44,0.12), transparent 50%),
    linear-gradient(180deg, var(--g3-black) 0%, var(--g3-dark) 100%);
}
.error-hero .error-num {
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 18rem);
  line-height: 1;
  color: var(--g3-green);
  margin: 0 0 16px;
  letter-spacing: -0.05em;
}
.error-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 14px;
}
.error-hero p {
  color: var(--g3-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 32px;
}

/* ---------- 23.5 BANNER STRIP (franja visual opcional) ---------- */
.banner-strip {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  background: var(--g3-black);
  border-top: 1px solid var(--g3-border);
  border-bottom: 1px solid var(--g3-border);
  padding: 60px 0;
}
.banner-strip-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7,10,9,0.92), rgba(7,10,9,0.55), rgba(7,10,9,0.92)),
    url("banner-galpon.jpg") center/cover no-repeat,
    linear-gradient(135deg, #0a1410, #1a2418);
  opacity: 0.45;
  filter: contrast(1.05) brightness(0.75);
}
.banner-strip-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.banner-strip-content h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
  font-weight: 800;
}
.banner-strip-content p {
  color: var(--g3-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0;
}

/* ---------- 23.6 PRECIO POR CONFIRMAR (placeholder editable) ---------- */
.plan-price--tbd {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--g3-muted);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.plan-price--tbd::before {
  content: "$";
  display: inline-block;
  color: var(--g3-green);
  margin-right: 4px;
  font-weight: 800;
}
.plan-note-editable {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
  font-weight: 600;
}

/* ---------- 23.7 ÍCONOS DE CONTACTO PROFESIONALES ---------- */
.contact-info li .icon-box {
  margin-bottom: 0;
  margin-right: 4px;
}


:focus-visible {
  outline: 2px solid var(--g3-green);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   26. AJUSTES FEEDBACK SOCIO (badges, tiles IG/galería, nota)
   ============================================================ */

/* Badges de clases adicionales en horario */
.badge-blue {
  background: rgba(56, 152, 236, 0.16);
  color: #6cb6f5;
  border: 1px solid rgba(56, 152, 236, 0.38);
}
.badge-pink {
  background: rgba(236, 72, 153, 0.16);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.38);
}
.badge-orange {
  background: rgba(249, 146, 49, 0.16);
  color: #fba54e;
  border: 1px solid rgba(249, 146, 49, 0.38);
}
.dot-blue { background: #6cb6f5; }
.dot-pink { background: #f472b6; }
.dot-orange { background: #fba54e; }

/* Nota referencial de horario */
.schedule-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--g3-muted);
  max-width: 760px;
  line-height: 1.6;
}
.schedule-note a { color: var(--g3-green); }
.schedule-note a:hover { text-decoration: underline; }

/* ---------- Instagram tiles (sin fotos, identidad de marca) ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ig-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 0%, rgba(199,217,44,0.10), transparent 55%),
    linear-gradient(160deg, #11160f, #0a0d09);
  border: 1px solid var(--g3-border);
  min-height: 188px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ig-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(199,217,44,0.06));
  pointer-events: none;
}
.ig-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(199,217,44,0.4);
  box-shadow: 0 18px 50px rgba(0,0,0,0.4);
}
.ig-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(199,217,44,0.10);
  border: 1px solid rgba(199,217,44,0.22);
  color: var(--g3-green);
  margin-bottom: 6px;
}
.ig-tile-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.ig-tile-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
}
.ig-tile-sub { color: var(--g3-muted); font-size: 0.92rem; line-height: 1.45; flex-grow: 1; }
.ig-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--g3-green);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  margin-top: 4px;
}
.ig-tile--wellness {
  background:
    radial-gradient(circle at 80% 0%, rgba(139,92,246,0.16), transparent 55%),
    linear-gradient(160deg, #120f1c, #0a0814);
  border-color: rgba(139,92,246,0.25);
}
.ig-tile--wellness:hover { border-color: rgba(192,132,252,0.5); }
.ig-tile--wellness .ig-tile-icon {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.28);
  color: var(--g3-purple-soft);
}
.ig-tile--wellness .ig-tile-cta { color: var(--g3-purple-soft); }

/* ---------- Galería tiles (sin fotos) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(199,217,44,0.08), transparent 60%),
    linear-gradient(160deg, #11160f, #0a0d09);
  border: 1px solid var(--g3-border);
  text-align: center;
  padding: 20px;
  transition: transform .25s ease, border-color .25s ease;
}
.gallery-tile:hover { transform: translateY(-3px); border-color: rgba(199,217,44,0.4); }
.gallery-tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(199,217,44,0.10);
  border: 1px solid rgba(199,217,44,0.22);
  color: var(--g3-green);
}
.gallery-tile-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.gallery-tile-cap {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #e9efe2;
  font-size: 1.05rem;
}

/* Responsive tiles */
@media (max-width: 768px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-tile { min-height: 168px; padding: 22px 18px; }
}
@media (max-width: 480px) {
  .ig-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   27. AJUSTES PAUTA (claridad de planes, horario móvil,
       Wellness "pronto", Instagram simple)
   ============================================================ */

/* --- Clases: nivel/beneficio + nota de plan activo --- */
.class-meta { color: var(--g3-muted); font-size: 0.92rem; margin: 0 0 6px; }
.class-meta strong { color: var(--g3-white); font-weight: 700; }
.classes-note {
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(199,217,44,0.06);
  border: 1px solid rgba(199,217,44,0.18);
  border-radius: var(--radius-md);
  color: var(--g3-muted);
  font-size: 0.95rem;
}
.classes-note strong { color: var(--g3-green); }

/* --- Planes: cabecera con CTA único, categorías, tarjetas sin botón --- */
.plans-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.plans-head-copy { flex: 1 1 480px; }
.plans-head .section-lead { margin-bottom: 0; }
.plans-head-cta { flex-shrink: 0; }

.plans-cat-title {
  font-size: 1.5rem;
  margin: 52px 0 20px;
  color: var(--g3-white);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.plans-cat-title:first-of-type { margin-top: 18px; }
.plans-cat-sub {
  font-size: 0.95rem;
  color: var(--g3-muted);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.plan-classes {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--g3-green);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}
.plan-price-soft {
  color: var(--g3-muted);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.plan-desc { margin-bottom: 0; }

/* --- Formulario: título --- */
.form-title { font-size: 1.4rem; margin-bottom: 18px; }

/* --- Wellness "Muy pronto" difuminado --- */
.wellness-teaser {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  text-align: center;
  border-top: 1px solid rgba(139,92,246,0.28);
  border-bottom: 1px solid rgba(139,92,246,0.28);
  background: linear-gradient(135deg, #080910 0%, #140f24 55%, #090b12 100%);
}
.wellness-teaser-bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(139,92,246,0.50), transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(244,114,182,0.32), transparent 45%);
  filter: blur(70px);
  opacity: 0.65;
}
.wellness-teaser-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.wellness-teaser .wellness-badge { margin: 0 auto 22px; }
.wellness-teaser h2 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-bottom: 18px;
}
.wellness-teaser p {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 8px;
}
.wellness-soon-note {
  color: var(--g3-purple-soft) !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-top: 14px !important;
}

/* --- Horario: tarjetas por día (celular) --- */
.schedule-days { display: none; }
.day-card {
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.day-card h4 {
  font-size: 1.3rem;
  color: var(--g3-green);
  margin-bottom: 10px;
}
.day-card ul { list-style: none; margin: 0; padding: 0; }
.day-card li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--g3-border);
}
.day-card li:last-child { border-bottom: 0; }
.day-time {
  font-family: var(--font-display);
  font-weight: 700;
  min-width: 54px;
  color: var(--g3-white);
  font-size: 1.05rem;
}
.day-empty { color: var(--g3-muted); font-size: 0.92rem; }

/* --- Instagram simple --- */
.ig-simple { text-align: center; max-width: 640px; margin: 0 auto; }
.ig-simple-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(199,217,44,0.10);
  border: 1px solid rgba(199,217,44,0.22);
  color: var(--g3-green);
  margin-bottom: 20px;
}
.ig-simple-icon svg { width: 32px; height: 32px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.ig-simple .section-kicker { display: inline-block; }
.ig-simple h2 { margin-bottom: 14px; }
.ig-simple .section-lead { margin: 0 auto 28px; }

/* --- Responsive de la pauta --- */
@media (max-width: 768px) {
  .schedule-wrap { display: none; }
  .schedule-days { display: block; }
  .plans-head { align-items: flex-start; }
  .plans-head-cta { width: 100%; }
  .plans-cat-title { margin-top: 40px; }
}

/* ============================================================
   28. BOTONES DE DESCARGA APP NFIT (reservas)
   ============================================================ */
.app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
.app-btn:hover { transform: translateY(-2px); border-color: var(--g3-green); }
.app-btn-icon { display: inline-flex; color: var(--g3-green); }
.app-btn-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.app-btn-text { display: flex; flex-direction: column; line-height: 1.12; }
.app-btn-text small {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
}
.app-btn-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
@media (max-width: 480px) {
  .app-btn { flex: 1 1 100%; justify-content: center; }
}

/* ============================================================
   29. REDISEÑO PLANES + RESEÑAS GOOGLE (moderno, simétrico)
   ============================================================ */

/* --- Planes: grilla centrada y simétrica --- */
.plans-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}
.plans-grid .plan-card {
  flex: 1 1 300px;
  max-width: 360px;
}
.plan-card {
  padding: 28px 26px;
  align-items: flex-start;
}
.plan-classes {
  display: inline-block;
  align-self: flex-start;
  background: rgba(199,217,44,0.12);
  border: 1px solid rgba(199,217,44,0.28);
  color: var(--g3-green);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.plan-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.plan-desc { color: var(--g3-muted); font-size: 0.95rem; margin: 0 0 18px; }
.plan-price-soft {
  margin: auto 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--g3-border);
  width: 100%;
  color: var(--g3-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

/* Categorías: más aire, no pegado a los bordes */
.plans-cat-title {
  font-size: 1.4rem;
  margin: 56px 0 24px;
  color: var(--g3-white);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.plans-cat-title:first-of-type { margin-top: 24px; }
.plans-cat-sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--g3-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--g3-border);
  padding: 4px 12px;
  border-radius: 999px;
}

/* --- Reseñas Google --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .3s ease, border-color .3s ease;
}
.review-card:hover { transform: translateY(-3px); border-color: rgba(199,217,44,0.30); }
.review-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(199,217,44,0.12);
  border: 1px solid rgba(199,217,44,0.28);
  color: var(--g3-green);
  flex-shrink: 0;
}
.review-avatar svg { width: 22px; height: 22px; fill: currentColor; }
.review-meta { display: flex; flex-direction: column; gap: 4px; }
.review-name { font-weight: 700; color: var(--g3-white); font-size: 0.95rem; font-family: var(--font-body); }
.review-card .stars { line-height: 1; margin: 0; }
.review-card .stars svg { width: 15px; height: 15px; fill: var(--g3-green); display: inline-block; margin-right: 1px; }
.review-card blockquote {
  margin: 0;
  color: var(--g3-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  font-style: normal;
}
.reviews-cta { text-align: center; margin-top: 40px; }

/* --- Arreglo de espaciado en celular (no pegado a los bordes) --- */
@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .plans-cat-title { margin-top: 44px; }
}
@media (max-width: 480px) {
  .container { padding: 0 22px; }
  .plans-grid .plan-card { max-width: 100%; }
}

/* ============================================================
   30. PLANES EN LISTA (estilo original) + WHATSAPP FLOTANTE
   ============================================================ */
.plan-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--g3-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--g3-card);
  margin-bottom: 8px;
}
.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--g3-border);
  transition: background .2s ease;
}
.plan-row:last-child { border-bottom: 0; }
.plan-row:hover { background: rgba(199,217,44,0.05); }
.plan-row--featured { background: rgba(199,217,44,0.07); }
.plan-row-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.plan-row-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--g3-white);
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.plan-row-sub { color: var(--g3-muted); font-size: 0.9rem; }
.plan-row-badge {
  background: var(--g3-green);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
}
.plan-row-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--g3-green);
  white-space: nowrap;
  flex-shrink: 0;
}
.plan-row-price small { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; color: var(--g3-muted); }
.plan-row-price--soft { font-size: 1rem; font-weight: 600; color: var(--g3-muted); }
.plans-foot-note { margin-top: 18px; color: var(--g3-muted); font-size: 0.9rem; text-align: center; }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(0,0,0,0.45); }

@media (max-width: 560px) {
  .plan-row { padding: 16px 18px; }
  .plan-row-price { font-size: 1.3rem; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ============================================================
   31. RESEÑAS ESTILO GOOGLE + WEB MÁS COMPACTA
   ============================================================ */
/* Avatar con inicial (color en línea para que siempre se vea) */
.rev-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.review-source { font-size: 0.78rem; color: var(--g3-muted); }
.review-card .stars { display: block; margin: 2px 0 12px; }
.review-card blockquote { margin: 0; color: var(--g3-muted); font-size: 0.98rem; line-height: 1.6; }

/* --- Compactar la web (menos espacio vertical) --- */
.section { padding: 64px 0; }
.hero-content { padding: 120px 0 56px; }
.wellness-teaser { padding: 76px 0; }
.cta-final { padding: 64px 0; }
.section h2 { margin-bottom: 12px; }
.section-lead { margin-bottom: 28px; }
.plans-cat-title { margin: 36px 0 16px; }
.plans-cat-title:first-of-type { margin-top: 14px; }
.classes-note { margin-top: 22px; }
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .hero-content { padding: 104px 0 44px; }
  .wellness-teaser { padding: 60px 0; }
  .cta-final { padding: 48px 0; }
}

/* ============================================================
   32. PLAN WELLNESS (morado, "próximamente")
   ============================================================ */
.plan-row--wellness {
  background: rgba(139,92,246,0.08);
  border-left: 3px solid var(--g3-purple);
}
.plan-row--wellness .plan-row-name { color: var(--g3-purple-soft); }
.plan-row-price--wellness {
  color: var(--g3-purple-soft);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}

/* ============================================================
   33. MODAL DESCRIPCIÓN DE CLASES (pop-up al tocar una clase)
   ============================================================ */
/* Badges clickeables */
button.class-trigger {
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform .15s ease, filter .15s ease;
}
button.class-trigger:hover { filter: brightness(1.18); transform: translateY(-1px); }
button.class-trigger:focus-visible { outline: 2px solid var(--g3-green); outline-offset: 2px; }

/* Overlay */
.class-modal[hidden] { display: none; }
.class-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.class-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
/* Caja del modal */
.class-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--g3-card);
  border: 1px solid var(--g3-border);
  border-top: 4px solid var(--g3-green);
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px;
  animation: cmIn .25s ease;
}
@keyframes cmIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.class-modal-box[data-color="green"]  { border-top-color: #C7D92C; }
.class-modal-box[data-color="blue"]   { border-top-color: #6cb6f5; }
.class-modal-box[data-color="pink"]   { border-top-color: #f472b6; }
.class-modal-box[data-color="orange"] { border-top-color: #fba54e; }

.class-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: 0;
  color: var(--g3-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.class-modal-close:hover { color: #fff; }
.class-modal-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--g3-green);
  background: rgba(199,217,44,0.12);
  border: 1px solid rgba(199,217,44,0.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.class-modal-title { font-size: 1.9rem; margin-bottom: 8px; color: var(--g3-white); line-height: 1.1; }
.class-modal-sub { color: var(--g3-white); font-weight: 600; margin-bottom: 16px; }
.class-modal-list { list-style: none; margin: 0 0 22px; padding: 0; }
.class-modal-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--g3-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.class-modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g3-green);
}
.class-modal-meta { display: flex; gap: 12px; margin-bottom: 24px; }
.class-modal-meta > div {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--g3-border);
  border-radius: 12px;
  padding: 12px 14px;
}
.class-modal-meta span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--g3-muted);
  margin-bottom: 4px;
}
.class-modal-meta strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--g3-white); }

/* Celular: ventana inferior (bottom sheet) */
@media (max-width: 600px) {
  .class-modal { align-items: flex-end; padding: 0; }
  .class-modal-box {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
    padding: 30px 22px calc(24px + env(safe-area-inset-bottom));
    animation: cmUp .3s ease;
  }
  @keyframes cmUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
}

/* ============================================================
   34. PLANES: alineación con descripción de horarios
   ============================================================ */
.plan-row { align-items: flex-start; }
.plan-row-info { padding-right: 8px; }
.plan-row-sub { line-height: 1.45; }
.plan-row-price { padding-top: 2px; }
@media (max-width: 480px) {
  .plan-row { gap: 12px; }
  .plan-row-name { font-size: 1.1rem; }
  .plan-row-sub { font-size: 0.82rem; }
}
