/* GymControl landing — estilos.
   Tokens de color arriba de todo: oscuro por defecto (identidad de marca),
   claro con data-theme="light" o si el sistema lo pide y no se eligió oscuro. */

:root {
  color-scheme: dark;
  --bg: #111316;
  --bg-2: #17191d;
  --surface: #1e2126;
  --surface-2: #24272d;
  --line: #343941;
  --line-strong: #5a616c;
  --text: #f5f5f5;
  --muted: #a5a8ae;
  --brand: #39e83f;
  --brand-ink: #08150a;
  --brand-t: #39e83f;
  --plate: #39e83f;
  --bar: #a5a8ae;
  --danger: #f55a5a;
  --warn: #f5a524;
  --info: #3696f5;
  --focus: #39e83f;
  --shadow: 0 28px 56px -20px rgba(0, 0, 0, 0.65), 0 6px 16px -6px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(17, 19, 22, 0.82);
  --phone-edge: #343941;
  --logo-d: block;
  --logo-l: none;
  --sun: none;
  --moon: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111316;
    --bg-2: #17191d;
    --surface: #1e2126;
    --surface-2: #24272d;
    --line: #343941;
    --line-strong: #5a616c;
    --text: #f5f5f5;
    --muted: #a5a8ae;
    --brand: #39e83f;
    --brand-ink: #08150a;
    --brand-t: #39e83f;
    --plate: #39e83f;
    --bar: #a5a8ae;
    --danger: #f55a5a;
    --warn: #f5a524;
    --info: #3696f5;
    --focus: #39e83f;
    --shadow: 0 28px 56px -20px rgba(0, 0, 0, 0.65), 0 6px 16px -6px rgba(0, 0, 0, 0.5);
    --nav-bg: rgba(17, 19, 22, 0.82);
    --phone-edge: #343941;
    --logo-d: block;
    --logo-l: none;
    --sun: none;
    --moon: block;
  }
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f1f3f5;
    --bg-2: #e8ebee;
    --surface: #ffffff;
    --surface-2: #f6f7f9;
    --line: #d5dae0;
    --line-strong: #8a919c;
    --text: #16181d;
    --muted: #565c66;
    --brand: #16802a;
    --brand-ink: #ffffff;
    --brand-t: #136f24;
    --plate: #1c9a33;
    --bar: #8a919c;
    --danger: #c62828;
    --warn: #a8590a;
    --info: #1a65c0;
    --focus: #16802a;
    --shadow: 0 24px 48px -22px rgba(22, 24, 29, 0.28), 0 4px 12px -6px rgba(22, 24, 29, 0.16);
    --nav-bg: rgba(241, 243, 245, 0.86);
    --phone-edge: #16181d;
    --logo-d: none;
    --logo-l: block;
    --sun: block;
    --moon: none;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111316;
  --bg-2: #17191d;
  --surface: #1e2126;
  --surface-2: #24272d;
  --line: #343941;
  --line-strong: #5a616c;
  --text: #f5f5f5;
  --muted: #a5a8ae;
  --brand: #39e83f;
  --brand-ink: #08150a;
  --brand-t: #39e83f;
  --plate: #39e83f;
  --bar: #a5a8ae;
  --danger: #f55a5a;
  --warn: #f5a524;
  --info: #3696f5;
  --focus: #39e83f;
  --shadow: 0 28px 56px -20px rgba(0, 0, 0, 0.65), 0 6px 16px -6px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(17, 19, 22, 0.82);
  --phone-edge: #343941;
  --logo-d: block;
  --logo-l: none;
  --sun: none;
  --moon: block;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f3f5;
  --bg-2: #e8ebee;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --line: #d5dae0;
  --line-strong: #8a919c;
  --text: #16181d;
  --muted: #565c66;
  --brand: #16802a;
  --brand-ink: #ffffff;
  --brand-t: #136f24;
  --plate: #1c9a33;
  --bar: #8a919c;
  --danger: #c62828;
  --warn: #a8590a;
  --info: #1a65c0;
  --focus: #16802a;
  --shadow: 0 24px 48px -22px rgba(22, 24, 29, 0.28), 0 4px 12px -6px rgba(22, 24, 29, 0.16);
  --nav-bg: rgba(241, 243, 245, 0.86);
  --phone-edge: #16181d;
  --logo-d: none;
  --logo-l: block;
  --sun: block;
  --moon: none;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: var(--line-strong) transparent; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  caret-color: var(--brand-t);
}
::selection { background: color-mix(in srgb, var(--brand) 32%, transparent); color: inherit; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-t); text-underline-offset: 0.22em; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i.xl { width: 40px; height: 40px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 12px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.g { color: var(--brand-t); }

/* ---------- display type ---------- */
h1, h2, .brand .word, .plan h4, .local h4, .mode h3, .band h3, .feat dt, .plan-plates + h4 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
}
h1 { font-size: clamp(3.4rem, 1.2rem + 9.2vw, 6rem); line-height: 0.92; letter-spacing: -0.005em; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.25rem); line-height: 0.98; text-transform: uppercase; text-wrap: balance; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 10px;
  background: var(--brand); color: var(--brand-ink);
  font: 600 1rem/1 "Geist", system-ui, sans-serif; text-decoration: none; text-align: center;
  border: 2px solid var(--brand); cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), filter 0.18s, background-color 0.18s, border-color 0.18s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); filter: none; border-color: var(--text); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); min-height: 44px; margin-right: auto; }
.mark { display: inline-flex; align-items: center; gap: 1px; }
.mark i { display: block; width: 4px; border-radius: 1px; background: var(--plate); }
.mark i:nth-child(1), .mark i:nth-child(7) { height: 12px; opacity: 0.7; }
.mark i:nth-child(2), .mark i:nth-child(6) { height: 18px; opacity: 0.85; }
.mark i:nth-child(3), .mark i:nth-child(5) { height: 24px; }
.mark b { display: block; width: 14px; height: 3px; background: var(--bar); border-radius: 2px; }
.brand .word { font-size: 1.75rem; line-height: 1; letter-spacing: 0.01em; }
.nav { display: none; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.9375rem; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
@media (min-width: 900px) { .nav { display: flex; } .brand { margin-right: 0; } .top-actions { margin-left: auto; } }
.top-actions { display: flex; align-items: center; gap: 10px; }
.top-cta { display: none; }
@media (min-width: 560px) { .top-cta { display: inline-flex; } }
.theme { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; }
.theme:hover { background: var(--surface-2); }
.theme .ic-sun { display: var(--sun); }
.theme .ic-moon { display: var(--moon); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 0.98fr; gap: 40px; } }
.hero-copy .lead { margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-row .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .cta-row .btn { flex: 0 0 auto; } }
.proof { margin-top: 32px; display: grid; gap: 10px; color: var(--muted); font-size: 0.9688rem; }
.proof li { display: flex; align-items: center; gap: 10px; }
.proof .i { color: var(--brand-t); stroke-width: 2.5; }

/* barra con discos */
.barbell { --k: 0.62; display: flex; align-items: center; margin-top: clamp(32px, 4vw, 56px); width: 100%; }
@media (min-width: 720px) { .barbell { --k: 1.05; } }
@media (min-width: 1200px) { .barbell { --k: 1; } }
.barbell .rod { flex: 1; height: calc(8px * var(--k)); background: var(--bar); border-radius: 4px; transform-origin: center; animation: rod-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) both; }
.plates { display: flex; align-items: center; gap: calc(4px * var(--k)); }
.plates i { display: block; width: calc(16px * var(--k)); background: var(--plate); border-radius: calc(3px * var(--k)); }
.plates.l i:nth-child(1), .plates.r i:nth-child(3) { height: calc(48px * var(--k)); opacity: 0.7; }
.plates.l i:nth-child(2), .plates.r i:nth-child(2) { height: calc(68px * var(--k)); opacity: 0.85; }
.plates.l i:nth-child(3), .plates.r i:nth-child(1) { height: calc(88px * var(--k)); }
.plates.l { animation: plates-l 1s cubic-bezier(0.16, 1, 0.3, 1) both; }
.plates.r { animation: plates-r 1s cubic-bezier(0.16, 1, 0.3, 1) both; }
.barbell.mini { --k: 0.5; margin-top: 0; }
@keyframes plates-l { from { transform: translateX(-60%); } }
@keyframes plates-r { from { transform: translateX(60%); } }
@keyframes rod-in { from { transform: scaleX(0.55); } }

/* ---------- mockups ---------- */
.stage { position: relative; padding-bottom: 72px; max-width: 620px; width: 100%; justify-self: center; }
.m-panel, .v-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.m-panel { width: 92%; overflow: hidden; }
.m-chrome { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.m-chrome span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); opacity: 0.6; }
.m-chrome em { margin-left: 10px; font-style: normal; font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.m-body { padding: 16px; display: grid; gap: 14px; }
.m-alert { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: color-mix(in srgb, var(--danger) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--danger) 55%, transparent); color: var(--danger); }
.m-alert .i { width: 22px; height: 22px; }
.m-alert strong { display: block; font-size: 0.9375rem; line-height: 1.3; color: var(--text); }
.m-alert small { font-size: 0.8125rem; color: var(--muted); }
.m-rows { display: grid; }
.m-rows li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.m-rows li:first-child { border-top: 0; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.75rem; font-weight: 600; color: var(--text); }
.av.lg { width: 48px; height: 48px; font-size: 0.9375rem; }
.av.bad { border-color: var(--danger); color: var(--danger); }
.nm { flex: 1; font-weight: 600; font-size: 0.9375rem; line-height: 1.25; min-width: 0; }
.nm small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8125rem; }
.pill { font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; background: color-mix(in srgb, currentColor 16%, transparent); }
.pill.ok { color: var(--brand-t); }
.pill.warn { color: var(--warn); }
.pill.bad { color: var(--danger); }
.pill.info { color: var(--info); }

.m-phone { position: absolute; right: -2px; bottom: 0; width: clamp(160px, 40%, 214px); border: 6px solid var(--phone-edge); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.m-notch { width: 34%; height: 6px; background: var(--phone-edge); border-radius: 0 0 8px 8px; margin: 0 auto; }
.m-screen { padding: 14px 12px 14px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.m-hi { font-weight: 600; font-size: 0.8125rem; color: var(--muted); }
.m-qrbox { background: #fff; color: #101215; border-radius: 12px; padding: 8px; width: 78%; }
.qr { display: block; width: 100%; height: auto; }
.m-geo { display: inline-flex; gap: 6px; align-items: center; font-size: 0.75rem; font-weight: 600; color: var(--brand-t); background: color-mix(in srgb, var(--brand) 14%, transparent); padding: 5px 10px; border-radius: 99px; }
.m-geo .i { width: 14px; height: 14px; }
.m-note { display: flex; gap: 8px; align-items: center; width: 100%; padding: 8px 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; text-align: left; font-size: 0.75rem; line-height: 1.3; }
.m-note .i { color: var(--warn); width: 16px; height: 16px; }
.m-pay { display: block; width: 100%; padding: 9px 8px; border-radius: 9px; background: var(--info); color: #fff; font-size: 0.75rem; font-weight: 600; text-align: center; line-height: 1.2; }
:root[data-theme="dark"] .m-pay { color: #06131f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .m-pay { color: #06131f; } }
.m-pay.big { padding: 14px; font-size: 1rem; border-radius: 10px; }
.m-pay.ghost { background: transparent; border: 2px solid var(--danger); color: var(--danger); }
:root[data-theme="dark"] .m-pay.ghost, :root[data-theme="light"] .m-pay.ghost { color: var(--danger); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .m-pay.ghost { color: var(--danger); } }
.stage-cap { position: absolute; left: 4px; bottom: 28px; font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 979px) { .stage-cap { bottom: 12px; } }

/* ---------- secciones ---------- */
.sec { padding-block: clamp(72px, 10vw, 140px); }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-title { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-lead { color: var(--muted); max-width: 62ch; margin: calc(-1 * clamp(24px, 4vw, 44px)) 0 clamp(32px, 5vw, 56px); }

/* bandas de diferenciales */
.band { display: grid; gap: 32px; align-items: center; }
.band + .band { margin-top: clamp(72px, 9vw, 128px); }
@media (min-width: 900px) {
  .band { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
  .band.flip .band-text { order: 2; }
}
.band h3 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.25rem); line-height: 1; text-transform: uppercase; text-wrap: balance; }
.band-text > p { margin-top: 20px; color: var(--muted); max-width: 58ch; }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .i { color: var(--brand-t); stroke-width: 2.5; margin-top: 0.2em; }
.band-vis { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 56px); display: grid; place-items: center; min-height: 320px; overflow: hidden; }
.sec-alt .band-vis { background: var(--bg); }
.band-vis::before, .band-vis::after { content: ""; position: absolute; top: 50%; width: 22px; height: 56%; border-radius: 4px; background: var(--plate); opacity: 0.12; transform: translateY(-50%); }
.band-vis::before { left: 18px; box-shadow: 30px 0 0 -3px color-mix(in srgb, var(--plate) 100%, transparent); }
.band-vis::after { right: 18px; box-shadow: -30px 0 0 -3px color-mix(in srgb, var(--plate) 100%, transparent); }
.v-card { position: relative; z-index: 1; width: min(100%, 360px); padding: 20px; display: grid; gap: 16px; }
.v-head { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.v-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); }
.v-ok { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.v-ok .v-head { color: var(--brand-t); }
.v-bad { border-color: color-mix(in srgb, var(--danger) 60%, var(--line)); }
.v-bad .v-head { color: var(--danger); }
.v-person { display: flex; align-items: center; gap: 14px; }
.v-person strong { display: block; line-height: 1.2; }
.v-person small { color: var(--muted); font-size: 0.875rem; }
.v-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 500; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); }
.chip .i { width: 15px; height: 15px; color: var(--brand-t); }
.v-txt { color: var(--muted); font-size: 0.9375rem; margin-top: -6px; }
.v-list { display: grid; }
.v-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.v-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.v-steps span { text-align: center; font-size: 0.75rem; font-weight: 600; padding: 8px 4px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.v-steps span.last { background: color-mix(in srgb, var(--danger) 16%, var(--surface)); border-color: var(--danger); color: var(--danger); }

/* lista de funciones */
.feat { display: grid; gap: 0 56px; }
@media (min-width: 800px) { .feat { grid-template-columns: 1fr 1fr; } }
.feat > div { padding: 28px 0; border-top: 1px solid var(--line-strong); }
.feat dt { display: flex; align-items: center; gap: 14px; font-size: 1.875rem; line-height: 1.05; }
.feat dt .i { width: 30px; height: 30px; color: var(--brand-t); stroke-width: 1.6; }
.feat dd { margin-top: 10px; padding-left: 44px; color: var(--muted); max-width: 52ch; }

/* online / local */
.modes { display: grid; gap: 24px; }
@media (min-width: 900px) { .modes { grid-template-columns: 1fr 1fr; gap: 28px; } }
.mode { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; }
.mode-h { display: flex; gap: 18px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.mode-h .i { color: var(--brand-t); stroke-width: 1.5; }
.mode h3 { font-size: 2.75rem; line-height: 1; text-transform: uppercase; }
.mode-h p { color: var(--muted); }
.pros-t, .cons-t { margin-top: 28px; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em; }
.pros-t { color: var(--brand-t); }
.cons-t { color: var(--warn); }
.pros, .cons { margin-top: 14px; display: grid; gap: 12px; }
.pros li, .cons li { display: flex; gap: 12px; align-items: flex-start; }
.pros .i { color: var(--brand-t); stroke-width: 2.5; margin-top: 0.2em; }
.cons .i { color: var(--warn); stroke-width: 2.5; margin-top: 0.2em; }
.mode-ideal { margin-top: auto; padding-top: 32px; font-weight: 500; }
.mode-ideal::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 24px; }

/* planes */
.plans-h { font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 1.75rem; text-transform: uppercase; margin-bottom: 20px; }
.plans-h:not(:first-of-type) { margin-top: 64px; }
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px 28px; display: flex; flex-direction: column; }
.plan.rec { border: 2px solid var(--brand); background: var(--surface-2); padding: 31px 27px 27px; box-shadow: var(--shadow); }
.tag { position: absolute; top: -15px; left: 24px; background: var(--brand); color: var(--brand-ink); font-size: 0.8125rem; font-weight: 600; padding: 5px 14px; border-radius: 99px; }
.plan-plates { display: flex; align-items: center; height: 60px; gap: 3px; margin-bottom: 18px; }
.plan-plates b { flex: 1; height: 4px; border-radius: 2px; background: var(--bar); }
.plan-plates .pl, .plan-plates .pr { display: flex; align-items: center; gap: 3px; }
.plan-plates .pl { flex-direction: row-reverse; }
.plan-plates i { width: 9px; border-radius: 2px; background: var(--plate); }
.plan-plates i:nth-child(1) { height: 56px; }
.plan-plates i:nth-child(2) { height: 44px; opacity: 0.85; }
.plan-plates i:nth-child(3) { height: 32px; opacity: 0.7; }
.plan h4, .local h4 { font-size: 1.75rem; line-height: 1; text-transform: uppercase; }
.plan-extra { margin-top: 8px; margin-bottom: 28px; color: var(--brand-t); font-weight: 600; font-size: 0.9688rem; }
.plan-for { margin-bottom: 28px; margin-top: 18px; display: flex; gap: 10px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.plan-for:has(+ .plan-for-more) { margin-bottom: 10px; }
.plan-for-more { margin-top: 0; padding-top: 0; border-top: 0; }
.plan .btn { margin-top: auto; width: 100%; }
.plan-extra + .btn, .plan-for + .btn { margin-top: auto; }
.plan > .btn { position: relative; top: 0; }

.includes { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; color: var(--muted); max-width: 70ch; }
.includes .i { color: var(--brand-t); stroke-width: 2.5; margin-top: 0.2em; }
.local { display: grid; gap: 28px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 22px; padding: clamp(24px, 4vw, 40px); }
@media (min-width: 800px) { .local { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; } }
.local-ab { margin-top: 10px; font-weight: 600; }
.local-side { display: grid; gap: 20px; justify-items: start; color: var(--muted); }
.local-side .btn { width: auto; }

/* faq */
.faq-wrap { display: grid; gap: 8px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } .faq-wrap .sec-title { position: sticky; top: 100px; align-self: start; } }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; font-weight: 600; font-size: 1.125rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--brand-t); transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.faq details[open] summary .i { transform: rotate(90deg); }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }

/* cierre */
.closing { position: relative; padding-top: clamp(72px, 10vw, 140px); overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--line); }
.closing-in { text-align: center; display: grid; justify-items: center; gap: 24px; padding-bottom: clamp(56px, 8vw, 96px); }
.closing h2 { font-size: clamp(3rem, 1.2rem + 7.5vw, 6rem); line-height: 0.92; }
.closing .lead { max-width: 52ch; }
.closing .cta-row { justify-content: center; margin-top: 12px; }
.closing .barbell { margin-bottom: 28px; }

/* footer */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 48px 56px; }
.foot-in { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; } }
.foot-brand img { width: 144px; height: auto; }
.logo-d { display: var(--logo-d); }
.logo-l { display: var(--logo-l); }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: 0.9688rem; }
.foot-by p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 10px; }
.agency { display: inline-flex; align-items: center; min-height: 56px; padding: 6px 18px; border-radius: 14px; background: #0f1114; border: 1px solid #2a2e35; }
.agency img { display: block; height: 40px; width: auto; }
.foot-links { display: grid; gap: 2px; }
.foot-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--brand-t); text-decoration: underline; }
.foot-links .i { color: var(--brand-t); }

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

/* ajuste de composición del hero: el teléfono no tapa los estados del panel */
@media (min-width: 720px) {
  .m-panel { width: 62%; }
  .m-phone { width: 36%; min-width: 176px; right: 0; }
}
@media (max-width: 719px) {
  .m-panel { width: 100%; }
  .m-body { padding-bottom: 56px; }
  .m-phone { position: relative; right: auto; bottom: auto; margin: -64px 0 0 auto; width: 170px; }
  .stage { padding-bottom: 8px; }
  .stage-cap { position: static; margin-top: 12px; }
}

/* grupos de funciones */
.feat-groups { display: grid; gap: clamp(40px, 6vw, 72px); }
.fg h3 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 2rem; line-height: 1; text-transform: uppercase; color: var(--brand-t); padding-bottom: 8px; }
@media (min-width: 1000px) { .fg { display: grid; grid-template-columns: 220px 1fr; gap: 40px; } .fg h3 { padding-top: 28px; } }
.fg .feat > div:first-child { border-top: 1px solid var(--line-strong); }
