/* Trena · landing. Mismos tokens y lenguaje visual que la web (apps/web/src/styles/app.css). */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --coral: #ff765e;
  --coral-ink: #b6422e;
  --plum: #392338;
  --blush: #fff0e9;
  --bg: #fff0e9;
  --surface: rgb(255 255 255 / 0.62);
  --surface-strong: rgb(255 255 255 / 0.88);
  --ink: #392338;
  --ink-2: #6e566b;
  --ink-3: #8f7a8c;
  --line: rgb(57 35 56 / 0.1);
  --accent: var(--coral);
  --accent-ink: var(--coral-ink);
  --on-accent: #2a1729;
  --focus: #392338;
  --good: #128a5c;
  --shadow: 0 1px 1px rgb(57 35 56 / 0.04), 0 8px 24px -8px rgb(57 35 56 / 0.18), 0 24px 60px -24px rgb(57 35 56 / 0.22);
  --glass-border: rgb(255 255 255 / 0.75);
  --sky-a: #ffb39f;
  --sky-b: #ffd9c9;
  --sky-c: #f7c1d9;
  --series-1: #e0553f;
  --series-2: #2a78d6;
  --series-3: #1baf7a;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #1a0f19;
    --surface: rgb(57 35 56 / 0.5);
    --surface-strong: rgb(52 31 50 / 0.86);
    --ink: #fff0e9;
    --ink-2: #d5bfcf;
    --ink-3: #a58ea1;
    --line: rgb(255 240 233 / 0.1);
    --accent-ink: #ff8f7a;
    --focus: #ffb3a4;
    --good: #3ccf94;
    --shadow: 0 1px 1px rgb(0 0 0 / 0.2), 0 12px 32px -10px rgb(0 0 0 / 0.55);
    --glass-border: rgb(255 240 233 / 0.08);
    --sky-a: #6b2f45;
    --sky-b: #3d1f3a;
    --sky-c: #7a3a2e;
    --series-1: #ef5a43;
    --series-2: #3987e5;
    --series-3: #199e70;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #1a0f19;
  --surface: rgb(57 35 56 / 0.5);
  --surface-strong: rgb(52 31 50 / 0.86);
  --ink: #fff0e9;
  --ink-2: #d5bfcf;
  --ink-3: #a58ea1;
  --line: rgb(255 240 233 / 0.1);
  --accent-ink: #ff8f7a;
  --focus: #ffb3a4;
  --good: #3ccf94;
  --shadow: 0 1px 1px rgb(0 0 0 / 0.2), 0 12px 32px -10px rgb(0 0 0 / 0.55);
  --glass-border: rgb(255 240 233 / 0.08);
  --sky-a: #6b2f45;
  --sky-b: #3d1f3a;
  --sky-c: #7a3a2e;
  --series-1: #ef5a43;
  --series-2: #3987e5;
  --series-3: #199e70;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection {
  background: var(--coral);
  color: var(--on-accent);
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--blush);
}
.skip:focus {
  top: 12px;
}

/* ---------- atmósfera ---------- */
.aurora {
  position: fixed;
  inset: -20vmax;
  z-index: -2;
  pointer-events: none;
  filter: blur(70px) saturate(1.1);
  opacity: 0.9;
}
.aurora span {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
}
.aurora .a1 {
  background: radial-gradient(circle at 30% 30%, var(--sky-a), transparent 62%);
  top: 0;
  left: 5%;
  animation: drift1 38s ease-in-out infinite alternate;
}
.aurora .a2 {
  background: radial-gradient(circle at 60% 40%, var(--sky-b), transparent 60%);
  top: 25%;
  right: -5%;
  animation: drift2 46s ease-in-out infinite alternate;
}
.aurora .a3 {
  background: radial-gradient(circle at 50% 50%, var(--sky-c), transparent 60%);
  bottom: -10%;
  left: 25%;
  animation: drift3 52s ease-in-out infinite alternate;
}
@keyframes drift1 {
  to { transform: translate(18vmax, 12vmax) scale(1.15) rotate(25deg); }
}
@keyframes drift2 {
  to { transform: translate(-22vmax, 10vmax) scale(0.9) rotate(-20deg); }
}
@keyframes drift3 {
  to { transform: translate(10vmax, -18vmax) scale(1.2); }
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.22 0 0 0 0 0.14 0 0 0 0 0.22 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .grain {
    mix-blend-mode: screen;
    opacity: 0.05;
  }
}

/* ---------- estructura ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section {
  padding: clamp(64px, 10vw, 128px) 0;
}

/* ---------- navegación ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.brand {
  display: flex;
  align-items: center;
  flex: none;
}
.brand img {
  height: 34px;
  width: auto;
}
.brand .on-dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .brand .on-light {
    display: none;
  }
  :root:not([data-theme='light']) .brand .on-dark {
    display: block;
  }
}
.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 560;
  font-size: 15px;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
  background: var(--line);
  color: var(--ink);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.lang {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink-2);
  padding: 8px 10px;
  border-radius: 999px;
}
.lang:hover {
  background: var(--line);
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}
@media (max-width: 520px) {
  .nav-bar {
    padding-left: 14px;
  }
  .brand img {
    height: 28px;
  }
  .nav .btn.ghost {
    display: none;
  }
}

/* ---------- botones ---------- */
.btn {
  --b-bg: var(--surface-strong);
  --b-ink: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--b-bg);
  color: var(--b-ink);
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s, background 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn:active {
  transform: scale(0.96);
}
.btn.primary {
  --b-bg: var(--coral);
  --b-ink: var(--on-accent);
  border-color: transparent;
  box-shadow: 0 10px 24px -10px rgb(255 118 94 / 0.8);
}
.btn.ghost {
  --b-bg: transparent;
  border-color: transparent;
}
.btn.ghost:hover {
  --b-bg: var(--line);
  box-shadow: none;
}
.btn.sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}
.btn.lg {
  min-height: 56px;
  padding: 0 26px;
  font-size: 17px;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.badge-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- tipografía ---------- */
.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.display {
  margin: 0;
  font-size: clamp(50px, 7.4vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-weight: 820;
}
.display span {
  display: block;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .display {
    font-size: clamp(38px, 11.5vw, 112px);
  }
}
.display .soft {
  color: var(--accent);
  font-weight: 300;
  letter-spacing: -0.06em;
}
.h2 {
  margin: 0;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-wrap: balance;
}
.h2 em,
.h3 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 300;
}
.h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
  font-weight: 720;
}
.lead {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
  text-wrap: pretty;
}
.fine {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}
.center {
  text-align: center;
}
.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- tarjetas ---------- */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.2vw, 28px);
}
.card.ink {
  background: var(--plum);
  color: var(--blush);
  border-color: transparent;
  --ink: #fff0e9;
  --ink-2: #d5bfcf;
  --ink-3: #a58ea1;
  --line: rgb(255 240 233 / 0.12);
}
.card.coral {
  background: linear-gradient(140deg, #ff8a74, #ff6a52 55%, #f2553f);
  color: #2a1729;
  border-color: transparent;
  --ink: #2a1729;
  --ink-2: rgb(42 23 41 / 0.78);
  --ink-3: rgb(42 23 41 / 0.6);
  --line: rgb(42 23 41 / 0.16);
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(32px, 6vw, 72px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.i {
  flex: none;
  width: 20px;
  height: 20px;
}
/* Dos columnas desfasadas de tarjetas que flotan, como pantallas reales de la app. */
.stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.stage-col {
  display: grid;
  gap: 20px;
}
.stage-col:last-child {
  margin-top: 56px;
}
.stage .card {
  animation: float 9s ease-in-out infinite alternate;
}
.stage .gym {
  rotate: -2deg;
}
.stage .run {
  rotate: 1.5deg;
  animation-delay: -3s;
}
.stage .food {
  rotate: 2deg;
  animation-delay: -5s;
}
.stage .habit {
  rotate: -1.5deg;
  animation-delay: -7s;
}
@keyframes float {
  to { translate: 0 -10px; }
}
@media (max-width: 640px) {
  .stage {
    grid-template-columns: 1fr;
  }
  .stage-col:last-child {
    margin-top: 0;
  }
  .stage .card {
    rotate: none;
    animation: none;
  }
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgb(255 118 94 / 0.22);
}
.sets {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sets li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgb(255 240 233 / 0.07);
  border: 1px solid var(--line);
  font-size: 14px;
}
.sets li div {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}
.sets li b {
  font-weight: 650;
}
.sets li span {
  font-size: 13px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coral);
  color: #2a1729;
}
.tick svg {
  width: 13px;
  height: 13px;
}
.tick.open {
  background: transparent;
  border: 1.5px dashed var(--ink-3);
}
.rest {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.rest b {
  font-size: 30px;
  font-weight: 760;
  letter-spacing: -0.04em;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}
.run-map {
  height: 120px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgb(57 35 56 / 0.06), rgb(57 35 56 / 0.02));
  border: 1px solid var(--line);
  overflow: hidden;
}
.run-map svg {
  width: 100%;
  height: 100%;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.stats b {
  display: block;
  white-space: nowrap;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 760;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stats span {
  font-size: 12px;
  color: var(--ink-3);
}
.food-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ring {
  flex: none;
  width: 92px;
  height: 92px;
}
.kcal b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kcal span {
  font-size: 13px;
  color: var(--ink-2);
}
.macros {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
}
.bar {
  height: 8px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgb(42 23 41 / 0.14);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2a1729;
}
.week {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 12px;
}
.week span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  color: var(--ink-3);
}
.week span.on {
  background: var(--coral);
  border-color: transparent;
  color: #2a1729;
}

/* ---------- funciones ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  margin-top: 48px;
}
.feature .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgb(255 118 94 / 0.16);
  color: var(--accent-ink);
}
.feature .icon svg {
  width: 24px;
  height: 24px;
}
.feature p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}

/* ---------- reloj ---------- */
.watch-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-xl);
}
.points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 560;
}
.watch {
  justify-self: center;
  width: min(240px, 70vw);
  aspect-ratio: 0.82;
  padding: 14px;
  border-radius: 54px;
  background: #0d070c;
  box-shadow: 0 0 0 6px #2a1a28, 0 30px 60px -20px rgb(0 0 0 / 0.7);
}
.watch-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 16px;
  border-radius: 42px;
  background: #000;
  color: #fff0e9;
}
.watch-screen .w-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--coral);
}
.watch-screen .w-big {
  margin-top: auto;
  font-size: 46px;
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.watch-screen .w-sub {
  font-size: 14px;
  color: #d5bfcf;
  font-variant-numeric: tabular-nums;
}
.watch-screen .w-bar {
  height: 6px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgb(255 240 233 / 0.14);
}
.watch-screen .w-bar i {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--coral);
}
@media (max-width: 860px) {
  .watch-card {
    grid-template-columns: 1fr;
  }
}

/* ---------- privacidad ---------- */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-top: 48px;
}
.privacy-grid p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}

/* ---------- precio ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 48px auto 0;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.plan-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
  color: var(--ink-2);
}
.pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  background: var(--plum);
  color: var(--blush);
}
.price {
  margin-top: 12px;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 820;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.per {
  color: var(--ink-2);
}
.plan .note {
  min-height: 1.5em;
  font-size: 14px;
  color: var(--ink-3);
}
.plan ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.plan li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan .btn {
  margin-top: auto;
}
.check {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--good);
}
.card.coral .check,
.card.ink .check {
  color: currentColor;
}

/* ---------- preguntas ---------- */
.faq {
  max-width: 800px;
  margin: 40px auto 0;
  display: grid;
  gap: 10px;
}
.faq details {
  padding: 0;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 680;
  font-size: 17px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s var(--ease-spring);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-2);
}

/* ---------- cierre y pie ---------- */
.final {
  padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-xl);
  text-align: center;
}
.final .lead {
  margin-left: auto;
  margin-right: auto;
}
.final .btn {
  margin-top: 32px;
  --b-bg: var(--plum);
  --b-ink: var(--blush);
  box-shadow: none;
}
footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 32px;
}
.foot h2 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.foot ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot .brand img {
  height: 30px;
}
.copy {
  margin-top: 40px;
  color: var(--ink-3);
}
@media (max-width: 640px) {
  .foot {
    grid-template-columns: 1fr 1fr;
  }
  .foot > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- páginas legales ---------- */
.legal {
  max-width: 760px;
  padding-top: 32px;
  padding-bottom: 96px;
}
.legal .back {
  display: inline-flex;
  margin-bottom: 32px;
}
.legal h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}
.legal .updated {
  margin: 16px 0 40px;
  color: var(--ink-3);
}
.legal h2 {
  margin: 40px 0 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.legal p,
.legal li {
  color: var(--ink-2);
}
.legal ul {
  padding-left: 20px;
}
.legal a {
  color: var(--accent-ink);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- calculadora ---------- */
.calc {
  padding-top: 120px;
  padding-bottom: 64px;
}
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
  margin-top: 28px;
  align-items: start;
}
.calc-form {
  display: grid;
  gap: 14px;
}
.calc-form label {
  display: grid;
  gap: 6px;
  font-weight: 650;
  font-size: 14px;
}
.calc-form input,
.calc-form select {
  font: inherit;
  font-size: 17px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong, rgb(57 35 56 / 0.18));
  background: var(--surface-strong, #fff);
  color: inherit;
}
.calc-result {
  display: grid;
  gap: 14px;
}
.calc-kcal b {
  font-size: clamp(56px, 9vw, 84px);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc-kcal span {
  display: block;
  opacity: 0.75;
  font-weight: 600;
}
.calc-macros {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.calc-macros b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.calc-macros span {
  font-size: 13px;
  opacity: 0.75;
}
.calc-faq {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
