/* Generado desde tokens.json y tokens.dark.json. No editar a mano: cambiar los JSON y regenerar.
   Prefijo --tk- para las variables crudas; Tailwind las expone con nombres de rol (tailwind.theme.css).
   Roles estables; /replica-brand solo cambia valores. Marca Samdrapp (15-11-2026): accent = Frambuesa. */

:root {
  color-scheme: light;
  --tk-color-bg: #f9f7f8;
  --tk-color-surface: #ffffff;
  --tk-color-surface-sunken: #f1edef;
  --tk-color-locked: #f3f0f2;
  --tk-color-border: #e7e1e4;
  --tk-color-border-input: #837a80;
  --tk-color-text: #1c1419;
  --tk-color-text-muted: #5f5359;
  --tk-color-accent: #b8146f;
  --tk-color-accent-hover: #93105a;
  --tk-color-accent-subtle: #fbe7f2;
  --tk-color-on-accent: #ffffff;
  --tk-color-danger: #b42318;
  --tk-color-danger-subtle: #fdecea;
  --tk-color-on-danger: #ffffff;
  --tk-color-success: #1d7348;
  --tk-color-success-subtle: #e6f4ec;
  --tk-color-warning: #8a5300;
  --tk-color-warning-subtle: #fff3d6;
  --tk-color-info: #1f56c2;
  --tk-color-info-subtle: #e8effc;
  --tk-color-focus: #2f5bea;
  --tk-font-sans: Figtree, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tk-font-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --tk-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --tk-text-xs: 0.75rem; --tk-leading-xs: 1rem; --tk-weight-xs: 500;
  --tk-text-sm: 0.875rem; --tk-leading-sm: 1.25rem; --tk-weight-sm: 400;
  --tk-text-base: 1rem; --tk-leading-base: 1.5rem; --tk-weight-base: 400;
  --tk-text-lg: 1.125rem; --tk-leading-lg: 1.625rem; --tk-weight-lg: 600;
  --tk-text-xl: 1.375rem; --tk-leading-xl: 1.75rem; --tk-weight-xl: 700;
  --tk-text-2xl: 1.75rem; --tk-leading-2xl: 2.125rem; --tk-weight-2xl: 700;
  --tk-text-display: 2.25rem; --tk-leading-display: 2.625rem; --tk-weight-display: 800;
  --tk-space-0: 0rem;
  --tk-space-1: 0.25rem;
  --tk-space-2: 0.5rem;
  --tk-space-3: 0.75rem;
  --tk-space-4: 1rem;
  --tk-space-5: 1.25rem;
  --tk-space-6: 1.5rem;
  --tk-space-7: 2rem;
  --tk-space-8: 2.5rem;
  --tk-space-9: 3rem;
  --tk-space-10: 4rem;
  --tk-radius-sm: 6px;
  --tk-radius-md: 8px;
  --tk-radius-lg: 12px;
  --tk-radius-xl: 16px;
  --tk-radius-pill: 999px;
  --tk-shadow-card: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.08);
  --tk-shadow-pop: 0 12px 32px rgba(16,24,40,.16);
  --tk-shadow-sheet: 0 -8px 24px rgba(16,24,40,.12);
  --tk-motion-fast: 120ms;
  --tk-motion-base: 200ms;
  --tk-motion-slow: 320ms;
  --tk-motion-ease: cubic-bezier(.2,.8,.2,1);
  --tk-layout-header: 56px;
  --tk-layout-header-lg: 64px;
  --tk-layout-sidebar: 240px;
  --tk-layout-sidebar-collapsed: 64px;
  --tk-layout-bottom-nav: 64px;
  --tk-layout-content-max: 1120px;
  --tk-layout-form-max: 720px;
  --tk-layout-reader-max: 860px;
  --tk-layout-chat-panel: 380px;
  --tk-layout-tap-min: 44px;
  --tk-layout-gutter-mobile: 16px;
  --tk-layout-gutter-desktop: 24px;
  --tk-z-base: 0;
  --tk-z-sticky: 10;
  --tk-z-header: 20;
  --tk-z-drawer: 30;
  --tk-z-modal: 40;
  --tk-z-toast: 50;
  --tk-overlay: rgba(10,12,16,.55);
}

/* Tema oscuro: por preferencia del sistema salvo que el usuario elija claro, o forzado con data-theme="dark". */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --tk-color-bg: #121013;
    --tk-color-surface: #1b181c;
    --tk-color-surface-sunken: #0d0b0e;
    --tk-color-locked: #221e23;
    --tk-color-border: #2f2a30;
    --tk-color-border-input: #857c84;
    --tk-color-text: #f3eff2;
    --tk-color-text-muted: #aca2aa;
    --tk-color-accent: #ff72b9;
    --tk-color-accent-hover: #ff96ca;
    --tk-color-accent-subtle: #3a1530;
    --tk-color-on-accent: #1c1419;
    --tk-color-danger: #ff8a7a;
    --tk-color-danger-subtle: #3a1714;
    --tk-color-on-danger: #0f1115;
    --tk-color-success: #5fd39a;
    --tk-color-success-subtle: #10291c;
    --tk-color-warning: #f5c065;
    --tk-color-warning-subtle: #33260a;
    --tk-color-info: #8fb0ff;
    --tk-color-info-subtle: #172440;
    --tk-color-focus: #8fb0ff;
    --tk-overlay: rgba(0,0,0,.65);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --tk-color-bg: #121013;
  --tk-color-surface: #1b181c;
  --tk-color-surface-sunken: #0d0b0e;
  --tk-color-locked: #221e23;
  --tk-color-border: #2f2a30;
  --tk-color-border-input: #857c84;
  --tk-color-text: #f3eff2;
  --tk-color-text-muted: #aca2aa;
  --tk-color-accent: #ff72b9;
  --tk-color-accent-hover: #ff96ca;
  --tk-color-accent-subtle: #3a1530;
  --tk-color-on-accent: #1c1419;
  --tk-color-danger: #ff8a7a;
  --tk-color-danger-subtle: #3a1714;
  --tk-color-on-danger: #0f1115;
  --tk-color-success: #5fd39a;
  --tk-color-success-subtle: #10291c;
  --tk-color-warning: #f5c065;
  --tk-color-warning-subtle: #33260a;
  --tk-color-info: #8fb0ff;
  --tk-color-info-subtle: #172440;
  --tk-color-focus: #8fb0ff;
  --tk-overlay: rgba(0,0,0,.65);
}

/* Tema del portal (área de miembros): el servidor inyecta el acento del creador en el <html> del portal:
   <html style="--tk-color-accent:#…; --tk-color-accent-hover:#…; --tk-color-accent-subtle:#…; --tk-color-on-accent:#…">
   on-accent lo calcula el servidor (blanco o --tk-color-text, el que dé >= 4.5:1). Si ninguno llega a 4.5:1,
   el panel de Marca no deja guardar ese color y propone el más cercano que sí cumple. */

@media (prefers-reduced-motion: reduce) {
  :root { --tk-motion-fast: 0ms; --tk-motion-base: 0ms; --tk-motion-slow: 0ms; }
}

html { font-family: var(--tk-font-sans); background: var(--tk-color-bg); color: var(--tk-color-text); }
:focus-visible { outline: 2px solid var(--tk-color-focus); outline-offset: 2px; }

/* Web de ventas de Samdrapp. Va detrás de tokens.css (marca Samdrapp: acento Frambuesa).
   Solo se usan los roles --tk-*; ningún color suelto salvo el ámbar de celebrar, que es de la marca. */

@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/fuentes/figtree.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(/fuentes/bricolage.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fuentes/jetbrains-mono.woff2) format('woff2'); }

:root {
  --ambar: #ffb547;
  --gutter: var(--tk-layout-gutter-mobile);
  --seccion: clamp(3.5rem, 8vw, 6.5rem);
}
@media (min-width: 768px) { :root { --gutter: var(--tk-layout-gutter-desktop); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--tk-layout-header-lg) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--tk-color-bg);
  color: var(--tk-color-text);
  font: 400 1.0625rem/1.6 var(--tk-font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: var(--tk-color-accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--tk-color-accent-hover); }
h1, h2, h3 { font-family: var(--tk-font-display); letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6.4vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.85rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.cifra { font-family: var(--tk-font-mono); font-weight: 500; letter-spacing: -0.02em; }
.solo-lectores { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--tk-color-surface); color: var(--tk-color-text); padding: .75rem 1rem; border-radius: var(--tk-radius-md); box-shadow: var(--tk-shadow-pop); }
.saltar:focus { top: .75rem; }
main:focus { outline: none; }

.envoltura { width: 100%; max-width: var(--tk-layout-content-max); margin: 0 auto; padding: 0 var(--gutter); }
.estrecha { max-width: var(--tk-layout-reader-max); }
.seccion { padding: var(--seccion) 0; }
.seccion-suave { background: var(--tk-color-surface-sunken); }
.antetitulo { font: 600 .8125rem/1.2 var(--tk-font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--tk-color-accent); margin-bottom: .9rem; }
.entradilla { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--tk-color-text-muted); max-width: 40rem; }
.centrado { text-align: center; }
.centrado .entradilla { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: var(--tk-layout-tap-min); padding: .65rem 1.25rem;
  border-radius: var(--tk-radius-pill); border: 1px solid transparent;
  font: 700 1rem/1.2 var(--tk-font-sans); text-decoration: none; text-align: center;
  transition: background-color var(--tk-motion-fast) var(--tk-motion-ease), transform var(--tk-motion-fast) var(--tk-motion-ease), border-color var(--tk-motion-fast);
  cursor: pointer;
}
.boton:active { transform: translateY(1px); }
.boton.principal { background: var(--tk-color-accent); color: var(--tk-color-on-accent); }
.boton.principal:hover { background: var(--tk-color-accent-hover); color: var(--tk-color-on-accent); }
.boton.secundario { background: var(--tk-color-surface); color: var(--tk-color-text); border-color: var(--tk-color-border-input); }
.boton.secundario:hover { background: var(--tk-color-surface-sunken); color: var(--tk-color-text); }
.boton.grande { min-height: 56px; padding: .9rem 1.75rem; font-size: 1.0625rem; }
.boton.pequeno { min-height: 40px; padding: .5rem 1rem; font-size: .9375rem; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.acciones-nota { font-size: .9375rem; color: var(--tk-color-text-muted); margin: 0; }
.impuestos { white-space: nowrap; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: var(--tk-z-header);
  background: color-mix(in srgb, var(--tk-color-bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--tk-color-border);
}
.cabecera-fila { display: flex; align-items: center; gap: 1rem; min-height: var(--tk-layout-header); }
@media (min-width: 768px) { .cabecera-fila { min-height: var(--tk-layout-header-lg); } }
.logo { display: inline-flex; align-items: center; gap: .5rem; color: var(--tk-color-text); text-decoration: none; font: 800 1.375rem/1 var(--tk-font-display); letter-spacing: -0.04em; }
.logo:hover { color: var(--tk-color-text); }
.logo-simbolo { width: 28px; height: 28px; fill: var(--tk-color-accent); flex: none; }
.menu { margin-left: auto; }
.menu ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.menu a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .75rem; border-radius: var(--tk-radius-pill); color: var(--tk-color-text); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--tk-color-surface-sunken); }
.cabecera-acciones { display: flex; align-items: center; gap: .5rem; }
.enlace-entrar { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .75rem; font-weight: 600; font-size: .9375rem; color: var(--tk-color-text); text-decoration: none; }
.enlace-entrar:hover { color: var(--tk-color-accent); }
.boton-tema { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--tk-radius-pill); border: 1px solid var(--tk-color-border); background: transparent; color: var(--tk-color-text); cursor: pointer; }
.boton-tema[hidden] { display: none; }
.boton-tema svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: round; }
.boton-tema:hover { background: var(--tk-color-surface-sunken); }
@media (max-width: 767px) {
  .menu li:not(:nth-child(2)) { display: none; }
  .menu a { padding: 0 .5rem; }
  .cabecera-fila { gap: .25rem; }
  .logo span { display: none; }
}
@media (max-width: 359px) { .enlace-entrar { padding: 0 .4rem; } .boton-tema { display: none; } }
@media (min-width: 400px) and (max-width: 767px) { .logo span { display: inline; } }

/* ---------- Portada ---------- */
.portada { padding: clamp(2.5rem, 7vw, 5rem) 0 var(--seccion); position: relative; overflow: hidden; }
.portada::before {
  content: ''; position: absolute; inset: -30% -10% auto auto; width: min(70vw, 760px); aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--tk-color-accent-subtle), transparent 72%); z-index: -1; pointer-events: none;
}
.portada-rejilla { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .portada-rejilla { grid-template-columns: 1.05fr 1fr; } }
.portada h1 em { font-style: normal; color: var(--tk-color-accent); }
.portada .entradilla { margin-bottom: 1.75rem; }
.portada-sellos { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0 0; font-size: .9375rem; color: var(--tk-color-text-muted); }
.portada-sellos li { display: inline-flex; align-items: center; gap: .4rem; }
.portada-sellos svg, .incluye li::before { flex: none; }
.marca-ok { width: 18px; height: 18px; stroke: var(--tk-color-success); fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }

/* VSL: vídeo 16:9; sin vídeo, la maqueta del producto ocupa su sitio */
.vsl { position: relative; aspect-ratio: 16 / 9; border-radius: var(--tk-radius-xl); overflow: hidden; background: var(--tk-color-surface-sunken); box-shadow: var(--tk-shadow-pop); }
.vsl iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Maqueta del producto (HTML y CSS, nada de capturas) ---------- */
.maqueta { position: relative; padding: clamp(.75rem, 2vw, 1.25rem); border-radius: var(--tk-radius-xl); background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); box-shadow: var(--tk-shadow-pop); }
.mq-panel { border-radius: var(--tk-radius-lg); background: var(--tk-color-surface-sunken); padding: 1rem 1rem 3.25rem; margin-right: clamp(124px, 34%, 176px); min-width: 0; font-size: .875rem; }
.mq-barra { display: flex; gap: .35rem; margin-bottom: .9rem; }
.mq-barra i { width: 9px; height: 9px; border-radius: 50%; background: var(--tk-color-border); }
.mq-chat { display: grid; gap: .6rem; }
.mq-msg { max-width: 92%; padding: .6rem .8rem; border-radius: 14px; line-height: 1.4; }
.mq-yo { justify-self: end; background: var(--tk-color-accent); color: var(--tk-color-on-accent); border-bottom-right-radius: 4px; }
.mq-ia { background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); border-bottom-left-radius: 4px; }
.mq-ia b { display: block; font-size: .75rem; color: var(--tk-color-accent); font-family: var(--tk-font-mono); font-weight: 500; margin-bottom: .2rem; }
.mq-pasos { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; }
.mq-pasos span { font: 500 .6875rem/1 var(--tk-font-mono); padding: .35rem .5rem; border-radius: var(--tk-radius-pill); background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); color: var(--tk-color-text-muted); }
.mq-pasos span.hecho { background: var(--tk-color-success-subtle); color: var(--tk-color-success); border-color: transparent; }
.mq-movil { position: absolute; right: clamp(.5rem, 2vw, 1.25rem); bottom: -1.5rem; width: clamp(128px, 36%, 196px); aspect-ratio: 9 / 18.5; border-radius: 28px; background: var(--tk-color-text); padding: 7px; box-shadow: var(--tk-shadow-pop); z-index: 1; }
.mq-pantalla { height: 100%; border-radius: 22px; background: var(--tk-color-bg); overflow: hidden; display: flex; flex-direction: column; padding: .9rem .7rem; gap: .5rem; font-size: .6875rem; color: var(--tk-color-text); }
.mq-pantalla h4 { margin: .2rem 0 .1rem; font: 800 .875rem/1.1 var(--tk-font-display); letter-spacing: -0.02em; }
.mq-pantalla small { color: var(--tk-color-text-muted); }
.mq-anillo { width: 64%; aspect-ratio: 1; margin: .2rem auto; border-radius: 50%; background: conic-gradient(var(--tk-color-accent) 0 68%, var(--tk-color-accent-subtle) 68% 100%); display: grid; place-items: center; }
.mq-anillo span { width: 74%; aspect-ratio: 1; border-radius: 50%; background: var(--tk-color-bg); display: grid; place-items: center; font: 500 .8125rem/1 var(--tk-font-mono); }
.mq-tarea { display: flex; align-items: center; gap: .4rem; padding: .35rem .45rem; border-radius: 8px; background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); }
.mq-tarea i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid var(--tk-color-border-input); flex: none; }
.mq-tarea.ok i { background: var(--tk-color-accent); border-color: var(--tk-color-accent); }
.mq-qr { position: absolute; left: clamp(.75rem, 2vw, 1.25rem); bottom: -1.25rem; display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem .55rem .55rem; border-radius: var(--tk-radius-lg); background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); box-shadow: var(--tk-shadow-card); font-size: .8125rem; font-weight: 600; z-index: 2; }
.mq-qr svg { width: 38px; height: 38px; fill: var(--tk-color-text); }
.maqueta-nota { margin-top: 2.25rem; font-size: .8125rem; color: var(--tk-color-text-muted); text-align: center; }

/* ---------- Bloques de contenido ---------- */
.rejilla-2 { display: grid; gap: 1.25rem; }
.rejilla-3 { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .rejilla-2 { grid-template-columns: repeat(2, 1fr); } .rejilla-3 { grid-template-columns: repeat(3, 1fr); } }
.tarjeta { background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); border-radius: var(--tk-radius-xl); padding: clamp(1.25rem, 3vw, 1.75rem); }
.tarjeta h3 { margin-bottom: .4rem; }
.tarjeta p:last-child { margin-bottom: 0; }
.tarjeta p { color: var(--tk-color-text-muted); }
.icono { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tk-color-accent-subtle); margin-bottom: 1rem; }
.icono svg { width: 22px; height: 22px; stroke: var(--tk-color-accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.cabeza-seccion { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 46rem; }
.cabeza-seccion.centrado { margin-left: auto; margin-right: auto; }

/* Antes / ahora */
.contraste { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .contraste { grid-template-columns: 1fr 1fr; } }
.contraste .tarjeta h3 { display: flex; align-items: center; gap: .5rem; }
.lista-simple { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.lista-simple li { position: relative; padding-left: 1.6rem; color: var(--tk-color-text); }
.lista-simple li::before { content: ''; position: absolute; left: .3rem; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--tk-color-border-input); }
.tarjeta-ahora { border-color: var(--tk-color-accent); box-shadow: 0 0 0 1px var(--tk-color-accent) inset; }
.tarjeta-ahora .lista-simple li::before { background: var(--tk-color-accent); }

/* Pasos */
.pasos { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: paso; }
@media (min-width: 900px) { .pasos { grid-template-columns: repeat(4, 1fr); } }
.pasos li { counter-increment: paso; position: relative; }
.pasos li::before { content: counter(paso, decimal-leading-zero); display: block; font: 500 .875rem/1 var(--tk-font-mono); color: var(--tk-color-accent); margin-bottom: 1rem; }
.pasos h3 { font-size: 1.1875rem; }

/* Dos productos */
.dos-productos { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .dos-productos { grid-template-columns: 1fr 1fr; } }
.producto { display: flex; flex-direction: column; }
.producto .antetitulo { margin-bottom: .5rem; }
.producto .lista-simple { margin: 1rem 0 1.5rem; }
.producto .acciones { margin-top: auto; }

/* Ejemplos de nichos */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li { padding: .5rem .9rem; border-radius: var(--tk-radius-pill); background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); font-weight: 600; font-size: .9375rem; }

/* Diego */
.autor { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 860px) { .autor { grid-template-columns: 280px 1fr; gap: 3.5rem; } }
.autor-foto { aspect-ratio: 4 / 5; border-radius: var(--tk-radius-xl); background: var(--tk-color-accent-subtle); display: grid; place-items: center; text-align: center; color: var(--tk-color-accent); font: 800 3.5rem/1 var(--tk-font-display); letter-spacing: -0.04em; max-width: 280px; }
.autor-foto small { display: block; font: 500 .75rem/1.4 var(--tk-font-mono); letter-spacing: 0; color: var(--tk-color-text-muted); margin-top: .75rem; padding: 0 1rem; }
.autor-datos { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.autor-datos b { display: block; font: 800 2rem/1 var(--tk-font-display); letter-spacing: -0.03em; color: var(--tk-color-text); }
.autor-datos span { font-size: .9375rem; color: var(--tk-color-text-muted); }

/* Garantía */
.garantia { display: grid; gap: 1.5rem; align-items: center; background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); border-radius: var(--tk-radius-xl); padding: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 820px) { .garantia { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.sello { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--tk-color-accent-subtle); color: var(--tk-color-accent); border: 2px dashed var(--tk-color-accent); }
.sello b { display: block; font: 800 2.5rem/1 var(--tk-font-display); }
.sello span { font: 500 .6875rem/1.2 var(--tk-font-mono); text-transform: uppercase; letter-spacing: .06em; }
.garantia h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.garantia p { color: var(--tk-color-text-muted); }

/* Llamada final */
.cierre { text-align: center; }
.cierre-caja { background: var(--tk-color-text); color: var(--tk-color-bg); border-radius: calc(var(--tk-radius-xl) + 8px); padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 3rem); }
.cierre-caja h2 { color: inherit; }
.cierre-caja p { color: color-mix(in srgb, var(--tk-color-bg) 78%, var(--tk-color-text)); max-width: 36rem; margin-left: auto; margin-right: auto; }
.cierre-caja .acciones { justify-content: center; margin-top: 1.75rem; }
.cierre-caja .acciones-nota { color: color-mix(in srgb, var(--tk-color-bg) 70%, var(--tk-color-text)); }
.cierre-caja a:not(.boton) { color: inherit; }

/* ---------- Precios ---------- */
.planes, .packs { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 900px) { .planes { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .packs { grid-template-columns: repeat(3, 1fr); } }
.plan, .pack { display: flex; flex-direction: column; background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); border-radius: var(--tk-radius-xl); padding: clamp(1.25rem, 3vw, 1.75rem); }
.plan header { margin-bottom: 1rem; }
.plan h3 { font-size: 1.5rem; margin-bottom: .25rem; }
.plan-etiqueta { font: 500 .75rem/1 var(--tk-font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--tk-color-text-muted); margin-bottom: .6rem; }
.plan-para { color: var(--tk-color-text-muted); margin: 0; }
.plan-destacado { border: 2px solid var(--tk-color-accent); }
.plan-destacado .plan-etiqueta { color: var(--tk-color-accent); }
.precio { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; font: 800 2.75rem/1 var(--tk-font-display); letter-spacing: -0.04em; }
.precio .cifra { font-family: var(--tk-font-display); font-weight: 800; letter-spacing: -0.04em; }
.precio-periodo { font: 600 1rem/1 var(--tk-font-sans); letter-spacing: 0; color: var(--tk-color-text-muted); }
.precio-consultar { font-size: 2rem; }
.precio-nota { font-size: .875rem; color: var(--tk-color-text-muted); margin: .6rem 0 1.25rem; }
.incluye { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; font-size: .9688rem; }
.incluye li { position: relative; padding-left: 1.75rem; }
.incluye li::before { content: ''; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; background: var(--tk-color-success); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan .boton { margin-top: auto; width: 100%; }
.plan-pie { font-size: .8125rem; color: var(--tk-color-text-muted); margin: .9rem 0 0; }
.pack h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.pack .precio { font-size: 2.25rem; }
.pack .precio-nota { margin-bottom: 1rem; }
.pack-creditos { margin: 0; font-size: 1.0625rem; }
.pack-apps { margin: .25rem 0 0; color: var(--tk-color-text-muted); font-size: .9375rem; }
.packs-nota { margin-top: 1.25rem; color: var(--tk-color-text-muted); font-size: .9375rem; }
.creador-solo { max-width: 34rem; margin: 0 auto; }
.aviso { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; padding: 1rem 1.25rem; border-radius: var(--tk-radius-lg); background: var(--tk-color-info-subtle); color: var(--tk-color-text); font-size: .9688rem; }
.aviso svg { width: 22px; height: 22px; stroke: var(--tk-color-info); fill: none; stroke-width: 1.75; stroke-linecap: round; }
.aviso p { margin: 0; }

.tabla-envoltura { overflow-x: auto; border: 1px solid var(--tk-color-border); border-radius: var(--tk-radius-xl); background: var(--tk-color-surface); }
.tabla-envoltura:focus-visible { outline: 2px solid var(--tk-color-focus); outline-offset: 2px; }
.comparar { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.comparar th, .comparar td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--tk-color-border); vertical-align: top; }
.comparar tbody tr:last-child > * { border-bottom: 0; }
.comparar thead th { font: 700 1rem/1.2 var(--tk-font-display); background: var(--tk-color-surface-sunken); }
.comparar tbody th { font-weight: 600; }
.comparar .si { color: var(--tk-color-success); font-weight: 600; }
.comparar .no { color: var(--tk-color-text-muted); }

/* ---------- Preguntas ---------- */
.preguntas { display: grid; gap: .75rem; }
.preguntas details { background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); border-radius: var(--tk-radius-lg); }
.preguntas summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 700; font-size: 1.0625rem; min-height: var(--tk-layout-tap-min); }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--tk-color-text-muted); border-bottom: 2px solid var(--tk-color-text-muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform var(--tk-motion-base) var(--tk-motion-ease); }
.preguntas details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.preguntas details > :not(summary) { padding: 0 1.25rem; color: var(--tk-color-text-muted); }
.preguntas details > :last-child { padding-bottom: 1.15rem; margin-bottom: 0; }
.grupo-preguntas + .grupo-preguntas { margin-top: 2.75rem; }
.grupo-preguntas h2 { font-size: 1.5rem; }

/* ---------- Páginas de texto (legales, contacto) ---------- */
.cabeza-pagina { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.cabeza-pagina h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); }
.prosa { padding-bottom: var(--seccion); }
.prosa h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-top: 2.5rem; }
.prosa h3 { font-size: 1.125rem; margin-top: 1.75rem; }
.prosa ul, .prosa ol { padding-left: 1.25rem; margin: 0 0 1em; }
.prosa li { margin-bottom: .4em; }
.actualizado { font: 500 .8125rem/1.4 var(--tk-font-mono); color: var(--tk-color-text-muted); }
.borrador { border: 1px dashed var(--tk-color-warning); background: var(--tk-color-warning-subtle); border-radius: var(--tk-radius-lg); padding: .9rem 1.1rem; font-size: .9375rem; }
.borrador p { margin: 0; }
.resumen { background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); border-radius: var(--tk-radius-lg); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.resumen h2 { margin-top: 0; font-size: 1.25rem; }
.resumen ul { margin-bottom: 0; }
.tabla-simple { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 1rem 0 1.5rem; }
.tabla-simple th, .tabla-simple td { text-align: left; padding: .65rem .75rem; border-bottom: 1px solid var(--tk-color-border); vertical-align: top; }
.tabla-simple th { font-weight: 700; }
.contacto-caja { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .contacto-caja { grid-template-columns: 1fr 1fr; } }
.correo-grande { font: 700 clamp(1.15rem, 3vw, 1.5rem)/1.3 var(--tk-font-sans); word-break: break-all; }

/* 404 */
.no-encontrada { padding: clamp(4rem, 12vw, 8rem) 0; text-align: center; }
.no-encontrada .acciones { justify-content: center; }

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--tk-color-border); background: var(--tk-color-surface); padding: 3rem 0 2rem; font-size: .9375rem; }
.pie-rejilla { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
.pie-marca { grid-column: 1 / -1; }
@media (min-width: 820px) { .pie-rejilla { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .pie-marca { grid-column: auto; } }
.pie-marca p { color: var(--tk-color-text-muted); margin-top: .75rem; max-width: 22rem; }
.pie-columna h2 { font: 600 .75rem/1 var(--tk-font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--tk-color-text-muted); margin-bottom: 1rem; }
.pie-columna ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.pie-columna a { display: inline-flex; align-items: center; min-height: 36px; color: var(--tk-color-text); text-decoration: none; word-break: break-all; }
.pie-columna a:hover { color: var(--tk-color-accent); text-decoration: underline; }
.pie-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--tk-color-border); font-size: .8125rem; color: var(--tk-color-text-muted); }
.pie-legal p { margin: 0 0 .4rem; }

.mas-arriba { margin-top: 1.25rem; }
.maqueta-figura { margin: 0; }
.mq-anillo span { white-space: nowrap; }
.mq-qr { white-space: nowrap; }
@media (max-width: 600px) {
  .mq-pantalla { padding: .7rem .55rem; gap: .35rem; font-size: .625rem; }
  .mq-pantalla h4 { font-size: .75rem; }
  .mq-anillo { width: 58%; }
  .mq-anillo span { font-size: .625rem; }
  .mq-tarea:nth-of-type(3) { display: none; }
  .mq-qr { font-size: .75rem; }
}
img.autor-foto { width: 100%; height: auto; object-fit: cover; }
.etiqueta-regalo { font: 600 .75rem/1 var(--tk-font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--tk-color-accent); margin: 0 0 .5rem; }
@media (min-width: 720px) { .tarjeta-principal { grid-column: 1 / -1; } }
.tarjeta-principal { border-color: var(--tk-color-accent); }
.tarjeta .dato { font: 800 2.5rem/1 var(--tk-font-display); letter-spacing: -0.04em; color: var(--tk-color-accent); margin-bottom: .5rem; }
@media (min-width: 760px) { .planes-dos { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin: 0 auto; } }
.incluye-titulo { font: 600 .75rem/1 var(--tk-font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--tk-color-text-muted); margin: .25rem 0 .75rem; }
.planes-nota { text-align: center; margin-top: 1.25rem; color: var(--tk-color-text-muted); font-size: .9375rem; }
@media (min-width: 900px) { .pasos-tres { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Aviso «Muy pronto» (PROXIMAMENTE) ---------- */
.aviso-pronto { border: 0; padding: 0; background: transparent; max-width: min(28rem, calc(100vw - 2 * var(--gutter))); width: 100%; color: var(--tk-color-text); }
.aviso-pronto::backdrop { background: var(--tk-overlay); }
.aviso-pronto-caja { background: var(--tk-color-surface); border: 1px solid var(--tk-color-border); border-radius: var(--tk-radius-xl); box-shadow: var(--tk-shadow-pop); padding: clamp(1.5rem, 5vw, 2.25rem); text-align: center; }
.aviso-pronto h2 { font-size: clamp(1.5rem, 4vw, 1.875rem); }
.aviso-pronto p { color: var(--tk-color-text-muted); }
.aviso-pronto .antetitulo { color: var(--tk-color-accent); }
.aviso-pronto .boton { margin-top: .5rem; min-width: 10rem; }
/* Sin JavaScript: se abre con el ancla #proximamente */
.aviso-pronto:target:not([open]) { display: block; position: fixed; inset: 0; margin: auto; height: fit-content; z-index: var(--tk-z-modal); }
.aviso-pronto:target:not([open])::before { content: ''; position: fixed; inset: 0; background: var(--tk-overlay); z-index: -1; }
