:root {
  --bg: #0A0F1C;
  --bg-2: #0D1424;
  --panel: #121A2B;
  --panel-2: #1A2438;
  --border: #26324A;
  --text: #E7ECF5;
  --text-dim: #8291AC;
  --overlay-rgb: 10, 15, 28;
  --cyan: #4FD8EA;
  --amber: #F5A623;
  --green: #3DDC84;
  --purple: #A78BFA;
  --red: #FF5C5C;
  --blue: #5B9BFF;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

/* Modo claro: solo fondo/paneles/bordes/texto cambian — los colores de
   acento de las gráficas y estados (cian, ámbar, verde, morado, rojo) se
   mantienen iguales en ambos modos, igual que en la app. La excepción es
   --blue: no se usa en ninguna gráfica ni etiqueta de estado (solo en el
   "Clever" de la portada), así que aquí se oscurece un poco — el tono
   original quedaba deslavado sobre fondo claro. */
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F3F6FA;
  --panel: #F5F7FA;
  --panel-2: #EBEEF3;
  --border: #DBE1EA;
  --text: #12161F;
  --text-dim: #5B6472;
  --overlay-rgb: 255, 255, 255;
  --blue: #2E5FE0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(var(--overlay-rgb), 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-sm { font-size: 16px; }
a.brand { color: var(--text); text-decoration: none; }
a.brand:hover { color: var(--cyan); }

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

.nav-menu-wrap { position: relative; }

.nav-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}
.nav-menu-toggle span { width: 16px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-menu-toggle:hover { border-color: var(--cyan); }
.nav-menu-toggle:hover span { background: var(--cyan); }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--cyan); }

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 8px;
}
.nav-menu a:hover { background: var(--panel-2); color: var(--cyan); }
.nav-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.nav-menu button:hover { background: var(--panel-2); color: var(--cyan); }
.nav-menu-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  padding: 2px 7px;
  border-radius: 999px;
}

/* ---------- ventana de novedades ---------- */

.news-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}
.news-dialog::backdrop { background: rgba(var(--overlay-rgb), 0.72); backdrop-filter: blur(4px); }
.news-dialog .ui-window {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 48px);
  box-shadow: 0 40px 100px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(79, 216, 234, 0.08);
}
.news-dialog .ui-window-bar { align-items: center; flex-shrink: 0; }
.news-dialog-label { margin-left: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.news-close {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.news-close:hover { border-color: var(--cyan); color: var(--cyan); }
.news-dialog .ui-body { overflow-y: auto; }
.news-heading { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 4px; }
.news-date { font-family: var(--mono); font-size: 12px; color: var(--text-dim); margin: 0 0 20px; }
.news-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border); }
.news-icon { font-size: 22px; line-height: 1.2; flex-shrink: 0; }
.news-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.news-item ul { margin: 0; padding-left: 18px; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.news-item li + li { margin-top: 6px; }
.news-item li::marker { color: var(--cyan); }
.news-item p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.news-item strong { color: var(--text); }
.news-item a { color: var(--cyan); }
.news-actions { display: flex; justify-content: flex-end; padding-top: 16px; border-top: 1px solid var(--border); }

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(79, 216, 234, 0.25), 0 4px 14px rgba(20, 57, 110, 0.55);
}
.brand-sm .brand-logo { width: 24px; height: 24px; border-radius: 6px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #38b8cc);
  color: #04141a;
  padding: 11px 20px;
  box-shadow: 0 8px 24px rgba(79, 216, 234, 0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(79, 216, 234, 0.35); }

.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 12px; }

.btn-ghost-header {
  padding: 9px 16px;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost-header:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- eyebrow / headings ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  background: rgba(79, 216, 234, 0.08);
  border: 1px solid rgba(79, 216, 234, 0.25);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.eyebrow-amber {
  color: var(--amber);
  background: rgba(245, 166, 35, 0.08);
  border-color: rgba(245, 166, 35, 0.25);
}

h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 24px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 18px;
}

h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 18px 0 8px;
}

.accent-cyan {
  color: var(--cyan);
  background: linear-gradient(180deg, transparent 62%, rgba(79, 216, 234, 0.22) 62%);
}
.accent-amber { color: var(--amber); }
.accent-blue { color: var(--blue); }

.lede {
  font-size: 18px;
  color: var(--text);
  max-width: 640px;
  margin: 0 0 8px;
}

.section-head { max-width: 640px; margin: 0 auto 8px; text-align: left; }

/* ---------- scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.wear-visuals [data-reveal]:nth-child(2) { transition-delay: 0.12s; }

/* ---------- cover ---------- */

.cover {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.cover-bg {
  position: absolute;
  inset: -8%;
}
.cover-bg svg {
  width: 100%;
  height: 100%;
  filter: blur(2px) saturate(1.3);
  opacity: 0.9;
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--overlay-rgb), 0.25) 0%, rgba(var(--overlay-rgb), 0.55) 68%, var(--bg) 100%),
    radial-gradient(760px 420px at 50% 45%, rgba(var(--overlay-rgb), 0.05), rgba(var(--overlay-rgb), 0.55) 78%);
}

.cover-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 56px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.cover-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cover-cta .btn { min-width: 240px; }

.cover-slogan {
  font-size: clamp(46px, 9vw, 108px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ---------- hero ---------- */

.hero {
  padding: 76px 0 40px;
  background:
    radial-gradient(680px 380px at 82% -10%, rgba(79, 216, 234, 0.14), transparent 60%),
    radial-gradient(500px 320px at 8% 30%, rgba(167, 139, 250, 0.10), transparent 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn-ghost-hero {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost-hero:hover { border-color: var(--cyan); color: var(--cyan); }

.hero-cta-hint {
  font-size: 13px;
  color: var(--text-dim);
}

.ui-window {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}

.ui-window-bar {
  display: flex;
  gap: 7px;
  padding: 13px 16px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--border);
}
.ui-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.ui-window-bar span:nth-child(1) { background: #FF5C5C; }
.ui-window-bar span:nth-child(2) { background: #F5A623; }
.ui-window-bar span:nth-child(3) { background: #3DDC84; }

.ui-body { padding: 22px 24px 24px; }
.ui-body-center { display: flex; flex-direction: column; align-items: center; padding: 40px 24px; }

.ui-title { font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.ui-title-sm { font-size: 13.5px; color: var(--text-dim); font-weight: 600; margin-bottom: 18px; }

.hero-shot { position: relative; }
.hero-shot::after {
  content: "";
  position: absolute;
  inset: -50px;
  z-index: -1;
  background: radial-gradient(circle, rgba(79, 216, 234, 0.16), transparent 70%);
}
.ui-window-lg { box-shadow: 0 40px 100px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(79, 216, 234, 0.08); }

/* ---------- widgets: registro diario ---------- */

.reg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.reg-row:last-of-type { border-bottom: none; }
.reg-subject { display: flex; align-items: center; gap: 10px; }
.reg-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.reg-input {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--text);
  min-width: 70px;
  text-align: right;
}
.reg-input-empty { color: var(--text-dim); }
.reg-total {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 14.5px;
}
.reg-save { margin-top: 18px; width: 100%; }

/* ---------- widgets: contador ---------- */

.timer-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  margin-bottom: 10px;
  animation: timer-pulse 1.4s infinite;
}
@keyframes timer-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.timer-label { font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); margin-bottom: 14px; }
.timer-display { font-family: var(--mono); font-size: 42px; font-weight: 700; color: var(--cyan); letter-spacing: 0.02em; }
.btn-ghost-dark {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 18px;
}
.btn-ghost-dark:hover { border-color: var(--red); color: var(--red); }
.timer-stop { margin-top: 20px; }

/* ---------- widgets: mini gráfico / barras ---------- */

.mini-chart { width: 100%; height: 70px; margin-bottom: 18px; }

.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 84px 1fr 52px; align-items: center; gap: 10px; font-size: 12px; color: var(--text-dim); }
.bar-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row b { font-family: var(--mono); color: var(--text); font-weight: 600; font-size: 11.5px; text-align: right; }
.bar-track { height: 6px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; }

/* ---------- widgets: clasificación / desgaste ---------- */

.rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.rank-row:last-of-type { border-bottom: none; }
.rank-num { width: 16px; color: var(--text-dim); font-family: var(--mono); font-size: 12.5px; }
.rank-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.rank-name { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}
.rank-score {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.rank-score.extreme { color: #FF8FA3; background: rgba(255, 92, 92, 0.14); }
.rank-score.exigente { color: #E6C229; background: rgba(230, 194, 41, 0.14); }
.rank-score.brutal { color: #FF9F6B; background: rgba(255, 122, 61, 0.14); }
.rank-score.hard { color: var(--amber); background: rgba(245, 166, 35, 0.14); }
.rank-score.moderate { color: var(--green); background: rgba(61, 220, 132, 0.14); }

.factor-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.factor-head .ui-title-sm { margin-bottom: 0; }
.factor-score-row { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 20px; }
.factor-score { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; }
.factor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.factor-item small { display: block; color: var(--text-dim); font-size: 11.5px; margin-bottom: 4px; }
.factor-item strong { font-family: var(--mono); font-size: 15px; font-weight: 600; }

/* ---------- widgets: comparación (misma carga de créditos) ---------- */

.compare-row {
  display: grid;
  grid-template-columns: 1fr 90px 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.compare-label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.compare-row b { font-family: var(--mono); font-size: 12px; text-align: right; }
.compare-hero {
  margin-top: 18px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.compare-hero strong { color: var(--amber); font-family: var(--mono); }

/* ---------- widgets: antes / después ---------- */

.beforeafter { display: flex; align-items: center; gap: 10px; }
.ba-col {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
}
.ba-col small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--text-dim); margin-bottom: 12px; }
.ba-col strong { display: block; font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.ba-before { opacity: 0.55; }
.ba-after strong { color: var(--cyan); font-family: var(--mono); }
.ba-col span { font-size: 11px; color: var(--text-dim); }
.ba-arrow { color: var(--text-dim); font-size: 18px; flex-shrink: 0; }

/* ---------- widgets: panel de estadísticas ---------- */

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.stat-item small { display: block; color: var(--text-dim); font-size: 11.5px; margin-bottom: 6px; }
.stat-item strong { font-family: var(--mono); font-size: 18px; font-weight: 700; }

/* ---------- 2. el problema ---------- */

.section-problem { padding: 90px 0 100px; }

.contrast-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin-top: 40px;
}
.contrast-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
}
.contrast-before { opacity: 0.55; }
.contrast-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 92px;
  flex-shrink: 0;
}
.contrast-q { flex: 1; font-style: italic; color: var(--text-dim); font-size: 14px; }
.contrast-a { font-family: var(--mono); font-weight: 800; font-size: 16px; white-space: nowrap; }
.contrast-after { border-color: rgba(79, 216, 234, 0.3); }
.contrast-after .contrast-a { color: var(--cyan); }

/* ---------- 3. la idea ---------- */

.section-idea { padding: 90px 0 100px; border-top: 1px solid var(--border); }

.concept-bars {
  max-width: 580px;
  margin: 44px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.concept-bar-row {
  display: grid;
  grid-template-columns: 150px 1fr 74px;
  align-items: center;
  gap: 16px;
}
.concept-label { font-size: 14px; }
.concept-label small { display: block; color: var(--text-dim); font-family: var(--mono); font-size: 11px; margin-top: 3px; }
.concept-track { height: 10px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.concept-fill { height: 100%; border-radius: 6px; }
.concept-bar-row b { font-family: var(--mono); font-size: 14px; text-align: right; }

/* ---------- 4. cómo funciona / carousel ---------- */

.features { padding: 90px 0 100px; overflow: hidden; border-top: 1px solid var(--border); }

.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.form-row label { font-size: 13px; color: var(--text-dim); }
.reg-input-text { text-align: left; min-width: 140px; }

/* ---------- 5. tu referencia ---------- */

.section-reference { padding: 90px 0 100px; border-top: 1px solid var(--border); }
.reference-shot { max-width: 460px; margin-top: 40px; }

/* ---------- 7. clasificación histórica ---------- */

.section-diagnosis { padding: 90px 0 100px; }

.history-shot { max-width: 540px; margin-top: 40px; }

.history-fade { position: relative; }

.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.history-row:last-of-type { border-bottom: none; }
.history-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.history-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-meta { font-family: var(--mono); font-size: 11px; color: var(--text-dim); }
.history-score { font-family: var(--mono); font-weight: 800; font-size: 19px; color: var(--amber); white-space: nowrap; }
.history-score small { font-size: 11px; font-weight: 600; color: var(--text-dim); margin-left: 3px; }

.history-row-hidden { filter: blur(3px); opacity: 0.5; }

.history-veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 74px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  background: linear-gradient(180deg, transparent, var(--panel) 78%);
}
.history-more {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  background: var(--panel-2);
  border: 1px solid var(--border);
  padding: 6px 13px;
  border-radius: 100px;
}

/* ---------- 8. hacia dónde va ---------- */

.section-future { padding: 90px 0 100px; border-top: 1px solid var(--border); }
.future-shot { position: relative; max-width: 460px; margin-top: 40px; }
.future-shot-teaser .ui-body { filter: saturate(0.6) brightness(0.55) blur(1.5px); }
.section-closing-note {
  margin: 28px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
}

.carousel { position: relative; margin-top: 12px; }

.car-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 36px calc(50% - 200px) 50px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.car-track::-webkit-scrollbar { display: none; }

.car-slide {
  flex: 0 0 auto;
  width: min(420px, 76vw);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0.4;
  transform: scale(0.82);
  transition: opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.car-slide.is-active { opacity: 1; transform: scale(1); }

.car-slide-label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  background: var(--panel-2);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.car-slide.is-active .car-slide-label {
  color: var(--cyan);
  border-color: rgba(79, 216, 234, 0.4);
  background: rgba(79, 216, 234, 0.1);
  font-weight: 600;
}

.car-slide-shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  width: 100%;
  min-height: 260px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.45s ease, border-color 0.45s ease;
}
.car-slide.is-active .car-slide-shot {
  box-shadow: 0 44px 90px -20px rgba(79, 216, 234, 0.28), 0 20px 60px -20px rgba(0, 0, 0, 0.65);
  border-color: rgba(79, 216, 234, 0.35);
}

.car-slide-shot-teaser .ui-body { filter: saturate(0.6) brightness(0.55) blur(1.5px); }

.teaser-veil {
  position: absolute;
  inset: 0;
  top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teaser-badge {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text);
  background: rgba(var(--overlay-rgb), 0.75);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 100px;
}

.car-slide-desc {
  color: var(--text);
  font-size: 14.5px;
  max-width: 380px;
  margin: 18px 0 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
  min-height: 44px;
}
.car-slide.is-active .car-slide-desc { opacity: 1; transform: translateY(0); }

.car-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.car-arrow:hover { border-color: var(--cyan); color: var(--cyan); }
.car-arrow-prev { left: 8px; }
.car-arrow-next { right: 8px; }

.car-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 4px;
}
.car-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  background-clip: content-box;
  border: none;
  padding: 8px;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.car-dot.is-active { background: var(--cyan); background-clip: content-box; width: 40px; border-radius: 12px; }

@media (max-width: 720px) {
  .car-arrow { display: none; }
  .car-track { padding: 30px 12vw 44px; }
}

/* ---------- wear / desgaste ---------- */

.wear {
  padding: 100px 0 110px;
  background: linear-gradient(180deg, transparent, rgba(245, 166, 35, 0.05) 40%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wear-head { max-width: 820px; margin: 0 auto 52px; text-align: left; }

.wear-factors-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.wear-chip {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: 100px;
}

.wear-visuals {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ---------- final cta ---------- */

.final-cta { padding: 90px 0 100px; text-align: center; }
.final-cta-inner { display: flex; flex-direction: column; align-items: center; }
.final-cta .lede { margin-bottom: 30px; }
.final-cta-buttons { justify-content: center; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: 26px 0 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-note { color: var(--text-dim); font-size: 13px; }
.footer-link { color: var(--text-dim); font-size: 13px; text-decoration: none; }
.footer-link:hover { color: var(--cyan); }

/* ---------- responsive ---------- */

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-shot { order: 2; }
  .wear-visuals { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .cover { min-height: 44vh; }
}

/* Funciones adicionales (home) */
.section-more { padding: 90px 0 40px; border-top: 1px solid var(--border); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 36px; }
.feature-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 24px 24px 22px; }
.feature-card h3 { margin: 10px 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.feature-icon { font-size: 26px; line-height: 1; }
.section-closing-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
