/* ===========================================================================
   Landing comercial · POS para restaurantes
   Sistema de diseno: editorial minimal, marco de acento, tipografia fluida.
   Todo el color vive en tokens; el tema oscuro solo los redefine.
   =========================================================================== */

:root {
  /* Marca */
  --accent:        #f4621f;
  /* Tinta sobre el acento. Oscura y no blanca: blanco sobre este naranja
     da 3.18:1 y no pasa la WCAG; esta combinacion da 6.11:1 y conserva el
     color de marca intacto. */
  --accent-ink:    #17120e;
  /* El acento como TEXTO necesita ser mas oscuro que el de relleno: el naranja
     de marca sobre papel solo llega a 3.04:1. Este llega a 4.55:1. */
  --accent-text:   #c34e19;
  /* Tinta del marcador "hueco por llenar". Su fondo es el crema --accent-soft;
     --accent-text ahi da 4.29:1 y esta da 6.27:1. */
  --pendiente-fg:  #9a3c10;
  /* Para las islas invertidas (.cta, .plan--featured), cuyo fondo es --ink y
     por tanto es oscuro cuando la pagina es clara. 6.11:1 sobre ese fondo. */
  --accent-text-inv: #f4621f;
  --accent-soft:   #fff1e8;
  --accent-line:   #f4621f;

  /* Superficies y texto */
  --paper:         #fbfaf8;
  --surface:       #ffffff;
  --surface-2:     #f3f1ed;
  --ink:           #0d0d0f;
  --ink-2:         #46464c;
  --ink-3:         #73737a;   /* 4.51:1 sobre papel; el anterior #86868e daba 3.46:1 */
  --hairline:      rgba(13, 13, 15, .12);
  --hairline-soft: rgba(13, 13, 15, .07);
  --ghost:         rgba(13, 13, 15, .05);
  --shadow-lg:     0 32px 80px -32px rgba(13, 13, 15, .28);
  --shadow-sm:     0 10px 30px -18px rgba(13, 13, 15, .45);

  /* Ritmo */
  --frame:         14px;
  --gutter:        clamp(20px, 5vw, 76px);
  --maxw:          1360px;
  --radius:        18px;
  --radius-lg:     28px;

  /* Tipografia */
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease:         cubic-bezier(.22, 1, .36, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent:        #ff7a3d;
    --accent-ink:    #17120e;
    --accent-text:   #ff7a3d;   /* en oscuro el naranja claro si es legible: 7.59:1 */
    --pendiente-fg:  #ffa072;   /* sobre el fondo oscuro del marcador */
    --accent-text-inv: #9a3c10;   /* aqui la isla invertida es CLARA: 6.37:1 */
    --accent-soft:   rgba(255, 122, 61, .12);
    --accent-line:   rgba(255, 122, 61, .55);
    --paper:         #0b0b0c;
    --surface:       #141416;
    --surface-2:     #1c1c1f;
    --ink:           #f6f5f3;
    --ink-2:         #b4b3b0;
    --ink-3:         #838281;   /* 4.80:1 sobre tarjeta */
    --hairline:      rgba(246, 245, 243, .14);
    --hairline-soft: rgba(246, 245, 243, .08);
    --ghost:         rgba(246, 245, 243, .055);
    --shadow-lg:     0 32px 80px -32px rgba(0, 0, 0, .8);
    --shadow-sm:     0 10px 30px -18px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --accent:        #ff7a3d;
  --accent-ink:    #17120e;
    --accent-text:   #ff7a3d;   /* en oscuro el naranja claro si es legible: 7.59:1 */
    --pendiente-fg:  #ffa072;   /* sobre el fondo oscuro del marcador */
    --accent-text-inv: #9a3c10;   /* aqui la isla invertida es CLARA: 6.37:1 */
  --accent-soft:   rgba(255, 122, 61, .12);
  --accent-line:   rgba(255, 122, 61, .55);
  --paper:         #0b0b0c;
  --surface:       #141416;
  --surface-2:     #1c1c1f;
  --ink:           #f6f5f3;
  --ink-2:         #b4b3b0;
  --ink-3:         #838281;   /* 4.80:1 sobre tarjeta */
  --hairline:      rgba(246, 245, 243, .14);
  --hairline-soft: rgba(246, 245, 243, .08);
  --ghost:         rgba(246, 245, 243, .055);
  --shadow-lg:     0 32px 80px -32px rgba(0, 0, 0, .8);
  --shadow-sm:     0 10px 30px -18px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

/* --------------------------------------------------------------------- Base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--accent); color: var(--accent-ink); }

:where(a, button, summary, input):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* ---------------------------------------------------- Marco de acento fijo */

.frame {
  position: fixed;
  inset: var(--frame);
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  pointer-events: none;
  z-index: 90;
}

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------ Tipos comunes */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}
.eyebrow--plain::before { display: none; }

.lede {
  color: var(--ink-2);
  font-size: clamp(15px, 1.15vw, 17px);
  max-width: 46ch;
}

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 150px);
}
.section + .section { border-top: 1px solid var(--hairline-soft); }

.section__head {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: clamp(40px, 5vw, 68px);
}
@media (min-width: 900px) {
  .section__head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
}
.section__title {
  font-size: clamp(32px, 4.6vw, 58px);
  text-transform: uppercase;
  letter-spacing: -.015em;
}
.section__title em {
  font-style: normal;
  color: var(--accent-text);
}

/* ------------------------------------------------------------------ Botones */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover { color: var(--accent-ink); border-color: var(--accent-text); transform: translateY(-2px); }
.btn:hover::after { transform: none; }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--hairline);
}
.btn--ghost:hover { color: var(--accent-ink); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); }
.btn--accent::after { background: var(--ink); }
.btn--accent:hover { color: var(--paper); border-color: var(--ink); }

.btn--sm { padding: 12px 22px; font-size: 11px; }

.link-arrow {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.link-arrow svg { transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------------------------------------------------------------- Cabecera */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 18px;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}
.header[data-stuck="true"] {
  padding-block: 12px;
  box-shadow: 0 1px 0 var(--hairline);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  gap: 3px;
  padding: 7px;
  border-radius: 8px;
  background: var(--ink);
}
.brand__mark i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--paper);
}
.brand__mark i:nth-child(2),
.brand__mark i:nth-child(4),
.brand__mark i:nth-child(6) { background: var(--accent); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.nav { display: none; gap: 34px; }
@media (min-width: 1040px) { .nav { display: flex; } }
.nav a {
  position: relative;
  /* 24px de alto minimo: es el objetivo tactil que pide la WCAG 2.2 para
     cualquier control que no sea un enlace dentro de un parrafo. Antes median
     21 y en un telefono se fallaba el toque. */
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { display: none; }
@media (min-width: 760px) { .header__cta { display: inline-flex; } }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.icon-btn:hover { border-color: var(--accent-text); color: var(--accent-text); transform: translateY(-2px); }
@media (min-width: 1040px) { .icon-btn--menu { display: none; } }

/* El icono del interruptor refleja el tema que se va a activar. */
.theme-toggle .moon { display: none; }
.theme-toggle .sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }

/* Menu movil */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: var(--gutter);
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.drawer[data-open="true"] { opacity: 1; visibility: visible; }
.drawer a {
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  padding-block: 10px;
  border-bottom: 1px solid var(--hairline-soft);
}
.drawer a:hover { color: var(--accent-text); }
.drawer .btn { margin-top: 26px; justify-self: start; }
.drawer__close {
  position: absolute;
  top: calc(var(--frame) + 18px);
  right: var(--gutter);
}

/* ------------------------------------------------------------------- Hero */

.hero {
  position: relative;
  padding-top: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -5%;
  width: min(80vw, 700px);
  height: min(80vw, 700px);
  border-radius: 50%;
  background: radial-gradient(circle,
              color-mix(in srgb, var(--accent) 18%, transparent) 0%,
              color-mix(in srgb, var(--accent) 5%, transparent) 40%,
              transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.hero-badge-2026 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  letter-spacing: .02em;
  backdrop-filter: blur(10px);
  transition: transform .2s ease, border-color .2s ease;
}
.hero-badge-2026:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}
.badge-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2.2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}
.badge-sep { opacity: .4; }
.badge-highlight { color: var(--accent-text); font-weight: 750; }

.slider { position: relative; }

.slide {
  display: none;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.slide[data-active="true"] { display: grid; }
@media (min-width: 960px) {
  .slide { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
}

.slide__text { position: relative; z-index: 2; }

.slide__index {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(26px, 4vw, 46px);
}
.slide__index-bars { display: grid; gap: 5px; }
.slide__index-bars span {
  display: block;
  width: 34px;
  height: 1px;
  background: var(--ink);
}
.slide__index-bars span:nth-child(2) { width: 22px; }
.slide__index-bars span:nth-child(3) { width: 28px; background: var(--accent); }
.slide__index-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2em;
}

.slide__ghost {
  position: absolute;
  top: clamp(-18px, -2vw, 0px);
  left: clamp(-8px, 1vw, 40px);
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(150px, 26vw, 330px);
  line-height: .8;
  color: var(--ghost);
  pointer-events: none;
  user-select: none;
}

.slide__title {
  font-size: clamp(42px, 8.2vw, 104px);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.slide__title span { display: block; }
.slide__title .accent { color: var(--accent-text); }

.slide__copy {
  margin-top: clamp(20px, 2.5vw, 30px);
  max-width: 44ch;
  color: var(--ink-2);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
}

.slide__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 40px);
}

.slide__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 48px);
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--hairline-soft);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.02em;
}
.stat__num sup { font-size: .5em; color: var(--accent-text); top: -.8em; }
.stat__label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Controles del carrusel */
.slider__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--hairline-soft);
}
.slider__dots { display: flex; align-items: center; gap: 14px; }
.dot {
  /* 24px minimos de objetivo tactil (WCAG 2.2). Median 18. */
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color .25s var(--ease);
}
.dot::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--hairline);
  transition: background .3s var(--ease), width .3s var(--ease);
}
.dot[aria-selected="true"] { color: var(--ink); }
.dot[aria-selected="true"]::before { background: var(--accent); width: 44px; }
.dot span { display: none; }
@media (min-width: 680px) { .dot span { display: inline; } }

.slider__arrows { display: flex; gap: 10px; }
.arrow {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.arrow:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: scale(1.06);
}

/* -------------------------------------------------- Mockups (sin imagenes) */

.mock {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 40vw, 480px);
}
.mock::before {
  content: "";
  position: absolute;
  width: min(86%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
              color-mix(in srgb, var(--accent) 22%, transparent) 0%,
              transparent 68%);
  filter: blur(6px);
}

.card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--hairline);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.card__bar strong {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ink);
}

.line {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding-block: 9px;
  font-size: 13px;
}
.line + .line { border-top: 1px solid var(--hairline-soft); }
.line b { font-family: var(--font-display); font-weight: 700; color: var(--accent-text); }
.line em { display: block; font-style: normal; font-size: 11px; color: var(--ink-3); }
.line > span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }

.card__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--hairline);
}
.card__total span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.card__total strong {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent);
  animation: pulse 2.4s infinite;
}
.chip--tl { top: 3%; left: 0; }
.chip--br { bottom: 6%; right: 0; }
.chip--bl { bottom: 10%; left: 0; }

@keyframes pulse {
  70%  { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.float { animation: float 7s var(--ease) infinite; }
.float--slow { animation-duration: 9s; animation-delay: -3s; }
@keyframes float {
  50% { transform: translateY(-12px); }
}

/* Tarjetas de cocina (slide 02) */
.kds { display: grid; gap: 12px; width: 100%; max-width: 420px; }
.kds__card {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.kds__card:nth-child(2) { border-left-color: var(--ink-3); }
.kds__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kds__top strong { font-family: var(--font-display); font-size: 14px; color: var(--ink); letter-spacing: .06em; }
.kds__items { display: grid; gap: 6px; font-size: 13px; }
.kds__items span { display: flex; gap: 10px; }
.kds__items b { color: var(--accent-text); font-weight: 700; }
.kds__timer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

/* Factura (slide 03) */
.stamp {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px;
  margin-top: 16px;
  border: 1px dashed var(--accent-line);
  border-radius: 14px;
  background: var(--accent-soft);
  text-align: center;
}
.stamp b {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.stamp small { font-size: 11px; color: var(--ink-3); word-break: break-all; }

.qr {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  width: 62px;
}
.qr i { aspect-ratio: 1; background: var(--hairline); border-radius: 1px; }
.qr i.on { background: var(--ink); }

/* ---------------------------------------------------------------- Marquesina */

.marquee {
  overflow: hidden;
  padding-block: 20px;
  border-block: 1px solid var(--hairline-soft);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: slide-x 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.marquee span::after { content: "/"; color: var(--accent-text); }
@keyframes slide-x { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ Bento modulos */

.bento {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1000px) {
  .tile { grid-column: span 2; }
  .tile--wide { grid-column: span 3; }
  .tile--hero {
    grid-column: span 6;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }
}
.tile--hero { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tile--hero:hover { border-color: var(--accent-text); }
.tile--hero .tile__title { font-size: clamp(26px, 3.4vw, 42px); }
.tile--hero .tile__copy { color: color-mix(in srgb, var(--paper) 72%, transparent); max-width: 46ch; }
.tile--hero .tile__num { color: color-mix(in srgb, var(--paper) 45%, transparent); }
.tile--hero .tile__list li { border-color: color-mix(in srgb, var(--paper) 22%, transparent); color: color-mix(in srgb, var(--paper) 65%, transparent); }

.tile__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--ink-3);
}
.tile__title {
  font-size: clamp(19px, 1.8vw, 24px);
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.tile__copy { color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.tile__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.tile__list li {
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* --------------------------------------------------------------- Pasos 1-2-3 */

.steps {
  display: grid;
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(26px, 3vw, 42px);
  background: var(--paper);
  transition: background .35s var(--ease);
}
.step:hover { background: var(--surface); }
.step__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  color: var(--ghost);
  -webkit-text-stroke: 1px var(--hairline);
}
.step:hover .step__num { color: var(--accent-soft); -webkit-text-stroke-color: var(--accent-line); }
.step h3 { font-size: clamp(18px, 1.7vw, 22px); text-transform: uppercase; }
.step p { color: var(--ink-2); font-size: 14px; line-height: 1.7; }

/* -------------------------------------------------------------------- Precios */

.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.plan {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(26px, 2.6vw, 36px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--accent-line); }
/* Misma isla invertida que .cta. */
.plan--featured {
  --accent-text: var(--accent-text-inv);
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-lg);
}
.plan--featured .plan__price small,
.plan--featured .plan__desc,
.plan--featured .plan__note,
.plan--featured .plan__feats li { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.plan--featured .plan__feats li::before { color: var(--accent-text); }
.plan--featured .btn { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); }
.plan--featured .btn::after { background: var(--paper); }
.plan--featured .btn:hover { color: var(--ink); border-color: var(--paper); }

.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.plan__tag {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
}
.plan__price small {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-3);
}
.plan__desc { color: var(--ink-2); font-size: 14px; }
.plan__feats { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.plan__feats li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--ink-2); }
.plan__feats li::before { content: "+"; color: var(--accent-text); font-weight: 700; }
.plan__note { font-size: 12px; color: var(--ink-3); }

/* ----------------------------------------------------------------- Preguntas */

.faq { border-top: 1px solid var(--hairline-soft); }
.faq details { border-bottom: 1px solid var(--hairline-soft); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: clamp(18px, 2vw, 26px);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 400;
  transition: transform .35s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent-text);
  color: var(--accent-ink);
}
.faq p { padding-bottom: 26px; max-width: 70ch; color: var(--ink-2); font-size: 14px; line-height: 1.8; }

/* ------------------------------------------------------------------ CTA final */

.cta {
  position: relative;
  display: grid;
  gap: 26px;
  justify-items: center;
  padding: clamp(48px, 8vw, 110px) clamp(24px, 4vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 120%;
  background: radial-gradient(ellipse at 50% 0%,
              color-mix(in srgb, var(--accent) 34%, transparent), transparent 62%);
}
/* Isla invertida: su fondo es --ink, asi que es oscura cuando la pagina es
   clara y clara cuando la pagina es oscura. El acento de texto tiene que ser
   el del tema CONTRARIO; con el propio daba 4.09:1 en claro y 2.38:1 en
   oscuro, las dos por debajo del minimo. */
.cta { --accent-text: var(--accent-text-inv); }
.cta > * { position: relative; }
.cta h2 {
  font-size: clamp(34px, 6.2vw, 78px);
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .95;
}
.cta h2 em { font-style: normal; color: var(--accent-text); }
.cta p { max-width: 48ch; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.cta .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); }
/* El fantasma dentro del bloque oscuro va al reves: sin relleno y con tinta
   clara. Sin esta regla heredaba el fondo claro de la linea de arriba y
   quedaba texto blanco sobre boton blanco, literalmente invisible. */
.cta .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border-color: color-mix(in srgb, var(--paper) 30%, transparent);
}
.cta .btn::after { background: var(--accent); }
.cta .btn:hover { color: var(--accent-ink); border-color: var(--accent-text); }

/* --------------------------------------------------------------------- Footer */

.footer { padding-block: clamp(44px, 5vw, 72px) clamp(28px, 3vw, 40px); }
.footer__grid {
  display: grid;
  gap: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hairline-soft);
}
@media (min-width: 880px) { .footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer h3 {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.footer ul a { color: var(--ink-2); transition: color .2s var(--ease); }
.footer ul a:hover { color: var(--accent-text); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer__bottom > span { display: inline-flex; align-items: center; gap: 14px; }
.footer__bottom > span::before { content: ""; width: 34px; height: 1px; background: var(--hairline); }

.socials { display: flex; gap: 8px; }
.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink-3);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.socials a:hover { color: var(--accent-ink); background: var(--accent); }

/* ------------------------------------------------------- Reveal y movimiento */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal][data-shown="true"] { opacity: 1; transform: none; }

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

/* Aviso de que los mockups llevan datos inventados. Discreto pero legible:
   el contraste contra --paper queda por encima de 4.5:1. */
.mock-nota {
  margin: 26px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
}

/* Identificacion del proveedor en el pie: obligatoria para vender en linea. */
.footer__legal {
  padding: 22px 0 0;
  margin-top: 26px;
  border-top: 1px solid var(--hairline);
}
.footer__legal p {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 88ch;
}
.footer__legal strong { color: var(--ink-2); }

/* Hueco por llenar antes de publicar. Se ve mal a proposito: si pasa
   desapercibido, se publica el sitio con el dato en blanco. */
.dato-pendiente {
  padding: 0 5px;
  border-radius: 4px;
  background: var(--accent-soft);
  border: 1px dashed var(--accent);
  color: var(--pendiente-fg);
  font-weight: 600;
}
