/* ============================================================
   GymSaaS — Landing Page
   Sistema visual: Enérgico / deportivo
   Display: Anton · UI/cuerpo: Archivo · Labels: Space Mono
   ============================================================ */

:root {
  /* Color */
  --ink: #0B0B0C;          /* near-black, ligeramente cálido */
  --ink-2: #141416;        /* superficie elevada en oscuro */
  --ink-3: #1C1C1F;        /* cards oscuras */
  --paper: #FAF7F2;        /* blanco cálido */
  --paper-2: #F0ECE4;      /* superficie clara secundaria */
  --accent: #FF5A1F;       /* naranja principal */
  --accent-soft: #FF7A45;  /* hover / degradado */
  --accent-deep: #E0440F;  /* pressed */
  --lime: #DDFF66;         /* acento secundario puntual */

  /* Texto */
  --on-dark: #FAF7F2;
  --on-dark-mute: rgba(250, 247, 242, 0.62);
  --on-dark-faint: rgba(250, 247, 242, 0.40);
  --on-light: #16151A;
  --on-light-mute: rgba(22, 21, 26, 0.62);
  --on-light-faint: rgba(22, 21, 26, 0.42);

  /* Bordes */
  --line-dark: rgba(250, 247, 242, 0.12);
  --line-dark-strong: rgba(250, 247, 242, 0.22);
  --line-light: rgba(22, 21, 26, 0.12);
  --line-light-strong: rgba(22, 21, 26, 0.20);

  /* Tipografía */
  --display: 'Anton', 'Archivo', sans-serif;
  --sans: 'Archivo', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Sombra */
  --shadow-1: 0 1px 2px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06);
  --shadow-2: 0 24px 60px rgba(0,0,0,.18);
  --shadow-dark: 0 30px 80px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--on-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Tipografía base ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

h1,h2,h3,h4 { margin: 0; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 140px); }

.bg-ink   { background: var(--ink);   color: var(--on-dark); }
.bg-ink2  { background: var(--ink-2); color: var(--on-dark); }
.bg-paper { background: var(--paper);  color: var(--on-light); }

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  max-width: 56ch;
}
.muted-d { color: var(--on-dark-mute); }
.muted-l { color: var(--on-light-mute); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-soft); }
.btn-ghost-d { background: transparent; color: var(--on-dark); border-color: var(--line-dark-strong); }
.btn-ghost-d:hover { border-color: var(--on-dark); background: rgba(250,247,242,.06); }
.btn-ghost-l { background: transparent; color: var(--on-light); border-color: var(--line-light-strong); }
.btn-ghost-l:hover { border-color: var(--on-light); background: rgba(0,0,0,.04); }
.btn-solid-d { background: var(--on-dark); color: var(--ink); }
.btn-solid-d:hover { background: #fff; }
.btn-lg { padding: 18px 34px; font-size: 16.5px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Pills / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-dark);
  color: var(--on-dark-mute);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.dot.lime { background: var(--lime); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,11,12,.78);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner {
  height: 70px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff; font-family: var(--display); font-size: 18px; line-height: 1;
  padding-top: 2px;
}
.brand-logo { height: 38px; width: auto; display: block; filter: drop-shadow(0 1px 3px rgba(0,0,0,.3)); }
.foot .brand-logo { height: 42px; }
.nav-links { display: flex; gap: 26px; margin-left: 14px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--on-dark-mute); transition: color .2s; }
.nav-links a:hover { color: var(--on-dark); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-cta .login { font-size: 14.5px; font-weight: 600; color: var(--on-dark-mute); }
.nav-cta .login:hover { color: var(--on-dark); }
.nav-burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 140px; padding-bottom: 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(255,90,31,.22), transparent 60%),
    radial-gradient(50% 40% at 10% 100%, rgba(255,90,31,.10), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(48px, 7.4vw, 104px); line-height: 0.9; letter-spacing: -0.015em;
  margin: 22px 0 0;
}
.hero h1 .hl { color: var(--accent); }
.hero p.lead { margin-top: 26px; color: var(--on-dark-mute); }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta .item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--on-dark-mute); }
.hero-meta svg { flex: none; }

/* ============================================================
   Dashboard mockup (HTML/CSS)
   ============================================================ */
.mock {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line-dark);
  background: rgba(255,255,255,.02);
}
.mock-bar .tl { display: flex; gap: 7px; }
.mock-bar .tl i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); display: block; }
.mock-bar .url {
  margin-left: 10px; font-family: var(--mono); font-size: 11.5px;
  color: var(--on-dark-faint); background: rgba(0,0,0,.25);
  padding: 5px 12px; border-radius: 7px; flex: 1; max-width: 280px;
}
.dash { display: grid; grid-template-columns: 188px 1fr; min-height: 420px; }
.dash-side { border-right: 1px solid var(--line-dark); padding: 18px 14px; background: rgba(0,0,0,.16); }
.dash-side .s-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; margin-bottom: 22px; }
.dash-side .s-brand .m { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; font-size: 13px; color: var(--on-dark-mute); margin-bottom: 3px; }
.nav-item.active { background: rgba(255,90,31,.16); color: #fff; }
.nav-item .ic { width: 16px; height: 16px; border-radius: 5px; border: 1.6px solid currentColor; flex: none; opacity: .85; }
.dash-main { padding: 22px; }
.dash-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-h h4 { font-size: 17px; font-weight: 800; }
.dash-h .pill { font-family: var(--mono); font-size: 11px; color: var(--on-dark-mute); border: 1px solid var(--line-dark); padding: 5px 11px; border-radius: 999px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: 13px; padding: 14px; }
.kpi .lab { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-faint); }
.kpi .val { font-family: var(--display); font-size: 28px; margin-top: 8px; line-height: 1; }
.kpi .delta { font-size: 11px; margin-top: 7px; color: var(--lime); font-weight: 700; }
.kpi .delta.warn { color: var(--accent-soft); }
.dash-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.panel { background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: 13px; padding: 15px; }
.panel .p-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.panel .p-h .t { font-size: 12.5px; font-weight: 700; }
.panel .p-h .s { font-family: var(--mono); font-size: 10px; color: var(--on-dark-faint); }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.chart .bar { flex: 1; background: linear-gradient(180deg, var(--accent-soft), var(--accent)); border-radius: 5px 5px 3px 3px; opacity: .9; }
.chart .bar.ghost { background: rgba(255,255,255,.08); }
.sched { display: flex; flex-direction: column; gap: 9px; }
.sclass { display: flex; align-items: center; gap: 10px; }
.sclass .tm { font-family: var(--mono); font-size: 10.5px; color: var(--on-dark-faint); width: 42px; flex: none; }
.sclass .bar2 { flex: 1; height: 30px; border-radius: 7px; display: flex; align-items: center; padding: 0 10px; font-size: 11px; font-weight: 700; color: #fff; }
.sclass .cap { font-family: var(--mono); font-size: 10px; opacity: .85; margin-left: auto; }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.trust-inner { display: flex; align-items: center; gap: clamp(24px,5vw,64px); padding-block: 26px; flex-wrap: wrap; justify-content: center; }
.trust .lab { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-faint); }
.trust .logo { font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--on-dark-mute); opacity: .85; }

/* ============================================================
   Section header
   ============================================================ */
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.12; letter-spacing: -.01em;
  margin-top: 18px;
}
.sec-head p { margin-top: 20px; }
.sec-head.center p { margin-inline: auto; }

/* ============================================================
   Problema
   ============================================================ */
.prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,80px); align-items: center; margin-top: 56px; }
.pains { display: flex; flex-direction: column; gap: 14px; }
.pain { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); background: var(--ink-2); }
.pain .x { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: rgba(255,90,31,.12); color: var(--accent-soft); font-weight: 800; font-size: 18px; font-family: var(--display); }
.pain h4 { font-size: 16px; font-weight: 700; }
.pain p { font-size: 14px; color: var(--on-dark-mute); margin: 5px 0 0; }
.prob-aside { border-left: 2px solid var(--accent); padding-left: 26px; }
.prob-aside .big { font-family: var(--display); font-size: clamp(28px,3.4vw,42px); line-height: 1.02; }
.prob-aside p { margin-top: 16px; color: var(--on-dark-mute); }

/* ============================================================
   Features grid
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.feat {
  border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 26px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-light-strong); }
.feat .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--accent); margin-bottom: 18px;
}
.feat h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.feat p { font-size: 14.5px; color: var(--on-light-mute); margin-top: 9px; }
.feat .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; display: block; }

/* ============================================================
   Cómo funciona — 3 pasos
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; counter-reset: step; }
.step { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 30px 26px; background: var(--ink-2); position: relative; }
.step .n { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--accent); opacity: .9; }
.step h3 { font-size: 20px; font-weight: 800; margin-top: 14px; }
.step p { font-size: 14.5px; color: var(--on-dark-mute); margin-top: 10px; }
.step .line { position: absolute; top: 52px; right: -10px; width: 20px; height: 2px; background: var(--line-dark-strong); }

/* ============================================================
   Módulos — tabs
   ============================================================ */
.mods { margin-top: 50px; display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.mod-tabs { display: flex; flex-direction: column; gap: 4px; }
.mod-tab {
  text-align: left; background: none; border: none; border-radius: 11px;
  padding: 14px 16px; display: flex; gap: 12px; align-items: center;
  color: var(--on-light-mute); font-size: 15px; font-weight: 600; transition: background .15s, color .15s;
  border: 1px solid transparent;
}
.mod-tab:hover { background: var(--paper-2); }
.mod-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.mod-tab .mi { width: 20px; height: 20px; flex: none; opacity: .9; }
.mod-tab .num { font-family: var(--mono); font-size: 11px; opacity: .55; margin-left: auto; }
.mod-panel { border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: #fff; padding: 38px; box-shadow: var(--shadow-1); }
.mod-panel[hidden] { display: none; }
.mod-panel .eyebrow { color: var(--accent-deep); }
.mod-panel .eyebrow::before { background: var(--accent); }
.mod-panel h3 { font-family: var(--display); font-size: clamp(28px,3.2vw,40px); text-transform: uppercase; line-height: 1.0; margin-top: 12px; }
.mod-panel .desc { margin-top: 16px; color: var(--on-light-mute); max-width: 60ch; }
.mod-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; margin-top: 24px; }
.mod-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; list-style: none; }
.mod-feats .ck { width: 19px; height: 19px; border-radius: 6px; background: rgba(255,90,31,.14); color: var(--accent-deep); flex: none; display: grid; place-items: center; margin-top: 2px; }
.mod-feats ul { padding: 0; margin: 0; }

/* ============================================================
   Dashboard showcase (dark)
   ============================================================ */
.show-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px,5vw,72px); align-items: center; margin-top: 50px; }
.show-list { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.show-list .it { display: flex; gap: 14px; }
.show-list .it .b { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; background: rgba(255,90,31,.14); color: var(--accent-soft); }
.show-list .it h4 { font-size: 16px; font-weight: 700; }
.show-list .it p { font-size: 14px; color: var(--on-dark-mute); margin-top: 4px; }

/* ============================================================
   PWA / móvil
   ============================================================ */
.pwa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,80px); align-items: center; margin-top: 50px; }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-end; }
.phone {
  width: 220px; background: var(--ink); border-radius: 38px; padding: 10px;
  border: 1px solid var(--line-light-strong); box-shadow: var(--shadow-2);
}
.phone.back { width: 196px; transform: translateY(26px) rotate(-4deg); opacity: .92; }
.phone .screen { background: var(--ink-2); border-radius: 30px; overflow: hidden; height: 440px; position: relative; }
.phone .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 86px; height: 20px; background: #000; border-radius: 12px; z-index: 3; }
.ph-top { padding: 26px 16px 12px; background: linear-gradient(160deg, rgba(255,90,31,.30), transparent); }
.ph-top .hi { font-size: 12px; color: var(--on-dark-mute); font-family: var(--mono); }
.ph-top .nm { font-family: var(--display); font-size: 22px; text-transform: uppercase; margin-top: 4px; }
.ph-mem { margin: 12px; padding: 14px; border-radius: 14px; background: var(--accent); color: #fff; }
.ph-mem .l { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.ph-mem .v { font-weight: 800; font-size: 16px; margin-top: 4px; }
.ph-mem .bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.3); margin-top: 10px; overflow: hidden; }
.ph-mem .bar i { display: block; height: 100%; width: 68%; background: #fff; border-radius: 3px; }
.ph-lab { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-faint); margin: 8px 16px 6px; }
.ph-class { display: flex; align-items: center; gap: 10px; margin: 0 12px 8px; padding: 10px; border-radius: 12px; background: var(--ink-3); border: 1px solid var(--line-dark); }
.ph-class .tm { font-family: var(--mono); font-size: 10px; color: var(--accent-soft); width: 38px; flex: none; }
.ph-class .nm2 { font-size: 12.5px; font-weight: 700; }
.ph-class .sub { font-size: 10px; color: var(--on-dark-faint); }
.ph-class .go { margin-left: auto; width: 22px; height: 22px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; flex: none; }
.ph-tab { position: absolute; bottom: 0; left: 0; right: 0; height: 54px; background: rgba(0,0,0,.4); backdrop-filter: blur(8px); border-top: 1px solid var(--line-dark); display: flex; justify-content: space-around; align-items: center; }
.ph-tab i { width: 20px; height: 20px; border-radius: 6px; border: 1.8px solid var(--on-dark-faint); }
.ph-tab i.on { border-color: var(--accent); background: rgba(255,90,31,.2); }
.pwa-badges { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pwa-badge { display: inline-flex; gap: 10px; align-items: center; padding: 12px 16px; border: 1px solid var(--line-light); border-radius: 12px; background: #fff; font-size: 13.5px; font-weight: 600; }

/* ============================================================
   Precios
   ============================================================ */
.price-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--line-dark); border-radius: 999px; margin-top: 28px; background: var(--ink-2); }
.price-toggle button { border: none; background: none; color: var(--on-dark-mute); font-weight: 700; font-size: 14px; padding: 9px 20px; border-radius: 999px; transition: background .2s, color .2s; }
.price-toggle button.active { background: var(--accent); color: #fff; }
.price-toggle .save { font-family: var(--mono); font-size: 10px; color: var(--lime); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; align-items: start; }
.plan { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 32px 28px; background: var(--ink-2); position: relative; }
.plan.feat-plan { background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-dark); }
.plan .badge { position: absolute; top: -12px; left: 28px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; font-weight: 700; }
.plan .pname { font-family: var(--display); font-size: 26px; text-transform: uppercase; }
.plan .ptag { font-size: 13.5px; color: var(--on-dark-mute); margin-top: 6px; min-height: 38px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; }
.plan .price .cur { font-size: 18px; font-weight: 700; color: var(--on-dark-mute); }
.plan .price .amt { font-family: var(--display); font-size: 52px; line-height: 1; }
.plan .price .per { font-size: 13px; color: var(--on-dark-faint); }
.plan .pmeta { font-family: var(--mono); font-size: 11px; color: var(--on-dark-faint); }
.plan .btn { width: 100%; margin: 24px 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; gap: 11px; font-size: 14px; color: var(--on-dark-mute); align-items: flex-start; }
.plan li .ck { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,90,31,.16); color: var(--accent-soft); flex: none; display: grid; place-items: center; margin-top: 1px; }
.plan li.off { opacity: .4; }
.plan li.off .ck { background: rgba(255,255,255,.06); color: var(--on-dark-faint); }
.price-note { text-align: center; margin-top: 26px; font-size: 13px; color: var(--on-dark-faint); }

/* ============================================================
   Testimonios
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 50px; }
.testi { border: 1px solid var(--line-light); border-radius: var(--radius); padding: 28px; background: #fff; display: flex; flex-direction: column; }
.testi .stars { color: var(--accent); letter-spacing: 3px; font-size: 14px; }
.testi blockquote { margin: 16px 0 0; font-size: 16px; line-height: 1.5; font-weight: 500; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; }
.testi .av { width: 42px; height: 42px; border-radius: 50%; flex: none; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.testi .who .nm { font-size: 14px; font-weight: 700; }
.testi .who .ro { font-size: 12.5px; color: var(--on-light-faint); }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 16px; }
.metric { text-align: center; padding: 26px 16px; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--paper-2); }
.metric .v { font-family: var(--display); font-size: clamp(32px,4vw,48px); color: var(--accent-deep); line-height: 1; }
.metric .l { font-size: 13px; color: var(--on-light-mute); margin-top: 8px; }

/* ============================================================
   Integraciones
   ============================================================ */
.integ-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 50px; }
.integ { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px; background: var(--ink-2); }
.integ .logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.integ h4 { font-size: 16px; font-weight: 800; }
.integ p { font-size: 13.5px; color: var(--on-dark-mute); margin-top: 7px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 50px auto 0; }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 18px; font-weight: 700; color: var(--on-light); }
.faq-q .ic { width: 26px; height: 26px; flex: none; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .25s ease, opacity .2s; }
.faq-q .ic::before { top: 12px; left: 4px; width: 18px; height: 2.5px; }
.faq-q .ic::after { left: 12px; top: 4px; width: 2.5px; height: 18px; }
.faq-item.open .ic::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 50px 24px 0; margin: 0; color: var(--on-light-mute); font-size: 15.5px; }

/* ============================================================
   CTA final
   ============================================================ */
.cta-final { background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px); position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 100% at 100% 0, rgba(255,255,255,.18), transparent 60%); }
.cta-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(32px,5vw,64px); align-items: center; position: relative; z-index: 1; }
.cta-final h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(34px,5vw,60px); line-height: 1.0; }
.cta-final p { margin-top: 16px; font-size: 17px; opacity: .92; max-width: 44ch; }
.cta-form { background: #fff; border-radius: var(--radius); padding: 28px; color: var(--on-light); box-shadow: var(--shadow-2); }
.cta-form .f-row { margin-bottom: 14px; }
.cta-form label { font-size: 12px; font-weight: 700; font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--on-light-mute); display: block; margin-bottom: 6px; }
.cta-form input, .cta-form select { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-light-strong); border-radius: 10px; font-family: inherit; font-size: 15px; background: var(--paper); color: var(--on-light); }
.cta-form input:focus, .cta-form select:focus { outline: none; border-color: var(--accent); }
.cta-form .btn { width: 100%; margin-top: 6px; }
.cta-form .fine { font-size: 11.5px; color: var(--on-light-faint); text-align: center; margin: 12px 0 0; }
.cta-ok { display: none; text-align: center; padding: 30px 10px; }
.cta-ok.show { display: block; }
.cta-ok .ring { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,90,31,.14); color: var(--accent); display: grid; place-items: center; margin: 0 auto 16px; }

/* ============================================================
   Footer
   ============================================================ */
.foot { border-top: 1px solid var(--line-dark); padding-block: 56px 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.foot .brand { margin-bottom: 16px; }
.foot .blurb { font-size: 14px; color: var(--on-dark-mute); max-width: 34ch; }
.foot-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-faint); margin: 0 0 16px; }
.foot-col a { display: block; font-size: 14px; color: var(--on-dark-mute); margin-bottom: 11px; transition: color .15s; }
.foot-col a:hover { color: var(--on-dark); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-dark); flex-wrap: wrap; }
.foot-bottom .cp { font-size: 13px; color: var(--on-dark-faint); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark-mute); transition: border-color .2s, color .2s; }
.foot-social a:hover { border-color: var(--on-dark); color: var(--on-dark); }

/* ============================================================
   Reveal animation
   ============================================================ */
/* Reveal: SOLO anima transform — la opacidad permanece en 1, así el contenido
   nunca queda oculto si una captura o pestaña en segundo plano pausa la animación. */
html.anim .reveal.in { animation: revealIn .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes revealIn { from { transform: translateY(24px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html.anim .reveal { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid, .prob-grid, .show-grid, .pwa-grid, .cta-grid, .mods { grid-template-columns: 1fr; }
  .hero-mock-wrap { order: 2; }
  .feat-grid, .steps, .integ-grid, .plans, .testi-grid { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: repeat(3,1fr); }
  .mod-tabs { flex-direction: row; overflow-x: auto; }
  .mod-tab { flex: none; }
  .mod-tab .num { display: none; }
  .nav-links { display: none; }
  .metrics { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .feat-grid, .steps, .integ-grid, .plans, .testi-grid, .mod-feats, .foot-grid { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-row { grid-template-columns: 1fr; }
  .phones { flex-direction: column-reverse; align-items: center; }
  .phone.back { display: none; }
  .nav-cta .login { display: none; }
}
