/* Ejecutora design tokens for the Joa Bakery RQV kit */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800&family=Nunito+Sans:wght@400;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --cyan: #00C2CB;
  --cyan-dark: #00A8B0;
  --cyan-light: #E8FFFE;
  --cyan-mid: #B2F0F2;
  --navy: #1A1F6E;
  --navy-mid: #2D3399;
  --violet: #7B5CF5;
  --violet-light: #EDE8FF;
  --violet-mid: #CECBF6;
  --pink: #FF6B8A;
  --pink-light: #FFE8EE;
  --pink-mid: #F4C0D1;
  --green-light: #ECFDF5;
  --green-dark: #059669;
  --amber-light: #FFFBEB;
  --amber-dark: #D97706;
  --white: #FFFFFF;
  --bg-app: #F5F9FF;
  --body-text: #2A2A3A;
  --text-secondary: #5A5A72;
  --text-muted: #9898B0;
  --border: #E0E8FF;

  --font-display: 'Nunito', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 50px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 4px rgba(26,31,110,0.06);
  --shadow-sm: 0 2px 8px rgba(26,31,110,0.08);
  --shadow-md: 0 4px 20px rgba(26,31,110,0.10);
  --shadow-lg: 0 8px 32px rgba(26,31,110,0.14);
  --shadow-cyan: 0 4px 20px rgba(0,194,203,0.28);
  --shadow-violet: 0 4px 20px rgba(123,92,245,0.28);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-app);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}

p { margin: 0; font-size:18px!important}

button {
  font-family: var(--font-display);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a { color: var(--cyan-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.app {
  min-height: 100vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 40px 80px;
}

/* ============ HEADER ============ */
.kit-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.kit-header::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,203,0.20) 0%, rgba(0,194,203,0) 70%);
  pointer-events: none;
}
.kit-header .header-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.kit-header .brand-logo {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.20));
}
.kit-header .header-eyebrow {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 18px;
}
.kit-header .header-eyebrow .eyebrow-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}
.kit-header .header-eyebrow .eyebrow-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.65);
}
.kit-header h1 {
  color: #fff;
  font-size: 44px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}
.kit-header .subtitle {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
.kit-header .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-xl);
  padding: 7px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.10);
  color: #fff;
  white-space: nowrap;
}
.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.chip-cyan { background: var(--cyan-light); color: var(--cyan-dark); border-color: var(--cyan-mid); }
.chip-cyan .dot { background: var(--cyan); }
.chip-violet { background: var(--violet-light); color: var(--violet); border-color: var(--violet-mid); }
.chip-violet .dot { background: var(--violet); }
.chip-pink { background: var(--pink-light); color: var(--pink); border-color: var(--pink-mid); }
.chip-pink .dot { background: var(--pink); }
.chip-light { background: rgba(255,255,255,0.95); color: var(--navy); }
.chip-light .dot { background: var(--navy); }

/* ============ TABS NAV ============ */
.tabs-nav {
  display: flex;
  gap: 6px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 8px;
  margin-top: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow-x: auto;
}
.tab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  transition: all 0.18s ease;
  text-align: left;
  white-space: nowrap;
  min-width: max-content;
}
.tab-btn .tab-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  opacity: 0.7;
}
.tab-btn:hover { background: var(--bg-app); color: var(--navy); }
.tab-btn.active {
  background: var(--navy);
  color: #fff;
}
.tab-btn.active .tab-num { color: var(--cyan); opacity: 1; }

/* ============ TAB PANELS ============ */
.tab-panel {
  margin-top: 28px;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--cyan-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: 32px;
  letter-spacing: -0.3px;
}
.section-lead {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 780px;
  margin-top: 12px;
  line-height: 1.55;
}

/* Generic card */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.card-flat {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
}
.card h3 { font-size: 20px; }

/* Pill heading */
.pill-h {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-light);
  color: var(--cyan-dark);
  border-radius: var(--radius-xl);
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============ DIAGNÓSTICO ============ */
.diag-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.diag-bottleneck {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.diag-bottleneck .label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 2.5px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.diag-bottleneck h2 {
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}
.diag-bottleneck .pre {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.diag-bottleneck .accent-bar {
  width: 60px;
  height: 4px;
  background: var(--cyan);
  border-radius: 2px;
  margin: 20px 0 22px;
}
.diag-bottleneck p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  line-height: 1.65;
}

.diag-indicators {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
}
.indicator {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.indicator.violet { border-left-color: var(--violet); }
.indicator.pink { border-left-color: var(--pink); }
.indicator .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 28px;
  color: var(--cyan);
  min-width: 38px;
}
.indicator.violet .num { color: var(--violet); }
.indicator.pink .num { color: var(--pink); }
.indicator .title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.indicator .body {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.diag-context {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.diag-context .card {
  padding: 28px 32px;
}
.diag-context h3 {
  color: var(--navy);
  margin-bottom: 12px;
}
.diag-context p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}
.diag-rule {
  background: var(--cyan-light);
  border: 1px solid var(--cyan-mid);
}
.diag-rule .quote-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  color: var(--cyan);
  line-height: 0.6;
  margin-bottom: 8px;
}
.diag-rule h3 { color: var(--navy); }
.diag-rule p { color: var(--navy); font-size: 16px; }

/* ============ RUTINA ============ */
.rutina-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.rutina-meta .meta-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rutina-meta .meta-chip strong {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--navy);
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.day-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.day-card.is-wed {
  border: 2px solid var(--cyan);
  box-shadow: var(--shadow-cyan);
  background: linear-gradient(180deg, #fff 0%, var(--cyan-light) 100%);
}
.day-card .day-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.day-card.is-wed .day-head {
  border-bottom-color: var(--cyan-mid);
}
.day-card .day-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.day-card.is-wed .day-name { display: flex; align-items: center; gap: 6px; }
.day-card .day-tagline {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.4;
}
.day-card.is-wed .star-badge {
  font-size: 14px;
  color: var(--cyan-dark);
}
.day-card .wed-banner {
  display: inline-block;
  background: var(--cyan);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  margin-top: 8px;
}
.bloque {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bloque-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.bloque-head .icon {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: var(--bg-app);
  font-size: 10px;
}
.bloque-head .mins {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}
.bloque-body {
  font-size: 13.5px;
  color: var(--body-text);
  line-height: 1.5;
}

/* ============ MENÚ ============ */
.menu-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.menu-col {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.menu-col .col-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.menu-col .col-icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  font-size: 14px;
}
.menu-col .col-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.menu-col .col-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.menu-col.keep .col-icon { background: var(--green-light); color: var(--green-dark); }
.menu-col.reposition .col-icon { background: var(--amber-light); color: var(--amber-dark); }
.menu-col.create .col-icon { background: var(--violet-light); color: var(--violet); }

.menu-item {
  background: var(--bg-app);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid transparent;
}
.menu-col.keep .menu-item { background: #F0FDF4; border-color: #C7F0D5; }
.menu-col.reposition .menu-item { background: var(--amber-light); border-color: #FCE5B5; }
.menu-col.create .menu-item { background: var(--violet-light); border-color: var(--violet-mid); }
.menu-item .mi-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px; margin-bottom: 4px;
}
.menu-item .mi-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy);
  flex: 1;
}
.menu-item .mi-price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  color: var(--navy);
  white-space: nowrap;
}
.menu-item .mi-why {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Escalera de valor */
.ladder-section {
  margin-top: 36px;
}
.ladder-section h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.ladder-section .lead {
  color: var(--text-secondary);
  margin-bottom: 22px;
}
.ladder {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}
.rung {
  border-radius: var(--radius-lg);
  padding: 22px 18px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  box-shadow: var(--shadow-sm);
}
.rung[data-level="A"] { background: #E8FFFE; color: #085041; margin-top: 56px; }
.rung[data-level="B"] { background: #EDE8FF; color: #26215C; margin-top: 42px; }
.rung[data-level="C"] { background: #FFE8EE; color: #4B1528; margin-top: 28px; }
.rung[data-level="D"] { background: #E8EAF6; color: #042C53; margin-top: 14px; }
.rung[data-level="M"] { background: #EAF3DE; color: #173404; margin-top: 0; }

.rung .level-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  align-self: flex-start;
}
.rung[data-level="A"] .level-tag { background: #B2F0F2; color: #085041; }
.rung[data-level="B"] .level-tag { background: #CECBF6; color: #26215C; }
.rung[data-level="C"] .level-tag { background: #F4C0D1; color: #4B1528; }
.rung[data-level="D"] .level-tag { background: #B5D4F4; color: #042C53; }
.rung[data-level="M"] .level-tag { background: #C0DD97; color: #173404; }
.rung .rung-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
}
.rung .rung-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  margin-top: auto;
}
.rung .rung-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
  opacity: 0.7;
  letter-spacing: 0.2px;
}

/* ============ PLAN 30 DÍAS ============ */
.plan-month {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.week-accordion {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.week-accordion.open { box-shadow: var(--shadow-md); }
.week-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  text-align: left;
  background: #fff;
  transition: background 0.15s ease;
}
.week-head:hover { background: var(--bg-app); }
.week-accordion.open .week-head {
  background: var(--bg-app);
  border-bottom: 1px solid var(--border);
}
.week-head .week-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--cyan-dark);
  background: var(--cyan-light);
  padding: 6px 12px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
}
.week-head .week-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
  flex: 1;
}
.week-head .week-dates {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-muted);
}
.week-head .chevron {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: var(--bg-app);
  color: var(--navy);
  font-size: 16px;
  transition: transform 0.2s ease;
}
.week-accordion.open .chevron { transform: rotate(90deg); background: var(--cyan); color: #fff; }

.week-body {
  padding: 8px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-day {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.plan-day:last-child { border-bottom: none; }
.plan-day .day-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-day .day-tag .date {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 22px;
  color: var(--cyan-dark);
  line-height: 1;
}
.plan-day.is-wed .day-tag .date { color: var(--cyan); }
.plan-day.is-wed .day-tag::after {
  content: "⭐ Día clave";
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  color: var(--cyan-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}
.plan-day .day-body {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.55;
}
.plan-day.is-wed .day-body {
  background: var(--cyan-light);
  border-left: 3px solid var(--cyan);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

/* ── PLAN — Two-parts structure ── */
.plan-part {
  margin-top: 36px;
}
.plan-part:first-of-type { margin-top: 28px; }
.plan-part-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.plan-part-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--cyan-dark);
  background: var(--cyan-light);
  padding: 6px 12px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
  text-transform: uppercase;
}
.plan-part-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.2px;
  line-height: 1.2;
  flex: 1;
}
.plan-part-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-style: italic;
}

/* Checklist card */
.plan-checklist {
  background: linear-gradient(135deg, var(--cyan-light) 0%, #fff 100%);
  border: 1px solid var(--cyan-mid);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.plan-checklist .ck-eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--cyan-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.plan-checklist h4 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 14px;
}
.plan-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.plan-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--body-text);
  line-height: 1.5;
}
.plan-checklist .ck-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cyan);
  border-radius: 6px;
  margin-top: 2px;
  background: #fff;
}

/* Campaign info card */
.plan-campaign-card {
  background: var(--violet-light);
  border: 1px solid var(--violet-mid);
  border-left: 5px solid var(--violet);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 14px;
}
.plan-campaign-card.adq { background: var(--cyan-light); border-color: var(--cyan-mid); border-left-color: var(--cyan); }
.plan-campaign-card.act { background: var(--pink-light); border-color: var(--pink-mid); border-left-color: var(--pink); }
.plan-campaign-card .pc-eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--violet);
  text-transform: uppercase;
}
.plan-campaign-card.adq .pc-eyebrow { color: var(--cyan-dark); }
.plan-campaign-card.act .pc-eyebrow { color: var(--pink); }
.plan-campaign-card h4 {
  font-size: 19px;
  color: var(--navy);
  margin-top: 6px;
  margin-bottom: 10px;
}
.plan-campaign-card .pc-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--body-text);
}
.plan-campaign-card .pc-row dt {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-top: 2px;
}
.plan-campaign-card .pc-row dd { margin: 0; }

/* Key dates */
.plan-keydates {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.plan-keydates h4 {
  font-size: 14px;
  color: var(--navy);
  font-family: var(--font-display);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.plan-keydates ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-keydates li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-text);
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}
.plan-keydates li:last-child { border-bottom: none; padding-bottom: 0; }
.plan-keydates li .kd-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--violet-light);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.plan-keydates li strong { color: var(--navy); }

/* Week head — campaign tag pill (used when accordion has a campaign type) */
.week-head .week-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
}
.week-head .week-tag.adq { background: var(--cyan-light); color: var(--cyan-dark); }
.week-head .week-tag.mon { background: var(--violet-light); color: var(--violet); }
.week-head .week-tag.act { background: var(--pink-light); color: var(--pink); }

/* Week intro — italic callout inside the accordion body */
.week-intro {
  background: var(--bg-app);
  border-left: 3px solid var(--cyan-mid);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 6px;
}

/* Week summary (compact, for June weeks — no day-by-day) */
.week-summary {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 18px 22px;
  margin-top: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px 18px;
  align-items: start;
  box-shadow: var(--shadow-sm);
}
.week-summary .ws-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--cyan-dark);
  background: var(--cyan-light);
  padding: 5px 11px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
  align-self: center;
}
.week-summary .ws-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: -0.1px;
}
.week-summary .ws-dates {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
  align-self: center;
}
.week-summary .ws-tag {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-xl);
  margin-top: 4px;
  align-self: flex-start;
}
.week-summary .ws-tag.adq { background: var(--cyan-light); color: var(--cyan-dark); }
.week-summary .ws-tag.mon { background: var(--violet-light); color: var(--violet); }
.week-summary .ws-tag.act { background: var(--pink-light); color: var(--pink); }
.week-summary .ws-body {
  grid-column: 2 / span 2;
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.55;
}

/* ============ COPIES ============ */
.copies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.copy-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.copy-card .copy-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.copy-card .copy-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.copy-card h3 {
  font-size: 19px;
  letter-spacing: -0.2px;
}
.copy-card .copy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.copy-card .meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
}
.meta-pill.lang-en { background: var(--cyan-light); color: var(--cyan-dark); }
.meta-pill.lang-es { background: var(--pink-light); color: var(--pink); }
.meta-pill.lang-spa { background: var(--violet-light); color: var(--violet); }
.meta-pill.channel { background: var(--bg-app); color: var(--text-secondary); border: 1px solid var(--border); }
.meta-pill.send { background: var(--navy); color: #fff; }

.copy-body {
  background: var(--bg-app);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body-text);
  white-space: pre-wrap;
  flex: 1;
}
.copy-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  transition: all 0.18s ease;
  box-shadow: var(--shadow-cyan);
}
.btn-copy:hover { background: var(--cyan-dark); }
.btn-copy:active { transform: scale(0.97); }
.btn-copy.copied { background: var(--green-dark); box-shadow: none; }
.btn-copy svg { width: 14px; height: 14px; }

/* ============ AUTORÍA ============ */
.autoria-bio {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  margin-top: 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.autoria-photo-col {
  background: var(--cyan-light);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.autoria-photo-col::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,194,203,0.10) 0, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(123,92,245,0.08) 0, transparent 35%);
  pointer-events: none;
}
.autoria-photo-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  aspect-ratio: 4 / 5;
  position: relative;
  z-index: 1;
}
.autoria-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.autoria-quote {
  position: relative;
  z-index: 1;
  padding-top: 8px;
}
.autoria-quote .qm {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 72px;
  color: var(--cyan);
  line-height: 0.6;
  margin-bottom: 12px;
}
.autoria-quote p {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--navy);
  line-height: 1.55;
  font-style: italic;
}
.autoria-quote .qsign {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--cyan-dark);
  text-transform: uppercase;
  margin-top: 12px;
}

.autoria-text-col {
  padding: 36px 36px 36px 8px;
}
.autoria-text-col .pill-h {
  margin-bottom: 14px;
}
.autoria-name {
  font-size: 44px;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.autoria-role {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--cyan-dark);
  letter-spacing: 0.4px;
  margin-top: 6px;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.autoria-p {
  font-size: 16.5px;
  color: var(--body-text);
  line-height: 1.65;
  margin-bottom: 14px;
}
.autoria-p strong { color: var(--navy); font-weight: 700; }

.autoria-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.autoria-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.autoria-stats .stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 30px;
  color: var(--cyan);
  line-height: 1;
}
.autoria-stats .stat-num small {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 2px;
}
.autoria-stats .stat-lbl {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  line-height: 1.3;
  text-transform: uppercase;
}

/* System */
.autoria-system {
  margin-top: 36px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}
.autoria-system h3 {
  font-size: 24px;
  margin-top: 14px;
}
.autoria-system .lead {
  color: var(--text-secondary);
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 780px;
  margin-bottom: 24px;
}
.system-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.system-steps .step {
  background: var(--bg-app);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  position: relative;
}
.system-steps .step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--cyan-dark);
  margin-bottom: 8px;
}
.system-steps .step-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.system-steps .step-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* CTA */
.autoria-cta {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.autoria-cta::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,203,0.20) 0%, rgba(0,194,203,0) 70%);
  pointer-events: none;
}
.autoria-cta::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,92,245,0.18) 0%, rgba(123,92,245,0) 70%);
  pointer-events: none;
}
.autoria-cta .cta-side { position: relative; z-index: 1; }
.autoria-cta .cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.cta-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.autoria-cta h3 {
  color: #fff;
  font-size: 30px;
  letter-spacing: -0.3px;
  line-height: 1.15;
}
.autoria-cta p {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 520px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cta-btn svg { width: 18px; height: 18px; }
.cta-btn-primary {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: var(--shadow-cyan);
}
.cta-btn-primary:hover { background: #fff; text-decoration: none; }
.cta-btn-primary:active { transform: scale(0.98); }
.cta-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.cta-btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
  text-decoration: none;
}
.cta-meta {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-top: 8px;
  text-align: center;
}

@media (max-width: 1100px) {
  .autoria-bio { grid-template-columns: 1fr; }
  .autoria-text-col { padding: 24px; }
  .autoria-stats { grid-template-columns: repeat(2, 1fr); }
  .system-steps { grid-template-columns: 1fr; }
  .autoria-cta { grid-template-columns: 1fr; padding: 28px; }
}

/* ============ FOOTER ============ */
.kit-footer {
  margin-top: 56px;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}
.kit-footer .quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.2px;
}
.kit-footer .quote .heart { color: var(--pink); }
.kit-footer .footer-meta {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 12px;
}

/* ============================================================
   RESPONSIVE — Mobile-first audience
   Most clients view this kit on phones; tablet & desktop are
   layered on top via larger-breakpoint queries already above.
   ============================================================ */

/* TABLET — ≤ 1100px */
@media (max-width: 1100px) {
  .app { padding: 24px 20px 80px; }
  .diag-grid, .diag-context, .copies-grid { grid-template-columns: 1fr; }
  .week-grid { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .rung { margin-top: 0 !important; }
  .menu-cols { grid-template-columns: 1fr; }
}

/* SMALL TABLET / LARGE PHONE — ≤ 760px */
@media (max-width: 760px) {
  .app { padding: 16px 14px 72px; }

  /* Header */
  .kit-header { padding: 26px 22px; border-radius: 20px; }
  .kit-header::after { width: 240px; height: 240px; right: -100px; top: -100px; }
  .kit-header .header-top { gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
  .kit-header .brand-logo { height: 36px; }
  .kit-header .header-eyebrow { padding-left: 12px; }
  .kit-header .header-eyebrow .eyebrow-line { font-size: 11px; letter-spacing: 1px; }
  .kit-header .header-eyebrow .eyebrow-sub { font-size: 11px; }
  .kit-header h1 { font-size: 30px; line-height: 1.1; letter-spacing: -0.3px; }
  .kit-header .subtitle { font-size: 14px; }
  .kit-header .chips { gap: 8px; margin-top: 16px; }
  .chip { font-size: 12px; padding: 5px 12px; gap: 6px; }

  /* Tabs nav */
  .tabs-nav {
    margin-top: 18px;
    padding: 6px;
    gap: 4px;
    border-radius: 14px;
    /* enable swipe scrolling on touch */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .tab-btn {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 10px;
    scroll-snap-align: start;
  }
  .tab-btn .tab-num { font-size: 10px; }

  /* Section heads */
  .tab-panel { margin-top: 20px; }
  .section-eyebrow { font-size: 10.5px; letter-spacing: 2px; margin-bottom: 6px; }
  .section-title { font-size: 26px; letter-spacing: -0.2px; }
  .section-lead { font-size: 15px; margin-top: 10px; }

  /* Diagnóstico */
  .diag-grid { gap: 14px; margin-top: 22px; }
  .diag-bottleneck { padding: 24px 22px; }
  .diag-bottleneck h2 { font-size: 24px; }
  .diag-bottleneck p { font-size: 14.5px; }
  .indicator { padding: 16px; gap: 12px; }
  .indicator .num { font-size: 24px; min-width: 32px; }
  .diag-context { gap: 14px; margin-top: 18px; }
  .diag-context .card { padding: 22px; }
  .diag-context h3 { font-size: 17px; }
  .diag-context p { font-size: 14.5px; }

  /* Rutina */
  .rutina-meta { gap: 8px; margin-top: 14px; }
  .rutina-meta .meta-chip { font-size: 12px; padding: 6px 12px; }
  .week-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
  .day-card { padding: 20px 18px; gap: 14px; }
  .day-card .day-name { font-size: 17px; }
  .bloque-body { font-size: 14px; }

  /* Menú */
  .menu-cols { gap: 14px; margin-top: 22px; }
  .menu-col { padding: 22px 20px; }
  .menu-item { padding: 12px 14px; }
  .menu-item .mi-name { font-size: 14px; }
  .menu-item .mi-price { font-size: 12px; }
  .menu-item .mi-why { font-size: 12.5px; }

  /* Escalera */
  .ladder-section { margin-top: 26px; }
  .ladder { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rung { padding: 18px 16px; min-height: 170px; }
  .rung .rung-name { font-size: 15px; }
  .rung .rung-price { font-size: 17px; }

  /* Plan 30 días */
  .week-head { padding: 18px 18px; gap: 12px; flex-wrap: wrap; }
  .week-head .week-num { font-size: 11px; padding: 5px 10px; }
  .week-head .week-title { font-size: 16px; flex-basis: 100%; order: 3; }
  .week-head .week-dates { font-size: 12px; margin-left: auto; }
  .week-body { padding: 6px 18px 22px; }
  .plan-day { grid-template-columns: 56px 1fr; gap: 14px; padding: 12px 0; }
  .plan-day .day-tag .date { font-size: 19px; }
  .plan-day .day-body { font-size: 14px; }

  /* Plan — Two-parts components (mobile) */
  .plan-part { margin-top: 28px; }
  .plan-part-head { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 14px; margin-bottom: 14px; }
  .plan-part-title { font-size: 20px; }
  .plan-part-sub { font-size: 13px; }
  .plan-checklist { padding: 20px 22px; }
  .plan-checklist ul { grid-template-columns: 1fr; gap: 10px; }
  .plan-checklist li { font-size: 13.5px; }
  .plan-campaign-card { padding: 18px 20px; }
  .plan-campaign-card h4 { font-size: 17px; }
  .plan-campaign-card .pc-row { grid-template-columns: 1fr; gap: 4px 0; }
  .plan-campaign-card .pc-row dt { margin-top: 8px; }
  .plan-keydates { padding: 18px 20px; }
  .plan-keydates li { font-size: 13.5px; grid-template-columns: 20px 1fr; }
  .week-summary { grid-template-columns: 1fr; padding: 16px 18px; gap: 8px; }
  .week-summary .ws-num { justify-self: start; align-self: start; }
  .week-summary .ws-dates { justify-self: start; align-self: start; }
  .week-summary .ws-tag { grid-column: 1; margin-top: 2px; }
  .week-summary .ws-body { grid-column: 1; }

  /* Week tag inside head wraps below week-num on mobile */
  .week-head .week-tag { font-size: 10.5px; padding: 3px 10px; }
  .week-intro { font-size: 13px; padding: 10px 14px; }

  /* Copies */
  .copies-grid { gap: 14px; margin-top: 22px; }
  .copy-card { padding: 22px 20px; }
  .copy-card h3 { font-size: 17px; }
  .copy-body { padding: 16px; font-size: 13.5px; }
  .btn-copy { font-size: 13px; padding: 11px 22px; }

  /* Autoría */
  .autoria-bio { gap: 0; }
  .autoria-photo-col { padding: 22px; gap: 18px; }
  .autoria-photo-frame { aspect-ratio: 4 / 3; max-width: 320px; margin: 0 auto; width: 100%; }
  .autoria-quote .qm { font-size: 56px; }
  .autoria-quote p { font-size: 14px; }
  .autoria-text-col { padding: 22px; }
  .autoria-name { font-size: 30px; }
  .autoria-role { font-size: 12.5px; margin-bottom: 16px; }
  .autoria-p { font-size: 14.5px; }
  .autoria-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; padding-top: 18px; }
  .autoria-stats .stat-num { font-size: 24px; }
  .autoria-stats .stat-lbl { font-size: 11px; }
  .autoria-system { padding: 24px 22px; margin-top: 22px; }
  .autoria-system h3 { font-size: 19px; }
  .autoria-system .lead { font-size: 14.5px; }
  .system-steps { gap: 12px; }
  .system-steps .step { padding: 18px 20px; }
  .autoria-cta { padding: 26px 22px; gap: 22px; }
  .autoria-cta h3 { font-size: 24px; }
  .autoria-cta p { font-size: 14.5px; }
  .cta-btn { padding: 14px 22px; font-size: 15px; }

  /* Footer */
  .kit-footer { margin-top: 36px; padding: 24px 20px; }
  .kit-footer .quote { font-size: 18px; }
  .kit-footer .footer-meta { font-size: 10.5px; letter-spacing: 1px; }
}

/* PHONE — ≤ 480px */
@media (max-width: 480px) {
  .app { padding: 12px 10px 64px; }

  .kit-header { padding: 22px 18px; }
  .kit-header h1 { font-size: 26px; }
  .kit-header .header-eyebrow {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-left: 0;
    padding-top: 10px;
    margin-top: 4px;
    width: 100%;
  }

  /* Tabs become single-line scroll */
  .tabs-nav { padding: 5px; gap: 3px; }
  .tab-btn { padding: 9px 12px; font-size: 13.5px; }
  .tab-btn .tab-num { display: none; }

  .section-title { font-size: 22px; }

  /* Diag bottleneck softer */
  .diag-bottleneck h2 { font-size: 20px; }
  .indicator { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
  .indicator .num { font-size: 22px; }

  /* Ladder collapses to single column on phone — easier to read */
  .ladder { grid-template-columns: 1fr; }
  .rung { min-height: auto; padding: 16px 18px; }
  .rung .rung-price { font-size: 16px; margin-top: 4px; }

  /* Plan day stack */
  .plan-day { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .plan-day .day-tag { flex-direction: row; align-items: baseline; gap: 8px; }
  .plan-day .day-tag .date { font-size: 17px; }
  .plan-day .day-tag::after { margin-top: 0; margin-left: 4px; }

  /* Stats single column on very small screens */
  .autoria-stats { grid-template-columns: 1fr; gap: 10px; }
  .autoria-stats .stat { flex-direction: row; align-items: baseline; gap: 10px; }
  .autoria-stats .stat-num { font-size: 22px; }
  .autoria-stats .stat-lbl br { display: none; }

  .cta-btn { width: 100%; }

  /* Copy body slightly tighter */
  .copy-body { font-size: 13px; line-height: 1.6; }
  .copy-card .copy-meta { gap: 6px; }
  .copy-card .meta-pill { font-size: 11px; padding: 3px 10px; }

  /* Calendario Mobile Fixes */
  .cal-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .cal-days-head { display: none !important; }
}

/* ==========================================================================
   PWA Install Banner (Universal Installer)
   ========================================================================== */
#pwa-install-banner {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 400px;
  background-color: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: var(--font-body);
}

#pwa-install-banner.visible {
  bottom: 24px;
}

.pwa-banner-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pwa-banner-title {
  font-weight: 700;
  font-size: 15px;
}

.pwa-banner-subtitle {
  font-size: 13px;
  color: var(--cyan-mid);
  line-height: 1.3;
}

.pwa-install-btn {
  background-color: var(--cyan);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-xl);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  white-space: nowrap;
  margin-left: 12px;
}

.pwa-install-btn:hover {
  background-color: var(--cyan-light);
  transform: scale(1.05);
}

.pwa-install-btn:active {
  transform: scale(0.95);
}

/* Modal Instructivo iOS */
#pwa-ios-instructions {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 10000;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#pwa-ios-instructions.visible {
  display: flex;
}

.ios-instructions-card {
  background-color: var(--white);
  width: 100%;
  padding: 32px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  text-align: center;
  animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.ios-icon-share {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-color: var(--cyan-light);
  color: var(--cyan-dark);
  border-radius: var(--radius-sm);
  line-height: 28px;
  font-weight: bold;
  margin: 0 6px;
  vertical-align: middle;
}

.ios-instructions-text {
  font-family: var(--font-body);
  color: var(--body-text);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.ios-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
}