/* =========================================================================
   TiendaPY — landing. Una paleta (negro, lima y un verde oscuro para texto
   sobre claro) y dos tipografías (Bebas Neue para títulos grandes, Plus
   Jakarta Sans para todo lo demás).
   ========================================================================= */
:root {
  --bg: #f7f8f4;
  --surface: #ffffff;
  --text: #101210;
  --muted: #646a5f;
  --border: #e4e8dc;
  --lime: #c6f135;
  --lime-soft: #eef9cf;
  --lime-ink: #16210a;
  --green: #4f7a14;
  --dark: #0e100d;
  --dark-2: #171a15;
  --dark-border: #2a2e26;
  --on-dark: #f3f5ee;
  --on-dark-muted: #a8ae9f;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --max: 1160px;
  --shadow: 0 18px 40px rgba(16, 18, 16, 0.08);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Bebas Neue", "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.12rem; font-weight: 800; }
p { margin: 0 0 12px; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--lime);
  color: var(--lime-ink);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(198, 241, 53, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(198, 241, 53, 0.4); }
.btn:active { transform: translateY(0); }
.btn span { transition: transform 0.2s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-small { padding: 9px 20px; font-size: 0.9rem; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--on-dark); border: 2px solid rgba(255, 255, 255, 0.28); box-shadow: none; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); box-shadow: none; }
.btn-white { background: #fff; color: var(--text); box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 244, 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.92); border-color: var(--border); box-shadow: 0 6px 24px rgba(16, 18, 16, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 800; font-size: 1.35rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.brand span { background: var(--lime); color: var(--lime-ink); padding: 0 7px; border-radius: 8px; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative;
  padding: 8px 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav a:not(.btn):hover { background: var(--lime-soft); }
.nav a.is-active { background: var(--lime-soft); color: var(--green); }
.nav .btn { margin-left: 8px; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  padding: 88px 0 110px;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(198, 241, 53, 0.22) 0%, rgba(198, 241, 53, 0.06) 40%, transparent 70%);
  filter: blur(10px);
  animation: glow 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero::after {
  /* Cuadrícula sutil de fondo. */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
@keyframes glow {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-12%, 10%) scale(1.15); }
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--lime);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198, 241, 53, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 241, 53, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(198, 241, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 241, 53, 0); }
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.4rem, 7.4vw, 6.2rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--lime);
  margin-bottom: 18px;
}
.hero-rotator { font-size: 1.15rem; font-weight: 700; color: var(--on-dark); margin-bottom: 14px; }
.rotator-word {
  display: inline-block;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(198, 241, 53, 0.14);
  color: var(--lime);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}
.rotator-word.is-saliendo { opacity: 0; transform: translateY(-8px); }
.hero-sub { font-size: 1.06rem; color: var(--on-dark-muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--dark-border); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--display); font-size: 2rem; font-weight: 400; line-height: 1; color: var(--on-dark); }
.hero-facts span { font-size: 0.82rem; color: var(--on-dark-muted); }

.hero-visual { position: relative; }
.browser {
  overflow: hidden;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.hero-visual .browser { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); animation: flotar 7s ease-in-out infinite; }
@keyframes flotar {
  0%, 100% { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(1400px) rotateY(-7deg) rotateX(2deg) translateY(-12px); }
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f2ee; border-bottom: 1px solid #e3e5de; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d9d0; }
.browser-bar i:nth-child(1) { background: #ff6159; }
.browser-bar i:nth-child(2) { background: #ffbd2e; }
.browser-bar i:nth-child(3) { background: #28c941; }
.browser-bar span { margin-left: 10px; padding: 3px 14px; border-radius: var(--radius-pill); background: #fff; color: #8a8f84; font-size: 0.75rem; font-weight: 600; }
.browser img { display: block; width: 100%; height: auto; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  font-size: 0.85rem;
  line-height: 1.3;
}
.float-card strong { display: block; font-weight: 800; }
.float-card small { color: var(--muted); font-weight: 600; }
.float-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--lime); font-size: 1.1rem; }
.float-card--pedido { left: -28px; bottom: 18%; animation: aparecer-flotar 0.7s 0.6s var(--ease) both, flotar-suave 6s 1.3s ease-in-out infinite; }
.float-card--envio { right: -18px; top: 12%; animation: aparecer-flotar 0.7s 1s var(--ease) both, flotar-suave 7s 1.7s ease-in-out infinite reverse; }
@keyframes aparecer-flotar { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes flotar-suave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 66px;
  z-index: 1;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: rueda 1.8s ease-in-out infinite; }
@keyframes rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin-bottom: 14px; text-wrap: balance; }
.section-head .section-sub { text-wrap: pretty; }
.section-sub { color: var(--muted); font-size: 1.04rem; margin: 0 auto; max-width: 620px; }
.kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker--dark { color: var(--lime); }
.display {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--lime);
}
.display--dark { color: var(--text); }

/* ---------- Beneficios ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.card::before {
  /* Franja lima que crece al pasar el mouse. */
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d3e5a0; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--dark);
  color: var(--lime);
  transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.06); background: var(--lime); color: var(--lime-ink); }
.tag {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card-list { list-style: none; margin: 14px 0 0; padding: 0; color: var(--muted); font-size: 0.95rem; }
.card-list li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.card-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- Para quién (cinta de rubros) ---------- */
.audience { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.audience .section-head { margin-bottom: 40px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  list-style: none;
  display: flex;
  gap: 16px;
  width: max-content;
  margin: 0;
  padding: 8px 0;
}
.marquee.is-animada .marquee-track { animation: desplazar var(--marquee-duracion, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes desplazar { to { transform: translateX(-50%); } }
.rubro {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px 14px 16px;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-pill);
  background: var(--dark-2);
  white-space: nowrap;
  font-weight: 700;
  font-size: 1.02rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.rubro img { width: 34px; height: 34px; }
.rubro span { margin-left: 4px; }
.rubro:hover { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); transform: translateY(-3px); }

/* ---------- Cómo funciona ---------- */
.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  --progreso: 0;
}
.steps::before, .steps::after {
  /* Línea que une los pasos; la lima se llena al bajar (script.js). */
  content: "";
  position: absolute;
  top: 31px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 3px;
  border-radius: 3px;
  background: var(--border);
}
.steps::after { background: var(--lime); transform-origin: left; transform: scaleX(var(--progreso)); transition: transform 0.15s linear; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step p { color: var(--muted); max-width: 300px; margin: 0 auto; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border: 3px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.9rem;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease);
}
.step.is-hecho .step-num { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); transform: scale(1.06); }

/* ---------- El panel (visor) ---------- */
.preview .section-head { max-width: 820px; }
.viewer { max-width: 1040px; margin: 0 auto; }
.viewer-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.viewer-tabs button {
  position: relative;
  overflow: hidden;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.viewer-tabs button:hover { border-color: #c9d6a6; }
.viewer-tabs button[aria-selected="true"] { background: var(--dark); border-color: var(--dark); color: var(--lime); }
.viewer-tabs button::after {
  /* Barra de avance del cambio automático. */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
}
.viewer.is-auto .viewer-tabs button[aria-selected="true"]::after { animation: avance var(--viewer-tiempo, 5s) linear forwards; }
@keyframes avance { to { transform: scaleX(1); } }
.browser--big { border-color: var(--border); box-shadow: 0 30px 70px rgba(16, 18, 16, 0.14); }
.viewer-stage { position: relative; background: #fff; }
.viewer-shot { margin: 0; }
.viewer-shot figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.js .viewer-shot { display: none; }
.js .viewer-shot.is-active { display: block; animation: entrar-shot 0.5s var(--ease); }
.viewer-shot img { display: block; width: 100%; height: auto; }
@keyframes entrar-shot { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
/* Sin JS: todas las capturas, una debajo de la otra, con su título. */
html:not(.js) .viewer-shot + .viewer-shot { border-top: 1px solid var(--border); }
html:not(.js) .viewer-shot figcaption { position: static; width: auto; height: auto; clip: auto; padding: 12px 16px; font-weight: 800; }
html:not(.js) .viewer-tabs { display: none; }

/* ---------- Por qué ---------- */
.why { background: var(--dark); color: var(--on-dark); }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.why-card {
  padding: 30px;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  background: var(--dark-2);
  color: var(--on-dark-muted);
}
.why-card p { margin: 0 0 14px; }
.why-card p:last-child { margin-bottom: 0; }
.why-label { display: flex; align-items: center; gap: 10px; color: var(--on-dark); font-weight: 800; font-size: 1.02rem; }
.why-label::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: center / 14px no-repeat; }
.why-card--antes .why-label::before { background-color: rgba(255, 97, 89, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6159' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.why-card--con { border-color: rgba(198, 241, 53, 0.4); background: linear-gradient(160deg, rgba(198, 241, 53, 0.1), var(--dark-2) 60%); }
.why-card--con .why-label::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316210a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.why-card--ancha { grid-column: 1 / -1; text-align: center; padding: 34px 40px; }
.why-card--ancha p { max-width: 760px; margin-left: auto; margin-right: auto; }
.why-final { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; color: var(--lime); }

/* ---------- Integraciones ---------- */
.chips { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}
.chips li span { font-size: 1.15rem; }
.chips li:hover { transform: translateY(-3px); border-color: #c9d6a6; box-shadow: 0 10px 24px rgba(16, 18, 16, 0.07); }

/* ---------- Precio ---------- */
.pricing { padding-top: 40px; }
.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.pricing-head { padding: 44px 40px; background: var(--dark); color: var(--on-dark); }
.pricing-head h2 { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 400; letter-spacing: 0.01em; color: var(--lime); margin-bottom: 10px; }
.pricing-sub { color: var(--on-dark-muted); margin-bottom: 28px; }
.pricing-label { color: var(--on-dark-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.pricing-value { font-size: 2.2rem; font-weight: 800; margin: 0 0 28px; }
.pricing-body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.pricing-list { list-style: none; margin: 0 0 24px; padding: 0; }
.pricing-list li { position: relative; padding: 10px 0 10px 38px; border-bottom: 1px dashed var(--border); font-weight: 600; }
.pricing-list li:last-child { border-bottom: 0; }
.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316210a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.pricing-note { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Demo ---------- */
.lead { padding-top: 40px; }
.lead-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 56px;
  align-items: center;
  max-width: 1000px;
}
.lead-text h2 { margin-bottom: 14px; }
.lead-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.lead-or { color: var(--muted); font-size: 0.85rem; margin: 0 0 12px; }
.lead-alt { display: flex; flex-wrap: wrap; gap: 10px; }
.lead-alt-btn {
  padding: 10px 18px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lead-alt-btn:hover { border-color: #c9d6a6; background: var(--lime-soft); }
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.lead-form label { display: flex; flex-direction: column; gap: 6px; }
.lead-form label span { font-size: 0.85rem; font-weight: 700; }
.lead-form input {
  width: 100%;
  padding: 13px 18px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.lead-form input::placeholder { color: #a9aea3; }
.lead-form input:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(198, 241, 53, 0.35); }
.lead-btn { width: 100%; margin-top: 4px; }

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); padding: 110px 0; text-align: center; }
.hero-glow--cta { inset: auto auto -40% 50%; transform: translateX(-50%); animation: none; }
.cta-inner { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--on-dark-muted); margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.cta .timer-label { margin-bottom: 6px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.cta .timer {
  display: inline-block;
  margin: 0;
  padding: 10px 26px;
  border: 1px solid rgba(255, 97, 89, 0.35);
  border-radius: 16px;
  background: rgba(255, 97, 89, 0.08);
  color: #ff6159;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ---------- Pie ---------- */
.site-footer { padding: 36px 0; background: var(--dark); border-top: 1px solid var(--dark-border); color: var(--on-dark-muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand--footer { color: var(--on-dark); font-size: 1.15rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: var(--on-dark-muted); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--lime); }
.site-footer p { margin: 0; }

/* ---------- Barra de progreso de lectura ---------- */
.progreso-lectura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 3px;
  background: var(--lime);
  transform-origin: left;
  transform: scaleX(var(--leido, 0));
  pointer-events: none;
}

/* ---------- Hero: inclinación 3D con el mouse (script.js) ---------- */
.hero-visual { --rx: 0deg; --ry: 0deg; }
.hero-visual.is-inclinado .browser { animation: none; transform: perspective(1400px) rotateY(calc(-9deg + var(--ry))) rotateX(calc(3deg + var(--rx))); transition: transform 0.2s ease-out; }

/* ---------- Cifras ---------- */
.cifras { position: relative; z-index: 2; margin-top: -48px; }
.cifras-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.cifra { display: flex; flex-direction: column; gap: 4px; padding: 26px 28px; border-left: 1px solid var(--border); }
.cifra:first-child { border-left: 0; }
.cifra strong { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 400; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.cifra span { color: var(--muted); font-size: 0.9rem; line-height: 1.4; }

/* ---------- Constructor en vivo ---------- */
.proba-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px; align-items: start; }
.proba-controles {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.proba-campo { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.proba-campo > span, .proba-campo legend { padding: 0; margin-bottom: 10px; font-size: 0.85rem; font-weight: 800; }
.proba-campo input[type="text"] {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.proba-campo input[type="text"]:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(198, 241, 53, 0.35); }
.proba-colores { display: flex; flex-wrap: wrap; gap: 9px; }
.proba-color {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.proba-color:hover { transform: scale(1.1); }
.proba-color.is-elegido { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--text); }
.proba-color--libre { display: grid; place-items: center; background: conic-gradient(#ff5a5f, #f59e0b, #c6f135, #0f766e, #2f6fd6, #7c3aed, #e11d74, #ff5a5f); color: #fff; font-weight: 800; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.proba-color--libre input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.proba-rubros { display: flex; flex-wrap: wrap; gap: 8px; }
.proba-rubro {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.proba-rubro:hover { border-color: #c9d6a6; }
.proba-rubro.is-elegido { background: var(--dark); border-color: var(--dark); color: var(--lime); }
.proba-switch { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 0.92rem; cursor: pointer; }
.proba-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.proba-switch-pista { position: relative; flex: none; width: 46px; height: 26px; border-radius: var(--radius-pill); background: #d9ddd2; transition: background 0.25s ease; }
.proba-switch-pista span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.25s var(--ease); }
.proba-switch input:checked + .proba-switch-pista { background: var(--dark); }
.proba-switch input:checked + .proba-switch-pista span { transform: translateX(20px); background: var(--lime); }
.proba-switch input:focus-visible + .proba-switch-pista { outline: 3px solid var(--lime); outline-offset: 3px; }
.proba-nota { margin: -8px 0 0; color: var(--muted); font-size: 0.82rem; }

/* La mini tienda: imita la tienda real con el color elegido. */
.proba-vista { position: sticky; top: 96px; }
.mini {
  --m-bg: #fafafa;
  --m-surface: #ffffff;
  --m-text: #111111;
  --m-muted: #7a7a7a;
  --m-border: #ececec;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--m-bg);
  color: var(--m-text);
  box-shadow: 0 30px 70px rgba(16, 18, 16, 0.14);
  transition: background 0.35s ease, color 0.35s ease;
}
.mini.is-oscuro { --m-bg: #121316; --m-surface: #1b1c20; --m-text: #f1f1ee; --m-muted: #a4a4a0; --m-border: #2c2d32; }
.mini .browser-bar { background: var(--m-surface); border-color: var(--m-border); transition: background 0.35s ease; }
.mini .browser-bar span { background: var(--m-bg); }
.mini-anuncio { padding: 6px; background: var(--marca); color: var(--marca-tinta); font-size: 0.72rem; font-weight: 800; text-align: center; transition: background 0.35s ease, color 0.35s ease; }
.mini-header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--m-surface); border-bottom: 1px solid var(--m-border); transition: background 0.35s ease; }
.mini-menu { color: var(--m-muted); }
.mini-nombre { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; }
.mini-buscador { flex: 0 1 220px; min-width: 0; overflow: hidden; white-space: nowrap; padding: 7px 14px; border: 1px solid var(--m-border); border-radius: var(--radius-pill); color: var(--m-muted); font-size: 0.75rem; }
.mini-carrito { position: relative; font-size: 1.1rem; }
.mini-carrito b { position: absolute; top: -6px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--marca); color: var(--marca-tinta); font-size: 0.65rem; line-height: 17px; text-align: center; transition: transform 0.3s var(--ease); }
.mini-carrito b.is-salto { transform: scale(1.4); }
.mini-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 16px 0;
  padding: 22px 24px;
  border-radius: 14px;
  background: linear-gradient(120deg, #111 0%, #1f1f1f 55%, color-mix(in srgb, var(--marca) 55%, #111) 100%);
  color: #fff;
  transition: background 0.35s ease;
}
.mini-hero-titulo { margin: 0 0 12px; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1; letter-spacing: 0.01em; }
.mini-boton { display: inline-block; padding: 7px 16px; border-radius: var(--radius-pill); background: var(--marca); color: var(--marca-tinta); font-size: 0.75rem; font-weight: 800; }
.mini-hero-emoji { font-size: clamp(2.6rem, 6vw, 3.6rem); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35)); }
.mini-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px 0; }
.mini-chip { padding: 5px 12px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--marca) 18%, var(--m-surface)); color: var(--m-text); font-size: 0.72rem; font-weight: 700; }
.mini-chip:first-child { background: var(--marca); color: var(--marca-tinta); }
.mini-productos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 16px 18px; }
.mini-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  background: var(--m-surface);
  animation: mini-entrar 0.45s var(--ease) both;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.mini-card:nth-child(2) { animation-delay: 0.05s; }
.mini-card:nth-child(3) { animation-delay: 0.1s; }
.mini-card:nth-child(4) { animation-delay: 0.15s; }
@keyframes mini-entrar { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mini-foto { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: color-mix(in srgb, var(--marca) 12%, var(--m-bg)); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.mini-etiqueta { position: absolute; left: 6px; top: 6px; padding: 2px 7px; border-radius: 6px; background: var(--marca); color: var(--marca-tinta); font-size: 0.58rem; font-weight: 800; }
.mini-info { display: flex; flex: 1; flex-direction: column; gap: 3px; padding: 8px 9px 10px; }
.mini-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.74rem; }
.mini-precio { font-size: 0.78rem; font-weight: 800; }
.mini-precio s { margin-left: 4px; color: var(--m-muted); font-weight: 600; font-size: 0.66rem; }
.mini-agregar {
  margin-top: auto;
  padding: 6px 0;
  border: 0;
  border-radius: 8px;
  background: var(--marca);
  color: var(--marca-tinta);
  font: inherit;
  font-size: 0.66rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.mini-agregar:hover { filter: brightness(0.95); }
.mini-agregar:active { transform: scale(0.96); }

/* Sello sobre la vista previa: aclara que es una demostración. */
.proba-sello {
  display: block;
  width: fit-content;
  margin: 0 auto 12px;
  padding: 6px 14px;
  border: 1px dashed #c9d6a6;
  border-radius: var(--radius-pill);
  background: var(--lime-soft);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

/* "Y esto es solo una probadita": la demo contra la tienda real. */
.probadita {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  padding: 44px;
  border-radius: 28px;
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: 0 30px 70px rgba(16, 18, 16, 0.18);
}
.probadita::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(198, 241, 53, 0.18), transparent 65%);
  pointer-events: none;
}
.probadita > * { position: relative; }
.probadita-head { max-width: 760px; }
.probadita-head h3 { margin: 0 0 14px; font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 400; line-height: 1; letter-spacing: 0.01em; color: var(--on-dark); text-wrap: balance; }
.probadita-head p { margin: 0; color: var(--on-dark-muted); font-size: 1.04rem; }
.probadita-head .kicker { margin-bottom: 12px; color: var(--lime); font-size: 0.78rem; }
.probadita-head strong { color: var(--lime); }
.probadita-cifras { display: flex; align-items: center; gap: 22px; margin: 30px 0; }
.probadita-cifras > div { display: flex; flex-direction: column; }
.probadita-cifras strong { font-family: var(--display); font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 400; line-height: 0.9; color: #5d6356; }
.probadita-cifras span { color: var(--on-dark-muted); font-size: 0.85rem; }
.probadita-cifra--real strong { color: var(--lime); text-shadow: 0 0 30px rgba(198, 241, 53, 0.35); }
.probadita-vs { padding: 6px 12px; border: 1px solid var(--dark-border); border-radius: var(--radius-pill); color: var(--on-dark-muted); font-weight: 800; font-size: 0.8rem; text-transform: uppercase; }
.probadita-comparar { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 16px; align-items: start; }
.probadita-col { padding: 24px; border: 1px solid var(--dark-border); border-radius: 20px; background: var(--dark-2); }
.probadita-titulo { margin: 0 0 14px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.probadita-col ul { list-style: none; margin: 0; padding: 0; }
.probadita-col li { position: relative; padding: 7px 0 7px 30px; font-size: 0.94rem; line-height: 1.45; }
.probadita-col li::before { content: ""; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: center / 11px no-repeat; }
.probadita-col--demo .probadita-titulo { color: var(--on-dark-muted); }
.probadita-col--demo li { color: #858b7e; }
.probadita-col--demo li::before { background-color: #2a2e26; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23858b7e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.probadita-col--real { border-color: rgba(198, 241, 53, 0.45); background: linear-gradient(160deg, rgba(198, 241, 53, 0.1), var(--dark-2) 55%); }
.probadita-col--real .probadita-titulo { color: var(--lime); }
.probadita-col--real ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.probadita-col--real li { color: var(--on-dark-muted); }
.probadita-col--real li strong { color: var(--on-dark); }
.probadita-col--real li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316210a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.probadita-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.probadita-link { color: var(--on-dark-muted); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.probadita-link:hover { color: var(--lime); }

/* ---------- Recorrido del pedido ---------- */
.recorrido { background: var(--dark); color: var(--on-dark); }
.recorrido .display { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.section-sub--dark { color: var(--on-dark-muted); }
.viaje { max-width: 980px; margin: 0 auto; }
.viaje-etapas { position: relative; list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.viaje-etapas button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 6px;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  background: var(--dark-2);
  color: var(--on-dark-muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.viaje-etapas button:hover { border-color: #3d4436; color: var(--on-dark); }
.viaje-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--dark-border); font-family: var(--display); font-size: 1.2rem; transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.viaje-etapas button.is-pasado .viaje-n { border-color: var(--lime); color: var(--lime); }
.viaje-etapas button[aria-selected="true"] { border-color: var(--lime); color: var(--on-dark); background: linear-gradient(180deg, rgba(198, 241, 53, 0.12), var(--dark-2)); }
.viaje-etapas button[aria-selected="true"] .viaje-n { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.viaje-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 32px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  background: var(--dark-2);
}
.viaje-titulo { margin: 0 0 10px; font-size: 1.35rem; font-weight: 800; color: var(--on-dark); }
.viaje-desc { margin: 0; color: var(--on-dark-muted); }
.viaje-panel.is-cambiando .viaje-texto, .viaje-panel.is-cambiando .noti { animation: entrar-shot 0.45s var(--ease); }
.noti {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.noti-icono { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--lime); font-size: 1.4rem; }
.noti strong { display: block; font-size: 0.95rem; }
.noti small { color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.noti > div { flex: 1; min-width: 0; }
.noti-estado { flex: none; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 800; background: #fde2e1; color: #a61b14; }
.noti-estado[data-tono="ambar"] { background: #fff1cc; color: #7a5200; }
.noti-estado[data-tono="verde"] { background: #dcf5e3; color: #1d6b34; }
.noti-estado[data-tono="azul"] { background: #dfeafc; color: #1d4a99; }
.noti-estado[data-tono="lima"] { background: var(--lime); color: var(--lime-ink); }

/* ---------- Ya viene incluido ---------- */
.mosaico { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pieza {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.pieza > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; background: var(--lime-soft); font-size: 1.35rem; transition: transform 0.35s var(--ease); }
.pieza strong { font-size: 1rem; }
.pieza small { color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.pieza:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3e5a0; }
.pieza:hover > span { transform: scale(1.12) rotate(-6deg); }

/* ---------- Preguntas frecuentes ---------- */
.faq-lista { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] { border-color: #d3e5a0; box-shadow: 0 12px 30px rgba(16, 18, 16, 0.06); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime-soft);
  color: var(--green);
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease), background 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--lime-ink); }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.faq-item[open] p { animation: entrar-shot 0.35s var(--ease); }

/* ---------- WhatsApp flotante y barra del celular ---------- */
.wa-flotante {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 17px;
  border-radius: var(--radius-pill);
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.wa-flotante svg { width: 26px; height: 26px; flex: none; }
.wa-texto { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.4s var(--ease); }
.wa-flotante:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(37, 211, 102, 0.5); }
.wa-flotante:hover .wa-texto, .wa-flotante:focus-visible .wa-texto { max-width: 200px; }
.barra-cel { display: none; }

/* ---------- Aparición al hacer scroll (script.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--retraso, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero: título palabra por palabra, luz que sigue al mouse ---------- */
.hero-spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(198, 241, 53, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.hero.is-iluminado .hero-spot { opacity: 1; }
.hero h1 .palabra { display: inline-block; animation: palabra-entrar 0.8s var(--ease) both; animation-delay: calc(var(--i) * 0.09s + 0.1s); }
.hero h1 .palabra--marca { position: relative; }
.hero h1 .palabra--marca::after {
  /* Subrayado que se dibuja debajo de la última palabra. */
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.02em;
  height: 0.09em;
  border-radius: 1em;
  background: rgba(198, 241, 53, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  animation: subrayar 0.7s var(--ease) 0.9s forwards;
}
@keyframes palabra-entrar { from { opacity: 0; transform: translateY(0.45em) rotate(3deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes subrayar { to { transform: scaleX(1); } }
/* Aviso del hero que cambia solo (script.js). */
.float-card--pedido > * { transition: opacity 0.3s ease, transform 0.3s var(--ease); }
.float-card--pedido.is-cambiando > * { opacity: 0; transform: translateY(6px); }

/* Botones que se acercan al mouse (script.js, solo con mouse). */
.btn--iman { translate: var(--imx, 0) var(--imy, 0); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), translate 0.25s var(--ease); }

/* ---------- Beneficios en bento ---------- */
.bento { grid-auto-flow: dense; }
.card--alta { grid-row: span 2; display: flex; flex-direction: column; }
.card--ancha { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 24px; align-items: center; }
.card::after {
  /* Luz que sigue al mouse dentro de cada tarjeta (script.js). */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgba(198, 241, 53, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.muestra {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  font-size: 0.84rem;
}
.muestra--busqueda { margin-top: auto; }
.card--alta .card-list { margin-bottom: 22px; }
.muestra-buscar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid var(--green); border-radius: var(--radius-pill); background: #fff; font-weight: 700; box-shadow: 0 0 0 4px rgba(198, 241, 53, 0.3); }
.cursor { display: inline-block; width: 2px; height: 1em; margin-left: -4px; background: var(--text); animation: parpadeo 1s steps(1) infinite; }
@keyframes parpadeo { 50% { opacity: 0; } }
.muestra-fila { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; font-weight: 700; }
.muestra-fila b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--lime-soft); }
.muestra-fila em { margin-left: auto; color: var(--green); font-style: normal; font-weight: 800; white-space: nowrap; }
.muestra--pago { align-items: center; justify-content: center; gap: 14px; padding: 22px 16px; background: linear-gradient(150deg, var(--lime-soft), var(--bg)); }
.muestra-tarjeta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 220px;
  max-width: 100%;
  aspect-ratio: 1.586;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--dark) 0%, #2b3322 100%);
  color: var(--on-dark);
  box-shadow: 0 16px 30px rgba(16, 18, 16, 0.25);
  transform: rotate(-4deg);
  transition: transform 0.5s var(--ease);
}
.muestra-tarjeta::before { content: ""; position: absolute; top: 42%; left: 18px; width: 32px; height: 24px; border-radius: 5px; background: linear-gradient(135deg, #e6d58a, #b89b3d); }
.muestra-tarjeta b { color: var(--lime); font-size: 0.8rem; letter-spacing: 0.1em; }
.muestra-tarjeta i { font-style: normal; font-weight: 700; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.muestra-tarjeta small { position: absolute; right: 18px; bottom: 14px; color: var(--on-dark-muted); font-weight: 700; }
.card:hover .muestra-tarjeta { transform: rotate(0deg) translateY(-4px); }
.muestra-ok { padding: 7px 14px; border-radius: var(--radius-pill); background: #dcf5e3; color: #1d6b34; font-weight: 800; }
.muestra-titulo { color: var(--muted); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.barras { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.barras i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--lime), #a5cf1c); transform-origin: bottom; }
.barras i:last-child { background: var(--dark); }
.js .card.reveal .barras i { transform: scaleY(0); transition: transform 0.8s var(--ease) calc(var(--n) * 0.06s + 0.24s); }
.js .card.reveal.is-visible .barras i { transform: none; }
.barras-dias { display: flex; gap: 8px; }
.barras-dias b { flex: 1; color: var(--muted); font-size: 0.72rem; text-align: center; }

/* ---------- Cinta: segunda fila, al revés ---------- */
.marquee--reversa { margin-top: 14px; }
.marquee--reversa.is-animada .marquee-track { animation-direction: reverse; animation-duration: calc(var(--marquee-duracion, 40s) * 1.3); }
.rubro--suave { padding: 10px 20px 10px 14px; background: transparent; color: var(--on-dark-muted); font-size: 0.92rem; }
.rubro--suave img { width: 26px; height: 26px; }
html:not(.js) .marquee--reversa { display: none; }

/* ---------- Checkout en el celular ---------- */
.cel { overflow: hidden; }
.cel-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 64px; align-items: center; max-width: 1040px; }
.section-head--izq { margin: 0 0 32px; text-align: left; }
.section-head--izq .section-sub { margin: 0; }
.cel-pasos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cel-pasos button {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}
.cel-pasos button:hover { border-color: #c9d6a6; transform: translateX(4px); }
.cel-pasos button strong { display: block; font-size: 1rem; }
.cel-pasos button small { display: block; color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
.cel-n { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); font-family: var(--display); font-size: 1.4rem; transition: background 0.25s ease, color 0.25s ease; }
.cel-pasos button[aria-selected="true"] { border-color: var(--dark); box-shadow: var(--shadow); }
.cel-pasos button[aria-selected="true"] .cel-n { background: var(--dark); border-color: var(--dark); color: var(--lime); }
.cel-pasos button::after {
  /* Avance del cambio automático. */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
}
.cel-pasos.is-auto button[aria-selected="true"]::after { animation: avance var(--cel-tiempo, 4.5s) linear forwards; }

.telefono {
  position: relative;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2b2f27, var(--dark));
  /* La última sombra es el brillo lima detrás del teléfono. */
  box-shadow: 0 40px 80px rgba(16, 18, 16, 0.28), inset 0 0 0 2px #3a3f35, 0 0 140px 30px rgba(198, 241, 53, 0.28);
}
.telefono-isla { position: absolute; top: 22px; left: 50%; z-index: 2; width: 92px; height: 24px; margin-left: -46px; border-radius: var(--radius-pill); background: #000; }
.telefono-pantalla { overflow: hidden; border-radius: 38px; background: #fff; }
.telefono-barra { display: flex; justify-content: space-between; padding: 14px 26px 6px; font-size: 0.72rem; font-weight: 800; }
.telefono-barra span { font-size: 0.6rem; letter-spacing: 0.04em; }
.telefono-progreso { display: flex; gap: 5px; padding: 18px 20px 6px; }
.telefono-progreso i { flex: 1; height: 4px; border-radius: 4px; background: var(--border); transition: background 0.35s ease; }
.telefono-progreso i.is-hecho { background: var(--lime); }
.telefono-pista { display: flex; transition: transform 0.6s var(--ease); }
.pantalla { flex: 0 0 100%; display: flex; flex-direction: column; gap: 10px; min-height: 470px; padding: 12px 20px 24px; }
.pantalla-titulo { margin: 0 0 4px; font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.pantalla-item { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--border); border-radius: 14px; font-size: 0.84rem; font-weight: 700; line-height: 1.3; }
.pantalla-item b { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--lime-soft); font-size: 1.4rem; }
.pantalla-item small { display: block; color: var(--muted); font-weight: 600; font-size: 0.74rem; }
.pantalla-item em { margin-left: auto; font-style: normal; font-weight: 800; white-space: nowrap; }
.pantalla-total { display: flex; justify-content: space-between; padding: 12px 2px 0; border-top: 1px dashed var(--border); font-weight: 700; }
.pantalla-total strong { font-size: 1.1rem; }
.pantalla-total--chico { padding-top: 4px; border: 0; color: var(--muted); font-size: 0.86rem; }
.pantalla-total--chico strong { font-size: 0.9rem; }
.pantalla-boton { margin-top: auto; padding: 13px; border-radius: 14px; background: var(--lime); color: var(--lime-ink); font-weight: 800; text-align: center; }
.pantalla-campo { display: flex; flex-direction: column; gap: 2px; padding: 9px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--bg); font-weight: 700; font-size: 0.9rem; transition: border-color 0.3s ease, background 0.3s ease; }
.pantalla-campo small { color: var(--muted); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.pantalla-campo i { color: #1d6b34; font-style: normal; font-size: 0.72rem; font-weight: 800; }
.pantalla-campo--auto.is-lleno { border-color: #8fc94a; background: #f1fae4; }
.js .pantalla-campo--auto:not(.is-lleno) span { opacity: 0; }
.pantalla-campo--auto span { transition: opacity 0.35s ease; }
.cel-escribiendo::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--text); animation: parpadeo 1s steps(1) infinite; }
.pantalla-mapa {
  position: relative;
  height: 110px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, transparent 46%, #fff 46%, #fff 52%, transparent 52%),
    linear-gradient(0deg, transparent 38%, #fff 38%, #fff 45%, transparent 45%),
    linear-gradient(32deg, transparent 63%, #fff 63%, #fff 67%, transparent 67%),
    #e3ecd3;
}
.pin { position: absolute; left: 49%; top: 41%; font-size: 1.7rem; transform: translate(-50%, -100%); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25)); }
.pantalla.is-activa .pin { animation: caer 0.7s var(--ease) 0.2s both; }
@keyframes caer { from { opacity: 0; transform: translate(-50%, -220%); } 60% { opacity: 1; transform: translate(-50%, -90%); } to { transform: translate(-50%, -100%); } }
/* Sin JS el teléfono se desliza con el dedo. */
html:not(.js) .telefono-pantalla { overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .pantalla { scroll-snap-align: start; }
html:not(.js) .telefono-progreso { display: none; }

/* ---------- Tabla comparativa ---------- */
.comparar { grid-column: 1 / -1; overflow-x: auto; border: 1px solid var(--dark-border); border-radius: var(--radius); background: var(--dark-2); }
.comparar-tabla { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.comparar-tabla caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.comparar-tabla th, .comparar-tabla td { padding: 15px 22px; border-bottom: 1px solid var(--dark-border); text-align: left; vertical-align: middle; }
.comparar-tabla tbody tr:last-child > * { border-bottom: 0; }
.comparar-tabla thead th { color: var(--on-dark-muted); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.comparar-tabla thead .comparar-con { color: var(--lime); }
.comparar-tabla tbody th { color: var(--on-dark); font-weight: 800; white-space: nowrap; }
.comparar-tabla td:last-child { background: rgba(198, 241, 53, 0.06); }
.comparar-tabla tbody tr { transition: background 0.2s ease; }
.comparar-tabla tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.no, .si { display: inline-flex; align-items: center; gap: 10px; }
.no { color: #8d9386; }
.si { color: var(--on-dark); font-weight: 700; }
.no::before, .si::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: center / 11px no-repeat; }
.no::before { background-color: rgba(255, 97, 89, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6159' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.si::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316210a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.js .comparar.reveal tbody tr { opacity: 0; transform: translateX(-12px); transition: opacity 0.5s var(--ease) calc(var(--n) * 0.06s + 0.2s), transform 0.5s var(--ease) calc(var(--n) * 0.06s + 0.2s), background 0.2s ease; }
.js .comparar.reveal.is-visible tbody tr { opacity: 1; transform: none; }

/* ---------- Visor: ver en grande ---------- */
.viewer-ampliar {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(14, 16, 13, 0.86);
  color: var(--lime);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s var(--ease), background 0.2s ease;
}
.viewer-ampliar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.viewer-ampliar:hover { transform: translateY(-2px); background: var(--dark); }
.js .viewer-shot img { cursor: zoom-in; }
html:not(.js) .viewer-ampliar { display: none; }
.lupa {
  width: min(1280px, 96vw);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.lupa[open] { display: flex; flex-direction: column; animation: entrar-shot 0.35s var(--ease); }
.lupa::backdrop { background: rgba(8, 9, 7, 0.82); backdrop-filter: blur(6px); }
.lupa-barra { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--dark-border); }
.lupa-titulo { flex: 1; margin: 0; font-weight: 800; }
.lupa-cuenta { color: var(--on-dark-muted); font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lupa-cerrar, .lupa-flecha { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--dark-border); border-radius: 50%; background: var(--dark-2); color: var(--on-dark); font: inherit; font-size: 1.1rem; font-weight: 800; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.lupa-cerrar:hover, .lupa-flecha:hover { background: var(--lime); color: var(--lime-ink); }
.lupa-escena { position: relative; min-height: 0; overflow: auto; background: #fff; }
.lupa-escena img { display: block; width: 100%; height: auto; }
.lupa-flecha { position: fixed; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; font-size: 1.8rem; line-height: 1; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.lupa-flecha--ant { left: max(10px, calc(50vw - 640px - 64px)); }
.lupa-flecha--sig { right: max(10px, calc(50vw - 640px - 64px)); }

/* ---------- Precio: borde que gira ---------- */
@property --angulo { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.pricing-panel {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--angulo), var(--border) 0deg, var(--lime) 60deg, var(--border) 140deg, var(--border) 220deg, var(--green) 290deg, var(--border) 360deg) border-box;
  animation: girar-borde 7s linear infinite;
}
@keyframes girar-borde { to { --angulo: 360deg; } }

/* ---------- Volver arriba (anillo = cuánto se leyó) ---------- */
.arriba {
  position: fixed;
  right: 28px;
  bottom: 94px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(var(--lime) calc(var(--leido, 0) * 360deg), var(--dark-border) 0);
  color: var(--lime);
  box-shadow: 0 10px 24px rgba(16, 18, 16, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
}
.arriba::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--dark); }
.arriba svg { position: relative; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.arriba:hover svg { transform: translateY(-2px); }
.arriba.is-visible { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 960px) {
  .card--alta { grid-row: auto; }
  .cel-inner { grid-template-columns: 1fr; gap: 48px; }
  .section-head--izq { text-align: center; }
  .section-head--izq .section-sub { margin: 0 auto; }
}
@media (max-width: 720px) {
  .card--ancha { grid-column: auto; grid-template-columns: 1fr; }
  .muestra--busqueda { margin-top: 0; }
  /* La tabla pasa a tarjetas: el tema arriba y las dos formas lado a lado. */
  .comparar-tabla { font-size: 0.86rem; }
  .comparar-tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .comparar-tabla tbody tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--dark-border); }
  .comparar-tabla tbody tr:last-child { border-bottom: 0; }
  .comparar-tabla tbody th { grid-column: 1 / -1; padding: 14px 16px 4px; border: 0; white-space: normal; }
  .comparar-tabla td { padding: 6px 16px 14px; border: 0; vertical-align: top; }
  .comparar-tabla td:last-child { background: none; }
  .comparar-tabla td::before { display: block; margin-bottom: 4px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
  .comparar-tabla td:nth-child(2)::before { content: "Solo WhatsApp"; color: #6f7569; }
  .comparar-tabla td:nth-child(3)::before { content: "Con TiendaPY"; color: var(--lime); }
  .no, .si { align-items: flex-start; gap: 8px; }
  .no::before, .si::before { width: 18px; height: 18px; margin-top: 1px; background-size: 9px; }
  .pantalla { min-height: 440px; }
  .lupa-flecha { top: auto; bottom: 16px; margin-top: 0; }
  .arriba { display: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-text { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-panel { grid-template-columns: 1fr; }
  .lead-inner { grid-template-columns: 1fr; gap: 32px; }
  .lead-text { text-align: center; }
  .lead-alt { justify-content: center; }
  .cifras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cifra:nth-child(3) { border-left: 0; }
  .cifra:nth-child(n+3) { border-top: 1px solid var(--border); }
  .proba-grid { grid-template-columns: 1fr; }
  .proba-vista { position: static; }
  .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viaje-panel { grid-template-columns: 1fr; }
  .probadita-comparar { grid-template-columns: 1fr; }
}

/* ---------- Celular ---------- */
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s var(--ease), opacity 0.2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(16, 18, 16, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-abierto { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 1rem; }
  .nav .btn { margin: 8px 0 0; }
  html:not(.js) .nav { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; flex-wrap: wrap; box-shadow: none; }
  html:not(.js) .nav-toggle { display: none; }

  .hero { padding: 56px 0 90px; }
  .hero-facts { gap: 14px 22px; }
  .float-card { font-size: 0.75rem; padding: 9px 12px; }
  .float-icon { width: 30px; height: 30px; font-size: 0.95rem; }
  .float-card--pedido { left: -6px; bottom: -18px; }
  .float-card--envio { right: -6px; top: -18px; }
  .hero-visual .browser { transform: none; animation: none; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before, .steps::after { top: 32px; bottom: 32px; left: 31px; right: auto; width: 3px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--progreso)); }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .step-num { grid-row: span 2; margin: 0; }
  .step p { margin: 0; max-width: none; }
  .viewer-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -24px 18px; padding: 0 24px; scroll-snap-type: x mandatory; }
  .viewer-tabs::-webkit-scrollbar { display: none; }
  .viewer-tabs button { flex: none; scroll-snap-align: start; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card, .why-card--ancha { padding: 24px; }
  .pricing-head, .pricing-body { padding: 32px 24px; }
  .lead-form { padding: 24px; }
  .cta { padding: 80px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .cifras { margin-top: -36px; }
  .cifra { padding: 18px; }
  .cifra span { font-size: 0.8rem; }
  .proba-controles { padding: 22px; }
  .mini-buscador { display: none; }
  .mini-productos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-hero { padding: 18px; }
  .mosaico { grid-template-columns: 1fr; }
  .probadita { padding: 28px 22px; margin-top: 32px; }
  .probadita-col--real ul { grid-template-columns: 1fr; }
  .probadita-cifras { gap: 14px; margin: 24px 0; }
  .probadita-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .viaje-etapas { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -24px 22px; padding: 0 24px; scroll-snap-type: x mandatory; }
  .viaje-etapas::-webkit-scrollbar { display: none; }
  .viaje-etapas li { flex: 0 0 132px; scroll-snap-align: start; }
  .viaje-panel { padding: 22px; }
  .noti { flex-wrap: wrap; }
  .noti > div { flex: 1 1 calc(100% - 60px); }
  .noti-estado { margin-left: 60px; }
  .barra-cel span { font-size: 0.78rem; line-height: 1.3; }
  .barra-cel .btn { flex: none; white-space: nowrap; }
  /* Barra fija de compra; el botón de WhatsApp sube para no taparla. */
  .barra-cel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 29;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(14, 16, 13, 0.96);
    color: var(--on-dark);
    font-size: 0.82rem;
    font-weight: 700;
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
  }
  .barra-cel.is-visible { transform: none; }
  .wa-flotante { right: 16px; bottom: 82px; height: 52px; padding: 0 13px; }
  .site-footer { padding-bottom: 90px; }
}

/* ---------- Reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-visual .browser { transform: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; padding: 0 24px; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

/* =====================================================================
   Diseños de la tienda: pila del hero, galería, comparador, formas y
   checkouts. Lo que se mueve solo es lento y solo a la vista (script.js);
   lo demás se mueve únicamente al señalarlo.
   ===================================================================== */

/* ---------- Hero: una tienda que cambia con un fundido ---------- */
.hero-tienda__fotos { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f2ee; }
.hero-tienda__fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 1.2s ease; }
.hero-tienda__fotos img.is-visible { opacity: 1; }
.hero-visual .float-card { z-index: 4; }

/* ---------- Galería ---------- */
.galeria-seccion { padding-top: 120px; }
.galeria-filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.galeria-filtro {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.galeria-filtro:hover { border-color: var(--text); }
.galeria-filtro.is-activo { background: var(--dark); border-color: var(--dark); color: var(--lime); }

.galeria-escena { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr); gap: 36px; align-items: center; }
.galeria-marco { border-color: var(--border); box-shadow: 0 30px 70px rgba(16, 18, 16, 0.16); }
.galeria-foto { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9ebe4; }
.galeria-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity 0.35s ease, transform 0.6s var(--ease); }
.galeria.is-cambiando .galeria-foto img { opacity: 0.25; transform: scale(0.985); }

.galeria-contador { margin: 0 0 6px; color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.galeria-nombre { margin: 0; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 400; line-height: 0.95; letter-spacing: 0.01em; }
.galeria-rubro { margin: 6px 0 14px; color: var(--green); font-weight: 700; }
.galeria-desc { margin: 0 0 20px; color: var(--muted); }
.galeria-datos { display: grid; gap: 0; margin: 0 0 22px; border-top: 1px solid var(--border); }
.galeria-datos div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.galeria-datos dt { color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.galeria-datos dd { margin: 0; font-size: 0.9rem; font-weight: 800; text-align: right; }

.galeria-vistas { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: var(--radius-pill); background: #eceee6; }
.galeria-vistas button {
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
.galeria-vistas button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(16, 18, 16, 0.12); }
.galeria-pasar { display: flex; gap: 10px; }
.galeria-flecha {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease);
}
.galeria-flecha:hover { background: var(--lime); transform: translateY(-2px); }

.galeria-lista {
  display: flex;
  gap: 14px;
  margin: 34px 0 0;
  padding: 6px 4px 14px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.galeria-lista li { flex: 0 0 170px; scroll-snap-align: start; }
.galeria-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 6px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(16, 18, 16, 0.06);
  transition: border-color 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.galeria-mini img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 9px; }
.galeria-mini span { padding: 0 4px 2px; }
.galeria-mini:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(16, 18, 16, 0.1); }
.galeria-mini.is-elegido { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(198, 241, 53, 0.35); }
.galeria-mini:focus-visible,
.galeria-filtro:focus-visible,
.galeria-flecha:focus-visible,
.galeria-vistas button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- Comparador ---------- */
.comparador-seccion { background: var(--dark); color: var(--on-dark); }
.comparador { max-width: 1040px; margin: 0 auto; }
.comparador-elegir { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 14px; margin-bottom: 22px; }
.comparador-elegir label { display: flex; flex-direction: column; gap: 6px; color: var(--on-dark-muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.comparador-elegir select {
  min-width: 210px;
  padding: 11px 14px;
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  background: #181b16;
  color: var(--on-dark);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.comparador-vs { padding-bottom: 12px; color: var(--lime); font-family: var(--display); font-size: 1.6rem; }
.comparador-marco {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--dark-border);
  border-radius: 18px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  user-select: none;
}
.comparador-marco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.comparador-arriba { clip-path: inset(0 0 0 var(--corte)); }
.comparador-linea {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--corte);
  width: 3px;
  background: var(--lime);
  transform: translateX(-50%);
  pointer-events: none;
}
.comparador-linea span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 1.3rem;
  font-weight: 800;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.comparador-etiqueta {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(14, 16, 13, 0.82);
  color: var(--on-dark);
  font-size: 0.82rem;
  font-weight: 800;
  pointer-events: none;
}
.comparador-etiqueta--a { left: 16px; }
.comparador-etiqueta--b { right: 16px; }
/* El control ocupa todo el marco: se arrastra desde cualquier lado y con teclado. */
.comparador-rango {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.comparador-marco:focus-within { outline: 3px solid var(--lime); outline-offset: 4px; }

/* ---------- Formas: se animan solo al señalarlas ---------- */
.formas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.forma {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.forma:hover,
.forma:focus-visible { transform: translateY(-4px); border-color: var(--lime); box-shadow: var(--shadow); outline: none; }
.forma strong { margin-top: 6px; font-size: 1rem; }
.forma small { color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.formas-nota { max-width: 760px; margin: 28px auto 0; color: var(--muted); text-align: center; }

.forma-dibujo {
  position: relative;
  height: 112px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #f1f4e8, #e6ead8);
}
.forma-dibujo i { position: absolute; display: block; border-radius: 6px; background: var(--dark); transition: transform 0.6s var(--ease), opacity 0.5s ease, background 0.3s ease; }
.forma-dibujo i:nth-child(odd) { background: #6b7e3c; }
.forma-dibujo i:nth-child(3n) { background: var(--lime); }

/* Anillo: tarjetas en óvalo que giran mientras se señala. */
.forma-dibujo--anillo i { top: 34px; left: 50%; width: 30px; height: 44px; margin-left: -15px; }
.forma-dibujo--anillo i:nth-child(1) { transform: translateX(0) scale(1.15); z-index: 3; }
.forma-dibujo--anillo i:nth-child(2) { transform: translateX(46px) scale(0.85); opacity: 0.7; }
.forma-dibujo--anillo i:nth-child(3) { transform: translateX(78px) scale(0.6); opacity: 0.45; }
.forma-dibujo--anillo i:nth-child(4) { transform: translateX(-78px) scale(0.6); opacity: 0.45; }
.forma-dibujo--anillo i:nth-child(5) { transform: translateX(-46px) scale(0.85); opacity: 0.7; }
.forma:hover .forma-dibujo--anillo i,
.forma:focus-visible .forma-dibujo--anillo i { animation: forma-anillo 2.4s linear infinite; }
.forma:hover .forma-dibujo--anillo i:nth-child(2),
.forma:focus-visible .forma-dibujo--anillo i:nth-child(2) { animation-delay: -0.48s; }
.forma:hover .forma-dibujo--anillo i:nth-child(3),
.forma:focus-visible .forma-dibujo--anillo i:nth-child(3) { animation-delay: -0.96s; }
.forma:hover .forma-dibujo--anillo i:nth-child(4),
.forma:focus-visible .forma-dibujo--anillo i:nth-child(4) { animation-delay: -1.44s; }
.forma:hover .forma-dibujo--anillo i:nth-child(5),
.forma:focus-visible .forma-dibujo--anillo i:nth-child(5) { animation-delay: -1.92s; }
@keyframes forma-anillo {
  0% { transform: translateX(0) scale(1.15); opacity: 1; z-index: 3; }
  25% { transform: translateX(78px) scale(0.6); opacity: 0.45; z-index: 1; }
  50% { transform: translateX(0) scale(0.45); opacity: 0.3; z-index: 0; }
  75% { transform: translateX(-78px) scale(0.6); opacity: 0.45; z-index: 1; }
  100% { transform: translateX(0) scale(1.15); opacity: 1; z-index: 3; }
}

/* Lomos: uno se abre. */
.forma-dibujo--lomos { display: flex; gap: 4px; align-items: stretch; padding: 14px; }
.forma-dibujo--lomos i { position: static; flex: 0 0 12px; border-radius: 3px; transition: flex-basis 0.5s var(--ease); }
.forma-dibujo--lomos i:nth-child(2) { flex-basis: 70px; }
.forma:hover .forma-dibujo--lomos i:nth-child(2),
.forma:focus-visible .forma-dibujo--lomos i:nth-child(2) { flex-basis: 12px; }
.forma:hover .forma-dibujo--lomos i:nth-child(5),
.forma:focus-visible .forma-dibujo--lomos i:nth-child(5) { flex-basis: 70px; }

/* Abanico: la del medio se levanta. */
.forma-dibujo--abanico i { bottom: -8px; left: 50%; width: 40px; height: 64px; margin-left: -20px; border: 2px solid #fff; transform-origin: 50% 120%; }
.forma-dibujo--abanico i:nth-child(1) { transform: rotate(-24deg); }
.forma-dibujo--abanico i:nth-child(2) { transform: rotate(-8deg); }
.forma-dibujo--abanico i:nth-child(3) { transform: rotate(8deg); }
.forma-dibujo--abanico i:nth-child(4) { transform: rotate(24deg); }
.forma:hover .forma-dibujo--abanico i:nth-child(3),
.forma:focus-visible .forma-dibujo--abanico i:nth-child(3) { z-index: 2; transform: rotate(0) translateY(-22px); }

/* Panal: celdas de seis lados. */
.forma-dibujo--panal i { width: 34px; height: 38px; border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.forma-dibujo--panal i:nth-child(1) { left: calc(50% - 54px); top: 16px; }
.forma-dibujo--panal i:nth-child(2) { left: calc(50% - 17px); top: 16px; }
.forma-dibujo--panal i:nth-child(3) { left: calc(50% + 20px); top: 16px; }
.forma-dibujo--panal i:nth-child(4) { left: calc(50% - 36px); top: 46px; }
.forma-dibujo--panal i:nth-child(5) { left: calc(50% + 2px); top: 46px; }
.forma:hover .forma-dibujo--panal i,
.forma:focus-visible .forma-dibujo--panal i { transform: scale(0.88); }
.forma:hover .forma-dibujo--panal i:nth-child(2),
.forma:focus-visible .forma-dibujo--panal i:nth-child(2) { transform: scale(1.15); }

/* Línea de tiempo: un eje y dos lados. */
.forma-dibujo--linea::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 50%; width: 3px; background: var(--dark); }
.forma-dibujo--linea i { width: 42px; height: 18px; }
.forma-dibujo--linea i:nth-child(1) { left: calc(50% - 52px); top: 14px; }
.forma-dibujo--linea i:nth-child(2) { left: calc(50% + 10px); top: 36px; }
.forma-dibujo--linea i:nth-child(3) { left: calc(50% - 52px); top: 58px; }
.forma-dibujo--linea i:nth-child(4) { left: calc(50% + 10px); top: 80px; }
.forma:hover .forma-dibujo--linea i,
.forma:focus-visible .forma-dibujo--linea i { transform: translateY(-8px); }

/* Riel: se desliza de costado. */
.forma-dibujo--riel i { top: 30px; width: 48px; height: 52px; }
.forma-dibujo--riel i:nth-child(1) { left: 10px; }
.forma-dibujo--riel i:nth-child(2) { left: 64px; }
.forma-dibujo--riel i:nth-child(3) { left: 118px; }
.forma-dibujo--riel i:nth-child(4) { left: 172px; }
.forma-dibujo--riel i:nth-child(5) { left: 226px; }
.forma:hover .forma-dibujo--riel i,
.forma:focus-visible .forma-dibujo--riel i { transform: translateX(-54px); }

/* Planilla: renglones; uno se resalta. */
.forma-dibujo--planilla i { left: 12px; right: 12px; height: 12px; border-radius: 3px; }
.forma-dibujo--planilla i:nth-child(1) { top: 14px; }
.forma-dibujo--planilla i:nth-child(2) { top: 32px; }
.forma-dibujo--planilla i:nth-child(3) { top: 50px; }
.forma-dibujo--planilla i:nth-child(4) { top: 68px; }
.forma-dibujo--planilla i:nth-child(5) { top: 86px; }
.forma:hover .forma-dibujo--planilla i:nth-child(2),
.forma:focus-visible .forma-dibujo--planilla i:nth-child(2) { transform: scaleX(1.04); background: var(--lime); }

/* Uno por pantalla: se pasa para arriba. */
.forma-dibujo--pantalla i { left: 50%; width: 54px; height: 92px; margin-left: -27px; border-radius: 9px; }
.forma-dibujo--pantalla i:nth-child(1) { top: 10px; }
.forma-dibujo--pantalla i:nth-child(2) { top: 108px; }
.forma:hover .forma-dibujo--pantalla i,
.forma:focus-visible .forma-dibujo--pantalla i { transform: translateY(-98px); }

/* ---------- Checkouts por diseño ---------- */
.checkouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.checkout-muestra { display: flex; flex-direction: column; gap: 10px; }
.checkout-muestra img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(16, 18, 16, 0.1);
  transition: transform 0.4s var(--ease);
}
.checkout-muestra:hover img { transform: translateY(-4px); }
.checkout-muestra span { font-weight: 800; text-align: center; }
.checkouts-sello {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 30px auto 0;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  background: var(--lime-soft);
  color: var(--lime-ink);
  font-weight: 700;
  text-align: center;
}
.checkouts-sello span { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--lime); }

/* ---------- Probalo: formas de mostrar los productos ---------- */
.mini[data-forma="filas"] .mini-productos { grid-template-columns: 1fr; }
.mini[data-forma="filas"] .mini-card { flex-direction: row; align-items: center; }
.mini[data-forma="filas"] .mini-foto { flex: 0 0 64px; font-size: 1.6rem; }
.mini[data-forma="filas"] .mini-info { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.mini[data-forma="filas"] .mini-agregar { margin: 0 0 0 auto; }
.mini[data-forma="riel"] .mini-productos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.mini[data-forma="riel"] .mini-card { flex: 0 0 38%; scroll-snap-align: start; }
.mini[data-forma="abanico"] .mini-productos { display: flex; justify-content: center; padding-top: 26px; padding-bottom: 26px; }
/* Sin la animación de entrada: su "transform: none" final pisaba la inclinación. */
.mini[data-forma="abanico"] .mini-card { width: 27%; margin: 0 -1.5%; transform-origin: 50% 115%; animation: none; transition: transform 0.25s var(--ease); }
.mini[data-forma="abanico"] .mini-card:nth-child(1) { transform: rotate(-10deg); }
.mini[data-forma="abanico"] .mini-card:nth-child(2) { transform: rotate(-3deg); }
.mini[data-forma="abanico"] .mini-card:nth-child(3) { transform: rotate(3deg); }
.mini[data-forma="abanico"] .mini-card:nth-child(4) { transform: rotate(10deg); }
.mini[data-forma="abanico"] .mini-card:hover { z-index: 2; transform: rotate(0) translateY(-12px); }

/* ---------- Armonía: un mismo ritmo entre secciones ---------- */
.section { padding: 104px 0; }
.section-head { margin-bottom: 44px; }

@media (max-width: 960px) {
  .galeria-escena { grid-template-columns: 1fr; gap: 24px; }
  .formas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .galeria-seccion { padding-top: 92px; }
  .galeria-lista li { flex-basis: 132px; }
  .galeria-filtros { flex-wrap: nowrap; justify-content: flex-start; margin: 0 -24px 22px; padding: 0 24px 4px; overflow-x: auto; scrollbar-width: none; }
  .galeria-filtro { flex: 0 0 auto; }
  .comparador-elegir select { min-width: 140px; }
  .comparador-vs { display: none; }
  .comparador-marco { aspect-ratio: 4 / 3; }
  .forma { padding: 12px; }
  .forma-dibujo { height: 96px; }
}

/* =====================================================================
   Ajustes de proporción y controles con la marca
   ===================================================================== */

/* Galería: la captura acompaña al texto, no lo tapa. */
.galeria { max-width: 1040px; margin: 0 auto; }
.galeria-escena { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); gap: 44px; }
.galeria-nombre { font-size: clamp(2.2rem, 3.6vw, 3rem); }
.galeria-desc { font-size: 0.98rem; }
.galeria-lista { gap: 10px; margin-top: 28px; }
.galeria-lista li { flex: 0 0 128px; }
.galeria-mini { gap: 6px; padding: 5px; border-radius: 12px; font-size: 0.8rem; }
.galeria-mini img { border-radius: 8px; }
.galeria-flecha svg,
.comparador-linea svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.galeria-flecha--sig svg { transform: scaleX(-1); }
.galeria-flecha { width: 44px; height: 44px; }

/* Comparador: más chico y con los selectores de la marca. */
.comparador { max-width: 820px; }
.comparador-marco { border-radius: 16px; }
.comparador-linea span { width: 44px; height: 44px; }
.comparador-elegir select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 200px;
  padding: 11px 44px 11px 16px;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-pill);
  background: #181b16 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6f135' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px;
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.comparador-elegir select:hover { border-color: var(--lime); }
.comparador-elegir select:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.comparador-elegir select option { background: #181b16; color: var(--on-dark); }

/* Probalo: forma de los productos como un control segmentado. */
.proba-formas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: #eef0e8; }
.proba-forma {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 4px 8px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.proba-forma svg { width: 22px; height: 22px; fill: currentColor; }
.proba-forma:hover { color: var(--text); }
.proba-forma.is-elegido { background: var(--dark); color: var(--lime); box-shadow: 0 4px 12px rgba(16, 18, 16, 0.18); }
.proba-forma:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Checkouts y formas: tamaños parejos con el resto de las tarjetas. */
.checkouts { max-width: 1040px; margin: 0 auto; }
.forma-dibujo { height: 100px; }

@media (max-width: 720px) {
  .galeria-lista li { flex-basis: 112px; }
  .comparador-elegir select { min-width: 0; width: 100%; }
  .comparador-elegir label { flex: 1 1 140px; }
}

/* Columnas que nunca crecen más que la pantalla (con 1fr el contenido las estiraba). */
.mini { min-width: 0; }
.mini[data-forma="abanico"] .mini-productos { overflow: hidden; }
@media (max-width: 960px) {
  .proba-grid { grid-template-columns: minmax(0, 1fr); }
  .galeria-escena { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* Cinco ejemplos de formas: una sola fila en computadora. */
@media (min-width: 961px) {
  .formas { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
