:root {
  --bg-primary: #070d19;
  --bg-secondary: #0e1729;
  --bg-card: #121e34;
  --bg-elevated: #182744;
  --border-subtle: rgba(212, 175, 55, 0.2);
  --border-soft: rgba(255, 255, 255, 0.09);
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --gold-accent: #d4af37;
  --gold-bright: #e0bd53;
  --teal-calm: #2dd4bf;
  --emerald-ok: #10b981;
  --amber-warn: #f59e0b;
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.36);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

body.theme-light {
  --bg-primary: #f4f7fb;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #edf2f9;
  --border-subtle: rgba(181, 137, 28, 0.28);
  --border-soft: rgba(10, 20, 40, 0.1);
  --text-primary: #0a1428;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --gold-accent: #b5891c;
  --gold-bright: #9a7213;
  --teal-calm: #0d9488;
  --emerald-ok: #059669;
  --amber-warn: #d97706;
  --shadow-soft: 0 10px 28px rgba(10, 20, 40, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p,
li,
td,
span,
a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Cabecera institucional serena */
.top-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(7, 13, 25, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

body.theme-light .top-header {
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 34px;
  background: var(--border-subtle);
}

.brand-vertical-tag {
  display: flex;
  flex-direction: column;
}

.brand-vertical-title {
  font-size: clamp(0.84rem, 1.1vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.brand-vertical-sub {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
}

.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-ok);
  box-shadow: 0 0 8px var(--emerald-ok);
}

.icon-btn {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--gold-accent);
}

/* Barra de navegación principal */
.nav-tabs-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-soft);
}

.nav-tabs-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 8px 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.nav-tab-btn {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.nav-tab-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.nav-tab-btn.active {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--gold-accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* Contenedor principal */
.main-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px 20px 100px;
}

.view-panel {
  display: none;
  animation: fadeCalm 0.26s ease;
}

.view-panel.active {
  display: block;
}

@keyframes fadeCalm {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Banda resumen superior del líder */
.hero-summary-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-accent);
  margin-bottom: 6px;
}

.hero-title {
  margin: 0 0 8px;
  font-size: clamp(1.32rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
}

.hero-bio-line {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  max-width: 72ch;
}

.hero-kpis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kpi-mini-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.kpi-mini-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-mini-value {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
}

.kpi-mini-sub {
  font-size: 0.75rem;
  color: var(--teal-calm);
}

/* Barra flotante/integrada de Música Motivacional */
.music-dock-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.music-play-btn {
  min-width: 158px;
  min-height: 50px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-accent);
  background: linear-gradient(135deg, #d4af37 0%, #b89020 100%);
  color: #070d19;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.music-play-btn.playing {
  background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
  border-color: #2dd4bf;
  color: #041311;
}

.music-channels-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.music-chip {
  min-height: 42px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.music-chip.active {
  border-color: var(--gold-accent);
  color: var(--text-primary);
  background: rgba(212, 175, 55, 0.16);
}

.music-controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spectrum-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  width: 66px;
}

.spec-bar {
  flex: 1;
  background: var(--gold-accent);
  border-radius: 2px;
  height: 5px;
  transition: height 0.12s ease;
}

/* Tarjetas y Retículas Generales */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card-exec {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-exec.gold-border {
  border-color: var(--border-subtle);
}

.section-heading {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  font-weight: 800;
}

.section-sub {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 75ch;
}

/* Selector de las 3 Fases ANTES · DURANTE · DESPUÉS */
.phase-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.phase-step-btn {
  min-height: 58px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.2s ease;
}

.phase-step-btn.active {
  background: var(--bg-card);
  border-color: var(--gold-accent);
  color: var(--text-primary);
}

.phase-step-num {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-accent);
}

.phase-step-title {
  font-size: 0.95rem;
  font-weight: 700;
}

/* Cabina Interactiva de Ejercicio (DURANTE + Pantalla Completa) */
.workout-cabin {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.workout-cabin:fullscreen,
.workout-cabin.is-fullscreen {
  background: var(--bg-primary);
  padding: 28px;
  overflow-y: auto;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

.cabin-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.exercise-photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #050912;
  aspect-ratio: 16 / 9;
}

.exercise-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 13, 25, 0.82);
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-size: 0.76rem;
  font-weight: 700;
}

.photo-badge-bottom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.9);
  color: #03150f;
  font-size: 0.75rem;
  font-weight: 800;
}

.timer-display-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin-bottom: 14px;
}

.timer-big-digits {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.breath-pacer-pill {
  margin-top: 10px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--teal-calm);
  font-size: 0.88rem;
  font-weight: 700;
}

.btn-primary-gold {
  min-height: 50px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-accent);
  background: linear-gradient(135deg, #d4af37 0%, #b88e1d 100%);
  color: #070d19;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter 0.18s ease, transform 0.12s ease;
}

.btn-primary-gold:hover {
  filter: brightness(1.07);
}

.btn-secondary-calm {
  min-height: 48px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary-calm:hover,
.btn-secondary-calm.active {
  border-color: var(--gold-accent);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}

.anat-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* Esfera Respiratoria Vagal Post-Entrenamiento */
.vagal-sphere-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
}

.vagal-sphere {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.42) 0%, rgba(16, 185, 129, 0.12) 70%);
  border: 2px solid var(--teal-calm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: transform 3.8s ease-in-out, box-shadow 3.8s ease-in-out;
}

.vagal-sphere.inhale {
  transform: scale(1.26);
  box-shadow: 0 0 42px rgba(45, 212, 191, 0.45);
}

.vagal-sphere.exhale {
  transform: scale(0.86);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.15);
}

/* Formularios y controles ergonómicos */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.field-input,
.field-select,
.field-textarea {
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: inherit;
  width: 100%;
}

.field-textarea {
  min-height: 78px;
  resize: vertical;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-pill {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--text-primary);
}

.check-pill input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold-accent);
  flex-shrink: 0;
}

/* Tablas Ejecutivas con transformación móvil a tarjetas apiladas */
.exec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.exec-table th,
.exec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
}

.exec-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-accent);
  background: var(--bg-elevated);
}

/* Gráficas SVG/Canvas Responsivas */
.chart-box {
  width: 100%;
  min-height: 230px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px;
}

/* Botón Flotante Oficial de WhatsApp GERENCIA-EGO (+58 422 7770700) */
#ge-wa-boton-v2 {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

#ge-wa-boton-v2 .wa-circle {
  order: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid #c9a84c;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
}

#ge-wa-boton-v2 .wa-pill {
  order: 2;
  background: #0a1428;
  color: #ffffff;
  border: 1px solid #c9a84c;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.fullscreen-workout-active #ge-wa-boton-v2 {
  display: none;
}

/* Aviso ético preventivo */
.ethical-banner {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border-left: 4px solid var(--gold-accent);
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* Portal Ejecutivo de Membresía y Licenciamiento */
.gate-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-bottom: 28px;
  align-items: stretch;
}

.gate-brand-word {
  color: var(--text-primary);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.gate-slogan-gold {
  display: inline-block;
  color: var(--gold-accent);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.gate-feature-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.gate-feature-list li {
  margin-bottom: 8px;
}

.plans-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.plan-card.featured {
  border: 1.5px solid var(--gold-accent);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, var(--bg-card) 100%);
}

.plan-price-tag {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-accent);
  margin: 4px 0 2px;
}

.plan-freq-note {
  font-size: 0.8rem;
  color: var(--teal-calm);
  font-weight: 600;
  margin-bottom: 10px;
}

.membership-badge-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.key-toggle-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.key-toggle-row .field-input {
  flex: 1;
  min-width: 0;
}

.owner-credential-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--emerald-ok);
  background: rgba(16, 185, 129, 0.1);
  font-size: 0.88rem;
}

.mini-action-btn {
  min-height: 38px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.mini-action-btn:hover {
  border-color: var(--gold-accent);
}

/* ==========================================================================
   INGENIERÍA RESPONSIVA 4-TIERS (0 px overflow horizontal garantizado)
   ========================================================================== */

/* Tier 2: Tablets / iPad Pro (641px - 1024px) */
@media (max-width: 1024px) {
  .hero-summary-card,
  .gate-hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cabin-grid {
    grid-template-columns: 1fr;
  }
  .music-dock-card {
    grid-template-columns: 1fr;
  }
  .nav-tabs-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tier 1: Celulares del Mundo (320px - 640px) */
@media (max-width: 640px) {
  .header-inner {
    padding: 10px 14px;
  }
  .brand-divider {
    display: none;
  }
  .brand-logo-img {
    height: 38px;
  }
  .nav-tabs-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px 12px;
  }
  .nav-tab-btn:last-child {
    grid-column: span 2;
  }
  .main-container {
    padding: 16px 12px 135px;
  }
  #ge-wa-boton-v2 {
    right: 12px;
    bottom: 12px;
  }
  #ge-wa-boton-v2 .wa-circle {
    width: 46px;
    height: 46px;
  }
  #ge-wa-boton-v2 .wa-pill {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
  .hero-summary-card,
  .card-exec,
  .plan-card,
  .workout-cabin,
  .music-dock-card {
    padding: 15px;
  }
  .hero-kpis-grid,
  .grid-3,
  .grid-2,
  .plans-grid-4,
  .gate-hero-grid,
  .form-grid,
  .check-grid,
  .phase-stepper {
    grid-template-columns: 1fr;
  }
  .key-toggle-row {
    flex-direction: column;
  }
  .btn-primary-gold,
  .btn-secondary-calm,
  .music-play-btn {
    width: 100%;
    min-height: 50px;
  }
  .cta-row {
    flex-direction: column;
  }

  /* Transformación de tablas a tarjetas apiladas */
  .exec-table thead {
    display: none;
  }
  .exec-table,
  .exec-table tbody,
  .exec-table tr,
  .exec-table td {
    display: block;
    width: 100%;
  }
  .exec-table tr {
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    margin-bottom: 12px;
  }
  .exec-table td {
    padding: 7px 0;
    border-bottom: 1px dashed var(--border-soft);
  }
  .exec-table td:last-child {
    border-bottom: none;
  }
  .exec-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-accent);
    margin-bottom: 2px;
  }
}
