/* ==========================================================================
   HIDCAL 2.0 — hoja de estilos
   Tipografía: Sora (títulos) · Inter (texto) · JetBrains Mono (datos técnicos)
   Paleta del sitio original: negro, azul marino #01053E / #020C57 / índigo #0E005D,
   azul de marca #0062C1 y azul eléctrico #091EC5
   ========================================================================== */

:root {
  --black: #000;
  --bg: #01031f;          /* fondo general (entre negro y #01053E) */
  --navy-900: #01053e;
  --navy-800: #020c57;
  --indigo: #0e005d;
  --blue: #0062c1;        /* azul de marca (botones del original) */
  --blue-400: #2b8cf0;
  --blue-300: #6fb4ff;
  --electric: #091ec5;
  --cyan: #38e1ff;        /* acento para líneas tipo CAD */
  --danger: #ff5a6a;
  --success: #3ddc97;
  --gold: #ffc24b;

  --text: #c9d2e3;
  --text-dim: #8f9bb3;
  --white: #fff;
  --line: rgb(255 255 255 / .09);
  --line-strong: rgb(255 255 255 / .16);
  --surface: rgb(255 255 255 / .035);
  --surface-2: rgb(255 255 255 / .06);

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .5vw, 1.45rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 2vw, 2.85rem);
  --fs-h1: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);

  --container: 1200px;
  --gutter: clamp(1rem, .6rem + 2vw, 2rem);
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px -20px rgb(0 0 0 / .7);
  --glow: 0 0 0 1px rgb(43 140 240 / .35), 0 20px 60px -15px rgb(0 98 193 / .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ----------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--white); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { color: var(--white); font-weight: 600; }
a { color: var(--blue-300); text-underline-offset: 3px; }
a:hover { color: #fff; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--blue); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }

/* ----------------------------------------------------------------- botones -- */
.btn {
  --_bg: var(--blue); --_fg: #fff; --_bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.35rem; border-radius: 12px; border: 1px solid var(--_bd);
  background: var(--_bg); color: var(--_fg); text-decoration: none; text-align: center; line-height: 1.2;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); color: var(--_fg); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover > .icon:last-child { transform: translateX(3px); }
.btn--sm { padding: .6rem 1rem; font-size: var(--fs-xs); border-radius: 10px; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--blue-400), var(--blue) 55%, var(--electric)); box-shadow: 0 10px 30px -10px rgb(0 98 193 / .9), inset 0 1px 0 rgb(255 255 255 / .25); }
.btn--primary:hover { box-shadow: 0 14px 36px -10px rgb(43 140 240 / .95), inset 0 1px 0 rgb(255 255 255 / .3); }
.btn--ghost { --_bg: rgb(255 255 255 / .04); --_bd: var(--line-strong); }
.btn--ghost:hover { --_bg: rgb(255 255 255 / .09); --_bd: rgb(255 255 255 / .35); }
.btn--whatsapp { --_bg: #1fa855; }
.btn--whatsapp:hover { --_bg: #178a45; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; box-shadow: 0 0 12px currentColor; }
.eyebrow--blue { color: var(--blue-300); }

.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem .4rem .6rem; border-radius: 999px; background: rgb(0 98 193 / .15); border: 1px solid rgb(43 140 240 / .35); color: #d6e8ff; font-size: var(--fs-xs); font-weight: 500; margin-bottom: 1.5rem; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgb(61 220 151 / .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(61 220 151 / 0); } }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.chips li { padding: .3rem .65rem; border-radius: 8px; font-size: .75rem; color: #d6e8ff; background: rgb(0 98 193 / .18); border: 1px solid rgb(43 140 240 / .3); }

/* ----------------------------------------------------------------- header -- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgb(1 3 31 / .6); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-color: var(--line); background: rgb(1 3 31 / .85); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; }
.brand img { width: 38px; height: 38px; }
.brand__text { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; display: flex; align-items: center; gap: .35rem; }
.brand__text small { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; padding: .1rem .4rem; border-radius: 6px; background: #fff; color: var(--navy-800); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; gap: .15rem; }
.nav__link { display: block; padding: .5rem .75rem; border-radius: 10px; color: var(--text); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; transition: color .2s, background-color .2s; }
.nav__link:hover, .nav__link.is-active { color: #fff; background: var(--surface-2); }
.nav__actions { display: flex; gap: .5rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: .5rem; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }

/* ----------------------------------------------------------------- secciones -- */
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 780px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lg); color: var(--text-dim); }
.section-head .lead { margin: 0; }

/* ----------------------------------------------------------------- hero -- */
.hero { position: relative; isolation: isolate; padding-top: clamp(3.5rem, 2rem + 6vw, 7rem); padding-bottom: 3rem; overflow: hidden;
  background: radial-gradient(70% 60% at 75% 20%, rgb(9 30 197 / .45), transparent 60%), radial-gradient(60% 50% at 0% 0%, rgb(14 0 93 / .9), transparent 70%), linear-gradient(180deg, var(--black), var(--bg)); }
.hero__grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgb(111 180 255 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(111 180 255 / .07) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); }
.hero__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.hero__title span { display: block; margin-top: .35em; font-size: .46em; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--text); }
.hero__title em { font-style: normal; background: linear-gradient(90deg, var(--blue-300), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { font-size: var(--fs-lg); color: var(--text-dim); max-width: 560px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero__bullets { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: var(--fs-sm); }
.hero__bullets li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__bullets .icon { color: var(--success); }

.window { border-radius: var(--radius-lg); background: #0a0f2e; border: 1px solid var(--line-strong); box-shadow: var(--glow); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .6s var(--ease); }
.window:hover { transform: none; }
.window__bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / .03); }
.window__bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window__bar span:nth-child(2) { background: #febc2e; }
.window__bar span:nth-child(3) { background: #28c840; }
.window__bar p { margin: 0 0 0 .75rem; font-family: var(--font-mono); font-size: .72rem; color: var(--text-dim); }
.window .embed { border-radius: 0; box-shadow: none; border: 0; }

.norms-bar { margin-top: clamp(3rem, 2rem + 3vw, 5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 2.2rem; padding: 1.1rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.norms-bar li { color: #e3ecff; font-size: var(--fs-sm); }
.norms-bar__label { font-size: var(--fs-xs) !important; color: var(--text-dim) !important; text-transform: uppercase; letter-spacing: .12em; }

/* ----------------------------------------------------------------- video embebido -- */
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #050a24; border: 1px solid var(--line); box-shadow: var(--shadow); }
.embed img, .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.embed::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgb(1 3 31 / .1), rgb(1 3 31 / .55)); pointer-events: none; }
.embed.is-playing::after { display: none; }
.embed__play { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: 78px; height: 78px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .4); display: grid; place-items: center; color: #fff; background: rgb(0 98 193 / .85); backdrop-filter: blur(6px); box-shadow: 0 0 0 10px rgb(0 98 193 / .25), 0 0 40px rgb(43 140 240 / .7); transition: transform .3s var(--ease); }
.embed__play .icon { width: 28px; height: 28px; margin-left: 4px; }
.embed__play:hover { transform: scale(1.08); }
.embed__fallback { position: absolute; z-index: 2; left: 1rem; bottom: 1rem; }

/* ----------------------------------------------------------------- promo -- */
.promo-strip { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) 0; }
.promo-banner { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.promo-banner:hover { transform: translateY(-4px); box-shadow: var(--glow); }

/* ----------------------------------------------------------------- problema -- */
.problem__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.problem__copy .section-title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); }
.problem__copy > p { color: var(--text-dim); }
.problem__question { color: #fff !important; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); border-left: 3px solid var(--blue-400); padding-left: 1rem; }
.sheet { border-radius: var(--radius); overflow: hidden; background: #f7f8fa; color: #1f2633; box-shadow: var(--shadow); font-size: .85rem; transform: rotate(1.2deg); }
.sheet__bar { display: flex; gap: 1rem; padding: .55rem .9rem; background: #e9ecf1; border-bottom: 1px solid #d5dae2; color: #5a6475; }
.sheet__bar span:first-child { font-style: italic; color: #1d6f42; font-weight: 700; }
.sheet__grid { width: 100%; border-collapse: collapse; font-family: var(--font-mono); }
.sheet__grid th, .sheet__grid td { border: 1px solid #dfe3ea; padding: .5rem .7rem; text-align: left; }
.sheet__grid th { background: #f0f2f5; color: #7a8497; font-weight: 500; text-align: center; width: 2.5rem; }
.sheet__grid tr:first-child th { width: auto; }
.sheet__grid tr:nth-child(2) td { font-weight: 700; background: #fafbfc; }
.sheet__grid .is-err { color: #c62828; background: #fdecee; font-weight: 700; }
.sheet__toast { display: flex; align-items: center; gap: .5rem; margin: 0; padding: .8rem 1rem; background: #fff4e5; color: #8a4b00; border-top: 1px solid #f5d9a8; font-weight: 600; }

.solution { margin-top: clamp(3rem, 2rem + 4vw, 6rem); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgb(9 30 197 / .35), rgb(14 0 93 / .45)); border: 1px solid rgb(43 140 240 / .3); }
.solution .section-title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); }

/* ----------------------------------------------------------------- características -- */
.features { background: linear-gradient(180deg, var(--bg), var(--navy-900) 50%, var(--bg)); }
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; margin-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.feature--reverse .feature__copy { order: 2; }
.feature__kicker { color: var(--cyan); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }
.feature__title { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem); font-weight: 700; }
.feature__copy p:last-child { color: var(--text-dim); }
.feature__media > img { border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(circle at 50% 40%, rgb(0 98 193 / .25), transparent 70%); }

.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.bento__card { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background-color .3s, transform .3s var(--ease); position: relative; overflow: hidden; }
.bento__card::before { content: ""; position: absolute; inset: -1px; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgb(43 140 240 / .18), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.bento__card:hover { border-color: rgb(43 140 240 / .45); transform: translateY(-3px); }
.bento__card:hover::before { opacity: 1; }
.bento__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--blue-400), var(--electric)); box-shadow: 0 10px 30px -10px rgb(9 30 197 / .9); }
.bento__icon .icon { width: 26px; height: 26px; }
.bento__card p { margin: 0; color: var(--text-dim); font-size: var(--fs-sm); }
.fineprint { margin: 1.25rem 0 0; font-size: var(--fs-xs); color: var(--text-dim); }

/* ----------------------------------------------------------------- sistemas -- */
.systems__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.systems__intro > p { color: var(--text-dim); }
.systems__img { margin-top: 2rem; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 1px solid var(--line); filter: saturate(.85); }
.systems__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.systems__list li { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: #e8eeff; font-weight: 500; font-size: var(--fs-sm); transition: border-color .25s, background-color .25s; }
.systems__list li:hover { border-color: rgb(56 225 255 / .45); background: rgb(56 225 255 / .05); }
.systems__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; color: var(--cyan); background: rgb(56 225 255 / .08); border: 1px solid rgb(56 225 255 / .25); }
.systems__icon .icon { width: 24px; height: 24px; }

/* ----------------------------------------------------------------- nosotros -- */
.about { background: radial-gradient(60% 50% at 100% 0%, rgb(14 0 93 / .8), transparent 70%), var(--bg); border-block: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.about__grid > div:first-child > p { color: var(--text-dim); }
.about__caption { margin: .9rem 0 0; font-size: var(--fs-sm); color: var(--text-dim); }
.members { margin-top: 2rem; }
.members__label { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); }
.members ul { display: flex; flex-wrap: wrap; gap: .9rem; }
.members li { display: grid; place-items: center; width: 96px; height: 96px; padding: .6rem; border-radius: var(--radius); background: #fff; }
.members img { max-height: 100%; width: auto; object-fit: contain; }
.stats { margin: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.stats__item { padding: clamp(1.25rem, 1rem + 1vw, 2rem); text-align: center; border-left: 1px solid var(--line); }
.stats__item:first-child { border-left: 0; }
.stats__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1; letter-spacing: -.04em; background: linear-gradient(180deg, #fff, var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: .5rem 0 0; color: var(--text-dim); font-size: var(--fs-sm); }

/* ----------------------------------------------------------------- testimonios -- */
.testimonials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgb(255 255 255 / .06), rgb(255 255 255 / .02)); border: 1px solid var(--line); }
.quote__stars { display: flex; gap: .2rem; color: var(--gold); }
.quote__stars .icon { fill: currentColor; }
.quote blockquote { margin: 0; flex: 1; }
.quote__lead { font-family: var(--font-display); font-size: var(--fs-lg); color: #fff; font-weight: 600; line-height: 1.45; }
.quote blockquote p:last-child { margin: 0; color: var(--text-dim); font-size: var(--fs-sm); }
.quote figcaption { display: flex; align-items: center; gap: .9rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.quote__avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue-400), var(--indigo)); }
.quote strong { display: block; font-family: var(--font-display); }
.quote small { color: var(--text-dim); font-size: var(--fs-xs); }

/* ----------------------------------------------------------------- precios -- */
.pricing { background: radial-gradient(50% 40% at 50% 0%, rgb(9 30 197 / .35), transparent 70%), linear-gradient(180deg, var(--bg), var(--navy-900)); }
.notice { display: flex; gap: .8rem; align-items: start; max-width: 860px; margin: 0 auto 2rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: rgb(255 194 75 / .08); border: 1px solid rgb(255 194 75 / .35); color: #ffe3a8; font-size: var(--fs-sm); }
.notice .icon { color: var(--gold); margin-top: .15rem; }
.notice strong { color: var(--gold); }
.notice a { color: #fff; }
.tabs__list { display: flex; width: max-content; max-width: 100%; margin: 0 auto 2.5rem; padding: .3rem; gap: .25rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); flex-wrap: wrap; justify-content: center; }
.tabs__tab { border: 0; background: transparent; color: var(--text); padding: .65rem 1.2rem; border-radius: 10px; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); transition: .2s; }
.tabs__tab:hover { color: #fff; }
.tabs__tab[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgb(0 98 193 / .9); }
.tabs__panel { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem; border-radius: var(--radius-lg); background: rgb(10 15 46 / .8); border: 1px solid var(--line-strong); }
.plan--featured { background: linear-gradient(180deg, rgb(0 98 193 / .28), rgb(10 15 46 / .9) 60%); border-color: rgb(43 140 240 / .7); box-shadow: var(--glow); }
.plan__badge { position: absolute; top: -12px; left: 50%; translate: -50% 0; margin: 0; padding: .3rem .8rem; border-radius: 999px; background: linear-gradient(90deg, var(--blue-400), var(--electric)); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.plan__name { font-size: 1.2rem; margin-bottom: .25rem; letter-spacing: .02em; }
.plan__period { margin: 0 0 1.25rem; font-size: var(--fs-xs); color: var(--cyan); }
.plan__price { margin: 0; display: flex; flex-direction: column; }
.plan__price s { color: var(--text-dim); font-size: var(--fs-sm); }
.plan__price span { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 2rem + 1vw, 2.9rem); line-height: 1.1; color: #fff; letter-spacing: -.03em; }
.plan__price small { font-size: .9rem; font-weight: 600; margin-right: .35rem; color: var(--text-dim); letter-spacing: 0; }
.plan__save { display: inline-block; align-self: start; margin: .5rem 0 0; padding: .2rem .6rem; border-radius: 6px; background: rgb(61 220 151 / .12); color: var(--success); font-size: var(--fs-xs); font-weight: 600; }
.plan__features { display: grid; gap: .65rem; margin: 1.5rem 0 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.plan__features li { display: flex; gap: .6rem; align-items: start; }
.plan__features .icon { color: var(--success); margin-top: .3rem; }
.plan__bonus { color: var(--gold); }
.plan__bonus .icon { color: var(--gold) !important; }
.plan .btn { margin-top: auto; }

.payments { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; font-size: var(--fs-sm); color: var(--text-dim); }
.payments p { margin: 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.payments img { width: min(380px, 80%); padding: .6rem 1rem; border-radius: 12px; background: #fff; }

.trainings { margin-top: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); }
.trainings__title { text-align: center; font-size: var(--fs-h3); margin-bottom: 1.75rem; }
.trainings__title span { display: block; margin-top: .4rem; font-size: var(--fs-xs); color: var(--text-dim); font-weight: 500; }
.trainings__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.training { display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.training__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--blue-300); background: rgb(0 98 193 / .15); margin-bottom: 1rem; }
.training h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 1.25rem; }
.training__actions { margin-top: auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--line); }

/* ----------------------------------------------------------------- FAQ -- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__intro > p { color: var(--text-dim); }
.accordion { display: grid; gap: .75rem; }
.accordion__item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.accordion__item[open] { border-color: rgb(43 140 240 / .45); background: rgb(0 98 193 / .07); }
.accordion__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1rem; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); transition: transform .3s var(--ease), background-color .3s; }
.accordion__item[open] .accordion__icon { transform: rotate(45deg); background: var(--blue); }
.accordion__body { padding: 0 1.35rem 1.25rem; color: var(--text-dim); font-size: var(--fs-sm); }
.accordion__body p:last-child { margin: 0; }

/* ----------------------------------------------------------------- contacto -- */
.contact { background: radial-gradient(60% 60% at 0% 100%, rgb(9 30 197 / .35), transparent 70%), var(--navy-900); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact__info > p { color: var(--text-dim); }
.contact__list { display: grid; gap: 1.1rem; margin-top: 2rem; }
.contact__list li { display: flex; gap: 1rem; align-items: center; }
.contact__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--blue-300); flex: none; }
.contact__list small { display: block; font-family: var(--font-mono); font-size: .72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; }
.contact__list a, .contact__list span { color: #fff; font-weight: 500; text-decoration: none; }

.card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: rgb(10 15 46 / .85); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 500; color: #e8eeff; margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: #fff; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--line-strong); background: rgb(1 3 31 / .7); transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%238f9bb3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }
.field select option { background: #0a0f2e; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #5f6b85; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgb(43 140 240 / .2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { margin: .35rem 0 0; font-size: var(--fs-xs); color: var(--danger); }
.field__error:empty { display: none; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; }
.field--check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--blue); }
.field--check label { font-weight: 400; color: var(--text-dim); margin: 0; }
.field--check .field__error { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-weight: 600; font-size: var(--fs-sm); }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--success); background: rgb(61 220 151 / .1); padding: .9rem 1rem; border-radius: 12px; border: 1px solid rgb(61 220 151 / .35); }
.form__status.is-error { color: #ffb4bc; background: rgb(255 90 106 / .1); padding: .9rem 1rem; border-radius: 12px; border: 1px solid rgb(255 90 106 / .35); }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.flash-stack { padding-top: 1rem; }
.flash { padding: .9rem 1rem; border-radius: 12px; margin: 0 0 .5rem; font-weight: 600; }
.flash--error { background: rgb(255 90 106 / .12); color: #ffb4bc; border: 1px solid rgb(255 90 106 / .35); }

/* ----------------------------------------------------------------- footer -- */
.site-footer { background: var(--black); padding-top: clamp(3.5rem, 2.5rem + 4vw, 5rem); font-size: var(--fs-sm); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand p { margin-top: 1.25rem; color: var(--text-dim); }
.site-footer__brand em { color: #fff; font-style: normal; }
.site-footer__title { font-size: .95rem; margin-bottom: 1.1rem; letter-spacing: 0; }
.site-footer__list { display: grid; gap: .7rem; }
.site-footer__list--icons li { display: flex; gap: .6rem; align-items: start; }
.site-footer__list--icons .icon { color: var(--blue-300); margin-top: .3rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__company img { width: 96px; margin-bottom: .75rem; opacity: .9; }
.site-footer__company p { color: var(--text-dim); font-size: var(--fs-xs); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 5.5rem; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-dim); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 1.5rem; }

/* ----------------------------------------------------------------- flotantes -- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.15rem .85rem .95rem; border-radius: 999px; background: #1fa855; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); box-shadow: 0 14px 30px -10px rgb(31 168 85 / .8); transition: transform .25s var(--ease); }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.to-top { position: fixed; right: 1.25rem; bottom: 5.5rem; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; background: rgb(10 15 46 / .9); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }

/* ----------------------------------------------------------------- páginas internas -- */
.page-hero { padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); background: radial-gradient(60% 120% at 100% 0%, rgb(9 30 197 / .45), transparent 60%), var(--black); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--fs-h2); margin: 0; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.3rem; margin-top: 2.25rem; }
.prose p { color: var(--text-dim); }
.prose__meta { font-size: var(--fs-xs); margin-top: 3rem; }
.status-page { padding-block: clamp(5rem, 3rem + 8vw, 9rem); text-align: center; background: radial-gradient(50% 60% at 50% 0%, rgb(9 30 197 / .4), transparent 70%); }
.status-page__inner { max-width: 640px; }
.status-page__icon { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--blue); color: #fff; margin-bottom: 1.5rem; box-shadow: var(--glow); }
.status-page__icon .icon { width: 44px; height: 44px; }
.status-page__code { font-size: clamp(4rem, 3rem + 6vw, 7rem); line-height: 1; color: var(--blue-300); margin: 0 0 .5rem; }
.status-page h1 { font-size: var(--fs-h2); }
.status-page p { color: var(--text-dim); font-size: var(--fs-lg); }
.status-page__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }

/* ==========================================================================
   Páginas de conversión: landing de demo, descarga, checkout, pedido, panel
   ========================================================================== */
[hidden] { display: none !important; }
.text-center { text-align: center; }
.narrow { max-width: 920px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-accent { background: linear-gradient(90deg, var(--blue-300), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--tight-top { padding-top: 0; }
.btn--light { --_bg: #fff; --_fg: var(--navy-800); }
.btn--light:hover { --_bg: #e8f1ff; }
.tag { display: inline-block; margin-left: .35rem; padding: .1rem .45rem; border-radius: 6px; font-style: normal; font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; color: var(--gold); background: rgb(255 194 75 / .12); border: 1px solid rgb(255 194 75 / .35); }
.tag--muted { color: var(--text-dim); background: var(--surface-2); border-color: var(--line-strong); }

/* Cabecera simplificada */
.header-actions { display: flex; align-items: center; gap: .6rem; }
.secure-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-xs); font-weight: 600; color: var(--success); padding: .35rem .7rem; border-radius: 999px; background: rgb(61 220 151 / .1); border: 1px solid rgb(61 220 151 / .3); }

/* Landing */
.hero--landing { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.hero__inner--form { grid-template-columns: 1.05fr .95fr; align-items: start; }
.hero__inner--form .hero__copy { padding-top: clamp(0rem, 2vw, 2.5rem); }
.hero__title--md { font-size: clamp(2.1rem, 1.3rem + 3.3vw, 3.6rem); }
.check-list { display: grid; gap: .7rem; margin-bottom: 1.75rem; }
.check-list li { display: flex; gap: .6rem; align-items: center; color: #e3ecff; }
.check-list .icon { color: var(--success); }
.hero__more { color: var(--blue-300); }
.demo-form { gap: 1rem; box-shadow: var(--glow); }
.demo-form__head h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); margin-bottom: .35rem; }
.demo-form__head p:last-child { margin: 0; font-size: var(--fs-xs); color: var(--text-dim); }
.demo-form__head .eyebrow { margin-bottom: .5rem; }
.form__legal, .checkout__legal { display: flex; gap: .45rem; align-items: start; margin: 0; font-size: .78rem; color: var(--text-dim); }
.form__legal .icon, .checkout__legal .icon { margin-top: .2rem; color: var(--success); }

.clients { padding-block: 2.25rem; border-block: 1px solid var(--line); background: rgb(255 255 255 / .02); }
.clients__label { margin: 0 0 1.25rem; text-align: center; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.clients__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.25rem clamp(1.75rem, 1rem + 3vw, 3.75rem); }
.clients__list img { height: clamp(30px, 24px + 1.2vw, 44px); width: auto; opacity: .7; transition: opacity .25s; }
.clients__list li:hover img { opacity: 1; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.cta-band { padding-block: clamp(3rem, 2rem + 4vw, 5rem); background: radial-gradient(80% 140% at 0% 0%, rgb(43 140 240 / .45), transparent 60%), linear-gradient(120deg, var(--blue), var(--electric) 60%, var(--indigo)); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.3rem); margin-bottom: .4rem; max-width: 640px; }
.cta-band p { margin: 0; color: #dce8ff; max-width: 600px; }
.cta-band .eyebrow { color: #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn--ghost { --_bd: rgb(255 255 255 / .45); }

/* Descarga */
.hero--compact { padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.hero__text--center { margin-inline: auto; }
.success-badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--success), #1fa86b); box-shadow: 0 0 0 8px rgb(61 220 151 / .15), 0 16px 40px -12px rgb(61 220 151 / .6); }
.success-badge .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.success-badge--pending { background: linear-gradient(135deg, var(--gold), #e09a14); box-shadow: 0 0 0 8px rgb(255 194 75 / .15); }
.success-badge--muted { background: var(--surface-2); box-shadow: none; border: 1px solid var(--line-strong); }
.download { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: start; }
.download__playlist { margin-top: 1rem; }
.download__steps { display: grid; gap: 1.25rem; }
.step-label { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); }
.step-label span, .step-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-family: var(--font-mono); font-size: .8rem; color: #fff; background: var(--blue); letter-spacing: 0; }
.step-card h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.step-card h2 small { font-size: .75rem; color: var(--text-dim); font-weight: 500; }
.step-card__note { display: flex; gap: .45rem; margin: 1rem 0 0; font-size: var(--fs-xs); color: var(--text-dim); }
.step-card__note .icon { flex: none; margin-top: .15rem; color: var(--gold); }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .7rem .7rem 1rem; border-radius: 12px; background: rgb(1 3 31 / .8); border: 1px dashed rgb(56 225 255 / .45); }
.code-box code { font-family: var(--font-mono); font-size: clamp(.82rem, .75rem + .3vw, .98rem); color: var(--cyan); word-break: break-all; letter-spacing: .02em; }
.is-copied { --_bd: var(--success) !important; color: var(--success) !important; }

/* Checkout */
.checkout { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.checkout__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 2.75rem); align-items: start; }
.checkout__summary { order: 2; position: sticky; top: calc(var(--header-h) + 1.25rem); display: grid; gap: 1rem; }
.checkout__form { order: 1; display: grid; gap: 1.25rem; }
.summary { padding: clamp(1.4rem, 1rem + 1vw, 2rem); background: linear-gradient(180deg, rgb(0 98 193 / .2), rgb(10 15 46 / .92) 45%); border-color: rgb(43 140 240 / .45); }
.summary .eyebrow { margin-bottom: .9rem; }
.summary__product { display: flex; gap: 1rem; align-items: center; }
.summary__logo { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--blue-400), var(--electric)); box-shadow: 0 10px 30px -10px rgb(9 30 197 / .9); }
.summary__name { font-size: 1.45rem; margin: 0 0 .2rem; }
.summary__meta { margin: 0; font-size: .75rem; color: var(--cyan); }
.summary__includes { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.summary__includes summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0 .25rem; cursor: pointer; list-style: none; font-weight: 600; color: #fff; font-size: var(--fs-sm); }
.summary__includes summary::-webkit-details-marker { display: none; }
.summary__includes[open] .accordion__icon { transform: rotate(45deg); }
.summary__includes .plan__features { margin: .75rem 0 0; padding-top: 0; border: 0; }
.summary__totals { margin: 1.25rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; font-size: var(--fs-sm); }
.summary__totals div { display: flex; justify-content: space-between; gap: 1rem; }
.summary__totals dt { color: var(--text-dim); }
.summary__totals dd { margin: 0; }
.summary__save dd { color: var(--success); font-weight: 600; }
.summary__total { margin-top: .35rem; padding-top: .8rem; border-top: 1px dashed var(--line-strong); align-items: baseline; }
.summary__total dt { color: #fff; font-weight: 600; }
.summary__total dd { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: #fff; letter-spacing: -.03em; }
.summary__total small { font-size: .85rem; color: var(--text-dim); font-weight: 600; letter-spacing: 0; }
.summary__fee { display: flex; gap: .45rem; margin: .9rem 0 0; font-size: .78rem; color: var(--text-dim); }
.summary__fee .icon { flex: none; margin-top: .15rem; }
.trust { display: grid; gap: .55rem; padding: 0 .5rem; font-size: var(--fs-xs); color: var(--text-dim); }
.trust li { display: flex; gap: .5rem; align-items: center; }
.trust .icon { color: var(--blue-300); }
.checkout__step { margin: 0; min-width: 0; }
.checkout__step legend { float: left; width: 100%; display: flex; align-items: center; gap: .65rem; margin-bottom: .4rem; padding: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; }
.checkout__step legend + * { clear: both; }
.checkout__step .form__row { margin-top: 1rem; }
.checkout__hint { display: flex; gap: .45rem; margin: 0; font-size: var(--fs-xs); color: var(--text-dim); }
.checkout__hint .icon { flex: none; margin-top: .15rem; color: var(--gold); }
.checkout__step > .checkout__hint:last-child { margin-top: 1rem; }
.checkout__invoice { margin-top: 1rem; }
.checkout__invoice summary { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; list-style: none; font-size: var(--fs-sm); font-weight: 600; color: var(--blue-300); }
.checkout__invoice summary::-webkit-details-marker { display: none; }
.checkout__invoice[open] summary .icon { transform: rotate(45deg); }
.checkout__invoice summary .icon { transition: transform .25s var(--ease); }
.checkout__confirm { display: grid; gap: 1rem; }
.dev-note { display: flex; gap: .6rem; margin: 0; padding: .85rem 1rem; border-radius: 12px; font-size: var(--fs-xs); color: #ffe3a8; background: rgb(255 194 75 / .08); border: 1px dashed rgb(255 194 75 / .4); }
.dev-note .icon { flex: none; color: var(--gold); margin-top: .15rem; }
.dev-note code { font-family: var(--font-mono); }

.pay-methods { display: grid; gap: .65rem; margin-top: 1rem; }
.pay-method { position: relative; display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 14px; cursor: pointer; background: rgb(1 3 31 / .55); border: 1px solid var(--line-strong); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.pay-method:hover { border-color: rgb(43 140 240 / .55); }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method:has(input:checked) { border-color: var(--blue-400); background: rgb(0 98 193 / .14); box-shadow: 0 0 0 3px rgb(43 140 240 / .18); }
.pay-method:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pay-method__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px; color: var(--blue-300); background: rgb(0 98 193 / .15); }
.pay-method__icon--paypal { color: #6cb4ff; background: rgb(0 112 186 / .18); }
.pay-method__icon--payoneer { color: #ff8a3d; background: rgb(255 72 0 / .12); }
.pay-method--manual .pay-method__icon { color: var(--text-dim); background: var(--surface-2); }
.pay-method__text { flex: 1; min-width: 0; }
.pay-method__text strong { display: block; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: var(--fs-sm); }
.pay-method__text small { display: block; font-size: .78rem; color: var(--text-dim); line-height: 1.4; }
.pay-method__radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); transition: .2s; }
.pay-method:has(input:checked) .pay-method__radio { border-color: var(--blue-400); box-shadow: inset 0 0 0 4px #0a0f2e; background: var(--blue-400); }
.paypal-box { padding: 1rem; border-radius: 14px; background: #fff; }
.paypal-box .checkout__hint { color: #5a6475; margin-top: .5rem; }

/* Pedido */
.order__hero { margin-bottom: 2rem; }
.order__hero .lead { max-width: 640px; margin-inline: auto; }
.order__card { display: grid; gap: 1.5rem; }
.order__data { display: grid; gap: 0; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.order__data div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.order__data div:first-child { border-top: 0; }
.order__data dt { color: var(--text-dim); }
.order__data dd { margin: 0; text-align: right; display: inline-flex; align-items: center; gap: .4rem; color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); }
.icon-btn:hover { color: #fff; border-color: var(--blue-400); }
.status { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.status--pendiente { color: var(--gold); background: rgb(255 194 75 / .12); }
.status--pagado { color: var(--success); background: rgb(61 220 151 / .12); }
.status--cancelado { color: var(--text-dim); background: var(--surface-2); }
.steps { display: grid; gap: .9rem; margin: 0; padding: 0; counter-reset: s; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: .8rem; align-items: start; font-size: var(--fs-sm); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; font-family: var(--font-mono); font-size: .8rem; color: #fff; background: var(--blue); }
.order__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.order__next { display: flex; gap: .5rem; margin: 0; color: var(--text-dim); font-size: var(--fs-sm); }
.order__next .icon { flex: none; margin-top: .25rem; color: var(--blue-300); }
.sim { display: grid; gap: 1.25rem; max-width: 640px; margin-inline: auto; }
.sim .section-title { margin: 0; }
.sim p { margin: 0; color: var(--text-dim); }

/* Panel de pedidos */
.admin__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.admin__head .section-title { margin: 0; }
.admin__tabs { display: flex; flex-wrap: wrap; gap: .35rem; }
.admin__tabs a { padding: .45rem .8rem; border-radius: 10px; font-size: var(--fs-xs); text-decoration: none; color: var(--text); border: 1px solid var(--line); }
.admin__tabs a[aria-current] { background: var(--blue); color: #fff; border-color: var(--blue); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-xs); }
.table th, .table td { padding: .75rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th { font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); background: var(--surface); white-space: nowrap; }
.table small { color: var(--text-dim); }
.admin__actions { display: flex; flex-wrap: wrap; gap: .35rem; }

/* Pie mínimo */
.site-footer--min { padding-top: 0; }
.site-footer--min .site-footer__bottom { border-top: 0; align-items: center; }
.site-footer--min ul { flex-wrap: wrap; gap: .5rem 1.25rem; }

/* ----------------------------------------------------------------- animaciones -- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ----------------------------------------------------------------- responsive -- */
@media (max-width: 1100px) {
  .plan { padding: 1.75rem 1.35rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }

  /* Menú móvil desde 1100 px: por debajo, los 6 enlaces + 2 botones no caben en una línea */
  :root { --header-h: 66px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 2rem; background: rgb(1 3 31 / .98); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s var(--ease); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-open .nav-toggle__open { display: none; }
  .nav-open .nav-toggle__close { display: block; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: .9rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__actions .btn { flex: 1; padding: .9rem; font-size: var(--fs-sm); }
}

@media (max-width: 1000px) {
  .hero__inner, .problem__grid, .solution, .feature, .systems__grid, .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .feature--reverse .feature__copy { order: 0; }
  .window { transform: none; }
  .faq__intro { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats__item:nth-child(3) { border-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sheet { transform: none; }
  .systems__img { aspect-ratio: 16 / 7; }
  .hero__media { max-width: 720px; }
  .hero__inner--form, .download, .checkout__grid { grid-template-columns: 1fr; }
  .demo-form { max-width: 620px; width: 100%; }
  .checkout__summary { order: 0; position: static; }
  .value-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}

/* Planes y capacitaciones: 3 columnas mientras quepan; luego una columna centrada (sin tarjeta huérfana) */
@media (max-width: 900px) {
  .plans, .trainings__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan--featured { order: -1; }
}

@media (max-width: 720px) {
  .bento, .testimonials__grid, .form__row, .site-footer__grid { grid-template-columns: 1fr; }
  .systems__list { gap: .75rem; }
  .systems__list li { flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1rem; font-size: var(--fs-xs); line-height: 1.4; }
  .systems__icon { width: 40px; height: 40px; }
  .norms-bar { gap: .5rem 1.25rem; padding: 1rem; }
  .norms-bar__label { width: 100%; text-align: center; }
  .tabs__list { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tabs__tab { white-space: normal; line-height: 1.25; }
  .header-actions__secondary { display: none; }
  .cta-band__actions, .cta-band__actions .btn, .order__actions .btn { width: 100%; }
  .summary__includes:not([open]) .plan__features { display: none; }
  .code-box { flex-direction: column; align-items: stretch; text-align: center; }
  .order__data div { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .order__data dd { text-align: left; }
  .btn { white-space: normal; }
  .hero__actions .btn { width: 100%; }
  .sheet { font-size: .72rem; }
  .sheet__grid th, .sheet__grid td { padding: .4rem .45rem; }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
  .site-footer__bottom { flex-direction: column; }
  .site-footer__bottom a, .site-footer__list a, .link-arrow { display: inline-flex; align-items: center; min-height: 32px; }
  .tabs__tab { padding: .6rem .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .window { transform: none; }
}
