/* ═══════════════════════════════════════════════════════════════════
   DyCPOS Store — Hoja de estilos principal
   Paleta: #00bcd4 (brand) + blanco + tinta oscura
   ═══════════════════════════════════════════════════════════════════ */

/* ── Variables de marca ────────────────────────────────────────── */
:root {
  --brand:        #00bcd4;
  --brand-dark:   #0097a7;
  --brand-darker: #006064;
  --brand-light:  #e0f7fa;
  --brand-xlight: #f0fdff;
  --white:        #ffffff;
  --ink:          #0f2a3d;
  --ink-soft:     #1e3a4f;
  --gray:         #5b6b76;
  --gray-light:   #9eacb4;
  --gray-border:  #dde4e8;
  --bg-soft:      #f5f8fa;
  --bg-page:      #f8fafb;
  --success:      #2e7d32;
  --success-bg:   #e8f5e9;
  --warning:      #e65100;
  --warning-bg:   #fff3e0;
  --danger:       #c62828;
  --danger-bg:    #ffebee;
  --info:         #0277bd;
  --info-bg:      #e1f5fe;

  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 8px rgba(15,42,61,.07);
  --shadow:       0 6px 24px rgba(15,42,61,.10);
  --shadow-lg:    0 12px 40px rgba(15,42,61,.14);
  --transition:   .18s ease;

  --font-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-size-base: 16px;
  --container: 1200px;
  --header-h: 68px;
}

/* ── Reset / Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--bg-page);
  line-height: 1.6;
  min-height: 100vh;
}

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

a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand-darker); text-decoration: underline; }

button, input, select, textarea { font: inherit; }

ul, ol { list-style: none; }

/* ── Tipografía ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--ink);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -.015em;
}

/* Íconos SVG inline — alineados con texto */
svg { flex-shrink: 0; }
.btn svg, .chip svg, .epic-tag svg,
.how-list li svg, .bento-report-chips svg,
.pos-pay-chip svg, .rubro-card-link svg,
.combo-check svg, .pos-line-promo svg,
.how-visual-tags span svg {
  display: inline-block;
  vertical-align: middle;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: .75rem; }
p:last-child { margin-bottom: 0; }

.text-brand   { color: var(--brand-dark); }
.text-gray    { color: var(--gray); }
.text-small   { font-size: .875rem; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }

/* ── Layout ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: 4rem; }
.section-sm { padding-block: 2.5rem; }

/* Grid genérico */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

@media (max-width:900px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── Header / Navbar ────────────────────────────────────────────── */
.site-topbar {
  background: var(--brand-darker);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  text-align: center;
  padding: .45rem 1rem;
}
.site-topbar a { color: rgba(255,255,255,.9); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(15,42,61,.08);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.site-logo span { color: var(--brand); }
.site-logo img { height: 38px; width: auto; }

/* Nav */
.site-nav { display: flex; gap: .1rem; }
.site-nav a {
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background var(--transition), color var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  background: var(--brand-light);
  color: var(--brand-darker);
  text-decoration: none;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* Botón carrito */
.btn-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: .5rem .9rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}
.btn-cart:hover { background: var(--brand-dark); color: var(--white); text-decoration: none; }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--danger);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Menú hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--ink);
  font-size: 1.4rem;
}

@media (max-width:768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--gray-border);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .menu-toggle { display: block; }
}

/* ── Botones ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.3;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-primary   { background: var(--brand); color: var(--white); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }

.btn-secondary { background: var(--white); color: var(--brand-dark); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand-light); }

.btn-dark      { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-soft); color: var(--white); }

.btn-danger    { background: var(--danger); color: var(--white); border-color: var(--danger); }

.btn-ghost     { background: transparent; color: var(--ink); border-color: var(--gray-border); }
.btn-ghost:hover { background: var(--bg-soft); }

.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem .9rem; font-size: .85rem; }
.btn-full { width: 100%; }

/* ── Tarjetas ────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-body   { padding: 1.5rem; }
.card-footer { padding: 1rem 1.5rem; background: var(--bg-soft); border-top: 1px solid var(--gray-border); }

/* ── Badges ──────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
}
.badge-brand   { background: var(--brand-light);  color: var(--brand-darker); }
.badge-success { background: var(--success-bg);   color: var(--success); }
.badge-warning { background: var(--warning-bg);   color: var(--warning); }
.badge-danger  { background: var(--danger-bg);    color: var(--danger); }
.badge-gray    { background: var(--bg-soft);      color: var(--gray); }
.badge-dark    { background: var(--ink);          color: var(--white); }

/* ── Formularios ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .35rem;
}
.form-control {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-size: .95rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,188,212,.15);
}
.form-control.error { border-color: var(--danger); }
.form-error { font-size: .82rem; color: var(--danger); margin-top: .25rem; }
.form-hint  { font-size: .82rem; color: var(--gray); margin-top: .25rem; }

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }

/* ── Alerts ──────────────────────────────────────────────────────── */
.alert {
  padding: .9rem 1.2rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid;
  font-size: .93rem;
  margin-bottom: 1.25rem;
}
.alert-success { background: var(--success-bg); border-color: var(--success); color: var(--success); }
.alert-danger  { background: var(--danger-bg);  border-color: var(--danger);  color: var(--danger); }
.alert-warning { background: var(--warning-bg); border-color: var(--warning); color: var(--warning); }
.alert-info    { background: var(--info-bg);    border-color: var(--info);    color: var(--info); }
.alert-brand   { background: var(--brand-light);border-color: var(--brand);   color: var(--brand-darker); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 55%, var(--brand-dark) 100%);
  color: var(--white);
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,188,212,.18) 0%, transparent 65%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content .eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
}
.hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.hero-content p  { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img { display: flex; justify-content: center; }
.hero-img img {
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

@media (max-width:768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img   { display: none; }
  .hero { padding-block: 3.5rem 3rem; }
}

/* ── Value props strip ───────────────────────────────────────────── */
.value-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding-block: 1.5rem;
}
.value-strip-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
}
.value-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.value-item-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-darker);
  font-size: 1.1rem;
}
.value-item span { font-size: .8rem; font-weight: 400; color: var(--gray); display: block; }

@media (max-width:768px) {
  .value-strip-inner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:480px) {
  .value-strip-inner { grid-template-columns: 1fr; }
}

/* ── Sección título ───────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header p { color: var(--gray); font-size: 1.05rem; max-width: 560px; margin-inline: auto; }

/* ── Product Card ─────────────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  overflow: hidden;
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--brand);
}
.product-card.featured {
  border-color: var(--brand);
  position: relative;
}
.product-card.featured::before {
  content: 'Más popular';
  position: absolute;
  top: 1rem; right: -1px;
  background: var(--brand);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.product-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-soft);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.product-card-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  margin-block: .75rem .5rem;
}
.product-card-price small {
  font-size: .85rem;
  font-weight: 400;
  color: var(--gray);
  display: block;
  margin-top: .1rem;
}
.product-card-features {
  list-style: none;
  font-size: .88rem;
  color: var(--gray);
  margin-bottom: 1rem;
  flex: 1;
}
.product-card-features li {
  display: flex;
  gap: .5rem;
  padding: .3rem 0;
  border-bottom: 1px solid var(--bg-soft);
}
.product-card-features li::before { content: '✓'; color: var(--brand); font-weight: 700; }
.product-card-actions { display: flex; flex-direction: column; gap: .6rem; }

/* ── Tabla comparativa ─────────────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare-table th, .compare-table td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-border);
}
.compare-table th { background: var(--bg-soft); font-weight: 700; color: var(--ink-soft); }
.compare-table th.brand-col { background: var(--brand-light); color: var(--brand-darker); }
.compare-table td.check { text-align: center; font-size: 1.1rem; color: var(--brand-dark); }
.compare-table td.dash  { text-align: center; color: var(--gray-light); }

/* ── Módulos grid ─────────────────────────────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 1.25rem;
}
.module-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.module-item:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.module-icon {
  font-size: 1.6rem;
  width: 48px; height: 48px;
  background: var(--brand-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.module-item h4 { font-size: .95rem; }
.module-item p  { font-size: .82rem; color: var(--gray); margin: 0; }

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding-block: 3rem 1.5rem;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand .site-logo { color: var(--white); margin-bottom: .75rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-col h5 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a  { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-col a:hover { color: var(--brand); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

@media (max-width:768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Status / orden badges ────────────────────────────────────────── */
.status-pendiente_pago  { background: var(--warning-bg); color: var(--warning); }
.status-pagada          { background: var(--info-bg);    color: var(--info); }
.status-en_preparacion  { background: var(--info-bg);    color: var(--info); }
.status-despachada      { background: var(--brand-light); color: var(--brand-darker); }
.status-entregada       { background: var(--success-bg); color: var(--success); }
.status-cancelada,
.status-reembolsada     { background: var(--danger-bg);  color: var(--danger); }

/* ── Utilidades ──────────────────────────────────────────────────── */
.d-flex  { display: flex; }
.d-grid  { display: grid; }
.gap-1   { gap: .5rem; }
.gap-2   { gap: 1rem; }
.gap-3   { gap: 1.5rem; }
.items-center  { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.py-2 { padding-block: 1rem; }
.w-full { width: 100%; }
.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;
}

/* ═══════════════════════════════════════════════════════════════════
   REDISEÑO HEADER E-COMMERCE
   ═══════════════════════════════════════════════════════════════════ */

/* Topbar */
.site-topbar {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  padding: .4rem 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-inner a { color: rgba(255,255,255,.9); }
.topbar-sep { color: rgba(255,255,255,.3); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1.5px solid var(--gray-border);
  box-shadow: 0 2px 12px rgba(15,42,61,.07);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo span { color: var(--brand); }
.site-logo img  { height: 36px; width: auto; }

/* Nav */
.site-nav {
  display: flex;
  gap: 0;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  padding: .55rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active {
  background: var(--brand-xlight);
  color: var(--brand-darker);
  text-decoration: none;
}

/* Header user button */
.header-user-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-border);
  color: var(--ink);
  font-size: .8rem;
  line-height: 1.3;
  transition: border-color var(--transition);
  white-space: nowrap;
}
.header-user-btn:hover { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; }
.header-user-btn strong { font-size: .85rem; }
.header-user-btn small  { color: var(--gray); font-weight: 400; }

/* Cart button */
.btn-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand);
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: .5rem 1rem;
  font-weight: 700;
  font-size: .88rem;
  transition: background var(--transition);
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-cart:hover { background: var(--brand-dark); }
.cart-count {
  position: absolute;
  top: -7px; right: -7px;
  background: var(--danger);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  min-width: 19px; height: 19px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--ink);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-bottom: 2px solid var(--brand);
    box-shadow: var(--shadow-lg);
    z-index: 199;
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: .75rem 1rem; font-size: 1rem; }
  .menu-toggle { display: flex; }
  .header-user-btn span { display: none; }
  .cart-label { display: none; }
}

/* ── Toast ─────────────────────────────────────────────────────── */
.store-toast {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: #fff;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  white-space: nowrap;
}
.store-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.store-toast-success { background: var(--brand-dark); }
.store-toast-error   { background: var(--danger); }

/* WhatsApp button */
.btn-wa {
  background: #25d366 !important;
  color: #fff !important;
  border-color: #25d366 !important;
}
.btn-wa:hover { background: #128c5e !important; border-color: #128c5e !important; }

/* ═══════════════════════════════════════════════════════════════════
   NUEVO HOME — HERO
   ═══════════════════════════════════════════════════════════════════ */

.hero-section {
  background: var(--ink);
  padding: 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 420px;
}

/* Columna izq: banner principal */
.hero-main {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, #0d3a4f 100%);
  display: flex;
  align-items: center;
  padding: 3rem 2rem 3rem 1.5rem;
  overflow: hidden;
}
.hero-main::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,188,212,.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-main-inner { position: relative; z-index: 1; max-width: 560px; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(0,188,212,.15);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(0,188,212,.3);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-highlight {
  color: var(--brand);
  position: relative;
}
.hero-sub {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.chip {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
}

.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Columna der: 3 mini-banners */
.hero-products {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255,255,255,.08);
}
.hero-product-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.hero-product-card:last-child { border-bottom: none; }
.hero-product-card:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }

.hero-product-digital_license  { background: rgba(0,151,167,.12); }
.hero-product-cloud_provision  { background: rgba(0,188,212,.14); }
.hero-product-physical_shipment{ background: rgba(15,42,61,.4); }

.hero-product-emoji { font-size: 2.2rem; flex-shrink: 0; }
.hero-product-info  { flex: 1; min-width: 0; }
.hero-product-name  { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.hero-product-price { font-size: .82rem; color: var(--brand); font-weight: 700; margin-top: .2rem; }
.hero-product-badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: .15rem .5rem;
  border-radius: 4px;
  margin-top: .25rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { padding: 2.5rem 1.25rem; }
  .hero-products {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.08);
    overflow-x: auto;
  }
  .hero-product-card {
    flex-direction: column;
    text-align: center;
    min-width: 140px;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,.08);
    padding: 1rem;
  }
  .hero-product-card:last-child { border-right: none; }
  .hero-product-card > svg { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   BENEFITS STRIP
   ═══════════════════════════════════════════════════════════════════ */
.benefits-strip {
  background: #fff;
  border-bottom: 1.5px solid var(--gray-border);
  padding-block: 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.5rem;
  border-right: 1px solid var(--gray-border);
  font-size: .86rem;
  line-height: 1.4;
}
.benefit-item:last-child { border-right: none; }
.benefit-icon { font-size: 1.5rem; flex-shrink: 0; }
.benefit-item strong { display: block; font-weight: 700; font-size: .88rem; }
.benefit-item span   { color: var(--gray); font-size: .8rem; }

@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-item:nth-child(2) { border-right: none; }
  .benefit-item { padding: .9rem 1rem; }
}
@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-item { border-right: none; border-bottom: 1px solid var(--gray-border); }
}

/* ═══════════════════════════════════════════════════════════════════
   RUBROS GRID
   ═══════════════════════════════════════════════════════════════════ */
.rubros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.rubro-card {
  background: var(--rubro-bg, var(--brand));
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.5rem;
  color: #fff;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.rubro-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.15);
  transition: background .2s;
}
.rubro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.rubro-card:hover::before { background: rgba(0,0,0,.05); }
.rubro-emoji {
  font-size: 2.8rem;
  margin-bottom: .5rem;
  position: relative;
  z-index: 1;
}
.rubro-nombre {
  font-size: 1.05rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}
.rubro-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.8);
  position: relative;
  z-index: 1;
  margin-top: .2rem;
}

@media (max-width: 768px) { .rubros-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rubros-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   COMBOS
   ═══════════════════════════════════════════════════════════════════ */
.combos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.combo-card {
  background: #fff;
  border-radius: var(--radius);
  border: 2px solid var(--gray-border);
  padding: 2rem 1.5rem;
  transition: box-shadow .2s, border-color .2s, transform .2s;
  position: relative;
}
.combo-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.combo-card-featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,188,212,.12);
}
.combo-badge {
  position: absolute;
  top: -1px; right: 1.25rem;
  background: var(--brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: .3rem .8rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-brand   { background: var(--brand); }
.badge-success { background: var(--success); }
.badge-warning { background: #f59e0b; }

.combo-ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--brand-xlight);
  color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.combo-card-featured .combo-ico { background: var(--brand); color: #fff; }
.combo-nombre { font-size: 1.2rem; font-weight: 800; margin-bottom: .4rem; }
.combo-desc   { color: var(--gray); font-size: .88rem; margin-bottom: 1rem; }

.combo-price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--brand-darker);
  margin-bottom: 1.25rem;
  line-height: 1;
}
.combo-price small {
  font-size: .75rem;
  font-weight: 500;
  color: var(--gray);
  display: block;
  margin-top: .2rem;
}

.combo-features {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.combo-features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.combo-check {
  color: var(--brand);
  display: inline-flex;
  flex-shrink: 0;
}
.combo-more { color: var(--brand-dark); font-weight: 600; font-size: .82rem; }

.combo-actions { display: flex; flex-direction: column; gap: .5rem; margin-top: auto; }
.combo-card { display: flex; flex-direction: column; }

@media (max-width: 900px) { .combos-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ═══════════════════════════════════════════════════════════════════
   PARTNERS STRIP
   ═══════════════════════════════════════════════════════════════════ */
.partners-strip {
  background: var(--bg-soft);
  border-top: 1.5px solid var(--gray-border);
  border-bottom: 1.5px solid var(--gray-border);
  padding-block: 1.5rem;
}
.partners-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1rem;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  opacity: .7;
  transition: opacity .2s;
  line-height: 1.1;
}
.partner-logo:hover { opacity: 1; }
.partner-logo small { font-size: .65rem; font-weight: 400; color: var(--gray); }

/* ═══════════════════════════════════════════════════════════════════
   MÓDULOS
   ═══════════════════════════════════════════════════════════════════ */
.section-modules { background: var(--bg-soft); }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.module-item {
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-border);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  transition: border-color .2s, box-shadow .2s;
}
.module-item:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.module-icon  { font-size: 1.5rem; }
.module-item strong { font-size: .88rem; font-weight: 700; color: var(--ink); }
.module-item span   { font-size: .78rem; color: var(--gray); line-height: 1.4; }

@media (max-width: 900px) { .modules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .modules-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════════════════════════ */
.cta-final {
  background: var(--ink);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: transparent;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-inner h2 { color: #fff; margin-bottom: 1rem; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-inner p  { color: rgba(255,255,255,.7); max-width: 520px; margin-inline: auto; margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════════════════════════ */
.video-section {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    rgba(8,34,47,.88);
}
.video-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 3.5rem;
  color: #fff;
}
.video-heading { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.video-heading h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: .75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.video-heading p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
}

.video-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.video-benefit {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform .2s, background .2s;
}
.video-benefit:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.16);
}
.video-benefit-icon {
  width: 54px; height: 54px;
  margin: 0 auto .75rem;
  border-radius: 16px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.video-benefit strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.video-benefit span {
  font-size: .85rem;
  color: rgba(255,255,255,.78);
}
.video-cta { text-align: center; }

@media (max-width: 768px) {
  .video-benefits { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .video-benefit { padding: 1.1rem .85rem; }
  .video-benefit-icon { font-size: 2rem; }
}
@media (max-width: 460px) {
  .video-benefits { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   CÓMO FUNCIONA (filas alternadas)
   ═══════════════════════════════════════════════════════════════════ */
.how-row {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.how-row:last-child { margin-bottom: 0; }
.how-row-reverse .how-visual { order: 2; }
.how-row-reverse .how-text   { order: 1; }

/* Visual */
.how-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem;
  color: #fff;
  overflow: hidden;
}
.how-visual-fisico   { background: var(--ink); }
.how-visual-nube     { background: var(--brand-dark); }
.how-visual-software { background: var(--brand-darker); }
.how-visual::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 280px; height: 280px;
  background: transparent;
}
.how-visual-emoji {
  font-size: 5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.25));
}
.how-visual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.how-visual-tags span {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .8rem;
  font-weight: 600;
}

/* Texto */
.how-text { padding: 2.5rem 2.5rem 2.5rem 0; }
.how-row-reverse .how-text { padding: 2.5rem 0 2.5rem 2.5rem; }

.how-step {
  display: inline-block;
  background: var(--brand-xlight);
  color: var(--brand-darker);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: .85rem;
}
.how-step-nube { background: #e0f7fa; color: var(--brand-dark); }
.how-step-soft { background: #e0f2f1; color: #00695c; }

.how-text h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: .75rem; }
.how-text p  { color: var(--gray); font-size: .95rem; line-height: 1.7; margin-bottom: .75rem; }
.how-text strong { color: var(--ink); }

.how-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin: 1.25rem 0;
}
.how-list li {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.how-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1.5px solid var(--gray-border);
}
.how-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-darker);
}
.how-price small { font-size: .8rem; font-weight: 500; color: var(--gray); }

@media (max-width: 860px) {
  .how-row, .how-row-reverse {
    grid-template-columns: 1fr;
  }
  .how-row-reverse .how-visual { order: 1; }
  .how-row-reverse .how-text   { order: 2; }
  .how-visual { min-height: 220px; padding: 2rem; }
  .how-visual-emoji { font-size: 3.5rem; }
  .how-text,
  .how-row-reverse .how-text { padding: 1.75rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO ÉPICO
   ═══════════════════════════════════════════════════════════════════ */
.epic-hero {
  position: relative;
  background: #08222f;
  overflow: hidden;
  padding-block: 4rem;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.epic-hero-bg { position: absolute; inset: 0; z-index: 0; }
.epic-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.epic-glow-1 {
  top: -120px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, #00bcd4 0%, transparent 70%);
}
.epic-glow-2 {
  bottom: -160px; left: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, #0097a7 0%, transparent 70%);
  opacity: .35;
}
.epic-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 75%);
}

.epic-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}

/* Texto */
.epic-hero-text { color: #fff; }
.epic-tag {
  display: inline-block;
  background: rgba(0,188,212,.15);
  border: 1px solid rgba(0,188,212,.4);
  color: #4dd0e1;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.epic-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.epic-title-accent { color: var(--brand); }
.epic-title-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--brand);
  text-stroke: 2px var(--brand);
}
.epic-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.epic-hero-ctas { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 2.25rem; }

.epic-hero-stats {
  display: flex;
  gap: 2.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
}
.epic-hero-stats div { display: flex; flex-direction: column; }
.epic-hero-stats strong {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}
.epic-hero-stats span { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: .25rem; }

/* ── Mockup POS ───────────────────────────────────────────────── */
.epic-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pos-device {
  position: relative;
  width: 100%;
  max-width: 420px;
  transform: perspective(1400px) rotateY(-12deg) rotateX(4deg);
  transform-style: preserve-3d;
}
.pos-screen {
  background: linear-gradient(160deg, #0d2330 0%, #123243 100%);
  border: 3px solid #1c4257;
  border-radius: 16px 16px 4px 4px;
  padding: 1rem;
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(0,188,212,.2) inset;
}
.pos-screen-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: .75rem;
}
.pos-dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 8px #2ecc71; }
.pos-screen-title { color: #fff; font-size: .82rem; font-weight: 700; flex: 1; }
.pos-screen-time { color: rgba(255,255,255,.5); font-size: .75rem; }
.pos-screen-body { display: flex; flex-direction: column; gap: .45rem; margin-bottom: .75rem; }
.pos-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.05);
  border-radius: 7px;
  padding: .5rem .7rem;
  font-size: .8rem;
  color: rgba(255,255,255,.85);
}
.pos-line b { color: #fff; font-weight: 700; }
.pos-line-promo { background: rgba(0,188,212,.14); color: #4dd0e1; }
.pos-line-promo b { color: #4dd0e1; }
.pos-screen-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--brand);
  border-radius: 9px;
  padding: .7rem .9rem;
  margin-bottom: .75rem;
}
.pos-screen-total span { color: #02343c; font-weight: 800; font-size: .85rem; letter-spacing: .05em; }
.pos-screen-total b { color: #fff; font-size: 1.35rem; font-weight: 900; }
.pos-screen-pay { display: flex; gap: .4rem; flex-wrap: wrap; }
.pos-pay-chip {
  font-size: .68rem;
  font-weight: 700;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.12);
}
.pos-pay-qr { background: rgba(0,188,212,.2); color: #4dd0e1; border-color: rgba(0,188,212,.4); }

/* Impresora + ticket */
.pos-printer {
  position: absolute;
  bottom: -34px; right: 24px;
  width: 120px; height: 56px;
  background: linear-gradient(180deg, #1a3b4d, #0d2531);
  border-radius: 8px;
  border: 2px solid #21495e;
  z-index: -1;
}
.pos-ticket {
  position: absolute;
  top: -46px; left: 50%;
  transform: translateX(-50%);
  width: 86px;
  background: #fff;
  border-radius: 3px 3px 0 0;
  padding: .5rem .45rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.pos-ticket-line { height: 4px; background: #d0d8dd; border-radius: 2px; margin-bottom: 4px; }
.pos-ticket-line.short { width: 60%; }
.pos-ticket-qr { font-size: 1.6rem; line-height: 1; text-align: center; color: #0f2a3d; margin: 2px 0; }
.pos-ticket-cae { font-size: .5rem; text-align: center; color: #5b6b76; font-weight: 700; }

.epic-hero-badge {
  position: absolute;
  bottom: 6px; left: -10px;
  background: #fff;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 800;
  padding: .55rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

@media (max-width: 900px) {
  .epic-hero-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .epic-hero-visual { order: -1; }
  .pos-device { transform: none; max-width: 360px; }
  .epic-hero-stats { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .epic-hero-stats { flex-wrap: wrap; gap: 1rem 2rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   RUBROS V2 — cards con foto + explicación
   ═══════════════════════════════════════════════════════════════════ */
.rubro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.rubro-card-v2 {
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.rubro-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Media (foto o fallback de marca con watermark) */
.rubro-card-media {
  position: relative;
  height: 200px;
  background: var(--brand-dark);
  overflow: hidden;
}
.rubro-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform .4s ease;
}
.rubro-card-v2:hover .rubro-card-media img { transform: scale(1.06); }
.rubro-card-media img.img-missing { display: none; }
.rubro-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(8,34,47,.42);
}
/* watermark de ícono (se ve cuando no hay foto) */
.rubro-card-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  z-index: 1;
  color: rgba(255,255,255,.22);
}
.rubro-card-tag {
  position: absolute;
  bottom: 1rem; left: 1.2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.rubro-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rubro-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: .6rem;
  color: var(--ink);
}
.rubro-card-body p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}
.rubro-card-body strong { color: var(--brand-darker); font-weight: 700; }
.rubro-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--brand-dark);
}
.rubro-card-link:hover { gap: .6rem; text-decoration: none; color: var(--brand-darker); }
.rubro-card-link svg { transition: transform .2s; }

@media (max-width: 900px) { .rubro-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rubro-cards { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   WHATSAPP FLOTANTE
   ═══════════════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 900;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
  transition: width .3s ease, border-radius .3s ease, transform .2s;
  overflow: hidden;
  white-space: nowrap;
}
.wa-float:hover {
  width: 190px;
  border-radius: 30px;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
.wa-float svg { flex-shrink: 0; }
.wa-float-text {
  font-weight: 800;
  font-size: .95rem;
  opacity: 0;
  max-width: 0;
  transition: opacity .25s ease, max-width .3s ease, margin .3s ease;
}
.wa-float:hover .wa-float-text { opacity: 1; max-width: 120px; margin-left: .5rem; }
.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 600px) {
  .wa-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .wa-float:hover { width: 54px; border-radius: 50%; }
  .wa-float:hover .wa-float-text { opacity: 0; max-width: 0; margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   GANCHO — Antes / Después
   ═══════════════════════════════════════════════════════════════════ */
.hook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}
.hook-col {
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.hook-col-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hook-col ul { display: flex; flex-direction: column; gap: .85rem; }
.hook-col li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .95rem;
  line-height: 1.4;
}
.hook-col li svg { margin-top: 1px; flex-shrink: 0; }

.hook-before {
  background: #fff;
  border: 1.5px solid var(--gray-border);
}
.hook-before .hook-col-tag { background: var(--danger-bg); color: var(--danger); }
.hook-before li { color: var(--gray); }
.hook-before li svg { color: var(--gray-light); opacity: .8; }

.hook-after {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.hook-after::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: transparent;
}
.hook-after .hook-col-tag { background: var(--brand); color: #02343c; }
.hook-after li { color: #fff; position: relative; z-index: 1; }
.hook-after li svg { color: var(--brand); }
.hook-after .btn { margin-top: 1.5rem; position: relative; z-index: 1; }

@media (max-width: 700px) { .hook-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════════════════════════ */
.trust-strip {
  background: var(--bg-soft);
  border-top: 1.5px solid var(--gray-border);
  border-bottom: 1.5px solid var(--gray-border);
  padding-block: 1.75rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--ink);
}
.trust-item > svg {
  flex-shrink: 0;
  color: var(--brand-dark);
  background: var(--brand-light);
  width: 46px; height: 46px;
  padding: 10px;
  border-radius: 12px;
}
.trust-item strong { display: block; font-size: .92rem; font-weight: 700; }
.trust-item span   { font-size: .8rem; color: var(--gray); line-height: 1.35; }

@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trust-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   BENTO GRID FEATURES
   ═══════════════════════════════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 1.1rem;
}
.bento-tile {
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.bento-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bento-tile h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .5rem; }
.bento-tile p  { font-size: .88rem; color: var(--gray); line-height: 1.6; }
.bento-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-xlight);
  color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.bento-icon-soft { background: var(--brand-xlight); color: var(--brand-dark); }
.bento-dark  .bento-icon { background: rgba(255,255,255,.1); color: #4dd0e1; }
.bento-brand .bento-icon { background: rgba(255,255,255,.2); color: #fff; }

/* tamaños */
.bento-lg   { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }

/* variantes de color */
.bento-dark  { background: var(--ink); border-color: var(--ink); color: #fff; }
.bento-dark h3 { color: #fff; }
.bento-dark p  { color: rgba(255,255,255,.7); }

.bento-brand { background: var(--brand); border-color: transparent; color: #fff; }
.bento-brand h3 { color: #fff; }
.bento-brand p  { color: rgba(255,255,255,.9); }

/* tile Mercado Pago (grande) */
.bento-mp {
  background: linear-gradient(150deg, #00b1ea 0%, #0079c1 100%);
  border-color: transparent;
  color: #fff;
  position: relative;
  justify-content: flex-start;
}
.bento-mp h3 { color: #fff; font-size: 1.5rem; margin-top: .5rem; }
.bento-mp p  { color: rgba(255,255,255,.92); font-size: .95rem; }
.bento-mp-badge {
  align-self: flex-start;
  background: #fff;
  color: #0079c1;
  font-weight: 800;
  font-size: .8rem;
  padding: .3rem .8rem;
  border-radius: 999px;
}
.bento-mp-visual {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1.25rem;
}
.bento-mp-node {
  background: #fff;
  color: #0079c1;
  width: 88px; height: 88px;
  border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.bento-mp-node-soft {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
}
.bento-mp-node small { font-size: .58rem; font-weight: 700; line-height: 1.2; margin-top: .25rem; }
.bento-mp-arrow { color: rgba(255,255,255,.85); }

/* tile reportes (wide) */
.bento-report-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.bento-report-chips span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--brand-xlight);
  color: var(--brand-darker);
  font-size: .78rem;
  font-weight: 700;
  padding: .35rem .75rem;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-lg   { grid-column: span 2; grid-row: span 1; }
  .bento-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-lg, .bento-wide { grid-column: span 1; }
}

/* ═══════════════════════════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════════════════════════ */
.video-section {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(8,34,47,.9);
}
.video-content { position: relative; z-index: 2; width: 100%; padding-block: 3rem; color: #fff; }
.video-heading { text-align: center; max-width: 720px; margin: 0 auto 2.25rem; }
.video-heading h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: .5rem; }
.video-heading p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.video-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.video-benefit {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform .2s, background .2s;
}
.video-benefit:hover { transform: translateY(-4px); background: rgba(255,255,255,.16); }
.video-benefit-icon {
  width: 54px; height: 54px;
  margin: 0 auto .75rem;
  border-radius: 16px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.video-benefit strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.video-benefit span { font-size: .85rem; color: rgba(255,255,255,.78); }

@media (max-width: 768px) {
  .video-benefits { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .video-benefit { padding: 1.1rem .85rem; }
  .video-benefit-icon { font-size: 2rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   CÓMO FUNCIONA
   ═══════════════════════════════════════════════════════════════════ */
.how-row {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 1.75rem;
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.how-row:last-child { margin-bottom: 0; }
.how-row-reverse .how-visual { order: 2; }
.how-row-reverse .how-text   { order: 1; }
.how-visual {
  position: relative;
  min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem; padding: 2.5rem; color: #fff; overflow: hidden;
}
.how-visual-fisico   { background: var(--ink); }
.how-visual-nube     { background: var(--brand-dark); }
.how-visual-software { background: var(--brand-darker); }
.how-visual::after {
  content: ''; position: absolute; bottom: -80px; right: -80px;
  width: 280px; height: 280px;
  background: transparent;
}
.how-visual-emoji {
  position: relative; z-index: 1;
  width: 96px; height: 96px;
  border-radius: 24px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.how-visual-tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; position: relative; z-index: 1; }
.how-visual-tags span {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: .35rem .85rem; font-size: .8rem; font-weight: 600;
}
.how-text { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.how-step {
  display: inline-block; align-self: flex-start;
  background: var(--brand-xlight); color: var(--brand-darker);
  font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 999px; margin-bottom: .85rem;
}
.how-step-nube { background: #e0f7fa; color: var(--brand-dark); }
.how-step-soft { background: #e0f2f1; color: #00695c; }
.how-text h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: .75rem; }
.how-text p  { color: var(--gray); font-size: .95rem; line-height: 1.7; margin-bottom: .75rem; }
.how-text strong { color: var(--ink); }
.how-list { display: flex; flex-direction: column; gap: .5rem; margin: 1rem 0; }
.how-list li {
  display: flex; align-items: center; gap: .55rem;
  font-size: .88rem; font-weight: 600; color: var(--ink-soft);
}
.how-list li svg { color: var(--brand); }
.how-cta {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  margin-top: 1rem; padding-top: 1.25rem; border-top: 1.5px solid var(--gray-border);
}
.how-price { font-size: 1.6rem; font-weight: 800; color: var(--brand-darker); }
.how-price small { font-size: .8rem; font-weight: 500; color: var(--gray); }

@media (max-width: 860px) {
  .how-row, .how-row-reverse { grid-template-columns: 1fr; }
  .how-row-reverse .how-visual { order: 1; }
  .how-row-reverse .how-text   { order: 2; }
  .how-visual { min-height: 200px; padding: 2rem; }
  .how-visual-emoji { font-size: 3.5rem; }
  .how-text { padding: 1.75rem; }
}

/* ── Quitar estilos viejos del hero que ya no se usan ──────────── */
.hero        { display: none; }
.hero-inner  { display: none; }
.value-strip { display: none; }

.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════════
   SCROLL REVEAL — animaciones al bajar
   ═══════════════════════════════════════════════════════════════════ */
body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(34px);
  will-change: opacity, transform;
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
}
/* La regla de visible debe tener IGUAL o MAYOR especificidad que la de ocultar */
body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* variante: escala suave para tiles destacados */
body.reveal-ready .reveal-zoom {
  opacity: 0;
  transform: scale(.96);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
body.reveal-ready .reveal-zoom.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.reveal-ready .reveal,
  body.reveal-ready .reveal-zoom { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   VIDEO TUTORIAL
   ═══════════════════════════════════════════════════════════════════ */
.tutorial-player {
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.tutorial-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
}
.tutorial-poster::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8,34,47,.72);
  transition: background .25s;
}
.tutorial-poster:hover::after { background: rgba(8,34,47,.55); }
.tutorial-play {
  position: relative; z-index: 1;
  width: 84px; height: 84px;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,188,212,.5);
  transition: transform .2s, background .2s;
  padding-left: 5px;
}
.tutorial-poster:hover .tutorial-play { transform: scale(1.08); background: var(--brand-dark); }
.tutorial-play::before {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  animation: wa-pulse 2.2s ease-out infinite;
}
.tutorial-hint {
  position: relative; z-index: 1;
  color: #fff; font-weight: 700; font-size: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.tutorial-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   CÓDIGO PROPIO
   ═══════════════════════════════════════════════════════════════════ */
.own-code {
  background: #08222f;
  position: relative;
  overflow: hidden;
  padding-block: 4rem;
}
.own-code::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 460px; height: 460px;
  background: transparent;
}
.own-code::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    none;
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 20%, transparent 70%);
}
.own-code-inner { position: relative; z-index: 1; }
.own-code-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(0,188,212,.15);
  border: 1px solid rgba(0,188,212,.4);
  color: #4dd0e1;
  font-size: .8rem; font-weight: 700;
  padding: .35rem .9rem; border-radius: 999px;
  margin-bottom: 1.25rem;
}
.own-code-text > h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.own-code-text > p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem; line-height: 1.7;
  max-width: 720px; margin-bottom: 2rem;
}
.own-code-text strong { color: #fff; }
.own-code-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.own-code-point {
  display: flex; align-items: flex-start; gap: .9rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.own-code-point > svg {
  flex-shrink: 0;
  color: var(--brand);
  background: rgba(0,188,212,.12);
  width: 46px; height: 46px; padding: 11px;
  border-radius: 12px;
}
.own-code-point strong { display: block; color: #fff; font-size: .98rem; margin-bottom: .2rem; }
.own-code-point span { color: rgba(255,255,255,.65); font-size: .86rem; line-height: 1.5; }

@media (max-width: 700px) { .own-code-points { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   CAMPO TELÉFONO CON SELECTOR DE PAÍS
   ═══════════════════════════════════════════════════════════════════ */
.phone-field {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) 1.4fr;
  gap: .5rem;
}
.phone-field .phone-cc { min-width: 0; }
@media (max-width: 420px) {
  .phone-field { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ — acordeón
   ═══════════════════════════════════════════════════════════════════ */
.faq-container { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--brand-dark); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--brand);
  transition: transform .25s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(90deg); }
.faq-a {
  padding: 0 1.4rem 1.25rem;
  animation: faq-fade .3s ease;
}
.faq-a p {
  color: var(--gray);
  font-size: .93rem;
  line-height: 1.7;
  margin: 0;
  padding-top: .25rem;
  border-top: 1px solid var(--bg-soft);
}
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.faq-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink-soft);
}

/* Alinear íconos SVG inline en navegación de cuenta */
.account-nav a { display: flex; align-items: center; gap: .55rem; }
.account-nav a svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════
   GRILLA DE TIENDA (e-commerce, escalable)
   ═══════════════════════════════════════════════════════════════════ */
.store-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.store-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .25rem; }
.store-head p  { color: var(--gray); font-size: .95rem; }
.store-head-link { white-space: nowrap; }

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.1rem;
}

.store-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.store-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  z-index: 2;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .25rem .6rem;
  border-radius: 6px;
  color: #fff;
}

/* Media: imagen o ícono */
.store-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: var(--bg-soft);
  overflow: hidden;
}
.store-card-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform .3s ease;
}
.store-card:hover .store-card-media img { transform: scale(1.05); }
.store-card-icon { color: var(--brand); opacity: .8; }

.store-card-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.store-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: .35rem;
}
.store-card-name:hover { color: var(--brand-dark); text-decoration: none; }
.store-card-desc {
  font-size: .83rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.store-card-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-darker);
  line-height: 1.1;
}
.store-card-price small {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  color: var(--gray);
  margin-top: .1rem;
}
.store-card-see {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
}
.store-card-see svg { transition: transform .2s; }
.store-card:hover .store-card-see { color: var(--brand-darker); }
.store-card:hover .store-card-see svg { transform: translateX(3px); }
/* Toda la card es clickeable (stretched link) */
.store-card { cursor: pointer; }
.store-card-see::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.store-card-media, .store-card-name { position: relative; z-index: 2; }

@media (max-width: 480px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .store-card-media { height: 130px; }
  .store-card-body { padding: .75rem; }
  .store-card-price { font-size: 1.05rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   IMÁGENES EN "CÓMO FUNCIONA" (opciones)
   ═══════════════════════════════════════════════════════════════════ */
.how-visual { justify-content: flex-end; }           /* tags abajo cuando hay imagen */
.how-visual.no-img { justify-content: center; }       /* centrado cuando no hay imagen */
.how-visual-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.how-visual.no-img .how-visual-img { display: none; }
/* el ícono grande solo se ve si NO hay imagen */
.how-visual-emoji { display: none; }
.how-visual.no-img .how-visual-emoji { display: flex; }
/* scrim sólido para legibilidad de los tags sobre la foto */
.how-visual:not(.no-img)::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8,34,47,.45);
  z-index: 1;
}
.how-visual-tags { position: relative; z-index: 2; }

/* ═══════════════════════════════════════════════════════════════════
   IMAGEN EN TILE MERCADO PAGO
   ═══════════════════════════════════════════════════════════════════ */
.bento-mp { display: flex; flex-direction: column; }
.bento-mp-text { margin-bottom: 1rem; }
.bento-mp-media {
  margin-top: auto;
  position: relative;
  flex: 1;
  min-height: 150px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
}
.bento-mp-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.bento-mp-fallback { display: none; }
.bento-mp-media.no-img img { display: none; }
.bento-mp-media.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-mp-media.no-img .bento-mp-fallback {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════
   BOTONES DE PAGO (marca MP / PayPal)
   ═══════════════════════════════════════════════════════════════════ */
.pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  padding: .95rem 1.25rem;
  border-radius: 10px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .12s, box-shadow .2s, filter .2s;
  text-decoration: none;
}
.pay-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); text-decoration: none; }
.pay-btn:active { transform: translateY(0); }
.pay-btn:disabled { opacity: .6; cursor: not-allowed; }

/* Mercado Pago — cyan oficial */
.pay-mp {
  background: #009ee3;
  color: #fff;
}
.pay-mp:hover { background: #008fcf; color: #fff; }
.pay-mp strong { font-weight: 800; }

/* PayPal — amarillo oficial con wordmark */
.pay-paypal {
  background: #ffc439;
  color: #003087;
}
.pay-paypal:hover { background: #f0b72e; }
.paypal-wordmark {
  font-family: Verdana, Arial, sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: -.5px;
}
.paypal-wordmark span:first-child { color: #003087; }
.paypal-wordmark span:last-child  { color: #009cde; }

.pay-note {
  font-size: .76rem;
  color: var(--gray);
  text-align: center;
  margin-top: .4rem;
}

/* ═══════════════════════════════════════════════════════════════════
   PAGE LOADER (spinner con logo)
   ═══════════════════════════════════════════════════════════════════ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.page-loader.active { opacity: 1; visibility: visible; }

.loader-box {
  position: relative;
  width: 92px; height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Anillo giratorio en color de marca */
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid var(--brand-light);
  border-top-color: var(--brand);
  border-right-color: var(--brand);
  animation: loader-spin .8s linear infinite;
}
/* Logo central */
.loader-logo {
  width: 52px; height: 52px;
  object-fit: contain;
  animation: loader-pulse 1.4s ease-in-out infinite;
}
.loader-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  animation: loader-pulse 1.4s ease-in-out infinite;
}
.loader-fallback span { color: var(--brand); }

.loader-text {
  position: absolute;
  bottom: -34px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
}

@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(.9); opacity: .65; }
}

/* Imagen del hero (reemplaza el mockup cuando se sube desde el admin) */
.epic-hero-img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  display: block;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMACIONES DEL HERO (configurables desde el admin)
   ═══════════════════════════════════════════════════════════════════ */
/* — Visual (imagen / mockup) — */
.hvis-float    { animation: heroFloat 3.2s ease-in-out infinite; }
.hvis-pulse    { animation: heroPulse 2.8s ease-in-out infinite; }
.hvis-zoom     { animation: heroZoomIn .9s cubic-bezier(.22,.61,.36,1) both; }
.hvis-fade-up  { animation: heroFadeUp .9s cubic-bezier(.22,.61,.36,1) both; }
.hvis-tilt     { animation: heroTilt 1.1s cubic-bezier(.22,.61,.36,1) both; }
.hvis-swing    { animation: heroSwing 4s ease-in-out infinite; transform-origin: top center; }

@keyframes heroFloat  { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-14px); } }
@keyframes heroPulse  { 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.03); } }
@keyframes heroZoomIn { from{ opacity:0; transform: scale(.85); } to{ opacity:1; transform: scale(1); } }
@keyframes heroFadeUp { from{ opacity:0; transform: translateY(40px); } to{ opacity:1; transform: translateY(0); } }
@keyframes heroTilt   { from{ opacity:0; transform: perspective(1000px) rotateY(-18deg) translateX(40px); } to{ opacity:1; transform: perspective(1000px) rotateY(0) translateX(0); } }
@keyframes heroSwing  { 0%,100%{ transform: rotate(-1.5deg); } 50%{ transform: rotate(1.5deg); } }

/* — Texto (entrada) — */
.htxt-fade-up    { animation: heroFadeUp 1s cubic-bezier(.22,.61,.36,1) both; }
.htxt-fade-left  { animation: heroFadeLeft 1s cubic-bezier(.22,.61,.36,1) both; }
.htxt-fade-right { animation: heroFadeRight 1s cubic-bezier(.22,.61,.36,1) both; }
.htxt-zoom       { animation: heroZoomIn 1s cubic-bezier(.22,.61,.36,1) both; }

@keyframes heroFadeLeft  { from{ opacity:0; transform: translateX(-44px); } to{ opacity:1; transform: translateX(0); } }
@keyframes heroFadeRight { from{ opacity:0; transform: translateX(44px); } to{ opacity:1; transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
  [class*="hvis-"], [class*="htxt-"] { animation: none !important; }
}
