/* =========================================================================
   PLAN ALIMENTICIO SEMANAL 3D — Sistema visual (negro / dorado premium)
   ========================================================================= */

:root {
  --bg: #050506;
  --bg-soft: #0c0c0e;
  --panel: rgba(20, 20, 22, 0.72);
  --panel-solid: #141416;
  --gold: #d4af37;
  --gold-light: #fbe69e;
  --gold-dark: #b88a1f;
  --gold-h: 45;          /* hue base del acento, controlado por Tweaks */
  --text: #f2f2f2;
  --muted: #a1a1aa;
  --line: rgba(212, 175, 55, 0.25);
  --p: #3b82f6;
  --c: #f59e0b;
  --f: #ef4444;
  --v: #22c55e;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  --glow: 0 0 28px rgba(212, 175, 55, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --motion: 1;           /* multiplicador de intensidad 3D (Tweaks) */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Fondo con textura de profundidad (capas de parallax) ------------------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}
.bg-glow.g1 { width: 60vw; height: 60vw; left: -15vw; top: 5vh;
  background: radial-gradient(circle, rgba(212,175,55,0.16), transparent 65%); }
.bg-glow.g2 { width: 50vw; height: 50vw; right: -12vw; top: 40vh;
  background: radial-gradient(circle, rgba(212,175,55,0.10), transparent 65%); }
.bg-glow.g3 { width: 45vw; height: 45vw; left: 20vw; top: 120vh;
  background: radial-gradient(circle, rgba(212,175,55,0.08), transparent 65%); }
.bg-grid {
  position: absolute;
  inset: -10% -10%;
  background-image:
    linear-gradient(rgba(212,175,55,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  will-change: transform;
}

.shell { position: relative; z-index: 1; }

/* Grano de película (atmósfera) ------------------------------------------ */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grainShift 0.9s steps(3) infinite; }
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2%, 1.5%); }
  66% { transform: translate(1.5%, -2%); }
  100% { transform: translate(0, 0); }
}

/* Barra de progreso de scroll -------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  box-shadow: 0 0 12px rgba(212,175,55,0.6);
  z-index: 200;
}

/* Nav -------------------------------------------------------------------- */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(20px, 5vw, 48px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(5,5,6,0.55);
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: -0.4px; white-space: nowrap; }
.logo img { height: 34px; border-radius: 7px; }
.logo .sub { color: var(--gold); font-size: 12px; font-weight: 600; }
.nav-badge {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700;
  background: rgba(212,175,55,0.1); color: var(--gold);
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
}
.nav-steps { display: flex; gap: 22px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.nav-steps a { color: var(--muted); text-decoration: none; transition: color 0.25s; position: relative; }
.nav-steps a:hover, .nav-steps a.current { color: var(--gold-light); }
.nav-steps a.current::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold); border-radius: 2px;
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 90px 20px 200px;
  perspective: 1400px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
  color: var(--gold-light);
  background: rgba(212,175,55,0.08); border: 1px solid var(--line);
  padding: 9px 18px; border-radius: 999px; margin-bottom: 30px;
}
.hero-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212,175,55,0.6); animation: pulse 2.4s infinite; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8.5vw, 118px);
  line-height: 0.92; font-weight: 400; letter-spacing: 0.5px;
  text-transform: uppercase; text-wrap: balance;
  margin: 0 0 28px; max-width: none;
  transform-style: preserve-3d;
}
.hero h1 .hl, .hero h1 em.hl {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* Revelado cinemático línea a línea (estado final visible por defecto) --- */
.kinetic .kline { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.kinetic .kline > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero:not(.loaded) .kline > span { transform: translateY(115%); }
  .hero.loaded .kline > span { transform: none; transition: transform 1s var(--ease); }
  .hero.loaded .kline:nth-child(2) > span { transition-delay: 0.14s; }
  .hero.loaded .kline:nth-child(3) > span { transition-delay: 0.28s; }
  .hero:not(.loaded) .hero-badge { opacity: 0; transform: translateY(-18px); }
  .hero:not(.loaded) .hero-sub,
  .hero:not(.loaded) .hero-cta,
  .hero:not(.loaded) .hero-ticker { opacity: 0; transform: translateY(26px); }
  .hero.loaded .hero-badge { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .hero.loaded .hero-sub { transition: opacity 0.9s var(--ease) 0.5s, transform 0.9s var(--ease) 0.5s; }
  .hero.loaded .hero-cta { transition: opacity 0.9s var(--ease) 0.65s, transform 0.9s var(--ease) 0.65s; }
  .hero.loaded .hero-ticker { transition: opacity 1s var(--ease) 0.8s; }
}
@keyframes klineUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
.hero p { font-size: clamp(15px, 2.2vw, 19px); color: var(--muted); max-width: 56ch; margin: 0 0 44px; text-wrap: pretty; }

/* Anillo 3D decorativo ----------------------------------------------------- */
.hero-ring {
  position: absolute; top: 50%; left: 50%; z-index: -1;
  width: min(78vw, 860px); aspect-ratio: 1; margin: calc(min(78vw, 860px) / -2);
  border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(212,175,55,0.16);
  box-shadow: inset 0 0 80px rgba(212,175,55,0.05);
  transform: rotateX(64deg);
}
.hero-ring::before {
  content: ''; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 78%, rgba(251,230,158,0.5) 92%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
}
.hero-ring::after {
  content: ''; position: absolute; inset: 12%; border-radius: 50%;
  border: 1px dashed rgba(212,175,55,0.12);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-ring::before { animation: ringSpin 14s linear infinite; }
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* Ticker dorado ------------------------------------------------------------ */
.hero-ticker {
  position: absolute; left: 0; right: 0; bottom: 104px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(212,175,55,0.04);
  overflow: hidden; white-space: nowrap; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; will-change: transform; }
.ticker-track span {
  font-family: var(--font-display); font-size: 17px; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(251,230,158,0.75);
}
.ticker-track i { font-style: normal; font-size: 8px; color: var(--gold-dark); }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: tickerScroll 26s linear infinite; }
}
@keyframes tickerScroll { to { transform: translateX(-50%); } }

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #050506; font-weight: 800; font-size: 16px;
  padding: 17px 38px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 14px 30px rgba(212,175,55,0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(212,175,55,0.35); }

.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-cue .mouse {
  width: 24px; height: 38px; border: 2px solid rgba(212,175,55,0.5); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-cue .mouse span { width: 4px; height: 8px; background: var(--gold); border-radius: 2px; animation: scrollDot 1.8s infinite; }

/* Floating macro chips (hero depth) -------------------------------------- */
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: rgba(20,20,22,0.7); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; font-weight: 700; font-size: 14px;
  backdrop-filter: blur(8px); box-shadow: var(--shadow); will-change: transform;
}
.float-chip .dot { width: 10px; height: 10px; border-radius: 50%; }
.float-chip small { color: var(--muted); font-weight: 500; font-size: 11px; }

/* Secciones / pasos ------------------------------------------------------ */
.section { position: relative; padding: clamp(70px, 11vh, 130px) clamp(20px, 5vw, 48px); }
.section-inner { max-width: 1240px; margin: 0 auto; }
.step-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-size: 13px; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; color: var(--gold-light);
}
.step-eyebrow .num {
  font-size: 13px; color: var(--gold); border: 1px solid var(--line);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(212,175,55,0.08);
}
.step-eyebrow .line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.section h2.title { font-family: var(--font-display); font-size: clamp(38px, 5.5vw, 68px); font-weight: 400; letter-spacing: 1px; line-height: 0.96; text-transform: uppercase; margin: 0 0 16px; max-width: 24ch; text-wrap: balance; }
.section .lead { font-size: clamp(15px, 2vw, 18px); color: var(--muted); max-width: 60ch; margin: 0 0 44px; }

/* Tarjeta base ----------------------------------------------------------- */
.card {
  background: var(--panel);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.3s var(--ease);
}
.card:hover { border-color: rgba(212,175,55,0.3); }

/* Inputs ----------------------------------------------------------------- */
.field { margin-bottom: 4px; }
label.fld { display: block; font-size: 12.5px; color: #e4e4e7; margin: 0 0 8px; font-weight: 600; }
input[type="text"], input[type="number"], select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.5);
  color: var(--text); outline: none; font-size: 14px; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input:focus, select:focus {
  border-color: var(--gold); background: rgba(0,0,0,0.8);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.12);
}
.hint { font-size: 11.5px; color: #71717a; margin-top: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Segmented control (sexo / objetivo) ------------------------------------ */
.seg { display: flex; gap: 6px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 5px; }
.seg button {
  flex: 1; border: none; background: transparent; color: var(--muted);
  padding: 11px 8px; border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer;
  font-family: inherit; transition: background 0.2s, color 0.2s;
}
.seg button.on { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #050506; }

/* Chips de alimentos ----------------------------------------------------- */
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; cursor: pointer; user-select: none;
  color: #e8e8ea;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 15px; border-radius: 11px;
  transition: border-color 0.2s, background 0.2s, transform 0.12s, color 0.2s;
}
.chip:hover { border-color: rgba(212,175,55,0.4); background: rgba(212,175,55,0.05); transform: translateY(-1px); }
.chip .tick {
  width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,0.25);
  display: grid; place-items: center; flex-shrink: 0; transition: all 0.2s;
}
.chip .tick svg { width: 10px; height: 10px; stroke: #050506; opacity: 0; transition: opacity 0.15s; }
.chip.on { background: rgba(212,175,55,0.12); border-color: rgba(212,175,55,0.45); color: var(--gold-light); font-weight: 600; }
.chip.on .tick { background: var(--gold); border-color: var(--gold); }
.chip.on .tick svg { opacity: 1; }

.cat-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 0 0 12px; }
.cat-label .dot { width: 9px; height: 9px; border-radius: 50%; }
.add-input { margin-bottom: 22px; }

.toggle-row {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  background: rgba(212,175,55,0.06); border: 1px solid var(--line);
  padding: 12px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 20px;
}
.switch { width: 42px; height: 24px; border-radius: 999px; background: rgba(255,255,255,0.12); position: relative; transition: background 0.25s; flex-shrink: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--ease); }
.toggle-row.on .switch { background: var(--gold); }
.toggle-row.on .switch::after { transform: translateX(18px); }

/* Botón principal -------------------------------------------------------- */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #ffdf73 50%, var(--gold-dark) 100%);
  background-size: 200% auto; color: #050506; font-weight: 800; font-size: 16px;
  padding: 17px 32px; border-radius: 14px; border: none; cursor: pointer; width: 100%;
  box-shadow: 0 10px 30px rgba(212,175,55,0.25); transition: background-position 0.5s, transform 0.2s;
}
.btn-gold:hover { background-position: right center; transform: scale(1.015); }
.btn-gold:active { transform: scale(0.99); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid rgba(255,255,255,0.12);
  padding: 15px 24px; border-radius: 14px; font-weight: 600; font-size: 14px; cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--line); }

/* Dashboard de requerimientos — consola 3D premium ---------------------- */
.dash { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; perspective: 1600px; }

.energy-card {
  position: relative; overflow: hidden; transform-style: preserve-3d;
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(212,175,55,0.10), transparent 55%),
    linear-gradient(155deg, rgba(34,34,40,0.95), rgba(9,9,12,0.97));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  display: flex; flex-direction: column; justify-content: center; gap: 26px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 0 40px rgba(212,175,55,0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.energy-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark)); z-index: 3; }
.energy-card::after { content:''; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, transparent 32%);
  border-radius: var(--radius); }
.energy-card:hover { box-shadow: 0 40px 80px -24px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.08), var(--glow); }

.ec-top { display: flex; align-items: center; gap: 28px; transform: translateZ(34px); }

/* Medidor circular de calorías ------------------------------------------- */
.kcal-gauge { position: relative; width: 152px; height: 152px; flex-shrink: 0; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.5)); }
.kcal-gauge svg { transform: rotate(-90deg); display: block; }
.kcal-gauge .gtrack { stroke: rgba(255,255,255,0.07); }
.kcal-gauge .gfill { stroke: url(#goldGrad); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease); filter: drop-shadow(0 0 6px rgba(212,175,55,0.5)); }
.kcal-gauge .gcenter { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.kcal-gauge .gcenter .gv { font-size: 34px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kcal-gauge .gcenter .gu { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.kcal-gauge .gcenter .gl { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-bottom: 6px; }

.ec-stats { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.ec-stat { position: relative; }
.ec-stat .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.ec-stat .big { font-size: clamp(26px, 4vw, 36px); font-weight: 800; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; color: #fff; }
.ec-stat .big small { font-size: 0.4em; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.deficit-chip { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 12px; font-weight: 700; color: var(--gold-light);
  background: rgba(212,175,55,0.1); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; }
.deficit-chip .dt { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.macro-bar { transform: translateZ(20px); }
.macro-bar .barlbl { display: flex; justify-content: space-between; font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; margin-bottom: 9px; }
.macro-bar .track { height: 16px; border-radius: 999px; background: rgba(0,0,0,0.45); display: flex; overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.7), inset 0 -1px 0 rgba(255,255,255,0.05); }
.macro-bar .seg { height: 100%; width: 0; transition: width 1.1s var(--ease); position: relative; }
.macro-bar .seg::after { content:''; position:absolute; inset:0 0 50% 0; background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent); }
.macro-bar .seg.p { background: linear-gradient(90deg, #1d4ed8, var(--p)); }
.macro-bar .seg.c { background: linear-gradient(90deg, #b45309, var(--c)); }
.macro-bar .seg.f { background: linear-gradient(90deg, #991b1b, var(--f)); }

/* Tarjetas de macros — relieve 3D ---------------------------------------- */
.macro-cards { display: grid; grid-template-rows: repeat(3, 1fr); gap: 16px; perspective: 1000px; }
.macro-card {
  display: flex; align-items: center; gap: 18px; position: relative; overflow: hidden;
  transform-style: preserve-3d;
  background: linear-gradient(150deg, rgba(28,28,32,0.92), rgba(12,12,15,0.95));
  border: 1px solid rgba(255,255,255,0.08); border-left-width: 4px;
  border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 16px 34px -16px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.macro-card::after { content:''; position:absolute; inset:0; pointer-events:none; border-radius:16px;
  background: linear-gradient(120deg, rgba(255,255,255,0.06), transparent 40%); }
.macro-card.p { border-left-color: var(--p); }
.macro-card.c { border-left-color: var(--c); }
.macro-card.f { border-left-color: var(--f); }
.macro-card:hover { box-shadow: 0 26px 50px -18px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); }
.macro-card .ring { width: 60px; height: 60px; flex-shrink: 0; position: relative; transform: translateZ(28px);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5)); }
.macro-card .ring svg { transform: rotate(-90deg); }
.macro-card .ring .pctlbl { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.macro-card .info { flex: 1; transform: translateZ(18px); }
.macro-card .info .name { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; }
.macro-card .info .val { font-size: 28px; font-weight: 800; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.macro-card .info .val small { font-size: 14px; color: var(--muted); font-weight: 600; }
.macro-card .info .sub { font-size: 11px; color: #6b7280; font-weight: 600; margin-top: 2px; }

/* Inclinación ágil para las tarjetas del dashboard (gana sobre .reveal) -- */
.dash .energy-card[data-tilt], .dash .macro-card[data-tilt] {
  transition: transform 0.2s ease-out, box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.7s var(--ease);
}

/* Botón flotante: regalo que despliega 3 botones ------------------------- */
.fab-stack {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.fab-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-actions .fab-btn {
  opacity: 0; transform: translateY(16px) scale(0.8); pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.fab-stack.open .fab-actions .fab-btn { opacity: 1; transform: none; pointer-events: auto; }
.fab-stack.open .fab-actions .fab-btn:nth-child(3) { transition-delay: 0.02s; }
.fab-stack.open .fab-actions .fab-btn:nth-child(2) { transition-delay: 0.07s; }
.fab-stack.open .fab-actions .fab-btn:nth-child(1) { transition-delay: 0.12s; }

.fab-btn {
  display: inline-flex; flex-direction: row; align-items: center; gap: 0;
  height: 52px; padding: 5px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, #ffdf73 50%, var(--gold-dark) 100%);
  color: #050506; text-decoration: none; font-weight: 800; font-size: 14px;
  box-shadow: 0 12px 30px -8px rgba(212,175,55,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.28s var(--ease);
  overflow: hidden; white-space: nowrap;
}
.fab-btn .fab-ic {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(5,5,6,0.16); order: 2;
}
.fab-btn .fab-txt {
  order: 1; max-width: 0; opacity: 0;
  transition: max-width 0.35s var(--ease), opacity 0.25s var(--ease), padding 0.35s var(--ease);
}
.fab-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 40px -8px rgba(212,175,55,0.6), inset 0 1px 0 rgba(255,255,255,0.5); }
.fab-btn:hover .fab-txt { max-width: 160px; opacity: 1; padding: 0 12px 0 10px; }

/* Botón principal (regalo / cerrar) */
.fab-toggle {
  width: 58px; height: 58px; flex-shrink: 0; border: none; cursor: pointer; padding: 0;
  border-radius: 50%; position: relative;
  background: linear-gradient(135deg, var(--gold) 0%, #ffdf73 50%, var(--gold-dark) 100%);
  color: #050506;
  box-shadow: 0 14px 34px -8px rgba(212,175,55,0.55), inset 0 1px 0 rgba(255,255,255,0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fab-toggle:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 20px 44px -8px rgba(212,175,55,0.65), inset 0 1px 0 rgba(255,255,255,0.5); }
.fab-toggle::after { content:''; position:absolute; inset:0; border-radius:50%; box-shadow: 0 0 0 0 rgba(212,175,55,0.5); animation: pulse 2.6s infinite; pointer-events: none; }
.fab-stack.open .fab-toggle::after { animation: none; }
.fab-toggle .fab-ic-gift, .fab-toggle .fab-ic-close {
  position: absolute; inset: 0; display: grid; place-items: center;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
.fab-toggle .fab-ic-gift { opacity: 1; transform: rotate(0); }
.fab-toggle .fab-ic-close { opacity: 0; transform: rotate(-90deg); }
.fab-stack.open .fab-toggle .fab-ic-gift { opacity: 0; transform: rotate(90deg); }
.fab-stack.open .fab-toggle .fab-ic-close { opacity: 1; transform: rotate(0); }
@media (hover: none) { .fab-btn .fab-txt { max-width: 160px; opacity: 1; padding: 0 12px 0 10px; } }

/* Slots de comida (Desayuno, Media mañana, Almuerzo, Media tarde, Cena) --- */
.meal-slots { display: flex; flex-wrap: wrap; gap: 9px; }
.meal-slot {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none;
  font-family: inherit; font-size: 13.5px; font-weight: 600; color: #e8e8ea;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1);
  padding: 11px 16px; border-radius: 12px;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.12s;
}
.meal-slot .ms-ic { font-size: 15px; }
.meal-slot:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-1px); }
.meal-slot.on { background: rgba(212,175,55,0.12); border-color: rgba(212,175,55,0.5); color: var(--gold-light); }

/* Selector de tipo de alimentación --------------------------------------- */
.food-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 36px; }
.food-type {
  display: flex; align-items: center; gap: 14px; cursor: pointer; text-align: left;
  font-family: inherit; color: var(--text);
  background: linear-gradient(155deg, rgba(26,26,30,0.9), rgba(11,11,14,0.95));
  border: 1px solid rgba(255,255,255,0.09); border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 14px 30px -18px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.food-type .ft-ic {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: rgba(212,175,55,0.1); border: 1px solid var(--line);
}
.food-type .ft-tx { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.food-type .ft-tx b { font-size: 14.5px; font-weight: 800; letter-spacing: -0.2px; line-height: 1.2; }
.food-type .ft-tx small { font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.2; }
.food-type:hover { transform: translateY(-2px); border-color: rgba(212,175,55,0.35); }
.food-type.on {
  border-color: var(--gold); background: linear-gradient(155deg, rgba(40,33,12,0.6), rgba(14,12,8,0.95));
  box-shadow: 0 18px 36px -16px rgba(0,0,0,0.8), var(--glow), inset 0 1px 0 rgba(255,255,255,0.06);
}
.food-type.on .ft-ic { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); border-color: var(--gold); }

/* Segmentado snack/comida para media mañana / tarde --------------------- */
.meal-mode { display: flex; gap: 6px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 5px; margin-bottom: 16px; }
.meal-mode button {
  flex: 1; border: none; background: transparent; color: var(--muted);
  padding: 11px 8px; border-radius: 8px; font-weight: 700; font-size: 12.5px; cursor: pointer;
  font-family: inherit; transition: background 0.2s, color 0.2s; line-height: 1.2;
}
.meal-mode button.on { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #050506; }
.mode-note {
  font-size: 12.5px; color: var(--muted); line-height: 1.55;
  background: rgba(212,175,55,0.06); border: 1px solid var(--line);
  padding: 14px 16px; border-radius: 12px;
}
.mode-note b { color: var(--gold-light); }

/* Reparto de la meta por comida — tabla dashboard ----------------------- */
.meal-breakdown-wrap { margin-top: 40px; }
.mb-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.mb-eyebrow .mb-line { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); flex: 0 0 40px; }
.mb-eyebrow .mb-line:last-child { flex: 1; background: linear-gradient(90deg, var(--line), transparent); }
.mb-eyebrow .mb-title { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; color: var(--gold-light); }
.mb-eyebrow .mb-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.mb-table-card {
  position: relative; overflow: hidden; border-radius: 18px;
  background: linear-gradient(165deg, rgba(26,26,30,0.94), rgba(10,10,13,0.96));
  border: 1px solid var(--line);
  box-shadow: 0 26px 54px -22px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.05);
}
.mb-table-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark)); z-index:2; }
.mb-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mb-table thead th {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; color: var(--muted);
  text-align: right; padding: 18px 16px 14px; border-bottom: 1px solid rgba(212,175,55,0.22); white-space: nowrap;
}
.mb-note {
  font-size: 12.5px; line-height: 1.6; color: var(--muted);
  padding: 16px 20px; border-top: 1px dashed rgba(212,175,55,0.2);
  background: rgba(212,175,55,0.05);
}
.mb-note b { color: var(--gold-light); font-weight: 700; }
.mb-table thead th:first-child { text-align: left; }
.mb-table thead th.kc { color: var(--gold); }
.mb-table tbody td {
  padding: 14px 16px; text-align: right; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mb-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.018); }
.mb-table tbody tr:hover { background: rgba(212,175,55,0.06); }
.mb-table tbody td.meal { text-align: left; }
.mb-table td.meal .mname { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -0.2px; }
.mb-table td.meal .mname .me { font-size: 17px; }
.mb-table td.kc { font-weight: 800; color: var(--gold-light); }
.mb-table td.kc small { font-size: 10px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.mb-table td .u { font-size: 11px; color: var(--muted); font-weight: 600; }
.mb-table td.p { color: #93c5fd; }
.mb-table td.c { color: #fcd34d; }
.mb-table td.f { color: #fca5a5; }
.mb-table tfoot td {
  padding: 16px; text-align: right; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums;
  border-top: 1px solid rgba(212,175,55,0.3); background: rgba(212,175,55,0.06);
}
.mb-table tfoot td:first-child { text-align: left; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: var(--gold-light); }
.mb-table tfoot td.kc { color: var(--gold-light); font-size: 17px; }
.mb-table tfoot td .u { font-size: 11px; color: var(--muted); font-weight: 600; }
@media (max-width: 600px) {
  .mb-table thead th, .mb-table tbody td, .mb-table tfoot td { padding: 11px 9px; font-size: 13px; }
  .mb-table td.meal .mname { gap: 5px; font-size: 12.5px; }
  .mb-table td.meal .mname .me { font-size: 14px; }
}

/* Plan semanal ----------------------------------------------------------- */
.download-bar {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 30px; padding: 26px 30px; border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 90% 0%, rgba(212,175,55,0.10), transparent 55%),
    linear-gradient(150deg, rgba(28,28,32,0.92), rgba(10,10,13,0.96));
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -22px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
}
.download-bar .dl-copy { flex: 1; min-width: 240px; }
.download-bar .dl-title { font-size: 18px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 5px; }
.download-bar .dl-sub { font-size: 13.5px; color: var(--muted); }
.download-bar .btn-gold { width: auto; }

.plan-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 36px; }
.plan-toolbar .spacer { flex: 1; }
.week-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; perspective: 1600px; }
.day-card {
  position: relative; transform-style: preserve-3d;
  background: linear-gradient(165deg, rgba(24,24,27,0.92), rgba(10,10,12,0.95));
  border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.day-card:hover { border-color: rgba(212,175,55,0.35); box-shadow: var(--glow); }
.day-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(212,175,55,0.1), transparent);
}
.day-head .name { font-weight: 800; font-size: 16px; color: var(--gold); letter-spacing: -0.3px; }
.day-head .kcal { font-size: 12px; font-weight: 700; color: var(--gold-light); background: rgba(212,175,55,0.1); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.meal { padding: 14px 20px; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.meal:last-child { border-bottom: none; }
.meal-label { display: flex; align-items: center; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.meal-label .mk { font-size: 10.5px; color: var(--gold); }
.food-line { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; font-size: 13.5px; }
.food-line .ic { font-size: 13px; }
.food-line .g { font-weight: 800; font-variant-numeric: tabular-nums; }
.food-line .nm { flex: 1; }
.food-line .mtri { margin-left: auto; display: inline-flex; gap: 6px; font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: #6b7280; }
.food-line .mtri b { font-weight: 600; color: #6b7280; }
.food-line .mtri b::after { font-size: 8px; font-weight: 600; opacity: 0.7; margin-left: 1px; }
.food-line .mtri b.p::after { content: "P"; }
.food-line .mtri b.c::after { content: "C"; }
.food-line .mtri b.f::after { content: "G"; }
.food-line.p .g, .food-line.p .nm { color: #93c5fd; }
.food-line.c .g, .food-line.c .nm { color: #fcd34d; }
.food-line.f .g, .food-line.f .nm { color: #fca5a5; }
.food-line.v .g, .food-line.v .nm { color: #86efac; }
.food-line.snack .g, .food-line.snack .nm { color: var(--gold-light); }
.day-foot { display: flex; gap: 8px; padding: 14px 20px; background: rgba(0,0,0,0.35); }
.day-foot .mt { flex: 1; text-align: center; }
.day-foot .mt .k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); font-weight: 700; }
.day-foot .mt .v { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.day-foot .mt.p .v { color: #93c5fd; }
.day-foot .mt.c .v { color: #fcd34d; }
.day-foot .mt.f .v { color: #fca5a5; }

.plan-empty {
  text-align: center; padding: 80px 24px; color: var(--muted);
  border: 1px dashed rgba(212,175,55,0.25); border-radius: var(--radius); background: rgba(0,0,0,0.25);
}
.plan-empty .ico { font-size: 40px; margin-bottom: 16px; opacity: 0.7; }

.summary-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--gold); background: rgba(212,175,55,0.1); border: 1px solid var(--gold);
  padding: 8px 16px; border-radius: 10px; }

/* Reveal on scroll ------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(calc(46px * var(--motion))) rotateX(calc(7deg * var(--motion))) scale(calc(1 - 0.04 * var(--motion)));
  transform-origin: 50% 100%;
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* tilt wrapper ----------------------------------------------------------- */
.tilt { transform-style: preserve-3d; transition: transform 0.25s var(--ease); will-change: transform; }
.tilt .lift { transform: translateZ(40px); transform-style: preserve-3d; }

/* Footer ----------------------------------------------------------------- */
footer { position: relative; z-index: 1; text-align: center; padding: 60px 24px; color: var(--muted); font-size: 12.5px; border-top: 1px solid rgba(255,255,255,0.05); }
footer .brand { font-weight: 800; font-size: 16px; color: #fff; margin-bottom: 10px; }

/* Animaciones ------------------------------------------------------------ */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.5); } 70% { box-shadow: 0 0 0 10px rgba(212,175,55,0); } 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(8px); } 100% { opacity: 0; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-steps { display: none; }
  .dash { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .float-chip { display: none; }
}
@media (max-width: 560px) {
  .hero { min-height: 88vh; }
  .ec-top { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .ec-stats { align-items: center; }
  .deficit-chip { align-self: center; }
  .day-foot { flex-wrap: wrap; }
  .download-bar { padding: 22px; }
}

/* Estados controlados por Tweaks ----------------------------------------- */
body.no-floats .float-chip { display: none; }
body.no-bg .bg-glow, body.no-bg .bg-grid { opacity: 0 !important; }

/* ====== Capa "Athletic Luxury": glare, brillos y numerales display ====== */
[data-tilt] { position: relative; }
.tilt-glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.35s var(--ease); z-index: 3;
  background: radial-gradient(460px circle at var(--gx, 50%) var(--gy, 50%), rgba(251,230,158,0.13), transparent 60%);
}
[data-tilt]:hover .tilt-glare { opacity: 1; }

/* Barrido de brillo en botones dorados */
.hero-cta, .btn-gold { position: relative; overflow: hidden; }
.hero-cta::after, .btn-gold::after {
  content: ''; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 36%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-cta::after, .btn-gold::after { transition: left 0.65s var(--ease); }
  .hero-cta:hover::after, .btn-gold:hover::after { left: 135%; }
}

/* Numerales y titulares en tipografía display (Bebas Neue) */
.kcal-gauge .gcenter .gv { font-family: var(--font-display); font-size: 42px; font-weight: 400; letter-spacing: 1px; }
.ec-stat .big { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 48px); font-weight: 400; letter-spacing: 1px; }
.macro-card .info .val { font-family: var(--font-display); font-size: 34px; font-weight: 400; letter-spacing: 1px; }
.day-head .name { font-family: var(--font-display); font-size: 23px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; }
.day-foot .mt .v { font-family: var(--font-display); font-size: 21px; font-weight: 400; letter-spacing: 1px; }
.mb-table .kc { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.5px; }
.download-bar .dl-title { font-family: var(--font-display); font-size: 27px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; }
footer .brand { font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: 3px; }
.step-eyebrow .num { font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; }
.logo > span { font-family: var(--font-display); font-size: 21px; font-weight: 400; letter-spacing: 2px; }
.logo .sub { font-family: var(--font); font-size: 11px; letter-spacing: 0.3px; }

@media (max-width: 700px) {
  .hero-ticker { bottom: 96px; }
  .hero-ring { width: 120vw; margin: -60vw; }
}

/* Accesibilidad: reduce motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
