/* ==========================================================================
   100likes.cl — theme.css
   Base: tokens, reinicio, tipografía y primitivos reutilizables.
   (Bloques de cabecera / pie / hero se añaden junto a su HTML.)
   ========================================================================== */

/* --- Tipografías (self-host, subconjunto latino) -------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;      /* Inter variable: cubre todos los grosores */
  font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/poppins-800.woff2") format("woff2");
}

/* --- Tokens ---------------------------------------------------------------- */
:root {
  --co-primary: #7a4af7;
  --co-primary-lift: #9b6dff;
  --co-primary-deep: #5b2fd6;
  --co-accent: #c7f74a;
  --co-accent-deep: #a6d92f;

  --co-ink: #1c1630;      /* texto principal */
  --co-muted: #6b6480;    /* texto secundario */
  --co-paper: #ffffff;    /* fondo tarjetas */
  --co-canvas: #f5f2ff;   /* fondo página */
  --co-line: #e7e1f5;     /* bordes suaves */
  --co-ink-inv: #f4f1ff;  /* texto sobre oscuro */
  --co-dark: #171226;     /* footer / superficies oscuras */

  --co-ok: #22c55e;       /* punto “en servicio” */

  --co-radius: 14px;
  --co-radius-lg: 20px;
  --co-pill: 999px;

  --co-shadow: 0 6px 20px rgba(38, 20, 84, .08);
  --co-shadow-lg: 0 18px 48px rgba(38, 20, 84, .16);

  --co-space: 1rem;
  --co-frame: 1140px;

  --co-font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --co-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --co-ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--co-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--co-ink);
  background: var(--co-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--co-primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--co-font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--co-ink);
}
h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

:focus-visible {
  outline: 3px solid var(--co-primary-lift);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Layout ---------------------------------------------------------------- */
.frame {
  width: 100%;
  max-width: var(--co-frame);
  margin-inline: auto;
  padding-inline: 1.15rem;
}

.band { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band--tight { padding-block: clamp(1.5rem, 4vw, 2.5rem); }
.band--paper { background: var(--co-paper); }

/* --- Botones --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--co-font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--co-pill);
  transition: transform .15s var(--co-ease), box-shadow .2s var(--co-ease),
              background-color .2s var(--co-ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--solid {
  background: var(--co-primary);
  color: #fff;
  box-shadow: var(--co-shadow);
}
.btn--solid:hover { background: var(--co-primary-deep); box-shadow: var(--co-shadow-lg); }

.btn--lime {
  background: var(--co-accent);
  color: var(--co-ink);
}
.btn--lime:hover { background: var(--co-accent-deep); }

.btn--ghost {
  background: var(--co-paper);
  color: var(--co-primary-deep);
  border-color: var(--co-line);
}
.btn--ghost:hover { border-color: var(--co-primary-lift); background: var(--co-canvas); }

.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* --- Pills / tags ---------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .85rem;
  border-radius: var(--co-pill);
  background: var(--co-paper);
  border: 1px solid var(--co-line);
  font-size: .85rem;
  font-weight: 500;
}

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--co-muted);
}

/* --- Tarjeta genérica ------------------------------------------------------ */
.card {
  background: var(--co-paper);
  border: 1px solid var(--co-line);
  border-radius: var(--co-radius-lg);
  box-shadow: var(--co-shadow);
  padding: 1.5rem;
}

/* --- Reveal + contadores --------------------------------------------------- */
[data-rise] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--co-ease), transform .6s var(--co-ease);
  will-change: opacity, transform;
}
[data-rise].is-shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-rise] { opacity: 1; transform: none; transition: none; }
}

.tally { font-variant-numeric: tabular-nums; }

/* --- Utilidades ------------------------------------------------------------ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.stack > * + * { margin-top: var(--co-space); }

/* ==========================================================================
   Cabecera (sticky, morada)
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--co-primary);
  color: #fff;
  transition: box-shadow .2s var(--co-ease), background-color .2s var(--co-ease);
}
.topbar.is-stuck { box-shadow: 0 4px 18px rgba(28, 12, 66, .28); }

.topbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.topbar__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  background: rgba(255, 255, 255, .12);
  border: 0;
  border-radius: 12px;
  color: #fff;
}
.topbar__burger span {
  display: block; height: 2px; width: 100%;
  background: currentColor; border-radius: 2px;
}

/* --- Marca / logotipo --- */
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--co-accent);
  color: var(--co-primary-deep);
  font-family: var(--co-font-head);
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 11px;
  letter-spacing: -.03em;
}
.brand__word {
  display: inline-flex;
  align-items: baseline;
  gap: .3rem;
  font-family: var(--co-font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .02em;
  color: #fff;
  line-height: 1;
  padding-bottom: 5px;
  position: relative;
}
.brand__cc { font-size: .72rem; font-weight: 700; opacity: .9; }
/* Subrayado-bandera de Chile (azul · blanco · rojo) */
.brand__word::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    #0039a6 0 34%, #ffffff 34% 55%, #d52b1e 55% 100%);
}

/* --- Navegación central (escritorio) --- */
.topbar__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 1.4rem;
}
.topbar__link {
  color: rgba(255, 255, 255, .92);
  font-family: var(--co-font-head);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.topbar__link:hover { color: #fff; text-decoration: none; border-bottom-color: var(--co-accent); }

.topbar__spacer { flex: 1 1 auto; }

/* Píldora "Servicios" (abre el menú lateral) — visible en escritorio */
.topbar__menu {
  display: none;
  align-items: center; gap: .5rem;
  background: var(--co-dark); color: #fff;
  font-family: var(--co-font-head); font-weight: 700;
  font-size: .82rem; letter-spacing: .05em; text-transform: uppercase;
  padding: .6rem 1.1rem; border: 0; border-radius: var(--co-pill);
  transition: background-color .15s var(--co-ease), transform .15s var(--co-ease);
}
.topbar__menu:hover { background: #000; transform: translateY(-1px); }

@media (min-width: 900px) {
  .topbar__burger { display: none; }
  .topbar__nav { display: inline-flex; }
  .topbar__menu { display: inline-flex; }
}

/* ==========================================================================
   Menú lateral (off-canvas, izquierda)
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.nav-open .drawer { visibility: visible; }

.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(20, 10, 45, .5);
  opacity: 0;
  transition: opacity .25s var(--co-ease);
}
.nav-open .drawer__scrim { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(86vw, 320px);
  background: var(--co-accent);
  box-shadow: 8px 0 40px rgba(20, 16, 31, .3);
  transform: translateX(-100%);
  transition: transform .28s var(--co-ease);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.nav-open .drawer__panel { transform: none; }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--co-primary); color: #fff;
  padding: 1.1rem 1.2rem;
  font-family: var(--co-font-head); font-weight: 700; font-size: 1.02rem;
}
.drawer__close {
  width: 34px; height: 34px;
  border: 0; border-radius: 9px;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 1.1rem; line-height: 1;
}
.drawer__close:hover { background: rgba(255, 255, 255, .28); }

.drawer__group { border-bottom: 1px solid rgba(20, 16, 31, .1); }
.drawer__group-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: .95rem 1.2rem;
  background: none; border: 0;
  font-family: var(--co-font-head);
  font-weight: 700; font-size: 1rem;
  color: var(--co-ink);
  text-align: left;
  transition: background-color .15s var(--co-ease), color .15s var(--co-ease);
}
.drawer__group-btn::after {
  content: "›"; font-size: 1.15rem; color: var(--co-primary-deep);
  transition: transform .2s var(--co-ease);
}
.drawer__group-btn:hover,
.drawer__group.is-open > .drawer__group-btn {
  background: var(--co-primary); color: #fff;
}
.drawer__group-btn:hover::after,
.drawer__group.is-open > .drawer__group-btn::after { color: #fff; }
.drawer__group.is-open > .drawer__group-btn::after { transform: rotate(90deg); }

.drawer__flyout {
  background: var(--co-paper);
  max-height: 0; overflow: hidden;
  transition: max-height .28s var(--co-ease);
}
.drawer__group.is-open .drawer__flyout { max-height: 340px; }
.drawer__flyout a {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem 1.2rem .65rem 1.9rem;
  color: var(--co-ink);
  font-size: .93rem;
  text-decoration: none;
}
.drawer__flyout a::before { content: "›"; color: var(--co-primary-deep); font-weight: 700; }
.drawer__flyout a:hover { background: var(--co-canvas); color: var(--co-primary-deep); }

.drawer__foot { padding: 1rem 1.2rem 1.4rem; display: grid; gap: .6rem; margin-top: auto; }
.drawer__foot a {
  font-size: .9rem; font-weight: 600; color: var(--co-primary-deep); text-decoration: none;
}
.drawer__foot a:hover { text-decoration: underline; }

/* Escritorio: submenú tipo flyout a la derecha */
@media (min-width: 900px) {
  .drawer__panel { overflow: visible; }
  .drawer__flyout {
    position: absolute; top: 0; left: 100%;
    width: 230px; min-height: 100%;
    max-height: none; overflow: visible;
    box-shadow: 8px 0 30px rgba(20, 16, 31, .18);
    opacity: 0; visibility: hidden; transform: translateX(-6px);
    transition: opacity .18s var(--co-ease), transform .18s var(--co-ease), visibility .18s;
  }
  .drawer__group { position: relative; }
  .drawer__group:hover > .drawer__flyout,
  .drawer__group.is-open > .drawer__flyout { opacity: 1; visibility: visible; transform: none; }
}
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Pie de página (oscuro)
   ========================================================================== */
.foot { background: var(--co-dark); color: var(--co-ink-inv); }
.foot a { color: rgba(244, 241, 255, .8); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }

.foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}
@media (min-width: 600px) { .foot__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.foot__brandcol p { margin-top: 1rem; font-size: .92rem; color: rgba(244, 241, 255, .75); max-width: 300px; }

.foot__col h4 {
  color: #fff;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.foot__col ul { list-style: none; padding: 0; margin: 0; }
.foot__col li { margin-bottom: .55rem; font-size: .93rem; }

.paychips { display: flex; flex-wrap: wrap; gap: .5rem; }
.paychips__chip {
  display: inline-flex; align-items: center;
  padding: .4rem .75rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  border-radius: 8px;
  font-family: var(--co-font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .01em;
}
.foot__pay {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.foot__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.foot__social a {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  background: rgba(255, 255, 255, .1);
  border-radius: 10px;
  color: #fff;
}
.foot__social a:hover { background: var(--co-primary); }
.foot__social svg { width: 18px; height: 18px; }

.foot__bottom {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.foot__legal { font-size: .82rem; color: rgba(244, 241, 255, .6); max-width: 70ch; }

.langpick { display: inline-flex; gap: .6rem; align-items: center; font-size: .85rem; flex-wrap: wrap; }
.langpick__now {
  font-weight: 700; color: #fff;
  padding: .3rem .6rem; border-radius: 8px;
  background: rgba(255, 255, 255, .12);
}
.langpick a { padding: .3rem .6rem; }

/* Chips de pago sobre fondo claro (hero / secciones claras) */
.paychips--light .paychips__chip {
  background: var(--co-canvas);
  border: 1px solid var(--co-line);
  color: var(--co-ink);
}

/* ==========================================================================
   Página de inicio
   ========================================================================== */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(155, 109, 255, .55), transparent 60%),
    linear-gradient(160deg, var(--co-primary) 0%, var(--co-primary-deep) 100%);
  color: #fff;
}
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 54px;
  background: var(--co-canvas); clip-path: ellipse(75% 100% at 50% 100%);
}
.hero__wrap {
  position: relative; z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3.5rem, 7vw, 5rem);
}
@media (min-width: 940px) {
  .hero__wrap { grid-template-columns: 1.05fr .95fr; }
}
.hero__card h1 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); margin-bottom: .7rem; }
.hero__card h1 span { color: var(--co-primary); }
.hero__sub { color: var(--co-muted); font-size: 1.05rem; margin-bottom: 1.2rem; }
.hero__card .btn { margin-top: 1.1rem; }

/* Ilustración del hero */
.hero__art { display: flex; justify-content: center; }
.hero__art svg { width: 100%; max-width: 420px; filter: drop-shadow(0 24px 40px rgba(20, 6, 60, .35)); }

.hero__card {
  position: relative;
  overflow: hidden;
  background: var(--co-paper);
  color: var(--co-ink);
  border-radius: var(--co-radius-lg);
  box-shadow: var(--co-shadow-lg);
  padding: 1.7rem;
}
.hero__card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--co-primary) 0%, var(--co-primary-lift) 55%, var(--co-accent) 100%);
}

.hero__kicker {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  color: var(--co-primary-deep);
  background: rgba(122, 74, 247, .1);
  padding: .34rem .72rem; border-radius: var(--co-pill);
  margin-bottom: .95rem;
}
.hero__kicker::before { content: "✔"; font-size: .8em; }

/* Barra de confianza (rating de Trustpilot + clientes) */
.hero__trust {
  display: flex; align-items: stretch; gap: .2rem;
  margin: 0 0 1.35rem;
  padding: .9rem 1.15rem;
  border-radius: var(--co-radius);
  background: linear-gradient(120deg, rgba(122, 74, 247, .1), rgba(122, 74, 247, .035));
  border: 1px solid rgba(122, 74, 247, .16);
}
.hero__trust-cell {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; gap: .28rem;
}
.hero__trust-div {
  width: 1px; align-self: stretch;
  background: rgba(122, 74, 247, .2);
  margin: .15rem .4rem;
}
.hero__stars { color: #f5a623; letter-spacing: 2px; font-size: .95rem; }
.hero__trust-num {
  font-family: var(--co-font-head);
  font-size: 1.55rem; line-height: 1; font-weight: 700;
  color: var(--co-primary-deep);
}
.hero__trust-line { font-size: .82rem; color: var(--co-muted); }
.hero__trust-line b {
  font-family: var(--co-font-head);
  color: var(--co-ink); font-size: 1.05rem;
}

.hero__feats { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .55rem; }
.hero__feats li { position: relative; padding-left: 1.7rem; font-size: .92rem; }
.hero__feats li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  display: inline-grid; place-items: center;
  width: 1.15rem; height: 1.15rem;
  background: var(--co-accent); color: var(--co-primary-deep);
  border-radius: 50%; font-size: .72rem; font-weight: 700;
}

.hero__paylabel {
  display: block;
  font-size: .72rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--co-muted); margin-bottom: .55rem;
}
/* Chips visibles sobre la tarjeta blanca (los del pie van sobre oscuro) */
.hero__card .paychips__chip {
  background: var(--co-canvas);
  border: 1px solid var(--co-line);
  color: var(--co-ink);
}

/* Tarjetas de plataforma (lima, con píldoras a cada servicio) */
.plats { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 600px) { .plats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .plats { grid-template-columns: repeat(4, 1fr); } }
.plat {
  background: var(--co-accent);
  border-radius: var(--co-radius-lg);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--co-shadow);
  transition: transform .2s var(--co-ease), box-shadow .2s var(--co-ease);
}
.plat:hover { transform: translateY(-4px); box-shadow: var(--co-shadow-lg); }
.plat__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.plat__top h3 { font-size: 1.3rem; color: var(--co-ink); margin: 0; }
.plat__ico { width: 40px; height: 40px; flex: none; }
.plat__ico svg { width: 40px; height: 40px; }
.plat__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.plat__links a {
  background: #fff; color: var(--co-ink);
  font-size: .85rem; font-weight: 600;
  padding: .45rem .8rem; border-radius: var(--co-pill);
  text-decoration: none;
  transition: background-color .15s var(--co-ease), color .15s var(--co-ease), transform .15s var(--co-ease);
}
.plat__links a:hover { background: var(--co-primary); color: #fff; transform: translateY(-1px); }

/* Ventajas */
.perks { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 720px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk { padding: 1.4rem; }
.perk__ico {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(122, 74, 247, .12);
  font-size: 1.4rem;
  margin-bottom: .8rem;
}

/* Más vendidos (sin precios) */
.sellers { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 640px) { .sellers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .sellers { grid-template-columns: repeat(3, 1fr); } }
.seller { display: flex; flex-direction: column; }
.seller__net { font-size: .8rem; color: var(--co-muted); font-weight: 600; }
.seller__qty {
  font-family: var(--co-font-head);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--co-primary-deep);
  margin: .2rem 0 .6rem;
}
.seller ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.seller li { padding-left: 1.4rem; position: relative; margin-bottom: .4rem; font-size: .92rem; }
.seller li::before { content: "✓"; position: absolute; left: 0; color: var(--co-accent-deep); font-weight: 700; }
.seller .btn { margin-top: auto; }

/* Bloque CTA */
.cta {
  background: linear-gradient(160deg, var(--co-primary) 0%, var(--co-primary-deep) 100%);
  color: #fff;
  border-radius: var(--co-radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .9); max-width: 52ch; margin-inline: auto; }

/* Bloques de servicio destacados (home) */
.svcblk {
  background: var(--co-paper);
  border: 1px solid var(--co-line);
  border-radius: var(--co-radius-lg);
  overflow: hidden;
  box-shadow: var(--co-shadow);
  margin-bottom: 1.4rem;
}
.svcblk__head { background: var(--co-canvas); padding: 1.3rem 1.6rem; }
.svcblk__head h3 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.7rem); }
.svcblk__body { display: grid; gap: 1.4rem; padding: 1.6rem; }
@media (min-width: 640px) { .svcblk__body { grid-template-columns: 1fr 1fr; } }
.svcblk__body h4 { color: var(--co-primary-deep); margin-bottom: .5rem; font-size: 1.05rem; }
.svcblk__foot { padding: 0 1.6rem 1.6rem; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; }
.checklist li::before {
  content: "✓"; flex: none;
  width: 1.4rem; height: 1.4rem; margin-top: .05rem;
  display: grid; place-items: center;
  background: var(--co-accent); color: var(--co-primary-deep);
  border-radius: 50%; font-size: .78rem; font-weight: 700;
}

/* Por qué elegirnos */
.why { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 900px) { .why { grid-template-columns: 1.1fr .9fr; } }
.why__list { display: grid; gap: 1.4rem; margin-top: 1.4rem; }
.why__item { display: flex; gap: 1rem; }
.why__ico {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: rgba(122, 74, 247, .12); display: grid; place-items: center; font-size: 1.4rem;
}
.why__item h3 { margin-bottom: .25rem; font-size: 1.12rem; }
.why__item p { margin: 0; font-size: .95rem; }
.why__art { display: flex; justify-content: center; }
.why__art svg { width: 100%; max-width: 400px; }

/* Encabezado de sección */
.head { text-align: center; max-width: 60ch; margin: 0 auto 2rem; }
.head .tag { color: var(--co-primary-deep); }

/* ==========================================================================
   Página de servicio
   ========================================================================== */
.intro {
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(155, 109, 255, .18), transparent 60%),
    var(--co-canvas);
  padding-block: clamp(1.4rem, 3vw, 2.2rem) clamp(2rem, 4vw, 3rem);
}

/* Migas de pan */
.crumbs { font-size: .82rem; color: var(--co-muted); margin-bottom: 1rem; }
.crumbs a { color: var(--co-muted); }
.crumbs a:hover { color: var(--co-primary-deep); }
.crumbs span[aria-current] { color: var(--co-ink); }

/* Píldora de estado */
.state {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem;
  background: var(--co-paper);
  border: 1px solid var(--co-line);
  border-radius: var(--co-pill);
  font-size: .82rem; font-weight: 500;
  margin-bottom: 1rem;
}
.state__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--co-ok);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: co-pulse 1.8s infinite;
}
@keyframes co-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) { .state__dot { animation: none; } }

/* Lead con “ver más” */
.lede { max-width: 60ch; font-size: 1.08rem; color: var(--co-ink); }
.lede__extra { display: none; }
.lede.is-open .lede__extra { display: inline; }
.lede__more {
  background: none; border: 0; padding: 0;
  color: var(--co-primary-deep); font-weight: 600;
  font-family: var(--co-font-body);
}
.lede__more:hover { text-decoration: underline; }

/* Fila de 3 pruebas de confianza */
.proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  margin: 1.4rem 0;
}
@media (min-width: 760px) { .proof { grid-template-columns: repeat(3, 1fr); } }
.proof__cell {
  display: flex; flex-direction: column; justify-content: center;
  gap: .35rem;
  padding: 1.05rem 1.25rem;
  background: var(--co-paper);
  border: 1px solid var(--co-line);
  border-radius: var(--co-radius);
  box-shadow: var(--co-shadow);
  min-height: 74px;
  transition: transform .15s var(--co-ease), box-shadow .2s var(--co-ease);
}
.proof__cell:hover { transform: translateY(-2px); box-shadow: var(--co-shadow-lg); }

/* Celda 1 — número grande y vivo */
.proof__big {
  font-family: var(--co-font-head); font-weight: 800;
  font-size: 1.55rem; line-height: 1;
  color: var(--co-primary);
}
.proof__small { font-size: .82rem; color: var(--co-muted); }

/* Celda 2 — Trustpilot */
.proof__stars-row { display: flex; align-items: center; gap: .4rem; }
.proof__brand { font-family: var(--co-font-head); font-weight: 700; font-size: .95rem; color: var(--co-ink); }
.proof__stars { color: #f5a623; letter-spacing: 1px; font-size: 1rem; }
.proof__score { font-family: var(--co-font-head); font-weight: 700; color: var(--co-ink); }
.proof__cell--stars a {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--co-primary-deep); font-weight: 600; font-size: .82rem;
}
.proof__cell--stars a:hover { text-decoration: underline; }

/* Celda 3 — slot “en vivo” con punto verde pulsante, en una sola línea */
.proof__cell--stream { flex-direction: row; align-items: center; gap: .6rem; }
.proof__dot {
  flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--co-ok);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: co-pulse 1.8s infinite;
}
@media (prefers-reduced-motion: reduce) { .proof__dot { animation: none; } }
.stream { position: relative; flex: 1; min-width: 0; height: 22px; overflow: hidden; }
.stream__line {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: .4rem;
  white-space: nowrap;
  font-size: .88rem;
  transform: translateY(100%);
  opacity: 0;
  transition: transform .5s var(--co-ease), opacity .5s var(--co-ease);
}
.stream__line.is-in { transform: none; opacity: 1; }
.stream__n { flex: 0 0 auto; font-weight: 700; color: var(--co-primary-deep); }
.stream__svc { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.stream__t { flex: 0 0 auto; color: var(--co-muted); }

/* Tarjetas de garantía */
.assure {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
  margin: 1.4rem 0;
}
@media (min-width: 760px) { .assure { grid-template-columns: repeat(4, 1fr); } }
.assure__card {
  padding: 1rem;
  background: var(--co-paper);
  border: 1px solid var(--co-line);
  border-radius: var(--co-radius);
}
.assure__ico { font-size: 1.4rem; }
.assure__t { font-family: var(--co-font-head); font-weight: 700; font-size: .95rem; margin: .3rem 0 .1rem; }
.assure__d { font-size: .8rem; color: var(--co-muted); }

/* Aviso */
.warn {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .8rem 1rem;
  background: #fff7e6;
  border: 1px solid #ffe4a3;
  border-radius: var(--co-radius);
  font-size: .88rem; color: #7a5a12;
  margin-bottom: 1.4rem;
}

/* Zona del widget (contrato fijo dentro) */
.order {
  padding-block: clamp(1rem, 2vw, 1.4rem) clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(760px 320px at 50% -40%, rgba(122, 74, 247, .08), transparent 70%),
    var(--co-canvas);
}
.order__box {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  background: var(--co-paper);
  border-radius: var(--co-radius-lg);
  box-shadow: var(--co-shadow-lg);
  padding: 1.5rem 1.4rem;
  min-height: 120px;
}
/* Anillo degradado (violeta→lima): acento propio, no una simple 2ª ramka */
.order__box::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--co-primary) 0%, var(--co-primary-lift) 50%, var(--co-accent) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
  opacity: .55;
}
/* El widget externo trae su propia UI: no debe heredar nuestra fuente/espaciado */
[data-widget] {
  min-height: 60px;
  font-size: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: normal;
}
/* En móvil, la caja del widget ocupa todo el ancho para que no se comprima */
@media (max-width: 600px) {
  .order__box {
    margin-inline: calc(-1 * 1.15rem);
    padding: 1rem .8rem;
    border-radius: 0;
  }
  .order__box::before { display: none; }
}

/* Cómo funciona */
.howto { display: grid; grid-template-columns: 1fr; gap: 1.2rem; counter-reset: paso; }
@media (min-width: 760px) { .howto { grid-template-columns: repeat(3, 1fr); } }
.howto__step { position: relative; padding: 1.4rem; }
.howto__step::before {
  counter-increment: paso; content: counter(paso);
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: .7rem;
  background: var(--co-primary); color: #fff;
  border-radius: 50%; font-family: var(--co-font-head); font-weight: 700;
}

/* Tabla de contenidos */
.toc {
  background: var(--co-paper);
  border: 1px solid var(--co-line);
  border-radius: var(--co-radius);
  padding: 1.2rem 1.4rem;
}
.toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--co-muted); }
.toc ol { margin: .5rem 0 0; padding-left: 1.2rem; }
.toc li { margin-bottom: .35rem; }

/* Resumen sobre el formulario: qué está pidiendo el usuario (centrado) */
.order__summary {
  display: flex; align-items: center; gap: .75rem;
  width: max-content; max-width: 100%;
  margin: 0 auto 1.2rem;
  padding: .65rem 1.3rem .65rem .7rem;
  background: linear-gradient(135deg, rgba(122, 74, 247, .1), rgba(199, 247, 74, .16));
  border: 1px solid var(--co-line);
  border-radius: var(--co-pill);
  color: var(--co-ink);
}
.order__summary-ico {
  flex: none; width: 36px; height: 36px; border-radius: 11px;
  background: var(--co-accent); display: grid; place-items: center;
}
.order__summary-ico svg { width: 20px; height: 20px; }
.order__summary-body { display: flex; flex-direction: column; line-height: 1.2; }
.order__summary-lead {
  font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--co-muted);
}
.order__summary-name {
  font-family: var(--co-font-head); font-weight: 700; font-size: 1.02rem; color: var(--co-ink);
}

/* Texto SEO */
.longform { max-width: 72ch; }
.longform h2 { margin-top: 2rem; }
.longform h2:first-child { margin-top: 0; }

/* Listas dentro de la prosa */
.prose-list, .prose-ol { margin: 1rem 0 1.2rem; padding: 0; }
.prose-list { list-style: none; display: grid; gap: .55rem; }
.prose-list li { position: relative; padding-left: 1.7rem; }
.prose-list li::before {
  content: "✓"; position: absolute; left: 0; top: .05rem;
  display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem;
  background: var(--co-accent); color: var(--co-primary-deep);
  border-radius: 50%; font-size: .72rem; font-weight: 700;
}
.prose-ol { list-style: none; counter-reset: pol; display: grid; gap: .6rem; }
.prose-ol li { position: relative; padding-left: 2.4rem; counter-increment: pol; }
.prose-ol li::before {
  content: counter(pol); position: absolute; left: 0; top: -.1rem;
  display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem;
  background: var(--co-primary); color: #fff;
  border-radius: 50%; font-family: var(--co-font-head); font-weight: 700; font-size: .85rem;
}

/* Fila de datos/hechos */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.1rem 0 1.3rem; }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact {
  padding: .9rem 1rem; text-align: center;
  background: var(--co-canvas); border: 1px solid var(--co-line); border-radius: var(--co-radius);
}
.fact b { display: block; font-family: var(--co-font-head); font-weight: 800; font-size: 1.4rem; color: var(--co-primary); line-height: 1.1; }
.fact span { font-size: .82rem; color: var(--co-muted); }

/* Tabla dentro de la prosa */
.prose-table { overflow-x: auto; margin: 1.1rem 0 1.3rem; border: 1px solid var(--co-line); border-radius: var(--co-radius); }
.prose-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose-table th, .prose-table td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--co-line); }
.prose-table thead th { background: var(--co-canvas); font-family: var(--co-font-head); font-weight: 700; color: var(--co-ink); white-space: nowrap; }
.prose-table tbody tr:last-child td { border-bottom: 0; }
.prose-table .td-key { font-weight: 700; color: var(--co-primary-deep); white-space: nowrap; }

/* Opiniones */
.voices { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 720px) { .voices { grid-template-columns: repeat(3, 1fr); } }
.voices__card { padding: 1.3rem; }
.voices__stars { color: #f5a623; letter-spacing: 1px; }
.voices__name { font-family: var(--co-font-head); font-weight: 600; margin-top: .6rem; }
.voices__city { font-size: .8rem; color: var(--co-muted); }

/* Formulario de reseña (demo) */
.rating { margin-top: 1.6rem; }
.rating .stars { display: inline-flex; gap: .2rem; }
.rating .stars__btn {
  background: none; border: 0; font-size: 1.5rem; line-height: 1;
  color: var(--co-line); padding: 0;
}
.rating .stars__btn.is-on { color: #f5a623; }
.rating textarea, .rating input {
  width: 100%; padding: .7rem .9rem; margin-top: .6rem;
  border: 1px solid var(--co-line); border-radius: var(--co-radius);
  font: inherit;
}

/* FAQ */
.faq__item { border-bottom: 1px solid var(--co-line); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  width: 100%; text-align: left;
  padding: 1.1rem .2rem;
  background: none; border: 0;
  font-family: var(--co-font-head); font-weight: 600; font-size: 1.02rem;
  color: var(--co-ink);
}
.faq__q::after { content: "+"; color: var(--co-primary-deep); font-weight: 400; }
.faq__item.is-open .faq__q::after { content: "−"; }
.faq__a { display: none; padding: 0 .2rem 1.1rem; color: var(--co-muted); }
.faq__item.is-open .faq__a { display: block; }

/* Objetivos (“nuestra meta”) */
.aims { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 720px) { .aims { grid-template-columns: repeat(3, 1fr); } }
.aim { padding: 1.3rem; }
.aim__ico {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: rgba(199, 247, 74, .25); border-radius: 12px; font-size: 1.3rem; margin-bottom: .6rem;
}

/* ==========================================================================
   Páginas de información / legales
   ========================================================================== */
.pagehead {
  background:
    radial-gradient(800px 380px at 85% -30%, rgba(155, 109, 255, .16), transparent 60%),
    var(--co-canvas);
  padding-block: clamp(1.6rem, 4vw, 2.6rem);
  border-bottom: 1px solid var(--co-line);
}
.pagehead .lede { margin-top: .6rem; }

/* Aviso destacado “¿Es urgente?” (solo contacto) */
.urgent {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem 1.3rem;
  background: rgba(199, 247, 74, .22);
  border: 1px solid var(--co-accent-deep);
  border-radius: var(--co-radius-lg);
  margin-bottom: 2rem;
}
.urgent__txt { flex: 1 1 260px; }
.urgent__txt b { font-family: var(--co-font-head); }

/* Tarjetas de contacto */
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 720px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { padding: 1.4rem; text-align: center; }
.contact-card__ico {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  background: rgba(122, 74, 247, .12); border-radius: 12px; font-size: 1.4rem; margin-bottom: .6rem;
}

/* Texto legal */
.legal { max-width: 74ch; }
.legal h2 { margin-top: 2rem; }
.legal h2:first-child { margin-top: 0; }
.legal__meta { color: var(--co-muted); font-size: .88rem; margin-bottom: 1.5rem; }

/* Enlaces relacionados */
.related { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 720px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related__card {
  display: block; padding: 1.1rem 1.3rem;
  background: var(--co-paper); border: 1px solid var(--co-line);
  border-radius: var(--co-radius); box-shadow: var(--co-shadow);
  color: var(--co-ink); text-decoration: none;
  transition: transform .15s var(--co-ease);
}
.related__card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--co-primary-lift); }
.related__card b { display: block; font-family: var(--co-font-head); }
.related__card span { font-size: .84rem; color: var(--co-muted); }
