/* =====================================================================
   SV TecnoNova® · Publicaciones listas para vender
   Pensado primero para celular (360–390 px) y después para PC.
   Títulos en Bricolage Grotesque, texto en Inter.
   Paleta cálida: fondos crema, botones coral, detalles en el azul del logo,
   texto marrón oscuro. Todo centrado.
   ===================================================================== */

:root {
  --paper: #fff6ec;       /* crema claro: fondo general */
  --paper-2: #ffebdd;     /* crema durazno: secciones alternadas */
  --suave: #ffebdd;
  --card: #ffffff;
  --ink: #3a2418;         /* texto principal, marrón oscuro cálido */
  --ink-2: #6b4a36;       /* texto secundario */
  --muted: #7a5a45;
  --rule: #f0dccb;
  --rule-2: #e4c8b2;

  --azul: #1e4e9c;        /* el azul del logo */
  --azul-2: #173e7e;
  --azul-soft: #dce8fb;
  --coral: #f2673a;       /* detalles y luces */
  --coral-btn: #cc4a22;   /* botones: coral un poco más profundo para que el texto blanco se lea bien */
  --coral-btn-2: #b23f1b;
  --coral-soft: #ffe1d2;
  --naranja: var(--coral);
  --naranja-soft: #fff0e6;
  --accent: var(--azul);
  --accent-2: var(--azul-2);
  --accent-soft: var(--azul-soft);

  --ok: #1d6b45;
  --ok-soft: #e3f3e9;
  --ok-2: #2e9e62;
  --warn: #8a4b00;
  --warn-soft: #fbf0e0;
  --danger: #b3261e;

  --f-display: 'Bricolage Grotesque', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --f-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: var(--f-sans);
  --f-code: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: 20px;
  --sec: 60px;

  --r-card: 20px;
  --r-ctrl: 12px;
  --r-modal: 24px;
  --radius: 20px;

  --sombra: 0 0 0 1px var(--rule);
  --sombra-flota: 0 20px 50px rgba(90, 45, 20, 0.12);
  --sombra-hover: 0 18px 40px rgba(90, 45, 20, 0.14);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--coral-btn); color: #fff; }

h1, h2, h3, h4 { color: var(--ink); }
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; }
h1 { font-size: clamp(34px, 9.6vw, 42px); line-height: 1.04; margin: 0 0 16px; text-wrap: balance; }
h2 { font-size: clamp(30px, 8vw, 36px); line-height: 1.08; margin: 0; text-wrap: balance; }
h3 { font-family: var(--f-sans); font-weight: 600; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Etiqueta chica: en minúsculas normales, sin mayúsculas forzadas */
.mono { font-family: var(--f-sans); font-size: 13px; font-weight: 600; letter-spacing: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: var(--r-ctrl); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; border-radius: 4px; }

/* ---------- Encabezado ---------- */
.top { position: relative; z-index: 20; background: var(--paper); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.marca { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.marca-logo { height: 44px; width: auto; }
.nav { display: none; }
.top-inicio .top-cta { display: none; }
.top .btn { margin-left: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 24px;
  font: 600 16px/1.2 var(--f-sans);
  text-decoration: none; text-align: center; cursor: pointer;
  border-radius: var(--r-ctrl); border: 1px solid var(--coral-btn);
  background: var(--coral-btn); color: #fff;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--coral-btn-2); border-color: var(--coral-btn-2); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(204, 74, 34, .28); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-azul { background: var(--coral-btn); border-color: var(--coral-btn); color: #fff; }
.btn-linea { background: transparent; color: var(--ink); border: 1.5px solid var(--rule-2); }
.btn-linea:hover { background: #fff; border-color: var(--coral); color: var(--ink); box-shadow: 0 8px 18px rgba(90, 45, 20, .08); }
.btn-linea[aria-disabled='true']:hover { background: transparent; border-color: var(--rule-2); }
.btn-chico { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.btn-full { width: 100%; }
.btn-grande { min-height: 56px; padding: 17px 30px; font-size: 17px; border-radius: 14px; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* Texto chico arriba del título en páginas internas: discreto, sin píldora */
.eyebrow { display: block; margin: 0 0 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 36em; margin: 0 0 24px; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* =====================================================================
   PORTADA
   ===================================================================== */
.portada { padding: 6px 0 32px; overflow: hidden; text-align: center; }
.portada-grid { display: grid; grid-template-areas: 'txt' 'escena' 'act'; }
.portada-txt { grid-area: txt; }
.portada h1 { max-width: 14ch; margin: 0 auto; }
.portada-sub { font-size: 17px; line-height: 1.5; color: var(--ink-2); margin: 14px auto 0; max-width: 34ch; }

.escena {
  --alto: clamp(250px, calc(100svh - 400px), 340px);
  grid-area: escena; position: relative; height: var(--alto);
  margin: 4px calc(var(--gutter) * -1) 0; overflow: hidden;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.escena-luz {
  position: absolute; inset: 14% 6% 10%;
  background:
    radial-gradient(closest-side at 38% 50%, rgba(242, 103, 58, .30), transparent 70%),
    radial-gradient(closest-side at 64% 55%, rgba(255, 190, 90, .30), transparent 70%),
    radial-gradient(closest-side at 50% 40%, rgba(30, 78, 156, .12), transparent 70%);
  filter: blur(30px);
}
.abanico { position: absolute; inset: 0; }
.fan-card {
  position: absolute; left: 50%; top: 47%;
  width: calc(var(--alto) * 0.53);
  transform: translate(-50%, -50%); transform-origin: 50% 50%;
  filter: drop-shadow(0 20px 30px rgba(90, 45, 20, .18));
}
.fan-card + .fan-card { opacity: 0; }
.escena.lista .fan-card { transition: transform .9s cubic-bezier(.22, .8, .2, 1), opacity .9s; }
.fan-card img { display: block; width: 100%; height: auto; border-radius: 16px; }
.puntos { position: absolute; bottom: 2px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.puntos i { width: 6px; height: 6px; border-radius: 9px; background: var(--rule-2); transition: width .3s, background .3s; }
.puntos i.on { width: 18px; background: var(--coral-btn); }
@media (prefers-reduced-motion: reduce) { .escena.lista .fan-card, .puntos i { transition: none; } }

.portada-act { grid-area: act; }
.cta { display: flex; flex-direction: column; align-items: stretch; margin-top: 16px; }

/* =====================================================================
   SECCIONES
   ===================================================================== */
.seccion { padding: var(--sec) 0; }
.sec-alt { background: var(--paper-2); }
.sec-sub { color: var(--ink-2); font-size: 17px; line-height: 1.5; margin: 14px auto 0; max-width: 52ch; }
.sec-cab { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.sec-cab h2 { margin: 0 auto; }

/* Franja de canales: una frase, sin formato de botón */
.canales { background: var(--paper-2); padding: 18px 0; }
.canales-txt { margin: 0 auto; max-width: 60ch; text-align: center; font-size: 17px; line-height: 1.5; color: var(--ink-2); text-wrap: balance; }

/* Ejemplos reales: el Después grande y limpio, el Antes abajo, etiquetas por fuera */
.ej-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 28px; }
.ej-tab { min-height: 44px; border: 1.5px solid var(--rule-2); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 18px; font: 500 16px var(--f-sans); cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.ej-tab:hover { border-color: var(--coral); transform: translateY(-1px); }
.ej-tab[aria-pressed='true'] { background: var(--azul); color: #fff; border-color: var(--azul); }
.ej-fila { display: grid; justify-items: center; gap: 28px; max-width: 560px; margin: 0 auto; }
.ej-caja { margin: 0; width: 100%; display: grid; justify-items: center; gap: 12px; }
.ej-marco { width: 100%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--rule); }
.ej-marco img { width: 100%; height: 100%; object-fit: contain; }
.ej-despues .ej-marco { box-shadow: 0 24px 60px rgba(90, 45, 20, .16); }
.ej-despues .ej-marco img { object-fit: cover; }
.ej-antes .ej-marco img { padding: 16px; }
.ej-etq { display: inline-block; padding: 7px 18px; border-radius: 999px; font: 700 17px/1.2 var(--f-sans); background: var(--coral-soft); color: var(--ink); }
.ej-despues .ej-etq { background: var(--azul); color: #fff; }
.ej-set { width: 100%; text-align: center; }
.ej-set-txt { margin: 0 0 12px; color: var(--ink-2); }
.ej-tira { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ej-min { flex: none; width: 72px; height: 72px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 0 0 1px var(--rule); transition: transform .15s, box-shadow .15s; }
.ej-min img { width: 100%; height: 100%; object-fit: cover; }
.ej-min:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--coral); }

/* Quiénes somos */
.quienes-in { max-width: calc(760px + var(--gutter) * 2); text-align: center; }
.quienes h2 { margin-bottom: 20px; }
.quienes-txt p { margin: 0 auto 18px; font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 62ch; }
.quienes-txt .quienes-lead { font-size: 20px; line-height: 1.45; font-weight: 500; color: var(--ink); margin-bottom: 22px; }
.quienes-txt strong { font-weight: 600; color: var(--ink); }
.quienes-txt .quienes-giro { font: 600 21px/1.3 var(--f-display); letter-spacing: -0.01em; color: var(--azul); }
.quienes-txt .quienes-cierre { margin: 28px auto 0; font: 600 22px/1.3 var(--f-display); letter-spacing: -0.015em; color: var(--ink); }
.quienes-txt .quienes-cierre::before { content: ''; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--coral); margin: 0 auto 20px; }

/* Todo lo que necesita tu producto: cuatro cajas, contenido centrado */
.partes { display: grid; gap: 16px; }
.parte {
  background: #fff; border: 1px solid var(--rule); border-radius: 24px; padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.parte:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); border-color: var(--coral-soft); }
.parte-nombre { font-family: var(--f-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; color: var(--azul); margin: 0 0 10px; }
.parte h3 { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.parte-txt { display: flex; flex-direction: column; align-items: center; flex: 1; width: 100%; }
.parte-txt > p:not(.muestra) { margin: 0 auto; max-width: 44ch; }
.parte .muestra { margin: auto auto 0; padding-top: 0; }
.muestra-hueco { margin-top: 18px; width: 100%; flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.muestra-titulo { background: var(--paper); border: 1px solid var(--rule-2); border-radius: 12px; padding: 12px 16px; font: 600 16px/1.35 var(--f-sans); color: var(--ink); max-width: 30ch; margin: 0; }
.muestra-galeria { display: flex; justify-content: center; gap: 6px; width: 100%; max-width: 380px; }
.muestra-galeria button { flex: 1 1 0; min-width: 0; max-width: 72px; aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 0 0 1px var(--rule); transition: transform .15s, box-shadow .15s; }
.muestra-galeria button:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--coral); }
.muestra-galeria img { width: 100%; height: 100%; object-fit: cover; }
.muestra-ficha { border-collapse: separate; border-spacing: 0; width: 100%; max-width: 300px; background: #fff; border: 1px solid var(--rule-2); border-radius: 12px; overflow: hidden; font-size: 16px; margin: 0; }
.muestra-ficha th, .muestra-ficha td { text-align: center; padding: 8px 12px; border-bottom: 1px solid var(--rule); }
.muestra-ficha tr:last-child th, .muestra-ficha tr:last-child td { border-bottom: 0; }
.muestra-ficha th { color: var(--muted); font-weight: 500; width: 50%; background: var(--paper); }
.muestra-ficha td { color: var(--ink); font-weight: 600; }
.muestra-desc { background: var(--paper); border: 1px solid var(--rule-2); border-radius: 12px; padding: 12px 16px; color: var(--ink-2); max-width: 40ch; margin: 0; }
.muestra-desc span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Visor de imágenes: la foto sola, los botones por fuera */
.visor { border: 0; padding: 0; margin: auto; width: min(92vw, 720px); max-height: 94svh; background: transparent; overflow: visible; }
.visor::backdrop { background: rgba(40, 22, 12, .92); }
.visor-in { display: grid; gap: 12px; justify-items: center; }
.visor-barra { width: 100%; display: flex; justify-content: flex-end; }
.visor-img { width: 100%; max-height: calc(94svh - 150px); aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 18px; }
.visor-nav { display: flex; align-items: center; justify-content: center; gap: 18px; color: #fff; font-weight: 600; }
.visor-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .15s, background .15s; }
.visor-btn:hover { transform: scale(1.06); background: var(--coral-soft); }
.visor-btn svg { width: 24px; height: 24px; }
.visor-cerrar { width: 44px; height: 44px; }

/* Cómo funciona: cuatro pasos centrados, unidos por una línea */
.pasos { list-style: none; margin: 0 auto; padding: 0; max-width: 460px; }
.paso { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0 64px; }
.paso:last-child { padding-bottom: 0; }
.paso:not(:last-child)::after { content: ''; position: absolute; left: 50%; bottom: 14px; width: 2px; height: 36px; margin-left: -1px; background: var(--coral); border-radius: 2px; opacity: .6; }
.paso-n { width: 52px; height: 52px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; font: 700 24px/1 var(--f-display); margin-bottom: 14px; box-shadow: 0 0 0 6px var(--azul-soft); }
.paso h3 { font-size: 19px; line-height: 1.3; margin: 2px 0 8px; }
.paso p { margin: 0 auto; max-width: 34ch; }
.paso strong { font-weight: 600; color: var(--ink); }
.paso .paso-final { margin-top: 10px; }

/* Cómo trabajamos: cuatro tarjetas con ícono propio */
.alcance-lista { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 16px; max-width: 560px; }
.alcance-lista li {
  background: #fff; border: 2px solid var(--rule); border-radius: 24px; padding: 28px 22px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.alcance-lista li:hover { border-color: var(--coral); transform: translateY(-4px); box-shadow: var(--sombra-hover); }
.ic { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-btn); margin-bottom: 16px; transition: transform .25s ease; }
.ic-azul { background: var(--azul-soft); color: var(--azul); }
.ic svg { width: 30px; height: 30px; }
.alcance-lista li:hover .ic { transform: rotate(-6deg) scale(1.06); }
.alcance-lista h3 { font-size: 18px; line-height: 1.35; margin: 0 0 6px; }
.alcance-lista p { margin: 0; max-width: 34ch; }

/* Precios: fondo cálido, el pack destacado en azul */
.precios-sec {
  background:
    radial-gradient(60% 50% at 10% 0%, rgba(255, 196, 120, .45), transparent 70%),
    radial-gradient(50% 50% at 95% 100%, rgba(242, 103, 58, .20), transparent 70%),
    linear-gradient(180deg, #ffe6d3, #fff3e6);
}
.precios { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 460px; margin: 0 auto; }
.plan {
  background: #fff; border: 1px solid var(--rule); border-radius: 24px; padding: 24px; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 10px 30px rgba(90, 45, 20, .06);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(90, 45, 20, .16); }
.plan-cab { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 32px; }
.plan .mono { font-size: 16px; font-weight: 500; color: var(--muted); margin: 0; }
.ahorro { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--azul-soft); color: var(--azul); font: 700 14px/1.2 var(--f-sans); white-space: nowrap; }
.plan .total { font: 700 44px/1.05 var(--f-display); letter-spacing: -0.03em; color: var(--ink); margin: 14px 0 4px; }
.plan .unit { color: var(--muted); margin: 0 0 20px; min-height: 1.6em; }
.plan dl { margin: 0 0 24px; border-top: 1px solid var(--rule); }
.plan dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.plan dt { margin: 0; color: var(--ink-2); }
.plan dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; }
.plan .btn { margin-top: auto; }
.plan.sin-precio .total { color: var(--muted); font-size: 24px; letter-spacing: -0.01em; }
.plan-dest { background: var(--azul); border-color: var(--azul); color: #fff; box-shadow: 0 24px 50px rgba(30, 78, 156, .28); }
.plan-dest .mono, .plan-dest .unit, .plan-dest dt { color: rgba(255, 255, 255, .8); }
.plan-dest .total, .plan-dest dd { color: #fff; }
.plan-dest dl, .plan-dest dl div { border-color: rgba(255, 255, 255, .2); }
.plan-dest .ahorro { background: #fff; color: var(--azul); }
.precios-nota { margin: 32px auto 0; max-width: 46ch; text-align: center; font-size: 19px; line-height: 1.5; font-weight: 500; color: var(--ink); text-wrap: balance; }

/* Preguntas: tarjetas en una columna centrada */
.preguntas-in { max-width: calc(760px + var(--gutter) * 2); }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1.5px solid var(--rule); border-radius: 20px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq details:hover { border-color: var(--rule-2); }
.faq details[open]:not(.cerrando) { border-color: var(--coral); box-shadow: 0 14px 34px rgba(204, 74, 34, .12); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  min-height: 64px; display: flex; align-items: center; padding: 16px 64px 16px 20px;
  font: 600 17px/1.35 var(--f-sans); color: var(--ink); border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  background:
    linear-gradient(var(--coral-btn), var(--coral-btn)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--coral-btn), var(--coral-btn)) center / 2.5px 14px no-repeat,
    var(--coral-soft);
  transition: transform .35s ease, background-size .35s ease;
}
.faq details[open]:not(.cerrando) summary::after {
  transform: rotate(180deg);
  background:
    linear-gradient(#fff, #fff) center / 14px 2.5px no-repeat,
    linear-gradient(#fff, #fff) center / 2.5px 0 no-repeat,
    var(--coral-btn);
}
.faq .resp { padding: 0 20px 4px; color: var(--ink-2); overflow: hidden; }
.faq .resp p { margin: 0 0 16px; }
.faq .resp a { color: var(--azul); font-weight: 600; text-underline-offset: 3px; }
.preguntas-otra { margin: 36px auto 0; text-align: center; font-size: 19px; line-height: 1.5; color: var(--ink); text-wrap: balance; }
.preguntas-otra a { color: var(--azul); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.preguntas-otra a:hover { color: var(--coral-btn); }

/* Banner final: dos abanicos y el texto al medio */
.cierre {
  position: relative; overflow: hidden; color: #fff; padding: 48px 0 64px; text-align: center;
  background:
    radial-gradient(50% 60% at 50% 110%, rgba(242, 103, 58, .45), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(255, 190, 90, .22), transparent 70%),
    linear-gradient(160deg, #2458b0, var(--azul) 45%, var(--azul-2));
}
.cierre-in { display: grid; justify-items: center; gap: 8px; }
.cierre-abanico { position: relative; width: 280px; height: 210px; margin: 0 auto 8px; }
.cierre-abanico img {
  position: absolute; left: 50%; bottom: 0; width: 112px; height: auto; margin-left: -56px;
  border-radius: 14px; box-shadow: 0 20px 40px rgba(10, 20, 50, .45); transform-origin: 50% 100%;
  transition: transform .45s cubic-bezier(.22, .8, .2, 1);
}
.cierre-abanico img:nth-child(1) { transform: translateX(-74px) rotate(-16deg); }
.cierre-abanico img:nth-child(2) { transform: translateY(-10px); z-index: 2; }
.cierre-abanico img:nth-child(3) { transform: translateX(74px) rotate(16deg); }
.cierre-abanico:hover img:nth-child(1) { transform: translateX(-88px) rotate(-22deg); }
.cierre-abanico:hover img:nth-child(2) { transform: translateY(-20px); }
.cierre-abanico:hover img:nth-child(3) { transform: translateX(88px) rotate(22deg); }
.cierre-der { display: none; }
.cierre-centro { max-width: 560px; }
.cierre h2 { color: #fff; margin: 0 auto; max-width: 16ch; font-size: clamp(32px, 8.5vw, 46px); }
.cierre-centro > p { color: rgba(255, 255, 255, .88); font-size: 17px; line-height: 1.55; margin: 16px auto 0; max-width: 44ch; }
.cierre-items { list-style: none; margin: 22px auto 28px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; }
.cierre-items li { display: inline-flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .92); }
/* El punto va pegado al final de cada ítem: si la fila se corta, ninguna línea empieza con un punto */
.cierre-items li:not(:last-child)::after { content: '·'; margin-left: 6px; color: rgba(255, 255, 255, .6); font-weight: 700; }
.cierre-items svg { width: 18px; height: 18px; flex: none; color: #ffd0b8; }
.cierre .btn { box-shadow: 0 14px 30px rgba(10, 20, 50, .35); }
@media (prefers-reduced-motion: reduce) { .cierre-abanico img { transition: none; } }

/* Celular: botón fijo abajo cuando no se ve ninguno de los otros dos */
.barra-pedido { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.barra-pedido .btn { width: 100%; box-shadow: 0 12px 30px rgba(90, 40, 15, .3); }
.con-barra .pie { padding-bottom: 110px; }

/* Pie: todo centrado, con una línea de color arriba */
.pie { position: relative; padding: 44px 0 48px; color: var(--ink-2); background: var(--paper-2); text-align: center; }
.pie::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--coral), #ffb46b 50%, var(--azul)); }
.pie-in { display: grid; justify-items: center; gap: 18px; }
.pie .marca-logo { height: 64px; }
.pie p { margin: 0; }
.pie-lema { max-width: 40ch; }
.pie ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.pie li a { display: inline-block; padding: 6px 0; }
.pie a { text-decoration: none; color: var(--ink); font-weight: 500; text-underline-offset: 4px; }
.pie a:hover { color: var(--coral-btn); text-decoration: underline; }
.pie .legal { width: 100%; border-top: 1px solid var(--rule-2); padding-top: 22px; margin-top: 6px; display: grid; justify-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.pie .arrep { color: var(--ink); font-weight: 700; }

/* ---------- PC ---------- */
@media (min-width: 861px) {
  :root { --gutter: 24px; --sec: 92px; }
  h1 { font-size: clamp(40px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.035em; }
  h2 { font-size: clamp(34px, 3.8vw, 46px); }
  .top .wrap { gap: 28px; min-height: 94px; padding-top: 18px; padding-bottom: 18px; }
  .marca-logo { height: 58px; }
  .nav { display: flex; gap: 26px; margin-left: auto; }
  .nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s; }
  .nav a:hover { color: var(--coral-btn); text-decoration: underline; text-underline-offset: 6px; }
  @media (max-width: 1080px) { .nav { gap: 16px; } .nav a { font-size: 14px; } }
  .top-inicio .top-cta { display: inline-flex; margin-left: 0; }

  .portada { padding: 48px 0 48px; }
  .portada-grid { grid-template-columns: 1fr 1fr; grid-template-areas: 'txt escena' 'act escena'; align-content: center; column-gap: 24px; }
  .portada-txt { align-self: end; }
  .portada-act { align-self: start; }
  .portada-sub { font-size: 19px; margin-top: 22px; }
  .escena { height: 560px; margin: 0; overflow: visible; }
  .fan-card { width: 196px; top: 48%; transform-origin: 50% 120%; }
  .puntos { display: none; }
  .cta { flex-direction: row; justify-content: center; margin-top: 32px; }
  .btn-grande { min-height: 56px; padding: 16px 32px; font-size: 17px; }

  .canales { padding: 20px 0; }
  .canales-txt { font-size: 18px; }
  .sec-cab { margin-bottom: 48px; }

  /* PC: Antes a la izquierda y Después a la derecha, etiquetas debajo de cada foto */
  .ej-fila { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: 'antes despues' 'set set'; align-items: start; gap: 28px 32px; max-width: 1040px; }
  .ej-antes { grid-area: antes; }
  .ej-despues { grid-area: despues; }
  .ej-set { grid-area: set; }
  .ej-min { width: 84px; height: 84px; }
  .barra-pedido { display: none !important; }
  .con-barra .pie { padding-bottom: 48px; }

  .quienes h2 { margin-bottom: 28px; }
  .quienes-txt .quienes-lead { font: 600 28px/1.3 var(--f-display); letter-spacing: -0.02em; margin-bottom: 28px; }
  .quienes-txt .quienes-cierre { font-size: 26px; }

  .partes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 0 auto; }
  .parte { padding: 36px 32px; }
  .parte-nombre { font-size: 30px; }

  .pasos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: none; }
  .paso { padding: 0; }
  .paso:not(:last-child)::after { left: calc(50% + 40px); right: calc(-50% + 8px); top: 26px; bottom: auto; width: auto; height: 2px; margin: 0; }

  .alcance-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; }

  .precios { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; max-width: 1080px; }
  .plan { padding: 28px; }
  .plan .mono { font-size: 15px; }
  .precios-nota { font-size: 21px; }

  .faq summary { font-size: 18px; padding-left: 24px; }
  .faq .resp { padding: 0 24px 6px; }

  .cierre { padding: 80px 0 96px; }
  .cierre h2 { max-width: 22ch; }
  .cierre-centro > p { font-size: 18px; }

  .pie { padding: 56px 0 48px; }
  .pie .marca-logo { height: 84px; }
}
@media (min-width: 1100px) {
  .alcance-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
}
/* Pantallas anchas: un abanico a cada lado del texto */
@media (min-width: 1200px) {
  .cierre { padding: 96px 0; }
  .cierre-in { grid-template-columns: minmax(0, 1fr) minmax(0, 520px) minmax(0, 1fr); align-items: center; gap: 48px; }
  .cierre-abanico { width: 300px; height: 280px; margin: 0; }
  .cierre-izq { justify-self: end; }
  .cierre-der { display: block; justify-self: start; }
  .cierre-abanico img { width: 136px; margin-left: -68px; }
  .cierre-abanico img:nth-child(1) { transform: translateX(-74px) rotate(-14deg); }
  .cierre-abanico img:nth-child(3) { transform: translateX(74px) rotate(14deg); }
  .cierre-abanico:hover img:nth-child(1) { transform: translateX(-90px) rotate(-20deg); }
  .cierre-abanico:hover img:nth-child(3) { transform: translateX(90px) rotate(20deg); }
}

/* ---------- Páginas internas (pedido / seguimiento / legales) ---------- */
.pagina { padding: 24px 0 var(--sec); }
.pagina-cab { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.pagina-cab h1 { margin-bottom: 12px; }
.pagina-cab p:not(.mono) { color: var(--ink-2); margin: 0 auto; font-size: 18px; max-width: 46ch; }

.layout-form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }

.bloque { background: var(--card); border-radius: var(--r-card); border: 1px solid var(--rule); padding: 24px; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(90, 45, 20, .05); }
.bloque-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.bloque-cab .mono { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; background: var(--azul); color: #fff; font: 700 15px/1 var(--f-sans); }
.bloque-cab h2 { font-size: 24px; letter-spacing: -0.02em; }

.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pack-op { position: relative; }
.pack-op input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pack-op label {
  display: block; border: 1.5px solid var(--rule-2); border-radius: var(--r-ctrl); padding: 16px;
  cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s, background .15s, transform .15s;
}
.pack-op label:hover { border-color: var(--coral); transform: translateY(-2px); }
.pack-op label b { display: block; font-size: 16px; color: var(--ink); }
.pack-op label span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.pack-op input:checked + label { border-color: var(--coral-btn); box-shadow: inset 0 0 0 1px var(--coral-btn); background: var(--naranja-soft); }
.pack-op input:focus-visible + label { outline: 2px solid var(--azul); outline-offset: 2px; }
.pack-op input:disabled + label { opacity: .5; cursor: not-allowed; transform: none; }

.producto { border: 1px solid var(--rule); border-radius: var(--r-card); padding: 16px; background: #fffbf7; margin-bottom: 16px; container-type: inline-size; }
.producto-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.producto-cab .mono { color: var(--azul); font-size: 15px; }
.quitar { background: none; border: 0; color: var(--muted); font: 500 14px var(--f-sans); cursor: pointer; padding: 8px; min-height: 40px; text-decoration: underline; }
.quitar:hover { color: var(--danger); }

.campo { display: grid; gap: 8px; margin-bottom: 16px; align-content: start; }
.campo label, .campo .etq { font-weight: 600; font-size: 15px; color: var(--ink); }
.campo .ayuda { color: var(--muted); font-size: 14px; margin: -4px 0 0; }
.campo input[type='text'], .campo input[type='email'], .campo input[type='tel'], .campo textarea {
  width: 100%; min-height: 48px; font: 400 16px/1.4 var(--f-sans); color: var(--ink);
  padding: 12px 14px; border-radius: var(--r-ctrl); border: 1.5px solid var(--rule-2); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.campo textarea { min-height: 104px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px var(--azul-soft); }
.campo .contador { justify-self: end; color: var(--muted); font-size: 12px; }
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* Tilde verde cuando el campo quedó bien completo */
.tilde { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 8px; border-radius: 50%; background: var(--ok-2); color: #fff; vertical-align: -5px; transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.tilde svg { width: 13px; height: 13px; }
.campo.ok .tilde { transform: scale(1); }
.campo.ok input[type='text'], .campo.ok input[type='email'], .campo.ok textarea { border-color: var(--ok-2); }

/* Globito de ayuda con flechita: arriba del campo en celular, al costado en pantallas anchas */
.campo-guia { display: grid; grid-template-areas: 'globo' 'campo'; gap: 12px; }
.campo-guia > .campo { grid-area: campo; margin: 0; }
.globito { grid-area: globo; position: relative; margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--azul-soft); color: var(--azul-2); font-size: 14.5px; line-height: 1.45; }
.globito::after { content: ''; position: absolute; left: 22px; bottom: -7px; width: 14px; height: 14px; background: var(--azul-soft); transform: rotate(45deg); border-radius: 2px; }
.producto .campo-guia { margin-bottom: 18px; }
@container (min-width: 620px) {
  .campo-guia { grid-template-columns: minmax(0, 1fr) 210px; grid-template-areas: 'campo globo'; gap: 18px; align-items: start; }
  .globito { margin-top: 30px; }
  .globito::after { left: -6px; top: 16px; bottom: auto; }
}

/* Zona de fotos grande, con vista previa */
.fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-bottom: 10px; }
.foto { position: relative; aspect-ratio: 1; border-radius: var(--r-ctrl); overflow: hidden; border: 1px solid var(--rule); background: #fff; animation: aparecer .3s ease; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(58, 36, 24, .8); color: #fff; font-size: 16px; line-height: 28px; cursor: pointer; padding: 0; }
.foto-subir {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 170px; padding: 20px 16px;
  border: 2px dashed var(--coral); border-radius: 18px; background: #fff; color: var(--ink); text-align: center; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.foto-subir:hover, .foto-subir.encima { background: var(--naranja-soft); border-color: var(--coral-btn); }
.foto-subir.con-fotos { min-height: 96px; }
.foto-subir input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.foto-subir .ic-cam { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-btn); }
.foto-subir.con-fotos .ic-cam { width: 40px; height: 40px; }
.foto-subir .ic-cam svg { width: 28px; height: 28px; }
.foto-subir b { font-size: 17px; }
.foto-subir span:last-of-type { color: var(--muted); font-size: 14px; }
.foto-subir:focus-within { outline: 2px solid var(--azul); outline-offset: 3px; }
.fotos-lleno { margin: 0; color: var(--ok); font-weight: 600; }

@keyframes aparecer { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .foto, .animo { animation: none !important; } .tilde { transition: none; } }

/* Barra de pasos del formulario */
.pasos-form { position: sticky; top: 0; z-index: 15; list-style: none; margin: 0 calc(var(--gutter) * -1) 24px; padding: 10px var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; background: rgba(255, 246, 236, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.pasos-form li { position: relative; }
.pasos-form li:not(:last-child)::after { content: ''; position: absolute; top: 17px; left: calc(50% + 22px); right: calc(-50% + 16px); height: 2px; border-radius: 2px; background: var(--rule-2); }
.pasos-form li.hecho:not(:last-child)::after { background: var(--ok-2); }
.pasos-form a { display: grid; justify-items: center; gap: 4px; text-align: center; text-decoration: none; color: var(--muted); font-size: 12px; line-height: 1.25; font-weight: 600; padding: 2px; border-radius: 10px; }
.pf-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--rule-2); color: var(--muted); font: 700 15px/1 var(--f-sans); transition: background .25s, border-color .25s, color .25s, box-shadow .25s; }
.pf-n svg { width: 16px; height: 16px; }
.pasos-form li.hecho .pf-n { background: var(--ok-2); border-color: var(--ok-2); color: #fff; }
.pasos-form li.hecho a { color: var(--ink-2); }
.pasos-form li.actual .pf-n { background: var(--coral-btn); border-color: var(--coral-btn); color: #fff; box-shadow: 0 0 0 5px var(--coral-soft); }
.pasos-form li.actual a { color: var(--ink); }

/* Mensajes de ánimo entre pasos */
.animo { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 20px; padding: 12px 18px; border-radius: 16px; background: var(--ok-soft); color: var(--ok); font-weight: 600; text-align: center; animation: aparecer .4s ease; }
.animo svg { width: 20px; height: 20px; flex: none; }
.resumen .animo { border-radius: 14px; margin-bottom: 16px; }

/* Encabezado del pedido con la imagen de bienvenida */
.pedido-cab { display: grid; gap: 24px; align-items: center; margin-bottom: 28px; }
.pedido-cab .pagina-cab { margin-bottom: 0; }
.bienvenida { margin: 0 auto; width: 100%; max-width: 560px; aspect-ratio: 1264 / 848; border-radius: 24px; overflow: hidden; background: var(--paper-2); box-shadow: 0 20px 50px rgba(90, 45, 20, .14); }
.bienvenida img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 861px) {
  .pedido-cab { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-bottom: 36px; }
  .pasos-form { top: 0; margin: 0 0 28px; border: 1px solid var(--rule); border-radius: 18px; padding: 12px 16px; }
  .pasos-form a { font-size: 14px; }
}

/* Sobre tu negocio: dónde vende y qué datos quiere mostrar (una vez por pedido) */
.sub-bloque { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.sub-titulo { margin: 0 0 16px; font: 700 20px/1.2 var(--f-display); letter-spacing: -0.015em; }
.campo-canales, .campo-negocio { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.campo-canales legend, .campo-negocio legend { font-weight: 600; font-size: 15px; color: var(--ink); padding: 0; margin-bottom: 6px; }
.campo-canales .ayuda, .campo-negocio .ayuda { margin: 0 0 10px; }
.opcional { font-weight: 400; color: var(--muted); }
.canales-op { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.canales-op .opcion + .opcion { margin-top: 0; }
.negocio-item { display: grid; gap: 8px; margin-bottom: 8px; }
.negocio-item .opcion + input { margin-left: 0; }
.campo-negocio .negocio-item input[type='text'] { animation: aparecer .25s ease; }
@media (min-width: 700px) { .canales-op { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 340px) { .canales-op { grid-template-columns: 1fr; } }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--coral-btn); flex: none; }
.check a { color: var(--azul); text-underline-offset: 3px; }
.check + .check { margin-top: 16px; }
.campo-iva { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.campo-iva legend { font-weight: 600; font-size: 15px; color: var(--ink); padding: 0; margin-bottom: 8px; }
.opcion { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--rule-2); border-radius: var(--r-ctrl); background: #fff; cursor: pointer; font-size: 15px; }
.opcion + .opcion { margin-top: 8px; }
.opcion input { width: 20px; height: 20px; margin: 0; accent-color: var(--coral-btn); flex: none; }
.opcion small { color: var(--muted); font-size: 12px; margin-left: 4px; }
.opcion:has(input:checked) { border-color: var(--coral-btn); box-shadow: inset 0 0 0 1px var(--coral-btn); background: var(--naranja-soft); }

.resumen { position: sticky; top: 90px; background: var(--card); border-radius: var(--r-card); box-shadow: var(--sombra-flota); padding: 24px; }
.resumen-paso { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-weight: 600; }
.resumen-paso .mono { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; border-radius: 999px; background: var(--azul); color: #fff; font: 700 15px/1 var(--f-sans); }
.resumen h3 { margin: 12px 0 16px; font: 700 26px/1.1 var(--f-display); letter-spacing: -0.02em; }
.resumen dl { margin: 0 0 24px; font-size: 15px; }
.resumen dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.resumen dt { margin: 0; color: var(--ink-2); }
.resumen dd { margin: 0; font-weight: 600; color: var(--ink); }
.resumen .hoy { border-bottom: 0; padding-top: 16px; align-items: baseline; }
.resumen .hoy dt { color: var(--ink); font-weight: 600; }
.resumen .hoy dd { font: 700 28px/1 var(--f-display); letter-spacing: -0.02em; color: var(--coral-btn); }
.resumen .chico { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.ts-caja { margin: 0 0 16px; min-height: 65px; }
.ts-caja:empty { min-height: 0; margin: 0; }

.aviso { border-radius: var(--r-ctrl); padding: 12px 16px; font-size: 15px; margin: 0 0 16px; }
.aviso-error { background: #fdecea; color: var(--danger); border: 1px solid #f5c6c1; }
.aviso-info { background: var(--azul-soft); color: var(--azul-2); border: 1px solid #c6d8f5; }
.aviso-ok { background: var(--ok-soft); color: var(--ok); border: 1px solid #bfdcc9; }
.aviso[hidden] { display: none; }

.progreso { height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; margin: 12px 0 8px; }
.progreso i { display: block; height: 100%; width: 0; background: var(--coral-btn); transition: width .25s ease; }

/* Seguimiento */
.seg { max-width: 820px; }
.seg-cab { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: end; margin-bottom: 24px; }
.seg-cab .eyebrow { margin-bottom: 16px; }
.codigo-caja { border: 1px solid #c6d8f5; background: var(--azul-soft); border-radius: var(--r-card); padding: 16px 24px; margin: 0 0 24px; font-size: 15px; color: var(--ink-2); }
.codigo-caja p { margin: 8px 0 0; }
.codigo-caja a { color: var(--azul); font-weight: 600; text-underline-offset: 3px; }
.codigo-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.codigo-fila p { margin: 0; font-size: 18px; color: var(--ink); }
.codigo-fila b { font-size: 18px; letter-spacing: .06em; }
.ent .codigo-caja { margin: 24px 0 0; }
.seg-codigo { font: 600 14px var(--f-sans); letter-spacing: .06em; padding: 8px 12px; border: 1px solid var(--rule-2); border-radius: 999px; background: #fff; color: var(--ink); }
.linea { list-style: none; margin: 0 0 24px; padding: 8px 24px; background: var(--card); border-radius: var(--r-card); border: 1px solid var(--rule); }
.linea li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.linea li:last-child { border-bottom: 0; }
.linea li .dot { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--rule-2); display: grid; place-items: center; }
.linea li b { font-weight: 600; font-size: 16px; }
.linea li small { font-size: 12px; }
.linea li.hecho { color: var(--ink); }
.linea li.hecho .dot { background: var(--ok-2); border-color: var(--ok-2); color: #fff; }
.linea li.hecho .dot svg { width: 12px; height: 12px; }
.linea li.actual { color: var(--ink); }
.linea li.actual .dot { border-color: var(--coral-btn); box-shadow: 0 0 0 4px var(--coral-soft); }
.linea li.actual .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral-btn); }
.seg-accion { background: var(--card); border-radius: var(--r-card); box-shadow: var(--sombra-flota); padding: 24px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.seg-accion h2 { font-size: 26px; }
.seg-accion p { margin: 8px 0 0; color: var(--ink-2); }
.seg-datos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.seg-datos .bloque { margin: 0; }
.seg-datos .bloque-cab { margin-bottom: 12px; }
.seg-datos dl { margin: 0; font-size: 15px; }
.seg-datos dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.seg-datos dl div:last-child { border-bottom: 0; }
.seg-datos dt { margin: 0; color: var(--ink-2); }
.seg-datos dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.seg-datos ol { margin: 0; padding-left: 20px; color: var(--ink-2); }
.seg-datos ol li { padding: 4px 0; }

/* Entrega (publicación terminada dentro del seguimiento) */
.ent { margin-top: 60px; border-top: 1px solid var(--rule); padding-top: 40px; scroll-margin-top: 80px; }
.ent-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 40px; margin-bottom: 24px; }
.ent-cab h2 { font-size: clamp(30px, 8vw, 42px); margin: 0 0 8px; }
.ent-cab p:not(.eyebrow) { margin: 0; color: var(--ink-2); max-width: 38em; }
.ent-indice { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ent-indice a { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 40px; padding: 8px 16px; border: 1px solid var(--rule-2); border-radius: 999px; text-decoration: none; font-size: 14px; background: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ent-indice a:hover { border-color: var(--coral); }
.ent-indice .mono { color: var(--azul); font-size: 11px; }
.ent-prod { background: var(--card); border-radius: var(--r-card); border: 1px solid var(--rule); padding: 24px; margin-bottom: 24px; scroll-margin-top: 80px; }
.ent-prod-cab { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); margin-bottom: 16px; }
.ent-prod-cab .mono:first-child { color: var(--azul); }
.ent-titulo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 16px 24px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); }
.ent-titulo > div { min-width: 0; flex: 1 1 360px; }
.ent-etq { display: block; font: 600 12px var(--f-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ent-titulo h3 { margin: 0; font-family: var(--f-display); font-size: 26px; line-height: 1.3; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.ent-chars { color: var(--muted); font-size: 12px; display: block; margin-top: 8px; }
.ent-copiar { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: var(--r-ctrl); border: 1.5px solid var(--azul); background: transparent; color: var(--azul); font: 700 14px var(--f-sans); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ent-copiar:hover { background: var(--azul-soft); }
.ent-copiar.ok { background: var(--ok-soft); border-color: #bfdcc9; color: var(--ok); }
.ent-galeria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.ent-img { margin: 0; display: grid; gap: 8px; min-width: 0; }
.ent-img.portada { grid-column: span 2; grid-row: span 2; padding: 0; overflow: visible; text-align: left; }
.ent-img-marco { aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: #fff; border: 1px solid var(--rule); display: grid; place-items: center; }
.ent-img-marco img { width: 100%; height: 100%; object-fit: contain; }
.ent-img figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.ent-img figcaption .mono { color: var(--muted); font-size: 11px; }
.ent-img figcaption a { font-weight: 600; color: var(--azul); text-decoration: none; padding: 4px 0; }
.ent-img figcaption a:hover { text-decoration: underline; }
.ent-textos { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ent-bloque { border: 1px solid var(--rule); border-radius: var(--r-card); background: #fff; padding: 16px 16px 12px; min-width: 0; }
.ent-bloque-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.ent-bloque h4 { margin: 0; font-size: 18px; display: flex; align-items: baseline; gap: 8px; }
.ent-bloque h4 .mono { color: var(--muted); font-size: 11px; font-weight: 500; }
.ent-desc { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.ent-ficha { width: 100%; border-collapse: collapse; font-size: 14px; }
.ent-ficha th, .ent-ficha td { text-align: left; vertical-align: top; padding: 8px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.ent-ficha tbody > tr > th[scope='row'] { color: var(--muted); font-weight: 500; width: 46%; padding-right: 12px; }
.ent-ficha td { font-weight: 600; color: var(--ink); }
.ent-ficha .ent-grupo th { font: 600 11px var(--f-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--azul); padding-top: 16px; border-bottom: 1px solid var(--ink); }
.ent-ficha .ent-grupo:first-child th { padding-top: 0; }
.ent-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; align-items: start; }
.ent-extra .ent-desc { font-size: 15px; }
@media (max-width: 1000px) { .ent-extras { grid-template-columns: 1fr; } }
.ent-pie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0 0; color: var(--muted); font-size: 14px; }
.ent-pie p { margin: 0; }

/* Legales: el bloque centrado, el texto largo alineado para leer cómodo */
.legales { max-width: 760px; }
.legales > .eyebrow, .legales > h1, .legales > .fecha { text-align: center; }
.legales h2 { font-size: 26px; margin: 40px 0 12px; }
.legales p, .legales li { color: var(--ink-2); line-height: 1.7; }
.legales a { color: var(--azul); text-underline-offset: 3px; }
.legales .fecha { color: var(--muted); font-size: 14px; }

.cargando { color: var(--muted); padding: 40px 0; text-align: center; }

/* ---------- Páginas internas: adaptación ---------- */
.pagina-cab h1 { font-size: clamp(32px, 8.5vw, 48px); }
@media (min-width: 861px) {
  .pagina { padding: 40px 0 var(--sec); }
}
@media (max-width: 1000px) {
  .ent-textos { grid-template-columns: 1fr; }
  .ent-galeria { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-form { grid-template-columns: 1fr; }
  .resumen { position: static; }
}
@media (max-width: 820px) {
  .seg-datos { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pagina-cab p:not(.mono) { font-size: 17px; }
  .packs { grid-template-columns: 1fr; }
  .fila-2 { grid-template-columns: 1fr; }
  .acciones .btn { flex: 1 1 100%; }
  .bloque, .ent-prod, .seg-accion, .resumen { padding: 16px; }
  .linea { padding: 4px 16px; }
  .codigo-caja { padding: 16px; }
  .ent-galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ent-titulo h3 { font-size: 22px; }
  .ent-cab .btn, .ent-titulo .ent-copiar, .codigo-fila .ent-copiar, .ent-pie .btn, .seg-accion .btn { width: 100%; }
  .ent-indice a { white-space: normal; border-radius: var(--r-card); }
  .ent-copiar { min-height: 48px; font-size: 15px; }
}
.pie .wrap > .legal:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
