/* ── KRAVO landing — tokens del design system de la app ── */
:root {
  --bg: #0A0A0B;
  --surface: #121215;
  --card: #1A1A1F;
  --card-elevated: #222228;
  --border: #26262D;
  --border-light: #3A3A42;
  --text: #FAFAFA;
  --text-2: #9B9BA4;
  --muted: #64646E;
  --accent: #CEFF1A;
  --accent-soft: rgba(206, 255, 26, 0.12);
  --accent-on: #0A0A0B;
  --success: #7CE38B;
  --error: #FF6359;
  /* Acento dorado de marca para la audiencia "entrenador" (plan Coach) */
  --gold: #F4B740;
  --gold-soft: rgba(244, 183, 64, 0.14);
  --gold-on: #19130A;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-stat: 'Bebas Neue', sans-serif;
  /* curva de transición de tono */
  --tint: background-color .5s ease, border-color .5s ease, color .45s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  transition: var(--tint);
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; transition: color .45s ease; }
a:hover { text-decoration: underline; }
::selection { background: var(--accent); color: var(--accent-on); }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Nav ── */
.nav-bar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .5s ease;
}
.nav-bar.scrolled { border-bottom-color: var(--border); }
.nav-bar nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.wordmark {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.5px; color: var(--text);
}
.wordmark:hover { text-decoration: none; }
.wordmark span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 500; font-size: 14px; color: var(--text-2);
  padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--card); text-decoration: none; }
.nav-links a.pill {
  color: var(--text); border: 1px solid var(--border);
  margin-left: 8px; padding: 9px 18px;
  transition: border-color .2s, color .2s;
}
.nav-links a.pill:hover { border-color: var(--border-light); background: none; }

/* ── Hero tipográfico ── */
header.hero { position: relative; padding: 64px 0 0; }
.hero-bg {
  position: absolute; inset: -120px 0 0;
  background-image: radial-gradient(rgba(250,250,250,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 65% 70% at 50% 20%, #000 0%, transparent 72%);
  pointer-events: none;
}
.kicker {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 3px; color: var(--accent); text-transform: uppercase;
  margin-bottom: 22px; transition: color .45s ease;
}
.kicker.gold { color: var(--gold); }
h1.mega {
  position: relative;
  font-family: var(--font-stat); font-weight: 400; text-transform: uppercase;
  font-size: clamp(72px, 13.5vw, 184px); line-height: .88; letter-spacing: 0;
}
h1.mega .lit { color: var(--accent); transition: color .45s ease; }
@keyframes lit-glow {
  from { text-shadow: 0 0 0 transparent; }
  to   { text-shadow: 0 0 42px var(--accent-soft); }
}
h1.mega .lit { animation: lit-glow 2.6s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { h1.mega .lit { animation: none; } }
.hero-foot {
  position: relative;
  display: flex; gap: 40px; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; padding: 40px 0 16px;
}
.hero .lead {
  font-size: 17px; color: var(--text-2); max-width: 470px;
  text-wrap: pretty;
}
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-pill {
  display: flex; align-items: center; gap: 12px; padding: 11px 22px 11px 18px;
  border: 1px solid var(--border-light); border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color .25s, transform .25s, background-color .5s ease;
}
.store-pill:hover { border-color: var(--muted); transform: translateY(-2px); }
.store-pill svg { width: 22px; height: 22px; fill: var(--text); flex-shrink: 0; transition: fill .45s ease; }
.store-pill .soon {
  display: block;
  font-family: var(--font-display); font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent);
  line-height: 1.4; transition: color .45s ease;
}
.store-pill .store {
  display: block;
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--text); line-height: 1.3;
}
.hero-note { margin-top: 14px; font-size: 13px; color: var(--text-2); }
.hero-note a { font-weight: 600; }

/* ── Sección teléfono (tracker en vivo) ── */
.phone-section {
  position: relative;
  display: flex; justify-content: center;
  padding: 40px 0 96px;
}
.phone-glow {
  position: absolute; inset: -20px 0;
  background: radial-gradient(ellipse 38% 55% at 50% 45%, var(--accent-soft), transparent 70%);
  pointer-events: none; transition: background .5s ease;
}
/* Marco iPhone realista: raíl de titanio, Dynamic Island y botones laterales */
.phone {
  position: relative;
  width: 340px;
  border-radius: 58px;
  padding: 13px;
  background: linear-gradient(150deg, #3c3c42 0%, #18181b 24%, #0b0b0d 62%, #050506 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.06),
    inset 0 1.5px 1px rgba(255,255,255,.16),
    0 2px 3px rgba(255,255,255,.08),
    0 50px 100px -22px rgba(0,0,0,.78),
    0 28px 55px -30px rgba(0,0,0,.9);
  will-change: transform;
}
/* Botón de encendido (raíl derecho) */
.phone::after {
  content: ''; position: absolute; right: -2.5px; top: 178px;
  width: 3px; height: 72px; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #050506, #34343b);
}
/* Volumen +/- (raíl izquierdo, dos barras vía box-shadow) */
.phone::before {
  content: ''; position: absolute; left: -2.5px; top: 152px;
  width: 3px; height: 46px; border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, #34343b, #050506);
  box-shadow: 0 58px 0 0 #1c1c21;
}
.dynamic-island {
  position: absolute; z-index: 6;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 26px;
  background: #000; border-radius: 14px;
  box-shadow: 0 0 0 .5px rgba(255,255,255,.04);
}
.dynamic-island::after {
  content: ''; position: absolute; top: 50%; right: 11px; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #20364a, #000 75%);
  box-shadow: inset 0 0 0 1px rgba(70,100,130,.4);
}
.screen {
  position: relative; overflow: hidden;
  background: var(--bg); border-radius: 45px; padding: 16px 0 0;
  display: flex; flex-direction: column; aspect-ratio: 9 / 19.5;
  box-shadow: 0 0 0 2px #000; transition: background-color .5s ease;
}
/* Reflejo de cristal muy sutil, solo en la franja superior */
.screen::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: linear-gradient(133deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 28%);
}
.statusbar {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--text); padding: 4px 12px 6px; min-height: 26px; flex-shrink: 0;
}
.statusbar .sb-right { display: flex; gap: 5px; align-items: center; }
.statusbar .sb-right i {
  display: inline-block; width: 14px; height: 8px;
  border: 1px solid var(--muted); border-radius: 2px; position: relative;
}
.statusbar .sb-right i::after {
  content: ''; position: absolute; inset: 1px 4px 1px 1px;
  background: var(--success); border-radius: 1px;
}

/* Capturas reales de la app, en carrusel con crossfade */
.app-shots { position: relative; flex: 1; overflow: hidden; }
.app-shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0; transition: opacity 1.1s ease;
}
.app-shot.active { opacity: 1; }
.app-dots {
  position: absolute; z-index: 5; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 6px; background: rgba(0,0,0,.32); padding: 5px 7px; border-radius: 999px;
}
.app-dot {
  width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.45);
  transition: background-color .4s ease, width .4s ease;
}
.app-dot.active { background: #fff; width: 14px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  .app-shot { transition: none; }
  .app-dot { transition: none; }
}

/* ── Marquee posibilidades ── */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  transition: border-color .5s ease;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-2 { margin-top: 0; }
.marquee-2 .marquee-track { animation-duration: 52s; animation-direction: reverse; }
.marquee-half { display: flex; gap: 56px; padding-right: 56px; }
.marquee-half span {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 56px; white-space: nowrap;
}
.marquee-half span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .7; transition: background .45s ease; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ── Secciones ── */
section { padding: 104px 0 0; }
.section-head { max-width: 600px; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.1;
  letter-spacing: -1.2px; text-wrap: balance; margin-bottom: 14px;
}
.section-head p { color: var(--text-2); font-size: 16px; text-wrap: pretty; }
.section-head p b { color: var(--text); font-weight: 600; }

/* ── Cards base ── */
.card {
  position: relative;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .3s, transform .3s, background-color .5s ease;
}
.card:hover { border-color: var(--border-light); transform: translateY(-3px); }
.card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: -.2px;
}
.card h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: -.2px;
}
.card > p { font-size: 14px; color: var(--text-2); text-wrap: pretty; }
.card .visual { margin-top: auto; padding-top: 18px; }

/* Etiqueta de plan en una card (PRO) */
.card-tag {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: 1px; padding: 3px 9px; border-radius: 999px;
}
.pro-tag { color: var(--accent-on); background: var(--accent); transition: var(--tint); }

/* ── Entrena: dos caminos ── */
.routines-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ia-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.ia-chips span {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  color: var(--text-2); border: 1px solid var(--border-light);
  border-radius: 999px; padding: 4px 12px; transition: var(--tint);
}
.ia-arrow { color: var(--accent); font-size: 14px; line-height: 1; margin-bottom: 10px; transform: rotate(90deg); width: max-content; transition: color .45s ease; }
.ia-plan { display: flex; flex-direction: column; gap: 7px; }
.ia-plan div {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 12px; font-size: 12px; color: var(--text);
  font-family: var(--font-display); font-weight: 600; transition: var(--tint);
}
.ia-plan div small { color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: 11px; }

.wizard { display: flex; flex-direction: column; }
.w-step {
  display: flex; align-items: baseline; gap: 14px;
  padding: 11px 0; border-top: 1px solid var(--border); transition: border-color .5s ease;
}
.w-step:first-child { border-top: none; }
.w-step .w-num {
  font-family: var(--font-stat); font-size: 20px; color: var(--accent);
  min-width: 18px; transition: color .45s ease;
}
.w-step b { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--text); }
.w-step small { font-size: 12px; color: var(--text-2); }

/* ── Rebalanceo semanal ── */
.card.rebalance { margin-top: 16px; }
.rebalance-flow {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 20px;
}
.week-col { display: flex; flex-direction: column; gap: 8px; }
.week-label {
  font-family: var(--font-display); font-weight: 600; font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
  margin-bottom: 2px;
}
.day-chip {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--text);
  transition: var(--tint);
}
.day-chip small { font-family: var(--font-body); font-weight: 400; font-size: 11px; color: var(--text-2); }
.day-chip .st-done { color: var(--success); font-size: 12px; }
.day-chip.missed { border-color: rgba(255,99,89,.4); }
.day-chip.missed .st-miss { color: var(--error); font-size: 12px; }
.day-chip.new { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.ia-badge {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  color: var(--accent-on); background: var(--accent);
  border-radius: 999px; padding: 6px 13px; white-space: nowrap; transition: var(--tint);
}
.rebalance-reason { margin-top: 16px; font-size: 13px; color: var(--text-2); }
.rebalance-reason em { font-style: normal; color: var(--accent); transition: color .45s ease; }

/* ── Entrena: mini-grid de extras ── */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.card.mini { padding: 22px; }
.card.mini > p { font-size: 13px; }
.mini-set { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ms-cell { display: flex; flex-direction: column; align-items: center; }
.ms-cell b { font-family: var(--font-stat); font-size: 24px; color: var(--text); line-height: 1; }
.ms-cell small { font-size: 9px; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.ms-prev { margin-left: auto; font-size: 11px; color: var(--muted); }
.mini-list { display: flex; flex-direction: column; gap: 7px; }
.mini-list span {
  background: var(--surface); border: 1px solid var(--border); border-radius: 9px;
  padding: 8px 11px; font-size: 12px; color: var(--text-2); transition: var(--tint);
}
.superset .ss-link { display: flex; flex-direction: column; gap: 8px; position: relative; padding-left: 16px; }
.superset .ss-link::before {
  content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 7px;
  border: 2px solid var(--accent); border-right: none; border-radius: 5px 0 0 5px;
  transition: border-color .45s ease;
}
.superset .ss-link span {
  background: var(--surface); border: 1px solid var(--border); border-radius: 9px;
  padding: 8px 11px; font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--text);
  transition: var(--tint);
}

/* ── Bento (Progreso) ── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card.span2 { grid-column: span 2; }

/* Gráfica de progresión */
.chart-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; color: var(--text-2); margin-bottom: 6px;
}
.chart-meta .delta {
  font-family: var(--font-stat); font-size: 22px; color: var(--accent); letter-spacing: .5px; transition: color .45s ease;
}
.chart svg { width: 100%; height: auto; display: block; }
/* La línea se dibuja sola al revelar */
.chart-line { stroke-dasharray: 560; stroke-dashoffset: 560; transition: stroke-dashoffset 1.5s ease .2s; }
.reveal.in .chart-line { stroke-dashoffset: 0; }
.chart-area { opacity: 0; transition: opacity .9s ease 1s; }
.reveal.in .chart-area { opacity: 1; }
.chart-head { animation: pulse-head 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse-head { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .chart-line { stroke-dashoffset: 0; transition: none; }
  .chart-area { opacity: 1; transition: none; }
  .chart-head { animation: none; }
}

/* PRs */
.pr-list { display: flex; flex-direction: column; }
.pr-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; padding: 11px 0; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-2); transition: border-color .5s ease;
}
.pr-row:first-child { border-top: none; }
.pr-row .pr-val {
  font-family: var(--font-stat); font-size: 22px; color: var(--text);
  letter-spacing: .5px; margin-left: auto;
}
.pr-row .pr-delta {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  color: var(--accent); background: var(--accent-soft);
  border-radius: 999px; padding: 2px 9px; white-space: nowrap; transition: var(--tint);
}

/* Catálogo / stat grande */
.big-stat {
  font-family: var(--font-stat); font-size: 64px; line-height: .95;
  color: var(--accent); letter-spacing: -1px; transition: color .45s ease;
}
.card:not(.mini) .big-stat { font-size: 92px; }
.muscle-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.muscle-pills span {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  color: var(--text-2); border: 1px solid var(--border-light);
  border-radius: 999px; padding: 6px 14px; transition: var(--tint);
}
.muscle-pills span.on {
  color: var(--accent-on); background: var(--accent); border-color: var(--accent);
}

/* Mapa muscular (barras de volumen por grupo) */
.muscle-load { display: flex; flex-direction: column; gap: 9px; }
.ml-row { display: flex; align-items: center; gap: 10px; }
.ml-name { font-size: 12px; color: var(--text-2); width: 58px; flex-shrink: 0; }
.ml-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--surface); overflow: hidden; }
.ml-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width 1.1s cubic-bezier(.2,.7,.2,1), background .45s ease; }
.reveal.in .ml-bar i { width: var(--w); }
.ml-val { font-family: var(--font-stat); font-size: 16px; color: var(--text); min-width: 22px; text-align: right; }
@media (prefers-reduced-motion: reduce) { .ml-bar i { transition: background .45s ease; width: var(--w); } }

/* Constancia: heatmap */
.heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 200px; }
.heat i { aspect-ratio: 1; border-radius: 4px; background: var(--surface); border: 1px solid var(--border); opacity: 0; transform: scale(.4); transition: opacity .35s ease, transform .35s ease, background .45s ease; }
.reveal.in .heat i { opacity: 1; transform: none; }
.heat i.l1 { background: color-mix(in srgb, var(--accent) 22%, transparent); border-color: transparent; }
.heat i.l2 { background: color-mix(in srgb, var(--accent) 50%, transparent); border-color: transparent; }
.heat i.l3 { background: var(--accent); border-color: transparent; }
@media (prefers-reduced-motion: reduce) { .heat i { opacity: 1; transform: none; } }
.streak { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.streak b {
  font-family: var(--font-stat); font-size: 34px; font-weight: 400;
  color: var(--text); letter-spacing: .5px;
}
.streak small { font-size: 12px; color: var(--text-2); }

/* Fotos / Strava */
.lock-row { display: flex; align-items: center; gap: 12px; }
.lock-ic {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: var(--accent-soft); display: grid; place-items: center; transition: background .5s ease;
}
.lock-ic svg { width: 17px; height: 17px; stroke: var(--accent); fill: none; stroke-width: 2; transition: stroke .45s ease; }
.lock-row p { font-size: 13px; color: var(--text-2); }
.strava-word {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: #FC4C02; letter-spacing: -.3px;
}

/* Pasos y salud */
.steps-vis { display: flex; flex-direction: column; gap: 10px; }
.steps-top { display: flex; align-items: baseline; gap: 8px; }
.steps-num { font-family: var(--font-stat); font-size: 34px; color: var(--text); letter-spacing: .5px; }
.steps-top small { font-size: 12px; color: var(--muted); }
.steps-bar { height: 8px; border-radius: 4px; background: var(--surface); overflow: hidden; }
.steps-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width 1.1s cubic-bezier(.2,.7,.2,1), background .45s ease; }
.reveal.in .steps-bar i { width: var(--w); }
.steps-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.steps-tags span {
  font-family: var(--font-display); font-weight: 600; font-size: 10px; letter-spacing: .3px;
  color: var(--text-2); border: 1px solid var(--border-light); border-radius: 999px; padding: 4px 10px; transition: var(--tint);
}
@media (prefers-reduced-motion: reduce) { .steps-bar i { width: var(--w); transition: background .45s ease; } }

/* Chips de deporte */
.sport-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sport-chips span {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  color: var(--text-2); border: 1px solid var(--border-light); border-radius: 999px; padding: 6px 13px; transition: var(--tint);
}

/* Nutrición IA: macros */
.macro-row { display: flex; flex-wrap: wrap; gap: 10px; }
.macro {
  flex: 1; min-width: 84px; display: flex; flex-direction: column; gap: 3px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; transition: var(--tint);
}
.macro b { font-family: var(--font-stat); font-size: 26px; color: var(--text); line-height: 1; }
.macro b .u { font-size: 15px; color: var(--text-2); }
.macro small { font-size: 11px; color: var(--muted); }

/* ── Comunidad ── */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.challenge-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px; transition: var(--tint);
}
.challenge-box .ch-name { font-family: var(--font-display); font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.ch-bar { height: 8px; border-radius: 4px; background: var(--card-elevated); overflow: hidden; }
.ch-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width 1.1s cubic-bezier(.2,.7,.2,1), background .45s ease; }
.reveal.in .ch-bar i { width: var(--w); }
.ch-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--text-2); }
.ch-meta b { font-family: var(--font-stat); font-weight: 400; font-size: 15px; color: var(--text); letter-spacing: .5px; }
@media (prefers-reduced-motion: reduce) { .ch-bar i { width: var(--w); transition: background .45s ease; } }

.rank-list { display: flex; flex-direction: column; }
.rank-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-2); transition: border-color .5s ease;
}
.rank-row:first-child { border-top: none; }
.rank-row .pos { font-family: var(--font-stat); font-size: 20px; color: var(--accent); min-width: 16px; transition: color .45s ease; }
.rank-row .r-name { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.rank-row.you .r-name { color: var(--accent); transition: color .45s ease; }
.rank-row .r-val { margin-left: auto; font-family: var(--font-stat); font-size: 17px; color: var(--text); }

.post-mini {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px; transition: var(--tint);
}
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.post-head .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 11px; transition: var(--tint);
}
.post-head b { font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.post-head small { margin-left: auto; font-size: 11px; color: var(--muted); }
.post-body { font-size: 12px; color: var(--text-2); }
.post-body b { font-family: var(--font-display); color: var(--text); font-size: 13px; }
.post-highlight {
  margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 11px;
  color: var(--accent); background: var(--accent-soft); border-radius: 8px; padding: 6px 10px; width: max-content; max-width: 100%;
  transition: var(--tint);
}
.post-stats { display: flex; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--text-2); }

/* ── Para entrenadores (Coach) ── */
section.coach { position: relative; }
.coach-glow {
  position: absolute; inset: 40px 0 auto; height: 420px;
  background: radial-gradient(ellipse 60% 100% at 30% 0%, var(--gold-soft), transparent 70%);
  pointer-events: none; z-index: -1;
}
.coach-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 24px; align-items: start; }

/* Mockup del panel del entrenador */
.coach-panel {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.8);
  position: sticky; top: 90px; transition: var(--tint);
}
.cp-head { display: flex; justify-content: space-between; align-items: baseline; }
.cp-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text); }
.cp-count { font-size: 12px; color: var(--text-2); }
.cp-count b { font-family: var(--font-stat); font-size: 18px; color: var(--gold); margin-right: 2px; }
.cp-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; transition: var(--tint); }
.cp-kpi b { display: block; font-family: var(--font-stat); font-size: 30px; color: var(--text); line-height: 1; }
.cp-kpi b .u { font-size: 17px; color: var(--gold); }
.cp-kpi small { font-size: 11px; color: var(--muted); }
.cp-alert {
  display: flex; align-items: center; gap: 9px;
  background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  border-radius: 12px; padding: 10px 13px; font-size: 12px; color: var(--text);
}
.cp-alert b { color: var(--gold); font-weight: 700; }
.cp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.cp-clients { display: flex; flex-direction: column; }
.cp-client { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); transition: border-color .5s ease; }
.cp-client:first-child { border-top: none; }
.cp-client .avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 11px;
}
.cp-client .avatar.gold { background: var(--gold-soft); color: var(--gold); }
.cp-name { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text); }
.cp-week { margin-left: auto; display: flex; gap: 4px; }
.cp-week i { width: 9px; height: 9px; border-radius: 3px; background: var(--surface); border: 1px solid var(--border); }
.cp-week i.on { background: var(--gold); border-color: transparent; }
.cp-inbox {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 11px 13px; font-size: 12px; color: var(--text-2); transition: var(--tint);
}
.cp-badge {
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  color: var(--gold-on); background: var(--gold); border-radius: 999px;
  min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px;
}

/* Capacidades del coach */
.coach-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.coach-point {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px; transition: border-color .3s, transform .3s, background-color .5s ease;
}
.coach-point:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.coach-point h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text);
  margin-bottom: 6px; padding-left: 14px; position: relative;
}
.coach-point h4::before {
  content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px;
  border-radius: 2px; background: var(--gold);
}
.coach-point p { font-size: 13px; color: var(--text-2); text-wrap: pretty; }

/* ── Apariencia (tono en vivo) ── */
.themes-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.theme-card {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  background: none; border: none; padding: 0; cursor: pointer; font: inherit; text-align: center;
}
.theme-swatch {
  border-radius: var(--r-md); border: 2px solid var(--border-light);
  padding: 14px 12px; height: 116px;
  display: flex; flex-direction: column; gap: 7px;
  transition: transform .25s, border-color .25s;
}
.theme-card:hover .theme-swatch { transform: translateY(-4px); }
.theme-card.active .theme-swatch { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.theme-swatch i { display: block; height: 7px; border-radius: 4px; }
.theme-swatch .t-title { width: 70%; }
.theme-swatch .t-line { width: 100%; opacity: .45; }
.theme-swatch .t-line2 { width: 55%; opacity: .45; }
.theme-swatch .t-btn { width: 46%; height: 14px; margin-top: auto; border-radius: 7px; }
.theme-cap {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  color: var(--text-2); margin-top: 10px; transition: color .25s;
}
.theme-card.active .theme-cap { color: var(--accent); }
.accents-note {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  margin-top: 28px; font-size: 13px; color: var(--text-2); flex-wrap: wrap;
}
.accents-label { font-family: var(--font-display); font-weight: 600; }
.accent-dot {
  width: 22px; height: 22px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid transparent; outline-offset: 2px; transition: transform .2s, box-shadow .2s;
}
.accent-dot:hover { transform: scale(1.12); }
.accent-dot.active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px currentColor; }
.accents-hint { color: var(--muted); font-size: 12px; }

/* ── Planes ── */
.plan-toggle {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 5px; width: max-content; margin: 0 auto 36px; transition: var(--tint);
}
.pt-btn {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  color: var(--text-2); background: none; border: none; cursor: pointer;
  padding: 8px 18px; border-radius: 999px; transition: color .2s, background .2s;
}
.pt-btn.active { color: var(--accent-on); background: var(--accent); }
.pt-save {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  color: var(--accent); padding: 0 8px 0 4px; transition: color .45s ease;
}

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.plan {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .3s, transform .3s, background-color .5s ease;
}
.plan:hover { transform: translateY(-3px); border-color: var(--border-light); }
.plan.featured { border-color: var(--accent); }
.plan.featured:hover { border-color: var(--accent); }
.plan.coach-plan.featured { border-color: var(--gold); }
.plan-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent-on); background: var(--accent);
  border-radius: 999px; padding: 4px 12px; white-space: nowrap; transition: var(--tint);
}
.plan-flag.gold { color: var(--gold-on); background: var(--gold); }
.plan-top { display: flex; flex-direction: column; gap: 4px; }
.plan h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.4px; }
.plan-aud { font-size: 12px; color: var(--text-2); min-height: 32px; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-top: 6px; }
.plan-price b { font-family: var(--font-stat); font-size: 52px; line-height: .9; color: var(--text); letter-spacing: -1px; }
.plan-price .cur { font-family: var(--font-stat); font-size: 26px; color: var(--text-2); }
.plan-price .per { font-size: 13px; color: var(--muted); margin-left: 4px; align-self: flex-end; margin-bottom: 6px; }
.plan-sub { font-size: 12px; color: var(--muted); min-height: 16px; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.plan-feats li { position: relative; padding-left: 26px; font-size: 13.5px; color: var(--text); line-height: 1.45; }
.plan-feats li b { font-weight: 700; }
.plan-feats li::before {
  content: ''; position: absolute; left: 0; top: 2px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23CEFF1A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
  transition: background-color .45s ease;
}
.plan-feats li.inc { color: var(--text-2); font-weight: 600; }
.coach-plan .plan-feats li::before { background-color: var(--gold-soft); }
.plans-foot { text-align: center; margin-top: 26px; font-size: 12px; color: var(--muted); }

/* ── CTA final ── */
section.cta { text-align: center; padding-bottom: 8px; }
section.cta .cta-box {
  border: 1px solid var(--border); border-radius: var(--r-xl);
  background: var(--surface); padding: 72px 32px;
  position: relative; overflow: hidden; transition: var(--tint);
}
section.cta .cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, var(--accent-soft), transparent 70%);
  pointer-events: none; transition: background .5s ease;
}
section.cta h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 4.5vw, 42px);
  letter-spacing: -1.2px; margin-bottom: 12px; text-wrap: balance;
}
section.cta p { color: var(--text-2); font-size: 15px; margin-bottom: 30px; }
.cta .stores { justify-content: center; position: relative; }
.cta-note { position: relative; margin-top: 26px !important; margin-bottom: 0 !important; font-size: 14px !important; }
.cta-note a { font-weight: 600; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border); margin-top: 96px; padding: 34px 0 48px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; transition: border-color .5s ease;
}
footer .legal { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--text-2); font-size: 13px; }
footer a:hover { color: var(--text); }
footer .copy { font-size: 13px; color: var(--text-2); }

/* ── Botón flotante de tono ── */
.theme-fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; }
.fab-toggle {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: var(--card); border: 1px solid var(--border-light);
  display: grid; place-items: center; position: relative;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); transition: var(--tint), transform .2s;
}
.fab-toggle:hover { transform: translateY(-2px); }
.fab-ring {
  width: 24px; height: 24px; border-radius: 50%;
  background: conic-gradient(from 0deg, #CEFF1A, #00D4AA, #3A7BFF, #FF2D87, #FF5A1F, #CEFF1A);
  box-shadow: inset 0 0 0 5px var(--card); transition: box-shadow .5s ease;
}
.fab-panel {
  position: absolute; right: 0; bottom: 64px; width: 200px;
  background: var(--card); border: 1px solid var(--border-light); border-radius: var(--r-lg);
  padding: 16px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transform-origin: bottom right;
  transition: opacity .22s ease, transform .22s ease, visibility .22s, background-color .5s ease, border-color .5s ease;
}
.theme-fab.open .fab-panel { opacity: 1; visibility: visible; transform: none; }
.fab-label {
  font-family: var(--font-display); font-weight: 600; font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.fab-label:not(:first-child) { margin-top: 16px; }
.fab-themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.fab-sw {
  width: 100%; aspect-ratio: 1; border-radius: 7px; cursor: pointer;
  border: 1.5px solid var(--border-light); padding: 0; transition: transform .18s, border-color .18s;
}
.fab-sw:hover { transform: scale(1.1); }
.fab-sw.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.fab-accents { display: flex; gap: 10px; }
.fab-ac {
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer;
  border: 2px solid transparent; padding: 0; transition: transform .18s;
}
.fab-ac:hover { transform: scale(1.12); }
.fab-ac.active { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px currentColor; }
.fab-reset {
  margin-top: 16px; width: 100%; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px;
  transition: var(--tint);
}
.fab-reset:hover { color: var(--text); border-color: var(--border-light); }
@media (prefers-reduced-motion: reduce) {
  .fab-panel { transition: opacity .2s, visibility .2s; transform: none; }
}

/* ── Cómo funciona (timeline a dos carriles) ── */
.flow .section-head { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

.flow-legend {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  max-width: 880px; margin: 0 auto 12px;
}
.flow-legend span {
  text-align: center; padding-bottom: 11px; border-bottom: 2px solid;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase;
  transition: color .45s ease, border-color .45s ease;
}
.flow-legend .fl-athlete { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.flow-legend .fl-trainer { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 40%, transparent); }

.flow-timeline { position: relative; padding-top: 6px; }
.flow-spine {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  transform: translateX(-50%); background: var(--border);
  transition: background-color .5s ease;
}
.flow-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0;
  background: var(--accent); border-radius: 2px; transition: background-color .45s ease;
}

.flow-phase { position: relative; display: flex; flex-direction: column; align-items: center; margin: 24px 0; }
.flow-phase:first-of-type { margin-top: 0; }
.flow-dot {
  width: 15px; height: 15px; border-radius: 50%; position: relative; z-index: 2;
  background: var(--surface); border: 2px solid var(--border-light);
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.flow-dot.lit { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.flow-dot.node { position: absolute; left: 50%; top: 26px; transform: translate(-50%, -50%); width: 11px; height: 11px; }
.flow-dot.node.lit { box-shadow: 0 0 0 5px var(--accent-soft); }
.flow-row.zig.right .flow-dot.node.lit { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.fp-label {
  margin-top: 9px; padding: 0 14px; position: relative; z-index: 2; background: var(--bg);
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--accent);
  transition: color .45s ease, background-color .5s ease;
}

.flow-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 18px; }
.flow-row.full { grid-template-columns: 1fr; }

/* zigzag cronológico (fase Entrenas): una tarjeta por lado */
.flow-row.zig { align-items: start; margin-bottom: 14px; }
.flow-row.zig.left  .flow-step { grid-column: 1; }
.flow-row.zig.right .flow-step { grid-column: 2; }

.flow-step {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 7px;
  transition: border-color .3s, transform .3s, background-color .5s ease;
}
.flow-step:hover { transform: translateY(-3px); border-color: var(--border-light); }
.flow-step.trainer:hover { border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.flow-step.wide { max-width: 760px; width: 100%; margin: 0 auto; }
.fs-step {
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); transition: color .45s ease;
}
.flow-step.trainer .fs-step { color: var(--gold); }
.fs-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fs-tag {
  font-family: var(--font-display); font-weight: 700; font-size: 9.5px;
  letter-spacing: .8px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
}
.fs-tag.coach { color: var(--gold); background: var(--gold-soft); }
.fs-tag.solo { color: var(--accent); background: var(--accent-soft); transition: var(--tint); }
.fs-data-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flow-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.2px; }
.flow-step > p { font-size: 13px; color: var(--text-2); text-wrap: pretty; }
.fs-data { margin-top: auto; padding-top: 10px; }

/* código de vínculo (coach) */
.fs-code {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 13px; transition: var(--tint);
}
.fs-code .fc-label { font-size: 11px; color: var(--muted); }
.fs-code .fc-val { display: flex; align-items: center; gap: 7px; font-family: var(--font-stat); font-size: 18px; letter-spacing: 1px; color: var(--text); }
.fs-code .fc-val i {
  width: 16px; height: 16px; border-radius: 50%; background: var(--gold); color: var(--gold-on);
  font-size: 10px; font-style: normal; display: grid; place-items: center; font-family: var(--font-body);
}

/* día de calendario con RIR (coach) */
.fs-cal {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 9px 13px; transition: var(--tint);
}
.fs-cal b { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--text); }
.fs-cal small { font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--gold); }

/* objetivos de entrenamiento — reps/peso/RIR (entrenador) */
.fs-targets { display: flex; flex-wrap: wrap; gap: 7px; }
.fs-targets span {
  font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--gold);
  background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  border-radius: 999px; padding: 4px 12px;
}

/* lista de 3 días (solo) */
.fs-days { display: flex; flex-direction: column; gap: 6px; }
.fs-days span {
  display: flex; align-items: baseline; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 9px;
  padding: 7px 11px; font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--text);
  transition: var(--tint);
}
.fs-days span small { margin-left: auto; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 11px; }

/* recolocacion por IA: varios dias fallados -> sesion fusionada */
.fs-rebal { display: flex; flex-direction: column; gap: 6px; }
.fs-rebal-ia {
  align-self: center; margin: 2px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--accent);
  transition: color .45s ease;
}

/* vídeo enviado (coach) */
.fs-video {
  display: flex; align-items: center; gap: 11px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 13px; font-size: 12px; color: var(--text-2); transition: var(--tint);
}
.fs-video .fv-ic { width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; background: var(--gold-soft); position: relative; }
.fs-video .fv-ic::after {
  content: ''; position: absolute; left: 54%; top: 50%; transform: translate(-50%,-50%);
  border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--gold);
}

/* feedback del coach */
.fs-fb {
  background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  border-radius: 10px; padding: 10px 13px; font-size: 12px; color: var(--text);
}
.fs-fb b { color: var(--gold); font-family: var(--font-display); font-weight: 700; }
.fs-fb small { display: block; margin-top: 4px; color: var(--text-2); font-size: 11px; }

/* adherencia (coach) */
.fs-adh { display: flex; align-items: baseline; gap: 9px; }
.fs-adh b { font-family: var(--font-stat); font-size: 30px; color: var(--gold); line-height: 1; }
.fs-adh b span { font-size: 17px; }
.fs-adh small { font-size: 12px; color: var(--text-2); }

/* barra de reto (solo) */
.fs-chal .ch-name { font-family: var(--font-display); font-weight: 700; font-size: 12px; margin-bottom: 9px; color: var(--text); }

/* CTA de la sección */
.flow-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.flow-cta a {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid;
  transition: background-color .25s, border-color .25s, color .45s ease;
}
.flow-cta a:hover { text-decoration: none; }
.flow-cta .fc-go { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.flow-cta .fc-go:hover { background: var(--accent-soft); }
.flow-cta .fc-coach { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.flow-cta .fc-coach:hover { background: var(--gold-soft); }

@media (prefers-reduced-motion: reduce) { .flow-fill { height: 100%; } }

@media (max-width: 880px) {
  .flow-legend { display: none; }
  .flow-spine { left: 7px; transform: none; }
  .flow-phase { align-items: flex-start; }
  .fp-label { margin-top: 8px; margin-left: 24px; padding-left: 0; }
  .flow-row { grid-template-columns: 1fr; gap: 12px; padding-left: 30px; }
  .flow-row.zig.left .flow-step, .flow-row.zig.right .flow-step { grid-column: 1; }
  .flow-dot.node { left: 7px; top: 22px; }
  .flow-step.wide { max-width: none; margin: 0; }
  .fs-data-wide { grid-template-columns: 1fr; }
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .themes-grid { grid-template-columns: repeat(3, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .coach-layout { grid-template-columns: 1fr; }
  .coach-panel { position: static; }
}
@media (max-width: 880px) {
  header.hero { padding-top: 40px; }
  .hero-foot { padding-bottom: 8px; }
  .phone-section { padding: 32px 0 72px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.span2 { grid-column: span 2; }
  .routines-duo { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
  .rebalance-flow { grid-template-columns: 1fr; }
  .rebalance-flow .ia-badge { justify-self: start; }
  .nav-links a:not(.pill) { display: none; }
  section { padding-top: 80px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .card.span2 { grid-column: span 1; }
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: 1fr; }
  .coach-points { grid-template-columns: 1fr; }
  .card:not(.mini) .big-stat { font-size: 76px; }
  .phone { width: 300px; }
}
