/* ============================================================
 * IG TECH ADVISORY · /store/ — Editorial-tech premium SaaS
 *
 * Filosofía visual:
 *   · Navy #0F2A44 + Green #22C55E (estricto, sin azul eléctrico)
 *   · Editorial-tech: tipografía protagonista, micro-jerarquía
 *   · Denso pero respirable: 8px rhythm + secciones con aire
 *   · Micro-interacciones sutiles (Linear/Stripe/Vercel/Resend)
 *   · Mobile-first · inputs 16px · touch ≥44px
 *   · Respeta prefers-reduced-motion
 *
 * Hereda /brand-tokens.css (CSS custom properties).
 * Capas según ITCSS: reset → tokens locales → layout → components → utilities.
 * ============================================================ */

/* ──────────────────────────────────────────────────────────────
 * 0 · RESET / BASE
 * ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.store-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11','ss01','ss03';   /* Inter typographic features */
  font-variant-numeric: tabular-nums;            /* números alineados en precios */
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-strong); }

/* Focus visible refuerzo (CRITICAL · prio 1) */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ──────────────────────────────────────────────────────────────
 * 1 · TOKENS LOCALES (extensión de brand-tokens.css)
 * ────────────────────────────────────────────────────────────── */
:root {
  /* Spring easings · sensación natural Stripe/Linear */
  --ease-out-quart:  cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Capas (z-index scale) */
  --z-base:     1;
  --z-header:   50;
  --z-sticky:   40;
  --z-overlay:  100;
  --z-modal:    1000;

  /* Editorial spacing (cuando space-* no basta) */
  --space-section: clamp(3.5rem, 8vw, 7rem);
  --space-block:   clamp(2rem, 5vw, 4rem);

  /* Línea editorial */
  --rule-color: rgba(15, 42, 68, 0.08);
  --rule-color-strong: rgba(15, 42, 68, 0.18);

  /* Grain texture (procedural) */
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ──────────────────────────────────────────────────────────────
 * 2 · LAYOUT
 * ────────────────────────────────────────────────────────────── */
.store-container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

/* Skip link a11y */
.store-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: white;
  padding: 12px 16px; z-index: var(--z-modal);
  font-weight: 600; border-radius: 0 0 8px 0;
}
.store-skip:focus { left: 0; top: 0; }

/* ──────────────────────────────────────────────────────────────
 * 3 · BANNER TEST + HEADER
 * ────────────────────────────────────────────────────────────── */
.store-test-banner {
  background: #FEF3C7;
  color: #78350F;
  text-align: center;
  font-size: var(--font-size-xs);
  padding: 6px var(--space-4);
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-wide);
  border-bottom: 1px solid #FDE68A;
  position: relative;
  z-index: var(--z-base);
}
.store-test-banner strong {
  background: #78350F;
  color: #FEF3C7;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
}

.store-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule-color);
  position: sticky; top: 0;
  z-index: var(--z-header);
}
.store-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 64px;
}
.store-brand {
  display: flex; align-items: center; gap: var(--space-3);
  color: var(--text);
  letter-spacing: var(--tracking-tight);
}
.store-brand:hover { color: var(--text); }
.store-brand-logo { width: 32px; height: 32px; flex-shrink: 0; }
.store-brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--font-size-base);
  line-height: 1;
}
.store-brand-text small {
  display: block;
  font-weight: 500;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── Hamburguesa (solo < 820px) ── */
.store-nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-left: auto;      /* empuja la hamburguesa junto al selector de idioma */
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.store-nav-burger-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease-out-expo), opacity .2s ease;
}
.store-nav-burger[aria-expanded="true"] .store-nav-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.store-nav-burger[aria-expanded="true"] .store-nav-burger-bar:nth-child(2) { opacity: 0; }
.store-nav-burger[aria-expanded="true"] .store-nav-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 820px) { .store-nav-burger { display: none; } }
body.store-nav-locked { overflow: hidden; }

/* ── Nav ── */
.store-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: fixed;
  left: 0; right: 0;
  top: 64px;
  padding: var(--space-4) var(--space-5) var(--space-6);
  background: var(--bg-elevated, #fff);
  border-bottom: 1px solid var(--rule-color);
  box-shadow: 0 24px 40px -24px rgba(15, 42, 68, 0.28);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease-out-quart), transform .2s var(--ease-out-quart), visibility .2s;
  z-index: var(--z-header);
}
.store-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
@media (min-width: 820px) {
  .store-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
}
.store-nav-link {
  color: var(--text-muted);
  font-size: var(--font-size-base);
  font-weight: 500;
  padding: 12px 0;
  position: relative;
  transition: color .2s var(--ease-out-quart);
}
@media (min-width: 820px) {
  .store-nav-link { font-size: var(--font-size-sm); padding: 8px 0; }
}
.store-nav-link:hover { color: var(--text); }
.store-nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out-expo);
}
.store-nav-link.is-active { color: var(--text); }
.store-nav-link.is-active::after,
.store-nav-link:hover::after { transform: scaleX(1); }

.store-header-actions { display: flex; align-items: center; gap: var(--space-3); }

.store-lang {
  display: flex;
  gap: 2px;
  border: 1px solid var(--rule-color);
  border-radius: var(--radius-full);
  padding: 3px;
  background: white;
  font-family: var(--font-mono);
}
.store-lang a {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 9px 12px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  transition: all .18s var(--ease-out-quart);
  letter-spacing: var(--tracking-wide);
}
.store-lang a:hover { color: var(--text); }
.store-lang a.is-active {
  background: var(--color-primary-600);
  color: white;
}

/* ──────────────────────────────────────────────────────────────
 * 4 · HERO EDITORIAL
 * ────────────────────────────────────────────────────────────── */
.store-hero {
  position: relative;
  color: white;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 197, 94, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 100%, rgba(34, 197, 94, 0.05), transparent 60%),
    linear-gradient(180deg, var(--color-primary-700) 0%, var(--color-primary-800) 100%);
  overflow: hidden;
  isolation: isolate;
}
.store-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(0deg,  rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}
.store-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

.store-hero-inner { position: relative; max-width: 820px; }

.store-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
  font-weight: 600;
}
.store-hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}

.store-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.25rem);
  font-weight: 800;
  /* -0.04em aplastaba los espacios entre palabras en negrita display.
     -0.022em mantiene la identidad tight sin comerse los huecos, y un
     word-spacing pequeño los recupera del todo. */
  letter-spacing: -0.022em;
  word-spacing: 0.06em;
  line-height: 1.04;
  margin: 0 0 var(--space-6);
  text-wrap: balance;
}

.store-hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 var(--space-8);
  max-width: 58ch;
  line-height: 1.55;
}

.store-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.store-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all .2s var(--ease-out-quart);
}
.store-hero-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ──────────────────────────────────────────────────────────────
 * 5 · FILTROS DE CATEGORÍA
 * ────────────────────────────────────────────────────────────── */
.store-filters {
  padding: clamp(2rem, 4vw, 3rem) 0 var(--space-5);
  background: var(--bg);
  position: sticky;
  top: 64px;
  z-index: var(--z-sticky);
  border-bottom: 1px solid var(--rule-color);
  backdrop-filter: blur(12px);
}
.store-filter-list {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-2);
}
.store-filter-list::-webkit-scrollbar { display: none; }

.store-filter-btn {
  flex-shrink: 0;
  padding: 9px 16px;
  border: 1px solid var(--rule-color);
  border-radius: var(--radius-full);
  background: white;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.005em;
  min-height: 44px;        /* touch target */
  transition: all .18s var(--ease-out-quart);
}
.store-filter-btn:hover {
  border-color: var(--color-primary-300);
  color: var(--text);
  background: var(--bg-elevated);
}
.store-filter-btn.is-active {
  background: var(--color-primary-700);
  color: white;
  border-color: var(--color-primary-700);
  box-shadow: 0 4px 12px -2px rgba(15, 42, 68, 0.25);
}

/* ──────────────────────────────────────────────────────────────
 * 6 · GRID BENTO DE PRODUCTOS
 * ────────────────────────────────────────────────────────────── */
.store-grid-section { padding: clamp(2.5rem, 5vw, 4.5rem) 0 var(--space-section); }

.store-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .store-grid { grid-template-columns: repeat(3, 1fr); }
  /* El primer destacado es una card ANCHA (2 col), no una torre 2x2:
     mantiene el ritmo de la rejilla y la lámina de producto se ve mejor
     en horizontal. */
  .store-grid .store-card.is-featured:first-child { grid-column: span 2; }
  .store-grid .store-card.is-featured:first-child .store-card-media { aspect-ratio: 21 / 9; }
}

.store-card {
  background: white;
  border: 1px solid var(--rule-color);
  border-radius: var(--radius-xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  color: inherit;
  position: relative;
  isolation: isolate;
  transition:
    transform .35s var(--ease-out-expo),
    box-shadow .35s var(--ease-out-expo),
    border-color .2s ease;
  overflow: hidden;
}
.store-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-700), var(--color-primary-900));
  border-bottom: 1px solid var(--rule-color);
}
.store-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s var(--ease-out-expo);
}
.store-card:hover .store-card-media img { transform: scale(1.03); }
.store-card-media::after {
  /* viñeta sutil para mejorar contraste del título superpuesto */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 42, 68, 0.15));
  pointer-events: none;
}
.store-card-body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}
.store-card-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.store-card-head > div:last-child { flex: 1; min-width: 0; }
.store-card::before {
  /* halo verde sutil en hover */
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 50%, rgba(34, 197, 94, 0.4));
  -webkit-mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
          mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.store-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-color-strong);
  box-shadow:
    0 1px 2px rgba(15, 42, 68, 0.04),
    0 12px 28px -8px rgba(15, 42, 68, 0.18);
}
.store-card:hover::before { opacity: 1; }
.store-card:focus-visible { outline-offset: 4px; }

/* Destacado · marca de prioridad */
.store-card.is-featured {
  background: linear-gradient(165deg, white 0%, var(--color-primary-50) 100%);
  border-color: var(--color-primary-200);
}
.store-card.is-featured::after {
  content: 'DESTACADO';
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: var(--color-primary-700);
  color: white;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 2;
}

/* El tile de emoji se retiró: cada card lleva su lámina de producto real
   (assets/posters/*.svg) como .store-card-media. .store-card-icon queda
   como no-op por si alguna plantilla lo emite todavía. */
.store-card-icon { display: none; }

.store-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.store-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 700;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-wrap: balance;
}

.store-card-tagline {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
  text-wrap: pretty;
}

.store-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.store-card-features li {
  font-size: var(--font-size-sm);
  color: var(--text);
  padding-left: 24px;
  position: relative;
  line-height: 1.45;
}
.store-card-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-accent-50);
  border: 1px solid var(--color-accent-200);
}
.store-card-features li::after {
  content: '';
  position: absolute;
  left: 4px; top: 11px;
  width: 8px; height: 8px;
  background: var(--color-accent-500);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='2.5'><path d='M2 6.5l2.5 2.5L10 3.5'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='2.5'><path d='M2 6.5l2.5 2.5L10 3.5'/></svg>") no-repeat center / contain;
}

.store-card-footer {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.store-card-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.store-card-price small {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 2px;
}

/* ──────────────────────────────────────────────────────────────
 * 7 · BOTONES — sistema editorial
 * ────────────────────────────────────────────────────────────── */
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  font-family: inherit;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform .15s var(--ease-out-quart),
    background .2s ease,
    box-shadow .25s var(--ease-out-quart),
    border-color .2s ease;
}
.store-btn:hover { transform: translateY(-1px); text-decoration: none; }
.store-btn:active { transform: translateY(0); transition-duration: .05s; }
.store-btn:focus-visible { outline-offset: 3px; }

.store-btn--primary {
  background: var(--color-primary-700);
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 1px 2px rgba(15, 42, 68, 0.3);
}
.store-btn--primary:hover {
  background: var(--color-primary-800);
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 6px 16px -4px rgba(15, 42, 68, 0.35);
}

.store-btn--accent {
  background: var(--accent);
  color: var(--color-primary-800);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 1px 2px rgba(22, 163, 74, 0.3);
}
.store-btn--accent:hover {
  background: var(--color-accent-500);
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 6px 18px -4px rgba(34, 197, 94, 0.45);
}

.store-btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--rule-color-strong);
}
.store-btn--ghost:hover {
  background: var(--bg-elevated);
  border-color: var(--color-primary-300);
  color: var(--text);
}

.store-btn--lg { min-height: 52px; padding: 15px 26px; font-size: var(--font-size-base); }
.store-btn--block { width: 100%; }

/* Arrow del CTA · desliza on hover */
.store-btn .store-btn-arrow {
  display: inline-block;
  transition: transform .25s var(--ease-out-expo);
}
.store-btn:hover .store-btn-arrow { transform: translateX(3px); }

/* ──────────────────────────────────────────────────────────────
 * 8 · PRODUCTO · DETALLE
 * ────────────────────────────────────────────────────────────── */
.store-product-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--rule-color);
  background:
    radial-gradient(ellipse 40% 50% at 80% 30%, rgba(34, 197, 94, 0.04), transparent 60%),
    var(--bg);
}
.store-product-hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .store-product-hero-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* El tile de emoji del hero de producto se retiró: el título encabeza la
   ficha y la lámina de producto vive en la figura de vídeo/poster. */
.store-product-icon { display: none; }

.store-product-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.024em;
  word-spacing: 0.05em;
  margin: 0 0 var(--space-4);
  line-height: 1.05;
  text-wrap: balance;
  max-width: 18ch;
}

.store-product-tagline {
  font-size: clamp(1.1rem, 1.6vw, 1.375rem);
  color: var(--text-muted);
  margin: 0 0 var(--space-5);
  max-width: 58ch;
  line-height: 1.45;
}

.store-product-desc {
  font-size: var(--font-size-base);
  color: var(--text);
  max-width: 65ch;
  margin: 0 0 var(--space-6);
  line-height: 1.7;
}

.store-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--rule-color);
}
.store-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--text);
  line-height: 1.5;
}
.store-feature-check {
  width: 24px; height: 24px;
  border-radius: 8px;
  background: var(--color-accent-50);
  color: var(--color-accent-600);
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ──────────────────────────────────────────────────────────────
 * 8b · VIDEO HERO POR PRODUCTO
 * ────────────────────────────────────────────────────────────── */
.store-product-video {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.store-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-primary-800);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 50px -15px rgba(15, 42, 68, 0.35),
    0 4px 12px -2px rgba(15, 42, 68, 0.15);
  border: 1px solid var(--rule-color);
}
.store-video-el {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}
.store-video-poster {
  position: relative;
  width: 100%; height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: default;
  display: block;
  overflow: hidden;
}
.store-video-poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out-expo);
}
.store-video-poster:hover img { transform: scale(1.015); }
.store-video-status {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(7, 24, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.store-video-caption {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  margin-top: var(--space-2);
}
.store-video-caption strong { color: var(--text); font-weight: 600; font-style: normal; }

/* ──────────────────────────────────────────────────────────────
 * 9 · PLANES (pricing tiers)
 * ────────────────────────────────────────────────────────────── */
.store-plans-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--bg-elevated);
  position: relative;
  border-top: 1px solid var(--rule-color);
}

/* Los kickers en mono-mayúsculas repetidos encima de CADA sección
   ("RESULTADOS REALES", "CÓMO TRABAJAMOS"…) son andamiaje: los titulares
   se sostienen solos. Se retiran de las secciones de contenido; el único
   kicker que queda es el del hero ("TIENDA SAAS"), que fija el contexto. */
.store-section-eyebrow { display: none; }

.store-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  word-spacing: 0.04em;
  margin: 0 0 var(--space-8);
  line-height: 1.12;
  max-width: 22ch;
  text-wrap: balance;
}

.store-plans-toggle {
  display: inline-flex;
  background: white;
  border: 1px solid var(--rule-color);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: var(--space-8);
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-sm);
}
.store-plans-toggle button {
  background: transparent;
  border: 0;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 500;
  font-family: inherit;
  font-size: inherit;
  min-height: 40px;
  transition: all .25s var(--ease-out-quart);
}
.store-plans-toggle button:hover { color: var(--text); }
.store-plans-toggle button.is-active {
  background: var(--color-primary-700);
  color: white;
  box-shadow: 0 2px 6px rgba(15, 42, 68, 0.25);
}
.store-plans-save {
  background: var(--color-accent-100);
  color: var(--color-accent-700);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  vertical-align: middle;
}

.store-plans-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.store-plan {
  background: white;
  border: 1px solid var(--rule-color);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  isolation: isolate;
  transition:
    transform .3s var(--ease-out-expo),
    box-shadow .3s var(--ease-out-expo),
    border-color .2s ease;
}
.store-plan:hover {
  transform: translateY(-2px);
  border-color: var(--rule-color-strong);
  box-shadow: 0 12px 28px -10px rgba(15, 42, 68, 0.15);
}
.store-plan.is-popular {
  border: 1.5px solid var(--color-primary-700);
  background: linear-gradient(180deg, white, var(--color-primary-50));
  box-shadow:
    0 0 0 1px rgba(15, 42, 68, 0.08),
    0 20px 40px -16px rgba(15, 42, 68, 0.2);
  transform: translateY(-4px);
}
.store-plan.is-popular::before {
  content: attr(data-popular-label);
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary-700);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(15, 42, 68, 0.25);
}

.store-plan-name {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}
.store-plan-for {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
}

.store-plan-price-block { display: flex; flex-direction: column; gap: 4px; }
.store-plan-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.625rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.store-plan-price small {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
}
.store-plan-setup {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.store-plan-trial {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent-50);
  color: var(--color-accent-700);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  border: 1px solid var(--color-accent-100);
}

.store-plan-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.store-plan-highlights li {
  font-size: var(--font-size-sm);
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text);
  line-height: 1.45;
}
.store-plan-highlights li::before {
  content: '';
  width: 16px; height: 16px;
  background: var(--color-accent-500);
  flex-shrink: 0;
  margin-top: 3px;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.5'><path d='M3 8l3 3 7-7'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.5'><path d='M3 8l3 3 7-7'/></svg>") no-repeat center / contain;
}

.store-plan-cta { margin-top: auto; padding-top: var(--space-4); }

/* ──────────────────────────────────────────────────────────────
 * 10 · CHECKOUT
 * ────────────────────────────────────────────────────────────── */
.store-checkout-wrap {
  padding: clamp(2.5rem, 5vw, 4rem) 0 var(--space-section);
  background:
    radial-gradient(ellipse 30% 30% at 80% 0%, rgba(34, 197, 94, 0.05), transparent 60%),
    var(--bg);
}
.store-checkout-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
  margin-top: var(--space-8);
}
/* Móvil: el resumen (qué compro y cuánto pago) va ANTES del formulario;
   sin esto había que recorrer 9 campos para ver el precio. */
.store-checkout-summary { order: -1; }
@media (min-width: 900px) {
  .store-checkout-grid {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
  .store-checkout-summary { order: 0; }
}

.store-checkout-form {
  background: white;
  border: 1px solid var(--rule-color);
  border-radius: var(--radius-2xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 1px 0 var(--rule-color);
}

.store-checkout-summary {
  background: linear-gradient(180deg, white, var(--color-primary-50));
  border: 1px solid var(--rule-color);
  border-radius: var(--radius-2xl);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: 0 1px 0 var(--rule-color);
}
@media (min-width: 900px) {
  .store-checkout-summary { position: sticky; top: 88px; }
}

.store-field { margin-bottom: var(--space-4); }
.store-field label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.store-field input,
.store-field select,
.store-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--rule-color-strong);
  border-radius: 10px;
  font-size: 16px;                  /* iOS sin zoom */
  font-family: inherit;
  background: white;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.store-field input::placeholder,
.store-field textarea::placeholder { color: var(--color-neutral-400); }
.store-field input:hover,
.store-field select:hover,
.store-field textarea:hover { border-color: var(--color-primary-300); }
.store-field input:focus,
.store-field select:focus,
.store-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 42, 68, 0.08);
}
.store-field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.store-field textarea { min-height: 96px; resize: vertical; padding-top: 12px; }
.store-field-row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) { .store-field-row { grid-template-columns: 1fr; } }

.store-checkout-form > h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--rule-color);
}

.store-consent {
  display: flex; align-items: flex-start; gap: var(--space-3);
  background: var(--bg-elevated);
  padding: var(--space-4);
  border-radius: 10px;
  margin: var(--space-6) 0;
  font-size: var(--font-size-sm);
  color: var(--text);
  border: 1px solid var(--rule-color);
  line-height: 1.5;
}
.store-consent input[type=checkbox] {
  margin-top: 2px;
  width: 18px; height: 18px;
  accent-color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
}
.store-consent a { font-weight: 600; }

.store-checkout-summary h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-base);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 var(--space-5);
  letter-spacing: 0.16em;
}

.store-summary-item {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--rule-color);
  font-size: var(--font-size-sm);
  align-items: baseline;
}
.store-summary-item:first-of-type {
  padding-top: 0;
  display: block;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--rule-color-strong);
}
.store-summary-item-label {
  color: var(--text-muted);
  line-height: 1.4;
}
.store-summary-item.is-total {
  border-bottom: 0;
  padding-top: var(--space-5);
  margin-top: 2px;
  align-items: baseline;
}
.store-summary-item.is-total .store-summary-item-label {
  color: var(--text);
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.store-summary-item.is-total .store-summary-item-value {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.store-summary-item-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.store-test-card {
  margin-top: var(--space-5);
  padding: 12px var(--space-4);
  background:
    linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 1px dashed #D97706;
  border-radius: 10px;
  font-size: var(--font-size-xs);
  color: #78350F;
  font-family: var(--font-mono);
  line-height: 1.5;
}
.store-test-card strong { font-weight: 700; }

/* ──────────────────────────────────────────────────────────────
 * 11 · RESULT PAGES (success / cancel / 404)
 * ────────────────────────────────────────────────────────────── */
.store-result {
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) var(--space-5);
  text-align: center;
}
.store-result-icon {
  width: 88px; height: 88px;
  border-radius: 24px;
  display: grid; place-items: center;
  margin: 0 auto var(--space-6);
  font-size: 42px;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 12px 32px -8px rgba(15, 42, 68, 0.15);
}
.store-result-icon--success {
  background: linear-gradient(135deg, var(--color-accent-100), var(--color-accent-50));
  color: var(--color-accent-600);
}
.store-result-icon--cancel {
  background: linear-gradient(135deg, var(--color-neutral-200), var(--color-neutral-100));
  color: var(--color-neutral-600);
}
.store-result-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.022em;
  word-spacing: 0.04em;
  text-wrap: balance;
}
.store-result-lead {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  margin: 0 0 var(--space-8);
  line-height: 1.55;
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  text-wrap: pretty;
}
.store-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* ──────────────────────────────────────────────────────────────
 * 12 · FOOTER editorial
 * ────────────────────────────────────────────────────────────── */
.store-footer {
  border-top: 1px solid var(--rule-color);
  background: var(--bg-elevated);
  padding: var(--space-block) 0 var(--space-6);
  margin-top: var(--space-section);
}
.store-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--rule-color);
  margin-bottom: var(--space-4);
}
.store-footer-brand {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}
.store-footer-logo { width: 28px; height: 28px; }
.store-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  font-size: var(--font-size-sm);
}
.store-footer-nav a {
  color: var(--text-muted);
  position: relative;
  transition: color .18s ease;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
}
.store-footer-nav a:hover { color: var(--text); }

.store-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.store-trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}
.store-trust-item + .store-trust-item::before {
  content: '';
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* ──────────────────────────────────────────────────────────────
 * 13 · ANIMACIONES y REDUCED MOTION
 * ────────────────────────────────────────────────────────────── */
@keyframes store-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.store-hero-inner > * { animation: store-fade-up .6s var(--ease-out-expo) both; }
.store-hero-eyebrow { animation-delay: .05s; }
.store-hero-title   { animation-delay: .12s; }
.store-hero-lead    { animation-delay: .22s; }
.store-hero-badges  { animation-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .store-hero-inner > * { animation: none; }
  .store-card:hover, .store-plan:hover { transform: none; }
}

/* ──────────────────────────────────────────────────────────────
 * 14 · DARK MODE READY (preparado, no activado por defecto)
 *      Activar añadiendo data-theme="dark" al <html> en futuro.
 * ────────────────────────────────────────────────────────────── */
[data-theme="dark"] .store-body {
  --bg: var(--color-neutral-950);
  --bg-elevated: var(--color-neutral-900);
  --text: var(--color-neutral-50);
  --text-muted: var(--color-neutral-400);
  --border: var(--color-neutral-800);
  --rule-color: rgba(255, 255, 255, 0.08);
  --rule-color-strong: rgba(255, 255, 255, 0.18);
}

/* ════════════════════════════════════════════════════════════
   PRODUCTO · Secciones extendidas (junio 2026)
   ──────────────────────────────────────────────────────────
   for_whom · how_it_works · use_cases · compliance · faq · cta_final
   guarantees (banda de 4 bullets)
   ════════════════════════════════════════════════════════════ */

.store-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--rule-color);
}
.store-section:nth-of-type(even) { background: var(--bg-elevated); }

/* ── ¿Para quién es? ───────────────────────────────────── */
.store-for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.store-for-whom-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-6);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.store-for-whom-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
/* El emoji decorativo se retira: la tarjeta es título + descripción, con
   un filete de acento arriba para dar jerarquía sin iconografía de plantilla. */
.store-for-whom-icon { display: none; }
.store-for-whom-card { position: relative; }
.store-for-whom-card::before {
  content: '';
  position: absolute;
  top: 0; left: var(--space-6, 24px);
  width: 28px; height: 3px;
  background: var(--brand);
  border-radius: 0 0 2px 2px;
}
.store-for-whom-title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.015em;
}
.store-for-whom-desc {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Cómo funciona (pasos) ─────────────────────────────── */
.store-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-6);
  max-width: 760px;
}
.store-step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.store-step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}
.store-step-title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.015em;
}
.store-step-desc {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Casos de uso ──────────────────────────────────────── */
.store-use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.store-use-case {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: var(--space-6);
}
.store-use-case-title {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}
.store-use-case-desc {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-4);
}
.store-use-case-result {
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--brand);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--rule-color-strong);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.store-use-case-result-label {
  font-weight: 800;
}

/* ── Garantías (banda de 4 bullets) ────────────────────── */
.store-guarantees {
  background: var(--bg-elevated);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.store-guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
}
.store-guarantee {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
}
.store-guarantee-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--brand);
}
.store-guarantee-text {
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1.4;
}

/* ── Seguridad y compliance ────────────────────────────── */
.store-compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.store-compliance-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
/* Emoji de JSON fuera; marcador geométrico consistente en su lugar. */
.store-compliance-icon {
  font-size: 0;
  flex-shrink: 0;
  width: 10px; height: 10px;
  margin-top: 6px;
  background: var(--color-accent-500, #22C55E);
  transform: rotate(45deg);
  border-radius: 2px;
}
.store-compliance-title {
  font-family: var(--font-display);
  font-size: var(--font-size-base);
  margin: 0 0 var(--space-2);
  font-weight: 700;
}
.store-compliance-desc {
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  font-size: var(--font-size-sm);
}

/* ── FAQ ───────────────────────────────────────────────── */
.store-faq-list {
  max-width: 760px;
  display: grid;
  gap: var(--space-3);
}
.store-faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: border-color .15s ease;
}
.store-faq-item[open] {
  border-color: var(--brand);
}
.store-faq-q {
  font-family: var(--font-display);
  font-size: var(--font-size-base);
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.store-faq-q::-webkit-details-marker { display: none; }
.store-faq-q::after {
  content: '+';
  position: absolute;
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--brand);
  transition: transform .2s ease;
}
.store-faq-item[open] .store-faq-q::after {
  content: '−';
}
.store-faq-a {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA final ─────────────────────────────────────────── */
/* .store-section.store-cta-final gana en especificidad a
   .store-section:nth-of-type(even){background:claro} (si no, el texto blanco
   queda sobre fondo claro = invisible). */
.store-section.store-cta-final,
.store-cta-final {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong, #1e3a8a)) !important;
  color: #fff;
  border-top: none;
}
.store-cta-final-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.store-cta-final-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-4);
  color: #fff;
}
.store-cta-final-desc {
  font-size: var(--font-size-base);
  opacity: 0.92;
  margin: 0 0 var(--space-6);
  line-height: 1.55;
}
.store-cta-final-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}
.store-cta-final .store-btn--primary {
  background: #fff;
  color: var(--brand);
}
.store-cta-final .store-btn--ghost {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.store-cta-final .store-btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
  .store-step { flex-direction: column; gap: var(--space-3); }
  .store-step-num { width: 40px; height: 40px; font-size: 17px; }
  .store-cta-final-actions { flex-direction: column; }
  .store-cta-final-actions .store-btn { width: 100%; }
}

/* ════════════════════════════════════════════════════════════
   SUBPÁGINAS DE PRODUCTO (junio 2026)
   ──────────────────────────────────────────────────────────
   /store/producto/<slug>/casos-de-uso · faq · seguridad · comparativa
   ════════════════════════════════════════════════════════════ */

/* Tabs de navegación entre vistas */
.store-sub-tabs {
  display: flex;
  gap: 2px;
  margin: var(--space-6) 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.store-sub-tabs::-webkit-scrollbar { display: none; }
.store-sub-tabs--inline { margin-top: var(--space-10); }
.store-sub-tab {
  padding: var(--space-3) var(--space-5);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
  margin-bottom: -1px;
}
.store-sub-tab:hover {
  color: var(--text);
  border-bottom-color: var(--rule-color-strong);
}
.store-sub-tab.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* Mini-hero de subpágina */
.store-sub-hero {
  padding: clamp(2rem, 5vw, 4rem) 0 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--rule-color);
}
.store-breadcrumb {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.store-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.store-breadcrumb a:hover { color: var(--brand); }
.store-breadcrumb .sep { margin: 0 8px; opacity: .5; }
.store-sub-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  word-spacing: 0.04em;
  margin: 0 0 var(--space-3);
  line-height: 1.1;
}
.store-sub-hero-desc {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.55;
  margin: 0 0 var(--space-2);
}
.store-sub-hero .store-sub-tabs {
  margin-bottom: 0;
  border-bottom: none;
}

.store-sub-back {
  display: inline-block;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
  transition: color .15s ease;
}
.store-sub-back:hover { color: var(--brand); }

/* Casos de uso · long-form */
.store-sub-cases {
  display: grid;
  gap: var(--space-8);
}
.store-sub-case {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 6px solid var(--brand);
  border-radius: 16px;
  padding: var(--space-8);
}
.store-sub-case-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.store-sub-case-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-4);
  line-height: 1.15;
}
.store-sub-case-desc {
  color: var(--text);
  font-size: var(--font-size-base);
  line-height: 1.7;
  margin: 0 0 var(--space-5);
}
.store-sub-case-result {
  background: var(--bg-elevated);
  border-radius: 12px;
  padding: var(--space-4) var(--space-5);
  border: 1px dashed var(--brand);
}
.store-sub-case-result-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 4px;
}
.store-sub-case-result-value {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text);
}

/* FAQ extendida + buscador */
.store-sub-faq-search-wrap {
  margin-bottom: var(--space-6);
}
.store-sub-faq-search {
  width: 100%;
  max-width: 480px;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-base);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: border-color .15s ease;
}
.store-sub-faq-search:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}
.store-sub-faq-empty {
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--bg-elevated);
  border-radius: 12px;
  text-align: center;
  color: var(--text-muted);
}
.store-sub-faq-empty a {
  color: var(--brand);
  font-weight: 600;
}

/* Documentos legales (seguridad) */
.store-sub-docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}
.store-sub-doc {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.store-sub-doc:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.store-sub-doc-icon {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--brand);
}
.store-sub-doc-icon svg { width: 22px; height: 22px; }
.store-sub-doc-title {
  font-family: var(--font-display);
  font-size: var(--font-size-base);
  margin: 0 0 var(--space-2);
  font-weight: 700;
}
.store-sub-doc-desc {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  margin: 0;
}

.store-sub-security-incident {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  color: #fff;
  border-radius: 16px;
  padding: var(--space-6) var(--space-8);
}
.store-sub-security-incident h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
}
.store-sub-security-incident p {
  margin: 0;
  font-size: var(--font-size-base);
  opacity: 0.95;
}
.store-sub-security-incident a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

/* Comparativa de planes */
.store-sub-compare-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}
.store-sub-compare-plan {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-6);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.store-sub-compare-plan.is-popular {
  border-color: var(--brand);
  border-width: 2px;
  box-shadow: 0 8px 24px rgba(59, 130, 246, .12);
}
.store-sub-compare-badge {
  position: absolute;
  top: -10px;
  right: var(--space-5);
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.store-sub-compare-plan h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  margin: 0;
  letter-spacing: -0.02em;
}
.store-sub-compare-for {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
}
.store-sub-compare-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  margin: var(--space-2) 0;
}
.store-sub-compare-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.store-sub-compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.store-sub-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}
.store-sub-compare-table th,
.store-sub-compare-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--rule-color);
  text-align: center;
  vertical-align: middle;
}
.store-sub-compare-table th {
  font-family: var(--font-display);
  font-size: var(--font-size-base);
  font-weight: 700;
  background: var(--bg-elevated);
  white-space: nowrap;
}
.store-sub-compare-table th.is-popular,
.store-sub-compare-table td.is-popular {
  background: rgba(59, 130, 246, .06);
}
.store-sub-compare-table th.is-popular {
  color: var(--brand);
}
.store-sub-compare-feat-label {
  text-align: left !important;
  font-weight: 500;
  color: var(--text);
}
.store-sub-compare-check {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.store-sub-compare-dash {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 18px;
}
.store-sub-compare-table tr:last-child td {
  border-bottom: none;
}
.store-sub-compare-table tbody tr:hover td:not(.is-popular) {
  background: var(--bg-elevated);
}

/* Empty state */
.store-sub-empty {
  padding: var(--space-12);
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-radius: 16px;
  border: 1px dashed var(--border);
  font-size: var(--font-size-base);
}

@media (max-width: 640px) {
  .store-sub-case { padding: var(--space-5); }
  .store-sub-compare-summary { gap: var(--space-3); }
  .store-sub-compare-plan { padding: var(--space-4); }
}

/* ════════════════════════════════════════════════════════════
   EXTRAS CONTRATABLES (add-ons sobre cualquier plan) · jun 2026
   ════════════════════════════════════════════════════════════ */
.store-addons { background: var(--bg-elevated); }
.store-addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}
.store-addon-card {
  background: white;
  border: 1px solid var(--rule-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform .25s var(--ease-out-expo), border-color .2s ease, box-shadow .25s ease;
}
.store-addon-card:hover {
  transform: translateY(-2px);
  border-color: var(--rule-color-strong);
  box-shadow: 0 12px 28px -12px rgba(15, 42, 68, 0.15);
}
.store-addon-icon { display: none; }
.store-addon-body { flex: 1; }
.store-addon-name {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}
.store-addon-desc {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.store-addon-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule-color);
}
.store-addon-price {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.store-addon-price small {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 500;
}
.store-btn--sm {
  padding: 8px 16px;
  font-size: var(--font-size-sm);
}

/* ════════════════════════════════════════════════════════════
   MODERNIZACIÓN HOME · jun 2026 (hero CTA, reveal, iconos SVG)
   ════════════════════════════════════════════════════════════ */
.store-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.store-hero-badge svg { opacity: 0.85; flex-shrink: 0; }

/* Botón ghost sobre fondo oscuro (hero) */
.store-btn--ghost-light {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}
.store-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Iconos de la banda de garantías (SVG en vez de emoji) */
.store-guarantee-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-500);
}

/* Cifras tabulares para que los precios no "bailen" */
.store-card-price,
.store-plan-price,
.store-addon-price,
.store-sub-compare-price { font-variant-numeric: tabular-nums; }

/* Micro-interacción: la flecha avanza al hover */
.store-btn-arrow { display: inline-block; transition: transform 0.2s var(--ease-out-expo); }
.store-btn:hover .store-btn-arrow,
.store-card:hover .store-btn-arrow { transform: translateX(3px); }

/* Reveal escalonado de cards · SOLO realce. El JS marca .store-card--pre-reveal
   únicamente en las cards que están fuera de pantalla al cargar, y tiene un
   failsafe que revela todo pase lo que pase. Nunca deja un producto oculto. */
.store-card--pre-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.55s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}
.store-card--pre-reveal.is-revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .store-card--pre-reveal { opacity: 1; transform: none; transition: none; }
}

/* ══ Resultados reales · BANDA OSCURA (dirección de arte propia) ══
   Rompe con el resto de la página en claro: es el momento de fuerza. */
.store-section.store-results {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(34, 197, 94, 0.10), transparent 60%),
    linear-gradient(180deg, var(--color-primary-800), var(--color-primary-900));
  border-top: 0;
  color: #fff;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.store-section.store-results:nth-of-type(even) { background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(34, 197, 94, 0.10), transparent 60%),
    linear-gradient(180deg, var(--color-primary-800), var(--color-primary-900)); }
.store-results .store-section-title { color: #fff; max-width: 18ch; }

.store-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.store-result-card {
  background: var(--color-primary-900);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: background 0.25s ease;
}
.store-result-card:hover { background: var(--color-primary-800); }
.store-result-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 800;
  color: #4ADE80;
  letter-spacing: -0.018em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  text-wrap: balance;
}
.store-result-case {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin-top: auto;
}
.store-result-prod {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

/* Entrada escalonada al cargar · CSS puro, sin gate por JS: si algo falla,
   las tarjetas simplemente aparecen sin animación (nunca ocultas). */
@media (prefers-reduced-motion: no-preference) {
  .store-result-card {
    animation: store-fade-up 0.55s var(--ease-out-expo) both;
    animation-delay: calc(var(--i, 0) * 65ms + 0.05s);
  }
}

/* Comparativa de planes · "hasta dónde llega cada plan" (ficha producto) */
.store-plan-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.store-plan-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}
.store-plan-compare-table th,
.store-plan-compare-table td {
  padding: var(--space-3) var(--space-4);
  text-align: center;
  border-bottom: 1px solid var(--rule-color);
}
.store-plan-compare-table thead th {
  border-bottom: 2px solid var(--color-primary-200);
  vertical-align: bottom;
}
.store-plan-compare-table .pc-feat {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}
.store-plan-compare-table tbody tr:hover td:not(.is-popular) { background: var(--bg-elevated); }
.pc-plan {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--font-size-base);
  letter-spacing: -0.01em;
}
.pc-price {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.store-plan-compare-table .is-popular { background: var(--color-primary-50); }
.store-plan-compare-table thead .is-popular { border-bottom-color: var(--color-primary-700); }
.pc-yes { color: var(--color-accent-600); font-weight: 700; font-size: var(--font-size-base); }
.pc-dash { color: var(--text-muted); opacity: 0.45; }
.pc-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.store-plan-compare-note {
  margin-top: var(--space-4);
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* Navegación · "Catálogo" desplegable (nativo <details>) */
.store-nav-dd { position: relative; }
.store-nav-dd > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.store-nav-dd > summary::-webkit-details-marker { display: none; }
.store-nav-caret { font-size: 9px; transition: transform 0.2s ease; }
.store-nav-dd[open] .store-nav-caret { transform: rotate(180deg); }
.store-nav-dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: white;
  border: 1px solid var(--rule-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 30px -10px rgba(15, 42, 68, 0.22);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 100;
}
.store-nav-dd-menu a {
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.store-nav-dd-menu a:hover { background: var(--bg-elevated); color: var(--brand); }
@media (max-width: 819.98px) {
  .store-nav-dd { width: 100%; }
  .store-nav-dd > summary { padding: 12px 0; font-size: var(--font-size-base); }
  .store-nav-dd-menu { position: static; box-shadow: none; border: none; padding: 4px 0 4px var(--space-4); min-width: 0; }
  .store-nav-dd-menu a { padding: 10px 12px; font-size: var(--font-size-base); }
}

/* Nota de transparencia de IA (fichas de productos con IA) */
.store-ia-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 660px;
  margin: var(--space-4) auto 0;
  padding: var(--space-3) var(--space-5);
  background: var(--color-accent-50);
  border: 1px solid var(--color-accent-100);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-xs);
  color: var(--color-accent-700);
  text-align: center;
  line-height: 1.45;
}
.store-ia-note svg { flex-shrink: 0; color: var(--color-accent-600); }

/* Nota de producto relacionado (IG One vs IG One 360 · evita confusión) */
.store-related-note {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-5);
  background: var(--bg-elevated);
  border: 1px solid var(--rule-color);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.store-related-note a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.store-related-note a:hover { color: var(--color-accent-600); }

/* Áreas de característica ampliadas (ficha de producto · sustituyen al
   checklist plano cuando el producto trae `feature_areas` en productos.json) */
.store-feature-areas {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--rule-color);
}
.store-feature-area:not(:first-child) {
  padding-top: var(--space-10);
  border-top: 1px solid var(--rule-color);
}
.store-feature-area-title {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-3);
}
.store-feature-area-lead {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 68ch;
  margin: 0 0 var(--space-6);
}
.store-feature-area-points { gap: var(--space-4); }
.store-feature-area-points .store-for-whom-card { padding: var(--space-5); }

/* ── ¿Usuario completo o empleado? (lib/seats-guide.php) ─────────────
   Navy = usuario completo (acceso ERP) · verde = empleado (asiento ligero).
   Mismo código de color en tarjetas, gráfico y ejemplos para que se lea
   de un vistazo. */
.sg-section {
  --sg-erp: var(--brand);
  --sg-erp-soft: var(--color-primary-100, #C8D0DC);
  --sg-light: var(--color-accent-600, #15803D);
  --sg-light-soft: #DCFCE7;
}
.sg-intro {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 0 var(--space-8);
  line-height: 1.6;
}
.sg-sub {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  letter-spacing: -0.015em;
  margin: 0;
}
.sg-sub--center { margin: var(--space-12, 48px) 0 var(--space-6); }

/* Personas (iconos) */
.sg-person { display: inline-flex; width: 22px; height: 22px; }
.sg-person svg { width: 100%; height: 100%; }
.sg-person--erp svg   { fill: var(--sg-erp); }
.sg-person--light svg { fill: var(--sg-light); }
.sg-person-more {
  display: inline-flex; align-items: center;
  font-size: var(--font-size-xs); font-weight: 700;
  padding: 2px 8px; border-radius: 999px; margin-left: 2px;
}
.sg-person-more--erp   { background: var(--sg-erp-soft); color: var(--sg-erp); }
.sg-person-more--light { background: var(--sg-light-soft); color: var(--sg-light); }

/* Tarjetas */
.sg-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  max-width: 1000px;
}
.sg-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--sg-erp);
  border-radius: 16px;
  padding: var(--space-6);
}
.sg-card--light { border-top-color: var(--sg-light); }
.sg-card-head { display: flex; gap: var(--space-4); align-items: center; margin-bottom: var(--space-4); }
.sg-card-avatar {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sg-erp-soft);
}
.sg-card--light .sg-card-avatar { background: var(--sg-light-soft); }
.sg-card-avatar .sg-person { width: 28px; height: 28px; }
.sg-card-title { font-family: var(--font-display); font-size: var(--font-size-xl); margin: 0 0 4px; }
.sg-card-tag {
  display: inline-block;
  font-size: var(--font-size-xs); font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  background: var(--sg-erp-soft); color: var(--sg-erp);
}
.sg-card--light .sg-card-tag { background: var(--sg-light-soft); color: var(--sg-light); }
.sg-card-who { color: var(--text-muted); line-height: 1.55; margin: 0 0 var(--space-4); }
.sg-card-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sg-card-list li { position: relative; padding-left: 26px; line-height: 1.45; }
.sg-card-list li::before {
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.sg-yes::before { content: '✓'; background: var(--sg-light-soft); color: var(--sg-light); }
.sg-no { color: var(--text-muted); }
.sg-no::before  { content: '✕'; background: #FEE2E2; color: #B91C1C; }

/* Sin límite (IG 360) */
.sg-unlimited {
  max-width: 1000px; margin: var(--space-8) 0 0;
  display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center;
}
.sg-unlimited-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; font-weight: 700;
  background: var(--sg-erp-soft); color: var(--sg-erp);
}
.sg-unlimited-item--light { background: var(--sg-light-soft); color: var(--sg-light); }
.sg-inf { font-size: 1.6em; line-height: 1; }
.sg-unlimited p { flex-basis: 100%; margin: var(--space-2) 0 0; color: var(--text-muted); }

/* Gráfico */
.sg-chart {
  max-width: 1000px; margin: var(--space-12, 48px) 0 0;
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  padding: var(--space-6);
}
.sg-chart-head {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  justify-content: space-between; align-items: center;
  margin-bottom: var(--space-5);
}
.sg-legend { display: flex; gap: var(--space-4); font-size: var(--font-size-sm); color: var(--text-muted); }
.sg-legend-item::before {
  content: ''; display: inline-block; width: 12px; height: 12px;
  border-radius: 3px; margin-right: 6px; vertical-align: -1px;
  background: var(--sg-erp);
}
.sg-legend-item--light::before { background: var(--sg-light); }
.sg-chart-row {
  display: grid; grid-template-columns: 130px 1fr; gap: var(--space-4);
  align-items: center; padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
}
.sg-chart-row:first-of-type { border-top: 0; }
.sg-chart-plan { display: flex; flex-direction: column; line-height: 1.25; }
.sg-chart-plan span { font-size: var(--font-size-sm); color: var(--text-muted); }
.sg-chart-row.is-popular .sg-chart-plan strong { color: var(--brand); }
.sg-chart-bars { display: grid; gap: 6px; }
.sg-bar-track { display: flex; align-items: center; gap: 10px; }
.sg-bar {
  height: 14px; width: var(--w); max-width: calc(100% - 48px); border-radius: 999px;
  background: var(--sg-erp);
  transform-origin: left center;
  animation: sg-grow .7s var(--ease-out-quart, ease-out) both;
}
.sg-bar--light { background: var(--sg-light); }
.sg-bar.is-inf { width: calc(100% - 40px); }
.sg-bar--erp.is-inf   { background: linear-gradient(90deg, var(--sg-erp) 70%, transparent); }
.sg-bar--light.is-inf { background: linear-gradient(90deg, var(--sg-light) 70%, transparent); }
.sg-bar-num { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 30px; }
.sg-chart-note {
  margin: var(--space-5) 0 0; padding-top: var(--space-4);
  border-top: 1px dashed var(--border);
  color: var(--text-muted); font-size: var(--font-size-sm);
}
@keyframes sg-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Ejemplos */
.sg-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-5);
}
.sg-example {
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  padding: var(--space-5); display: flex; flex-direction: column;
}
.sg-example-title { font-family: var(--font-display); font-size: var(--font-size-lg); margin: 0 0 6px; }
.sg-example-desc { color: var(--text-muted); font-size: var(--font-size-sm); line-height: 1.5; margin: 0 0 var(--space-4); }
.sg-team { display: grid; gap: var(--space-3); margin-bottom: var(--space-4); }
.sg-team-label { display: block; font-size: var(--font-size-xs); font-weight: 700; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; }
.sg-team-people { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.sg-example-result {
  margin-top: auto;
  background: var(--bg-elevated); border-radius: 12px; padding: var(--space-4);
}
.sg-example-plan { display: block; font-size: var(--font-size-sm); margin-bottom: var(--space-2); }
.sg-example-plan strong { color: var(--brand); font-size: var(--font-size-base, 1rem); }
.sg-example-lines { list-style: none; padding: 0; margin: 0 0 var(--space-2); display: grid; gap: 4px; }
.sg-example-lines li { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--font-size-sm); color: var(--text-muted); }
.sg-example-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sg-example-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--border); padding-top: var(--space-2);
}
.sg-example-total strong { font-family: var(--font-display); font-size: var(--font-size-2xl, 1.5rem); font-variant-numeric: tabular-nums; }
.sg-example-total small { font-size: var(--font-size-sm); color: var(--text-muted); font-weight: 500; margin-left: 2px; }
.sg-examples-note { color: var(--text-muted); font-size: var(--font-size-sm); margin: var(--space-5) 0 0; }

@media (max-width: 600px) {
  .sg-chart { padding: var(--space-4); }
  .sg-chart-row { grid-template-columns: 1fr; gap: var(--space-2); }
  .sg-chart-plan { flex-direction: row; gap: var(--space-2); align-items: baseline; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-bar { animation: none; }
}
/* ------------------------------------------------------------
 * ARGUMENTARIO DE VENTA EN LA FICHA (producto.php) - 2026-09-23
 * Una sola pagina por servicio: migas, titular de venta,
 * "Te suena?" y comparativa "alternativa vs nosotros".
 * ------------------------------------------------------------ */
.store-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Migas sobre el hero claro de la ficha */
.store-cat-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.store-cat-crumbs a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-color); }
.store-cat-crumbs a:hover { color: var(--brand); }
.store-cat-crumbs span:last-child { color: var(--text); font-weight: 600; }

/* Titular de venta bajo el nombre del producto */
.store-product-pitch {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--text);
  margin: var(--space-3) 0 var(--space-3);
  max-width: 28ch;
  text-wrap: balance;
}

/* Te suena? - dolores del cliente */
.store-cat-pains-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 700px) { .store-cat-pains-grid { grid-template-columns: repeat(2, 1fr); } }
.store-cat-pain {
  background: var(--bg-elevated);
  border: 1px solid var(--rule-color);
  border-left: 3px solid #E5484D;
  border-radius: 14px;
  padding: var(--space-5) var(--space-6);
}
.store-cat-pain-title {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}
.store-cat-pain-desc { margin: 0; color: var(--text-muted); line-height: 1.55; }

/* Comparativa: alternativa vs nosotros */
.store-cat-compare {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border: 1px solid var(--rule-color);
  border-radius: 14px;
  overflow: hidden;
  font-size: var(--font-size-sm);
}
.store-cat-compare th,
.store-cat-compare td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule-color);
  line-height: 1.45;
}
.store-cat-compare tbody tr:last-child th,
.store-cat-compare tbody tr:last-child td { border-bottom: 0; }
.store-cat-compare thead th {
  font-family: var(--font-display);
  font-size: var(--font-size-base);
  font-weight: 700;
  background: var(--bg-elevated);
}
.store-cat-compare thead th.is-us { background: var(--color-primary-700); color: white; }
.store-cat-compare tbody th { font-weight: 600; width: 30%; }
.store-cat-compare td.is-them { color: var(--text-muted); }
.store-cat-compare td.is-us {
  font-weight: 600;
  background: rgba(34, 197, 94, 0.06);
}
.store-cat-compare td.is-us::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 800;
  margin-right: 8px;
}
/* Movil: la columna "nosotros" es la que vende, tiene que verse sin scroll */
@media (max-width: 600px) {
  .store-cat-compare { min-width: 0; font-size: var(--font-size-xs); }
  .store-cat-compare th,
  .store-cat-compare td { padding: var(--space-3) 10px; }
  .store-cat-compare thead th { font-size: var(--font-size-sm); }
  .store-cat-compare tbody th { width: 28%; }
  .store-cat-compare td.is-us::before { margin-right: 4px; }
}
