/* =====================================================================
   StilCard Pro — styles.css
   Estética Titanio / Tech-Luxury · Mobile-first
   ===================================================================== */
:root {
  --bg-1: #374151;
  --bg-2: #1f2937;
  --bg: linear-gradient(145deg, var(--bg-1), var(--bg-2));
  --metal: linear-gradient(135deg, #4b5563, #374151);
  --metal-hi: linear-gradient(135deg, #5b6574, #3e4757);
  --edge: 1px solid rgba(229, 231, 235, 0.35);
  --edge-soft: rgba(229, 231, 235, 0.18);
  --gold: #f59e0b;
  --gold-2: #fbbf24;
  --gold-grad: linear-gradient(135deg, #fde68a 0%, #fbbf24 35%, #f59e0b 70%, #d97706 100%);
  --cyan: #06b6d4;
  --cyan-2: #22d3ee;
  --cyan-glow: 0 0 18px rgba(34, 211, 238, 0.45);
  --text: #f8fafc;
  --text-2: #cbd5e1;
  --muted: #94a3b8;
  --danger: #f87171;
  --ok: #34d399;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --nav-h: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-d: "Sora", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-2);
  background-image: var(--bg);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* reflejo pulido */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(900px 400px at -10% 30%, rgba(255, 255, 255, 0.06), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 6px);
}
main, footer { position: relative; z-index: 1; }
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.5rem); color: var(--cyan-2); text-shadow: var(--cyan-glow); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; color: var(--text); }
p { margin: 0 0 1em; color: var(--text-2); }
code { background: rgba(0,0,0,.3); padding: .1em .35em; border-radius: 6px; font-size: .9em; color: var(--cyan-2); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .75rem; }
.center { text-align: center; }
.gold { color: var(--gold-2); }
.big { font-size: 1.6rem; font-family: var(--font-d); }
.mt { margin-top: 1.4rem; }
.w-100 { width: 100%; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--cyan); color: #000; padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan-2); outline-offset: 2px; }

/* ---------- Superficies metálicas ---------- */
.metal, .card, .modal, .panel {
  background: var(--metal);
  border: var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.metal::after, .card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.10), transparent 30%, transparent 70%, rgba(255,255,255,.05));
}
.card { padding: 20px; }

/* ---------- Botones ---------- */
.btn {
  --b: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.3em; border-radius: 14px;
  font: 600 1rem/1.1 var(--font); cursor: pointer; border: 1px solid var(--b);
  color: var(--text); text-decoration: none !important;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn.sm { min-height: 38px; padding: .5em .9em; font-size: .9rem; }
.btn-gold { background: var(--gold-grad); color: #1f2937; box-shadow: 0 8px 22px -8px rgba(245, 158, 11, .7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { filter: brightness(1.07); box-shadow: 0 10px 28px -8px rgba(245, 158, 11, .9); }
.btn-cyan { background: linear-gradient(135deg, var(--cyan-2), var(--cyan)); color: #04222a; box-shadow: 0 8px 22px -8px rgba(6, 182, 212, .8); }
.btn-cyan:hover { filter: brightness(1.08); }
.btn-ghost { --b: rgba(229,231,235,.35); background: rgba(255,255,255,.05); }
.btn-ghost:hover { --b: var(--cyan-2); box-shadow: var(--cyan-glow); }
.btn-light { background: #f8fafc; color: #1f2937; }
.btn-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; margin-top: 8px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--cyan-2); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; cursor: pointer;
  background: var(--metal); border: var(--edge); color: var(--text); position: relative;
}
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.icon-btn:hover { box-shadow: var(--cyan-glow); color: var(--cyan-2); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: rgba(31, 41, 55, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--edge-soft);
}
.nav-inner { height: var(--nav-h); width: min(1180px, 100% - 24px); margin-inline: auto; display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none !important; }
.brand-mark { display: grid; place-items: center; }
.brand-mark img { width: 60px; height: 60px; display: block; filter: drop-shadow(0 0 8px rgba(251,191,36,.45)); }
.brand-text { font: 700 1.1rem var(--font-d); white-space: nowrap; }
.brand-text b { color: var(--gold-2); }
.nav-links { display: none; gap: 22px; margin-left: 18px; }
.nav-links a { color: var(--text-2); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan-2); text-decoration: none; text-shadow: var(--cyan-glow); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.play-badge {
  display: none; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 10px;
  background: #0b0f16; border: 1px solid rgba(229,231,235,.4); color: #fff; text-decoration: none !important;
  font: inherit; cursor: pointer; text-align: left;
}
.play-badge:hover { border-color: var(--cyan-2); }
.play-badge svg { width: 20px; height: 20px; fill: var(--cyan-2); }
.play-badge span { display: flex; flex-direction: column; line-height: 1.05; }
.play-badge small { font-size: .62rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); }
.play-badge strong { font-size: .95rem; }
.lang-switch { display: flex; padding: 3px; border-radius: 12px; background: rgba(0,0,0,.25); border: var(--edge); }
.lang-switch button { border: 0; background: transparent; color: var(--text-2); font: 700 .8rem var(--font); padding: 7px 9px; border-radius: 9px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: linear-gradient(135deg, var(--cyan-2), var(--cyan)); color: #04222a; box-shadow: var(--cyan-glow); }
.vip-dot { position: absolute; top: -6px; right: -8px; background: var(--gold-grad); color: #1f2937; font: 800 .55rem var(--font); padding: 2px 5px; border-radius: 6px; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 28px) 0 64px; min-height: min(100svh, 900px); display: flex; align-items: center; }
.hero-grid { display: grid; gap: 34px; align-items: center; justify-items: center; text-align: center; }
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(2.5rem, 10vw, 4.4rem); letter-spacing: -0.03em; margin-bottom: .35em; }
.hero h1 .gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 3.4vw, 1.3rem); color: var(--text-2); max-width: 30ch; margin-inline: auto; }
.hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px auto 22px; max-width: 420px; }
.btn-lg { min-height: 56px; font-size: 1.05rem; border-radius: 16px; }
.hero-fact { font-size: .88rem; color: var(--muted); margin: 0; }
.hero-fact .gold { font: 800 1rem var(--font-d); }

/* Tarjeta metálica 3D */
.hero-visual { position: relative; width: min(360px, 88vw); aspect-ratio: 1.586; perspective: 1200px; margin-top: 6px; }
.halo { position: absolute; inset: -18% -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(34,211,238,.38), transparent 70%); filter: blur(24px); animation: pulse 5s ease-in-out infinite; }
.lux-card {
  position: absolute; inset: 0; border-radius: 22px; padding: 20px 22px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.22), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #6b7280 0%, #4b5563 30%, #2b3441 65%, #1f2937 100%);
  border: 1px solid rgba(229,231,235,.45);
  box-shadow: 0 40px 70px -25px rgba(0,0,0,.85), 0 0 0 1px rgba(34,211,238,.25), 0 0 50px -8px rgba(34,211,238,.45), inset 0 1px 0 rgba(255,255,255,.35);
  transform: rotateX(14deg) rotateY(-16deg) rotateZ(2deg);
  animation: cardFloat 7s ease-in-out infinite;
  text-align: left;
}
.lux-shine { position: absolute; inset: -50%; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.28) 50%, transparent 58%); animation: shine 5.5s ease-in-out infinite; pointer-events: none; }
.lux-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.lux-logo { position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 800 1.5rem var(--font-d); color: var(--cyan-2); background: rgba(17,24,39,.55); border: 1px solid rgba(34,211,238,.6); text-shadow: var(--cyan-glow); box-shadow: 0 0 16px rgba(34,211,238,.35); }
/* (logo viejo: cuadritos) */ .lux-logo i { position: absolute; right: 5px; bottom: 5px; width: 7px; height: 7px; border-radius: 2px; background: var(--gold-2); box-shadow: -9px 0 0 var(--gold-2), 0 -9px 0 var(--gold-2); transform: scale(.7); transform-origin: bottom right; }
.lux-nfc { width: 30px; height: 30px; fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; opacity: .85; }
.lux-chip { width: 48px; height: 36px; border-radius: 8px; background: var(--gold-grad); position: relative; box-shadow: inset 0 0 0 1px rgba(120,53,15,.35); }
.lux-chip::before, .lux-chip::after { content: ""; position: absolute; background: rgba(120,53,15,.35); }
.lux-chip::before { left: 33%; right: 33%; top: 0; bottom: 0; border-inline: 1px solid rgba(120,53,15,.35); background: none; }
.lux-chip::after { top: 50%; left: 0; right: 0; height: 1px; }
.lux-bottom { display: flex; justify-content: space-between; align-items: flex-end; position: relative; }
.lux-bottom b { font: 800 1.35rem var(--font-d); color: var(--text); display: block; letter-spacing: -.01em; }
.lux-bottom em { font-style: normal; color: var(--gold-2); }
.lux-bottom small { font: 600 .62rem var(--font); letter-spacing: .28em; color: var(--cyan-2); }
.lux-qr { width: 58px; height: 58px; background: #f8fafc; border-radius: 8px; padding: 3px; box-shadow: 0 0 0 2px rgba(251,191,36,.7); }
.lux-qr svg { width: 100%; height: 100%; }
.lux-reward {
  position: absolute; right: -6%; bottom: -16%; padding: 10px 12px; border-radius: 14px; background: var(--metal-hi); border: var(--edge);
  box-shadow: var(--shadow), 0 0 24px -6px rgba(251,191,36,.6); animation: floaty 6s ease-in-out -2s infinite;
}
.stamp-row { display: flex; gap: 6px; }
.stamp-row i { width: 22px; height: 22px; border-radius: 50%; border: 2px dashed rgba(229,231,235,.4); font-style: normal; font-size: .72rem; display: grid; place-items: center; }
.stamp-row i.on { border: 0; background: var(--gold-grad); box-shadow: 0 0 10px rgba(251,191,36,.6); }
.stamp-row i.gift { border-color: var(--cyan-2); }

/* Pastilla de modo demo */
.mode-pill { position: fixed; left: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 55; font: 800 .65rem var(--font); letter-spacing: .14em; padding: 5px 9px; border-radius: 8px; color: #fde68a; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.45); }

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section-alt { background: linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.04)); border-block: 1px solid var(--edge-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }


/* ---------- Servicios: carrusel + tarjetas que alumbran ---------- */
.carousel { position: relative; }
.car-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 14px 4px 22px; margin: 0 -4px; scrollbar-width: none; outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.car-track::-webkit-scrollbar { display: none; }
.svc-card {
  flex: 0 0 min(84%, 340px); scroll-snap-align: center;
  display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(55,65,81,.92), rgba(31,41,55,.96));
  border: 1px solid rgba(229,231,235,.16);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.8);
}
.svc-badge {
  align-self: flex-start; font: 700 .72rem var(--font); letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; border: 1px solid; background: rgba(0,0,0,.2);
}
.svc-badge.cyan { color: var(--cyan-2); border-color: rgba(34,211,238,.45); }
.svc-badge.gold { color: var(--gold-2); border-color: rgba(251,191,36,.45); }
.svc-badge.green { color: #34d399; border-color: rgba(52,211,153,.45); }
.svc-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(17,24,39,.55); border: 1px solid rgba(229,231,235,.18);
}
.svc-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-title { font: 700 1.35rem "Cinzel", var(--font-d); letter-spacing: .02em; margin: 4px 0 0; color: var(--text); }
.svc-desc { margin: 0; font-size: .98rem; }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--text-2); }
.svc-list li { display: flex; gap: 10px; align-items: baseline; }
.svc-list li::before { content: "✓"; color: #34d399; font-weight: 800; }
.svc-price { margin-top: auto; font: 800 1.2rem var(--font-d); color: var(--gold-2); }
.svc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc-actions .btn { border-radius: 999px; }

.car-arrow {
  position: absolute; top: 45%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: none; place-items: center; cursor: pointer;
  background: var(--metal); border: var(--edge); color: var(--text); box-shadow: var(--shadow); transition: box-shadow .2s, color .2s;
}
.car-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.car-arrow:hover { color: var(--cyan-2); box-shadow: var(--cyan-glow); }
.car-arrow.prev { left: -22px; } .car-arrow.next { right: -22px; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.car-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(229,231,235,.3); cursor: pointer; transition: all .3s; }
.car-dots button[aria-selected="true"] { width: 28px; background: linear-gradient(90deg, var(--cyan-2), var(--gold-2)); box-shadow: var(--cyan-glow); }

/* Brillo que sigue al cursor (glow) */
.glow-card, .opt-card, .card { position: relative; isolation: isolate; transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease; }
.glow-card::before, .opt-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,.20), rgba(251,191,36,.06) 45%, transparent 70%);
  opacity: 0; transition: opacity .3s ease;
}
.glow-card:hover::before, .opt-card:hover::before { opacity: 1; }
.glow-card:hover, .opt-card:hover {
  border-color: rgba(34,211,238,.6);
  box-shadow: 0 0 0 1px rgba(34,211,238,.35), 0 18px 44px -14px rgba(34,211,238,.45), 0 24px 50px -28px rgba(0,0,0,.9);
}
.svc-card:hover { transform: translateY(-6px); }
@media (hover: none) { .glow-card:hover, .svc-card:hover { transform: none; } }
@media (min-width: 700px) { .svc-card { flex-basis: calc((100% - 36px) / 2); } }
@media (min-width: 1000px) { .svc-card { flex-basis: calc((100% - 36px) / 3); } .car-arrow { display: grid; } }

/* ---------- Simulador de smartphone ---------- */
.demo-grid { display: grid; gap: 28px; justify-items: center; }
.profile-toggle { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 6px; border-radius: 16px; background: rgba(0,0,0,.2); border: var(--edge); }
.toggle-btn { border: 0; background: transparent; color: var(--text-2); padding: 10px 14px; border-radius: 12px; font: 600 .9rem var(--font); cursor: pointer; }
.toggle-btn.active { background: var(--metal-hi); color: var(--cyan-2); box-shadow: inset 0 0 0 1px rgba(34,211,238,.5), var(--cyan-glow); }
.phone {
  position: relative; width: min(340px, 100%); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px;
  background: linear-gradient(145deg, #9ca3af, #4b5563 30%, #1f2937 70%, #6b7280);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 0 0 2px rgba(255,255,255,.25), 0 0 40px -10px rgba(34,211,238,.35);
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 14px; background: #0b0f16; z-index: 3; }
.phone-screen {
  position: relative; height: 100%; border-radius: 34px; overflow: hidden auto; background: #111827;
  scrollbar-width: none;
}
.phone-screen::-webkit-scrollbar { display: none; }

/* Tarjeta digital dentro del teléfono */
.dc-cover { height: 150px; background-size: cover; background-position: center; position: relative; }
.dc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, #111827); }
.dc-avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: -52px auto 8px; position: relative; z-index: 1;
  display: grid; place-items: center; font: 800 2rem var(--font-d); color: #1f2937; background: var(--gold-grad);
  border: 3px solid #111827; box-shadow: 0 0 0 2px var(--cyan-2), var(--cyan-glow);
}
.dc-body { padding: 0 18px 24px; text-align: center; }
.dc-body h3 { font-size: 1.25rem; margin-bottom: 2px; }
.dc-role { color: var(--cyan-2); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.dc-tag { font-size: .8rem; color: var(--text-2); margin-bottom: 14px; }
.dc-badges { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.dc-badges span { font-size: .68rem; padding: 3px 8px; border-radius: 999px; background: rgba(245,158,11,.15); color: var(--gold-2); border: 1px solid rgba(245,158,11,.4); }
.dc-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dc-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px;
  background: var(--metal); border: var(--edge); color: var(--text); font: 600 .78rem var(--font); cursor: pointer; text-decoration: none !important;
  transition: transform .15s, box-shadow .2s;
}
.dc-btn:hover { box-shadow: var(--cyan-glow); transform: translateY(-2px); }
.dc-btn i { font-style: normal; font-size: 1.35rem; }
.dc-btn.primary { grid-column: span 2; flex-direction: row; justify-content: center; background: var(--gold-grad); color: #1f2937; font-size: .9rem; }
.dc-links { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.dc-links a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: var(--edge); font-size: 1rem; text-decoration: none; }
.dc-hours { margin-top: 14px; font-size: .75rem; color: var(--muted); }
.dc-fade { animation: fadeUp .45s ease both; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 520px; }
.feature-list small { display: none; }

.feature-list li { display: flex; gap: 10px; align-items: center; font-size: .9rem; padding: 14px; border-radius: var(--radius-sm); background: var(--metal); border: var(--edge); }
.feature-list i { font-style: normal; font-size: 1.4rem; }
.feature-list b { display: block; }
.feature-list small { color: var(--text-2); }

/* Vista previa + flecha de redes */
.demo-grid { position: relative; }
.phone-col { display: grid; gap: 12px; justify-items: center; width: min(340px, 100%); }
@media (max-width: 899px) { .demo-grid { row-gap: 48px; } }
.preview-ribbon {
  font-size: .8rem; text-align: center; color: var(--text-2); padding: 8px 14px; border-radius: 999px;
  background: rgba(6,182,212,.1); border: 1px solid rgba(34,211,238,.45); box-shadow: 0 0 18px -6px rgba(34,211,238,.6);
}
.preview-ribbon b { color: var(--cyan-2); }
.dc-links button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: var(--edge); font-size: 1rem; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.dc-links button:hover { box-shadow: var(--cyan-glow); transform: translateY(-2px); }
.dc-links { width: fit-content; margin: 16px auto 0; border-radius: 999px; padding: 4px; animation: linksGlow 2.6s ease-in-out infinite; }
@keyframes linksGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } 50% { box-shadow: 0 0 0 2px rgba(34,211,238,.35), 0 0 18px rgba(34,211,238,.35); } }
.feat-social { grid-column: 1 / -1; order: -1; border-color: rgba(34,211,238,.55) !important; }
.feat-social small { display: block !important; margin-top: 2px; }
.feat-social.hl { box-shadow: 0 0 0 1px var(--cyan-2), 0 0 30px -4px rgba(34,211,238,.7); transform: translateY(-3px); }
.feat-social.pulse { animation: featPulse .9s ease 2; }
@keyframes featPulse { 50% { box-shadow: 0 0 0 3px rgba(34,211,238,.6), 0 0 36px rgba(34,211,238,.7); } }
.social-arrow { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 2; }
.social-arrow path { fill: none; stroke: var(--cyan-2); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 8 7; animation: dashFlow 1.2s linear infinite; filter: drop-shadow(0 0 6px rgba(34,211,238,.8)); }
.social-arrow marker path { fill: var(--cyan-2); stroke: none; animation: none; stroke-dasharray: none; }
@keyframes dashFlow { to { stroke-dashoffset: -30; } }
@media (min-width: 900px) { .feat-social { order: 0; } }

/* ---------- Fidelización ---------- */
.loyalty-grid { display: grid; gap: 32px; justify-items: center; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 520px; width: 100%; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--radius-sm); background: var(--metal); border: var(--edge); }
.steps span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 1rem var(--font-d); background: linear-gradient(135deg, var(--cyan-2), var(--cyan)); color: #04222a; box-shadow: var(--cyan-glow); }
.steps b { display: block; }
.steps small { color: var(--text-2); }
.loy-screen { padding: 48px 18px 20px; background: radial-gradient(400px 200px at 50% 0, rgba(34,211,238,.18), transparent), #111827; }
.loy-screen.standalone { max-width: 440px; margin: 0 auto; min-height: 100vh; border-radius: 0; padding-top: 32px; }
.loy-head { text-align: center; }
.loy-head small { color: var(--cyan-2); font-weight: 600; letter-spacing: .04em; }
.loy-head h3 { font-size: 1.35rem; margin: 6px 0 2px; color: var(--gold-2); }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 16px 0; }
.stamp {
  aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(229,231,235,.35); display: grid; place-items: center;
  font-size: 1.1rem; color: var(--muted); transition: all .35s;
}
.stamp.on { border: 0; background: var(--gold-grad); color: #1f2937; box-shadow: 0 0 12px rgba(251,191,36,.6); animation: pop .4s ease; }
.stamp.goal { border-color: var(--cyan-2); }
.loy-form { display: grid; gap: 12px; }
.loy-msg { min-height: 1.3em; font-size: .85rem; margin: 4px 0 0; text-align: center; }
.loy-msg.ok { color: var(--ok); }
.loy-msg.err { color: var(--danger); }
.loy-msg.warn { color: var(--gold-2); }
.demo-tools { text-align: center; margin-top: 12px; font-size: .78rem; }
.phone-loyalty { overflow: hidden; }

/* Formularios */
.field { display: grid; gap: 6px; font-size: .85rem; color: var(--text-2); }
input, select, textarea {
  width: 100%; font: 500 1rem var(--font); color: var(--text); background: rgba(17, 24, 39, .65);
  border: 1px solid rgba(229,231,235,.25); border-radius: 12px; padding: 11px 12px; min-height: 44px;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan-2); box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
textarea { resize: vertical; font-family: ui-monospace, monospace; font-size: .85rem; }
.phone-input { display: grid; grid-template-columns: minmax(0, 46%) 1fr; gap: 8px; }
.phone-input select { text-overflow: ellipsis; }
.phone-input select { padding-inline: 8px; font-size: .9rem; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: .75rem; color: var(--text-2); }
.check input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan); flex: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Celebración */
.celebrate { position: absolute; inset: 12px; border-radius: 34px; z-index: 5; display: grid; place-items: center; background: rgba(17,24,39,.97); backdrop-filter: blur(6px); overflow: hidden; animation: fadeIn .3s; }
.checkin-view .celebrate { position: fixed; inset: 0; border-radius: 0; }
.celebrate-card { text-align: center; padding: 24px; position: relative; z-index: 2; display: grid; gap: 8px; justify-items: center; }
.trophy { font-size: 4rem; animation: bounce 1s ease infinite alternate; filter: drop-shadow(0 0 20px rgba(251,191,36,.7)); }
.celebrate h3 { font-size: 1.8rem; color: var(--cyan-2); text-shadow: var(--cyan-glow); margin: 0; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; animation: fall linear forwards; }

/* ---------- Panel ---------- */
.panel { padding: 24px; }
.pin-gate { text-align: center; max-width: 380px; margin: 0 auto; padding: 20px 0; }
.lock-icon { font-size: 2.6rem; margin-bottom: 8px; }
.pin-form { display: flex; gap: 8px; }
.pin-form input { text-align: center; letter-spacing: .4em; font-size: 1.2rem; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.access-pill { display: inline-block; font: 800 .75rem var(--font); letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(34,211,238,.5); color: var(--cyan-2); background: rgba(6,182,212,.1); }
.access-pill.vip { background: var(--gold-grad); color: #1f2937; border: 0; box-shadow: 0 0 16px rgba(251,191,36,.5); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi { padding: 14px; border-radius: var(--radius-sm); background: rgba(17,24,39,.45); border: var(--edge); text-align: center; }
.kpi small { display: block; font-size: .72rem; color: var(--text-2); }
.kpi strong { font: 800 1.8rem var(--font-d); color: var(--cyan-2); }
.dash-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.dash-grid form { display: grid; gap: 12px; }
#dashboard > .card { margin-bottom: 16px; }
.export-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.biz-qr { width: 170px; background: #fff; padding: 10px; border-radius: 12px; margin: 10px 0; }
.biz-qr img, .biz-qr canvas, .biz-qr svg { width: 100%; height: auto; }
.table-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 10px; }
.table-head input { max-width: 240px; min-height: 38px; padding: 8px 10px; }
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--edge-soft); }
.data-table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 560px; }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--edge-soft); }
.data-table th { background: rgba(0,0,0,.25); color: var(--cyan-2); font-weight: 600; position: sticky; top: 0; }
.data-table tr:hover td { background: rgba(34,211,238,.05); }
.wl-base { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.wl-base li { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: rgba(245,158,11,.14); color: var(--gold-2); border: 1px solid rgba(245,158,11,.35); }
#whitelistCard textarea { margin-bottom: 10px; }


/* ---------- Administración StilTex ---------- */
.section-admin { background: linear-gradient(180deg, rgba(245,158,11,.06), rgba(0,0,0,.08)); border-block: 1px solid rgba(245,158,11,.25); }
.gold-eyebrow { color: var(--gold-2); border-color: rgba(251,191,36,.45); background: rgba(245,158,11,.08); }
.kpis-wide { grid-template-columns: repeat(2, 1fr); }
.kpis-wide strong { font-size: 1.5rem; }
.stack { display: grid; gap: 16px; align-content: start; }
.crm-form .row2 { gap: 10px; }
.crm-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.table-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.table-head h4 { margin: 0; }
.table-tools select, .table-tools input { min-height: 38px; padding: 7px 10px; max-width: 220px; font-size: .88rem; }
.crm-table { min-width: 860px; }
.crm-table td { vertical-align: top; }
.crm-table small { font-size: .74rem; }
.st-select { min-height: 32px; padding: 4px 8px; font-size: .78rem; font-weight: 700; border-radius: 999px; width: auto; }
.st-pending   { color: #fde68a; border-color: rgba(245,158,11,.6); background: rgba(245,158,11,.12); }
.st-scheduled { color: #a5f3fc; border-color: rgba(34,211,238,.6); background: rgba(6,182,212,.12); }
.st-progress  { color: #c4b5fd; border-color: rgba(167,139,250,.6); background: rgba(139,92,246,.12); }
.st-delivered { color: #6ee7b7; border-color: rgba(52,211,153,.6); background: rgba(16,185,129,.12); }
.st-cancelled { color: #fca5a5; border-color: rgba(248,113,113,.6); background: rgba(239,68,68,.12); }
.crm-contact a, .icon-mini { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; margin: 0 4px 4px 0; background: rgba(255,255,255,.05); border: 1px solid var(--edge-soft); text-decoration: none; cursor: pointer; font-size: .9rem; color: var(--text); }
.crm-contact a:hover, .icon-mini:hover { border-color: var(--cyan-2); box-shadow: var(--cyan-glow); }
.crm-actions { white-space: nowrap; }
#accountsCard { margin-top: 16px; }
#stadmin > .container > .card { margin-top: 16px; }
.nav-links a.nav-st { color: var(--gold-2); }
@media (min-width: 700px) { .kpis-wide { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .kpis-wide { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Cotizador ---------- */
.vip-banner { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.5); box-shadow: 0 0 24px -6px rgba(251,191,36,.5); }
.vip-banner p { margin: 0; color: #fde68a; }
.vip-badge { flex: none; font: 800 .75rem var(--font); letter-spacing: .08em; padding: 6px 10px; border-radius: 8px; background: var(--gold-grad); color: #1f2937; }
.quote-grid { display: grid; gap: 24px; align-items: start; }
.q-step { display: flex; align-items: center; gap: 10px; margin: 8px 0 14px; }
.q-step span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; background: linear-gradient(135deg, var(--cyan-2), var(--cyan)); color: #04222a; }
.plan-cards { display: grid; gap: 14px; margin-bottom: 24px; }
.opt-card {
  display: block; padding: 18px; border-radius: var(--radius); background: var(--metal); border: var(--edge);
  cursor: pointer; transition: box-shadow .2s, transform .2s, border-color .2s; position: relative;
}
.opt-card:hover { transform: translateY(-2px); }
.opt-card.selected { border-color: var(--cyan-2); box-shadow: 0 0 0 1px var(--cyan-2), 0 0 26px -6px rgba(34,211,238,.6); }
.opt-card input[type="radio"], .opt-card input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.opt-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.opt-top h4 { margin: 0; }
.opt-price { font: 800 1.35rem var(--font-d); color: var(--gold-2); white-space: nowrap; }
.opt-price small { font: 500 .75rem var(--font); color: var(--text-2); }
.opt-desc { font-size: .85rem; margin: 6px 0 10px; }
.opt-feat { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 4px; font-size: .82rem; color: var(--text-2); }
.opt-feat li::before { content: "✓ "; color: var(--cyan-2); font-weight: 700; }
.tier-pick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tier-pick button { flex: 1; min-width: 120px; padding: 8px; border-radius: 10px; border: 1px solid var(--edge-soft); background: rgba(0,0,0,.2); color: var(--text-2); font: 600 .8rem var(--font); cursor: pointer; }
.tier-pick button.on { border-color: var(--gold); color: var(--gold-2); background: rgba(245,158,11,.1); }
.maint {
  margin-top: 8px; padding: 10px 12px; border-radius: 12px; font-size: .78rem; color: var(--text-2);
  background: rgba(17,24,39,.5); border: 1px dashed rgba(245,158,11,.45);
}
.maint b { color: var(--gold-2); display: block; margin-bottom: 4px; font-size: .8rem; }
.maint ul { margin: 0; padding-left: 18px; display: grid; gap: 2px; }
.qty { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.qty button { width: 32px; height: 32px; border-radius: 9px; border: var(--edge); background: rgba(0,0,0,.25); color: var(--text); font-size: 1.1rem; cursor: pointer; }
.qty output { min-width: 26px; text-align: center; font-weight: 700; }
#addonCards, #extraCards { display: grid; gap: 14px; margin-bottom: 24px; }
.quote-summary { padding: 22px; display: grid; gap: 12px; }
.quote-summary h3 { color: var(--cyan-2); margin: 0; }
#sumLines { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .88rem; }
#sumLines li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--edge-soft); padding-bottom: 6px; }
#sumLines li span:last-child { white-space: nowrap; color: var(--text); font-weight: 600; }
#sumLines .empty { color: var(--muted); border: 0; }
.sum-totals { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(17,24,39,.5); border: var(--edge); }
.sum-totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .88rem; }
.sum-totals strong { font: 800 1.2rem var(--font-d); white-space: nowrap; }
.sum-totals div:first-child strong { font-size: 1.7rem; }
.pay-buttons { display: grid; gap: 8px; }
.after-buy { padding: 14px 16px; border-radius: 14px; background: rgba(6,182,212,.07); border: 1px solid rgba(34,211,238,.3); }
.after-buy h4 { color: var(--cyan-2); margin-bottom: 8px; font-size: .95rem; }
.after-buy ol { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 6px; font-size: .84rem; color: var(--text-2); }
.after-buy b { color: var(--text); }
.after-buy p { margin: 0; }
.vip-free { text-align: center; padding: 12px; border-radius: 12px; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.4); color: #fde68a; font-weight: 600; }


/* ---------- Cotizador: todo se suma ---------- */
.combine-hint { text-align: center; margin: -18px auto 26px; max-width: 560px; font-weight: 600; color: var(--text); padding: 10px 16px; border-radius: 999px; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.35); }
.q-step { flex-wrap: wrap; }
.q-step small { flex-basis: 100%; margin-left: 40px; font: 500 .8rem var(--font); color: var(--muted); }
.opt-card[data-toggle], .opt-card[data-extra], .opt-card[data-card] { cursor: pointer; }
.tier-pick button[aria-pressed="true"] { border-color: var(--gold); color: #1f2937; background: var(--gold-grad); }
.pick-badge { display: inline-block; margin-top: 12px; font: 700 .82rem var(--font); color: var(--cyan-2); padding: 7px 12px; border-radius: 999px; border: 1px dashed rgba(34,211,238,.5); }
.pick-badge.on { color: #1f2937; background: linear-gradient(135deg, var(--cyan-2), var(--cyan)); border: 0; }
.sum-sub { margin: -6px 0 2px; font-size: .88rem; color: var(--gold-2); font-weight: 600; }
.sum-totals strong.included { font: 700 .82rem var(--font); color: #6ee7b7; white-space: normal; text-align: right; }
.sum-info { display: grid; gap: 4px; margin: 0; font-size: .78rem; color: var(--text-2); }
.sum-info:empty { display: none; }
.pay-detail { margin: 8px 0 4px; text-align: center; font-size: .85rem; color: var(--text); }
.btn.loading { opacity: .7; pointer-events: none; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.total-bar {
  position: fixed; left: 10px; right: 84px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 58;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; border-radius: 16px;
  background: rgba(31,41,55,.94); backdrop-filter: blur(10px); border: 1px solid rgba(251,191,36,.5); box-shadow: 0 10px 30px -8px rgba(0,0,0,.8), 0 0 20px -6px rgba(251,191,36,.5);
  animation: fadeUp .25s ease;
}
.total-bar small { display: block; font-size: .7rem; color: var(--text-2); }
.total-bar strong { font: 800 1.15rem var(--font-d); color: var(--gold-2); }
.total-bar strong + small { color: var(--cyan-2); }
body.has-totbar .mode-pill { display: none; }
.thanks-body { text-align: center; display: grid; gap: 8px; justify-items: center; padding-top: 8px; }
.thanks-body h3 { color: var(--cyan-2); font-size: 1.5rem; margin: 0; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 110px; border-top: 1px solid var(--edge-soft); background: rgba(0,0,0,.2); }
.footer-grid { display: grid; gap: 22px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* ---------- FAB & overlays ---------- */
.fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--gold-grad); color: #1f2937; display: grid; place-items: center;
  box-shadow: 0 10px 30px -6px rgba(245,158,11,.8), inset 0 1px 0 rgba(255,255,255,.6); animation: glowPulse 3s ease-in-out infinite;
}
.fab svg { width: 28px; height: 28px; fill: currentColor; }
.qr-overlay {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--bg); padding: 24px; text-align: center; animation: fadeIn .25s;
}
.qr-overlay h2 { font-size: clamp(1.3rem, 5vw, 2rem); }
.qr-big { width: min(80vw, 60vh, 460px); background: #fff; padding: 18px; border-radius: 22px; box-shadow: 0 0 0 3px var(--cyan-2), 0 0 60px rgba(34,211,238,.5); }
.qr-big img, .qr-big svg { width: 100%; height: auto; }
.close-x { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 14px; width: 42px; height: 42px; border-radius: 12px; border: var(--edge); background: var(--metal); color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 3; }
.modal { color: var(--text); padding: 28px 22px 22px; width: min(460px, 100% - 24px); max-height: 90vh; overflow: auto; }
.modal::backdrop { background: rgba(3, 7, 18, .72); backdrop-filter: blur(4px); }
.modal[open] { animation: fadeUp .25s ease; }
/* Las ventanitas siempre centradas en la pantalla, aunque la página esté bajada (antes se abrían arriba del todo) */
.modal:modal { position: fixed; }
.modal .close-x { position: sticky; float: right; top: 0; margin: -12px -8px 0 0; }
.modal-legal { width: min(760px, 100% - 24px); }
.legal-body h2 { font-size: 1.6rem; }
.legal-body h3 { margin-top: 1.3em; color: var(--gold-2); font-size: 1.02rem; }
.legal-body p, .legal-body li { font-size: .9rem; color: var(--text-2); }
.legal-body ul { padding-left: 20px; }
html[data-lang="es"] .lb-en, html[data-lang="en"] .lb-es { display: none; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .8rem; margin: 14px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--edge-soft); }
#loginForm { display: grid; gap: 12px; }
.login-links { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; }
.acc-email { font-weight: 700; color: var(--text); word-break: break-all; }
#loginIn { display: grid; gap: 12px; justify-items: start; }
.toast {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 100; opacity: 0; pointer-events: none;
  background: var(--metal-hi); border: 1px solid rgba(34,211,238,.5); color: var(--text); padding: 12px 18px; border-radius: 14px;
  box-shadow: var(--shadow), var(--cyan-glow); transition: all .3s; max-width: calc(100% - 32px); font-size: .9rem; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.checkin-view { position: fixed; inset: 0; z-index: 80; overflow: auto; background: #111827; }
.noscript { position: fixed; inset: auto 0 0; background: #b91c1c; color: #fff; text-align: center; padding: 10px; margin: 0; }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes cardFloat { 0%,100% { transform: rotateX(14deg) rotateY(-16deg) rotateZ(2deg) translateY(0); } 50% { transform: rotateX(8deg) rotateY(-8deg) rotateZ(0deg) translateY(-10px); } }
@keyframes shine { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes pulse { 0%,100% { opacity: .7; scale: 1; } 50% { opacity: 1; scale: 1.06; } }
@keyframes glowPulse { 0%,100% { box-shadow: 0 10px 30px -6px rgba(245,158,11,.8); } 50% { box-shadow: 0 10px 40px -2px rgba(251,191,36,1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { scale: .4; } 70% { scale: 1.15; } 100% { scale: 1; } }
@keyframes bounce { to { transform: translateY(-10px) rotate(-4deg); } }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 380px) {
  .brand-text { display: none; }
  .kpis { grid-template-columns: 1fr; }
}
@media (min-width: 560px) {
  .play-badge { display: inline-flex; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero-grid { grid-template-columns: 1fr 1fr; text-align: left; justify-items: start; }
  .hero-copy { order: -1; }
  .lead { margin-inline: 0; }
  .hero-ctas { margin-inline: 0; }
  .hero-visual { width: 460px; justify-self: center; }
  .demo-grid { grid-template-columns: 360px 1fr; align-items: center; column-gap: 48px; }
  .profile-toggle { grid-column: 1 / -1; }
  .demo-grid .phone-col { grid-column: 1; grid-row: 2; }
  .demo-grid .feature-list { grid-column: 2; grid-row: 2; }
  .loyalty-grid { grid-template-columns: 1fr 360px; align-items: center; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr 380px; }
  .quote-summary { position: sticky; top: calc(var(--nav-h) + 16px); }
  .plan-cards { grid-template-columns: 1fr 1fr; }
  .fab { right: 28px; bottom: 28px; }
}

/* Evita que precios largos ensanchen las tarjetas en pantallas pequeñas */
.plan-cards > *, #addonCards > *, #careCards > *, #extraCards > *, .quote-grid > * { min-width: 0; }
@media (max-width: 560px) {
  .opt-top { flex-wrap: wrap; }
  .opt-price { white-space: normal; }
}
#careCards { display: grid; gap: 14px; margin-bottom: 24px; }
.hero { overflow-x: clip; }
.src-stripe { display: inline-block; font-size: .7rem; font-weight: 700; color: #c4b5fd; border: 1px solid rgba(167,139,250,.5); border-radius: 999px; padding: 1px 7px; margin-bottom: 3px; }

/* Resalta el teléfono o la tarjeta al llegar desde "Ver demo" */
.spotlight { animation: spotlight 1.6s ease 1; }
@keyframes spotlight { 0%, 100% { filter: none; } 30%, 60% { filter: drop-shadow(0 0 22px rgba(34,211,238,.85)); } }

/* "Ver demo" de la tarjeta plástica NFC: la tarjeta del inicio gira y brilla */
.hero-visual.flip .lux-card { animation: cardShow 1.8s ease 1, cardFloat 7s ease-in-out 1.8s infinite; }
@keyframes cardShow {
  0%   { transform: rotateX(14deg) rotateY(-16deg) rotateZ(2deg); }
  45%  { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.08); box-shadow: 0 40px 70px -25px rgba(0,0,0,.85), 0 0 0 2px rgba(34,211,238,.7), 0 0 70px rgba(34,211,238,.7); }
  100% { transform: rotateX(14deg) rotateY(-16deg) rotateZ(2deg); }
}
.toast { width: max-content; max-width: min(92vw, 440px); }

/* =====================================================================
   Tarjeta real del cliente (página pública ?c=…) y creador de tarjetas
   ===================================================================== */
body.card-mode { background: #0b1220; }
body.card-mode > *:not(#cardView):not(.toast):not(.rc-zoom):not(script) { display: none !important; }
.card-view { min-height: 100svh; display: flex; justify-content: center; background: radial-gradient(600px 300px at 50% 0, rgba(34,211,238,.12), transparent), #0b1220; }
.card-view-inner { width: 100%; max-width: 480px; min-height: 100svh; background: #111827; box-shadow: 0 0 60px rgba(0,0,0,.6); }
.card-view-inner .dc-cover { height: 180px; }
.rc .dc-avatar.has-photo { padding: 0; overflow: hidden; background: #111827; }
.rc .dc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rc .dc-actions { margin-top: 4px; }
.rc-links { flex-wrap: wrap; }
.rc-links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: var(--edge); font-size: 1.05rem; text-decoration: none; color: var(--text); }
.rc-links a:hover { box-shadow: var(--cyan-glow); }
.rc-sec { margin-top: 20px; text-align: left; }
.rc-sec h4 { color: var(--gold-2); margin-bottom: 10px; }
.rc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rc-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.rc-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rc-menu li { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--edge-soft); }
.rc-menu img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; flex: none; cursor: zoom-in; }
.rc-menu div { flex: 1; min-width: 0; }
.rc-menu b { display: block; font-size: .9rem; }
.rc-menu small { display: block; color: var(--text-2); font-size: .76rem; }
.rc-menu span { color: var(--gold-2); font-weight: 800; white-space: nowrap; }
.rc-share { margin: 18px auto 0; display: block; background: none; border: 1px solid var(--edge-soft); color: var(--text-2); border-radius: 999px; padding: 8px 16px; cursor: pointer; font: 600 .82rem var(--font); }
.rc-powered { margin-top: 14px; font-size: .68rem; color: var(--muted); }
.rc-zoom { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.rc-zoom img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.rc-missing { min-height: 100svh; display: grid; place-content: center; text-align: center; gap: 8px; padding: 24px; color: var(--text-2); }

#ceBox { margin-bottom: 16px; }
.ce-editor { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--edge-soft); }
.ce-grid { display: grid; gap: 22px; align-items: start; }
.ce-form { display: grid; gap: 10px; min-width: 0; }
.ce-form details { border: 1px solid var(--edge-soft); border-radius: 14px; padding: 10px 14px; background: rgba(17,24,39,.35); display: grid; gap: 10px; }
.ce-form details[open] { padding-bottom: 14px; }
.ce-form summary { cursor: pointer; font-weight: 700; color: var(--cyan-2); list-style-position: inside; }
.ce-form details > *:not(summary) { margin-top: 10px; }
.ce-photo-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ce-photo-thumb { width: 64px; height: 64px; border-radius: 50%; border: 2px dashed var(--edge-soft); overflow: hidden; }
.ce-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ce-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ce-gallery { display: flex; flex-wrap: wrap; gap: 8px; }
.ce-thumb { position: relative; width: 72px; height: 72px; }
.ce-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.ce-thumb button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #ef4444; color: #fff; cursor: pointer; line-height: 1; }
.ce-menu { display: grid; gap: 8px; }
.ce-mrow { display: grid; grid-template-columns: 44px 1fr 80px 32px; gap: 6px; align-items: center; }
.ce-mrow [data-m=desc] { grid-column: 2 / 4; }
.ce-mrow input { min-height: 38px; padding: 7px 9px; font-size: .85rem; }
.ce-mphoto { grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; border: 1px dashed var(--edge-soft); display: grid; place-items: center; cursor: pointer; overflow: hidden; }
.ce-mphoto img { width: 100%; height: 100%; object-fit: cover; }
.ce-slug-preview { word-break: break-all; margin: -4px 0 0; }
.ce-result { margin-top: 6px; padding: 14px; border-radius: 14px; background: rgba(16,185,129,.08); border: 1px solid rgba(52,211,153,.45); display: grid; gap: 10px; }
.ce-result h4 { color: #6ee7b7; margin: 0; }
.ce-result > a { word-break: break-all; font-weight: 600; }
.ce-result-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.ce-result .biz-qr { margin: 0; width: 130px; }
.ce-result-btns { display: grid; gap: 6px; }
.ce-preview { display: grid; justify-items: center; gap: 6px; position: sticky; top: calc(var(--nav-h) + 12px); }
.ce-preview .phone { width: min(320px, 100%); }
.ce-state { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.ce-state.on { color: #6ee7b7; background: rgba(16,185,129,.12); }
.ce-state.off { color: #fca5a5; background: rgba(239,68,68,.12); }
.ce-link { font-size: .8rem; word-break: break-all; }
@media (min-width: 1000px) { .ce-grid { grid-template-columns: 1fr 340px; } }
@media (max-width: 999px) { .ce-preview { position: static; } }

.poster-btns { display: grid; gap: 8px; margin-top: 8px; }
.pin-login { margin: 6px 0 12px; color: var(--text-2); }
.grant-btn { opacity: .45; }
.grant-btn.on { opacity: 1; border-color: rgba(251,191,36,.7); box-shadow: 0 0 10px rgba(251,191,36,.45); }

/* Guía de entrega */
.guide { margin-bottom: 16px; }
.guide details { border: 1px solid var(--edge-soft); border-radius: 14px; padding: 12px 16px; margin-top: 10px; background: rgba(17,24,39,.35); }
.guide summary { cursor: pointer; font-weight: 700; color: var(--text); }
.guide details[open] summary { color: var(--gold-2); margin-bottom: 8px; }
.guide ol, .guide ul { padding-left: 20px; display: grid; gap: 7px; font-size: .9rem; color: var(--text-2); margin: 6px 0; }
.guide b { color: var(--text); }
.guide h5 { margin: 12px 0 4px; color: var(--cyan-2); font-size: .92rem; }
.guide .checklist { list-style: none; padding-left: 0; }
.guide .checklist li::before { content: "☐ "; color: var(--cyan-2); font-weight: 700; }
.guide .tip { font-size: .84rem; padding: 8px 12px; border-radius: 10px; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.3); color: var(--text-2); margin: 8px 0 0; }
.guide-table { min-width: 560px; }

/* Tarjeta real: portada más baja y foto más grande (opción 1) */
.rc .dc-cover { height: 110px; }
.card-view-inner .rc .dc-cover { height: 110px; }
.rc .dc-avatar { width: 124px; height: 124px; margin: -66px auto 10px; font-size: 2.4rem; }
/* Con foto de portada (opción 2): foto tenue con el color de la marca */
.rc .dc-cover.has-photo, .card-view-inner .rc .dc-cover.has-photo { height: 150px; background: var(--cover) center / cover no-repeat; }
.rc .dc-cover.has-photo::before { content: ""; position: absolute; inset: 0; background: var(--tint); opacity: .55; }
.rc .dc-cover.has-photo::after { background: linear-gradient(180deg, transparent 25%, #111827); }
.rc .dc-cover.has-photo + .dc-avatar { margin-top: -70px; }
.ce-cover-box { display: grid; gap: 6px; padding: 10px; border-radius: 12px; border: 1px dashed rgba(251,191,36,.45); }
.ce-cover-title { font-size: .85rem; color: var(--gold-2); font-weight: 700; }
.ce-cover-thumb { width: 96px; height: 54px; border-radius: 8px; border: 1px dashed var(--edge-soft); overflow: hidden; }
.ce-cover-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Logo nuevo (oct-2026): hexágono con tarjetas SC/P */
.lux-logo { padding: 0; overflow: hidden; background: none; border: 0; box-shadow: 0 0 16px rgba(34,211,238,.45); }
.lux-logo img { width: 100%; height: 100%; display: block; }

/* =====================================================================
   Tarjeta real (oct-2026): MISMOS colores y movimiento del simulador
   (stx-looks.js / stx-looks.css). Las tarjetas con colores "clásicos"
   (.rc-legacy) se ven igual que antes, solo que ahora también se mueven.
   ===================================================================== */
.rc { position: relative; }
.rc:not(.rc-legacy) .dc-avatar:not(.has-photo) { background: var(--c-bg); color: var(--c-ink); overflow: hidden; }
.rc:not(.rc-legacy) .dc-avatar { box-shadow: 0 0 0 2px var(--c-ring), 0 0 22px var(--c-glow); }
.rc:not(.rc-legacy) .dc-role { color: var(--c-accent); }
.rc:not(.rc-legacy) .dc-btn.primary { background: var(--c-bg); color: var(--c-ink); position: relative; overflow: hidden; box-shadow: 0 6px 18px -6px var(--c-glow); }
.rc .dc-cover.stx-holo, .rc .dc-avatar.stx-holo { animation: stxHolo 7s ease-in-out infinite alternate; }
.rc .dc-avatar .stx-sheen { z-index: 0; }

/* Vitrina de la página pública: fondo oscuro con el brillo del color */
.card-view.rc-stage {
  background: radial-gradient(70% 40% at 50% 0%, var(--c-glow, rgba(34,211,238,.18)), transparent 70%),
              radial-gradient(120% 80% at 50% 0%, var(--c-stage-a, #1b2436) 0%, var(--c-stage-b, #0b1220) 75%);
}
.rc-stage .card-view-inner { background: transparent; box-shadow: none; padding: 18px 12px calc(28px + env(safe-area-inset-bottom)); }
.rc-stage .rc {
  border-radius: 26px; overflow: hidden; background: #111827; transition: transform .12s ease-out; touch-action: pan-y;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 0 6px rgba(255,255,255,.03), 0 0 0 7px var(--c-ring),
              0 26px 50px rgba(0,0,0,.55), 0 0 60px var(--c-glow);
}
.rc-stage .rc-missing { min-height: 70svh; }

/* ---------- Estilo ELEGANTE (como Jazmín Exequiales) ---------- */
.rc-ele { min-height: 100%; display: flex; flex-direction: column; }
.rc-stage .rc-ele { background: transparent; }
.ele-card { flex: 1; background: var(--c-bg); color: var(--c-ink); padding: 30px 20px 24px; text-align: center; position: relative; overflow: hidden; }
.ele-card > *:not(.stx-sheen) { position: relative; z-index: 2; }
.ele-cover { height: 130px; margin: -30px -20px -40px; background: var(--cover) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
.ele-emb { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; overflow: hidden;
  border: 1.5px solid var(--c-gold); background: var(--c-soft); color: var(--c-ink);
  font: 700 2.1rem "Cormorant Garamond", Georgia, serif; box-shadow: 0 0 0 5px var(--c-soft), 0 0 26px var(--c-glow); }
.ele-emb img { width: 100%; height: 100%; object-fit: cover; }
.ele-name { margin: 4px 0 0; font: 700 1.8rem/1.1 "Cormorant Garamond", Georgia, serif; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink); overflow-wrap: anywhere; }
.ele-rule { height: 1px; width: 70%; margin: 12px auto; background: linear-gradient(90deg, transparent, var(--c-gold), transparent); }
.ele-role { font: italic 500 1.12rem "Cormorant Garamond", Georgia, serif; color: var(--c-ink-2); overflow-wrap: anywhere; }
.ele-tag { font-size: .84rem; color: var(--c-ink-2); margin-top: 6px; line-height: 1.5; }
.rc-ele .dc-badges { margin: 12px 0 0; }
.rc-ele .dc-badges span { background: var(--c-soft); color: var(--c-ink); border-color: var(--c-line); }
.ele-actions { display: grid; gap: 9px; margin-top: 18px; }
.ele-btn { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 14px; border-radius: 999px;
  border: 1px solid var(--c-line); background: var(--c-soft); color: var(--c-ink); font: 600 .9rem var(--font);
  text-decoration: none !important; cursor: pointer; transition: transform .15s, box-shadow .2s; }
.ele-btn:hover { transform: translateY(-2px); box-shadow: 0 0 16px var(--c-glow); }
.ele-btn i { font-style: normal; font-size: 1.1rem; }
.ele-btn.primary { background: linear-gradient(135deg, #f3e5ab, #d4af37 55%, #b8902f); color: #2a1f05; border-color: transparent; box-shadow: 0 6px 16px rgba(212,175,55,.3); }
.rc-ele .rc-links a { background: var(--c-soft); border: 1px solid var(--c-line); color: var(--c-ink); }
.rc-ele .dc-links { animation: none; }
.rc-ele .rc-sec h4 { color: var(--c-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.15rem; }
.rc-ele .rc-menu li { background: var(--c-soft); border-color: var(--c-line); }
.rc-ele .rc-menu small, .rc-ele .dc-hours, .rc-ele .rc-powered { color: var(--c-ink-2); }
.rc-ele .rc-menu span { color: var(--c-ink); }
.rc-ele .rc-share { border-color: var(--c-line); color: var(--c-ink); }

/* Muestrario de colores en el creador */
.ce-colors { display: grid; gap: 6px; }
.ce-swatches { padding: 10px 12px 12px; border-radius: 12px; background: rgba(17,24,39,.35); border: 1px solid var(--edge-soft); max-height: 430px; overflow: auto; }
.renew-badge { display: inline-block; margin-top: 3px; font-size: .72rem; color: var(--ok); }
.renew-badge.bad { color: var(--gold-2); }

/* Cuerpo de la tarjeta matizado con su color (oct-2026): cada tarjeta se ve de su color */
.rc:not(.rc-legacy):not(.rc-ele), .rc-stage .rc:not(.rc-legacy):not(.rc-ele) { background: var(--c-body); color: var(--c-body-ink); }
.phone-screen .rc:not(.rc-legacy):not(.rc-ele) { min-height: 100%; }
.rc:not(.rc-legacy) .dc-cover::after { background: linear-gradient(180deg, transparent 45%, var(--c-body)); }
.rc:not(.rc-legacy) .dc-cover.has-photo::after { background: linear-gradient(180deg, transparent 25%, var(--c-body)); }
.rc:not(.rc-legacy) .dc-avatar { border-color: var(--c-body); }
.rc:not(.rc-legacy) .dc-body h3 { color: var(--c-body-ink); }
.rc:not(.rc-legacy) .dc-role { color: var(--c-body-accent); }
.rc:not(.rc-legacy) .dc-tag { color: var(--c-body-2); }
.rc:not(.rc-legacy):not(.rc-ele) .dc-badges span { background: var(--c-body-soft); color: var(--c-body-accent); border-color: var(--c-body-line); }
.rc:not(.rc-legacy) .dc-btn:not(.primary) { background: var(--c-body-soft); color: var(--c-body-ink); border: 1px solid var(--c-body-line); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.rc:not(.rc-legacy) .dc-btn:not(.primary):hover { box-shadow: 0 0 16px var(--c-glow); }
.rc:not(.rc-legacy):not(.rc-ele) .rc-links a { background: var(--c-body-soft); border: 1px solid var(--c-body-line); color: var(--c-body-ink); }
.rc:not(.rc-legacy):not(.rc-ele) .dc-links { animation: none; }
.rc:not(.rc-legacy):not(.rc-ele) .dc-hours, .rc:not(.rc-legacy):not(.rc-ele) .rc-powered { color: var(--c-body-2); }
.rc:not(.rc-legacy):not(.rc-ele) .rc-share { border-color: var(--c-body-line); color: var(--c-body-ink); }
.rc:not(.rc-legacy):not(.rc-ele) .rc-sec h4 { color: var(--c-body-accent); }
.rc:not(.rc-legacy):not(.rc-ele) .rc-menu li { background: var(--c-body-soft); border-color: var(--c-body-line); }
.rc:not(.rc-legacy):not(.rc-ele) .rc-menu small { color: var(--c-body-2); }
.rc:not(.rc-legacy):not(.rc-ele) .rc-menu span { color: var(--c-body-accent); }

/* ===== Portada: vitrina con las 4 tarjetas de ejemplo (10-nov-2026) ===== */
.hero-show { width: 100%; max-width: 640px; min-width: 0; justify-self: stretch; margin-inline: auto; }
.show-hint { margin: 0 0 6px; color: var(--text-2); font-size: .86rem; text-align: center; }
.show-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 6px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.show-track::-webkit-scrollbar { display: none; }
.show-item { flex: 0 0 44%; min-width: 0; scroll-snap-align: center; display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-decoration: none; color: var(--text); cursor: pointer; }
.show-phone { position: relative; display: block; width: 100%; aspect-ratio: 9 / 18.5; border-radius: 24px; padding: 6px; box-sizing: border-box;
  background: linear-gradient(145deg, #6b7280, #1f2937 40%, #4b5563 70%, #111827); box-shadow: 0 18px 34px -16px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.12) inset;
  transition: transform .25s ease, box-shadow .25s ease; }
.show-item:hover .show-phone, .show-item:focus-visible .show-phone { transform: translateY(-6px); box-shadow: 0 24px 40px -16px rgba(0,0,0,.9), 0 0 22px -4px rgba(34,211,238,.55); }
.show-screen { position: absolute; inset: 6px; border-radius: 19px; overflow: hidden; background: #111827; }
.show-scale { width: 360px; transform-origin: top left; pointer-events: none; }
.show-scale .rc { width: 360px; max-width: none; margin: 0; }
.show-label { text-align: center; line-height: 1.25; }
.show-label b { display: block; font-size: .9rem; }
.show-label span { font-size: .78rem; color: var(--text-2); }
.show-label em { font-style: normal; font-weight: 800; color: var(--gold-2); font-size: .95rem; }
@media (min-width: 980px) {
  .show-track { overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .show-item { flex: none; }
}
/* Ventanita de la tarjeta plástica NFC */
.nfc-dlg { text-align: center; }
.nfc-dlg h3 { margin: 0 0 16px; }
.nfc-dlg .hero-visual { margin: 6px auto 18px; width: min(340px, 100%); }
.nfc-txt { color: var(--text-2); font-size: .92rem; margin: 0 0 16px; }
/* Barra de las tarjetas de ejemplo (?c=ejemplo-...) */
.demo-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 10px 12px;
  background: rgba(11,18,32,.92); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: #e5e7eb; }
.demo-bar em { font-style: normal; font-weight: 800; color: #fbbf24; }
.demo-bar a { text-decoration: none; font-weight: 700; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.demo-back { color: #e5e7eb; border: 1px solid rgba(255,255,255,.25); }
.demo-buy { color: #111827; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.card-view.has-demo-bar { padding-top: 64px; }

/* Botón "volver arriba" (10-nov): reemplaza la casita de la barra; sale encima del botón del QR al bajar */
.fab-top { position: fixed; right: 24px; bottom: calc(18px + 60px + 14px + env(safe-area-inset-bottom)); z-index: 60; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(251,191,36,.75); background: rgba(17,24,39,.88); color: #fde68a; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.8), 0 0 14px -4px rgba(34,211,238,.6); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.fab-top.on { opacity: 1; transform: none; pointer-events: auto; }
.fab-top svg { width: 24px; height: 24px; fill: currentColor; }
.fab-top:hover { border-color: #22d3ee; }
@media (min-width: 900px) { .fab-top { right: 34px; bottom: calc(28px + 60px + 14px); } }

/* Manito que toca el primer celular de la vitrina (10-nov) */
.show-tap { position: absolute; left: 50%; top: 58%; width: 54px; height: 54px; margin-left: -20px; z-index: 3; pointer-events: none;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.55)); animation: stTap 2.4s ease-in-out infinite; }
.show-tap b { display: block; font-size: 46px; line-height: 1; font-weight: 400; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.show-ripple { position: absolute; left: 40%; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.95); box-shadow: 0 0 10px rgba(34,211,238,.9); opacity: 0; animation: stRipple 2.4s ease-out infinite; }
@keyframes stTap { 0%, 100% { transform: translate(6px, 10px); } 40%, 55% { transform: translate(0, 0) scale(.92); } }
@keyframes stRipple { 0%, 38% { opacity: 0; transform: scale(.3); } 45% { opacity: 1; } 75%, 100% { opacity: 0; transform: scale(2.2); } }
@media (prefers-reduced-motion: reduce) { .show-tap, .show-ripple { animation: none; } }

/* Botón "📲 Instalar como app" en las tarjetas de clientes (10-nov) */
.rc-install { padding: 4px 16px 30px; display: flex; justify-content: center; }
.rc-install-btn { all: unset; box-sizing: border-box; cursor: pointer; width: min(380px, 100%); text-align: center; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(135deg, #fde68a, #f59e0b); color: #111827; box-shadow: 0 10px 26px -10px rgba(245,158,11,.8); }
.rc-install-btn b { display: block; font-size: 1rem; }
.rc-install-btn small { display: block; font-size: .76rem; opacity: .8; }
.rc-install-btn:active { transform: scale(.97); }
.rc-install-dlg h3 { margin: 0 0 12px; }
.rc-ins-kick { margin: 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.rc-ins-app { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); margin: 0 0 12px; text-align: left; }
.rc-ins-app img { width: 54px; height: 54px; border-radius: 50%; }
.rc-ins-app b { display: block; } .rc-ins-app small { color: var(--text-2); font-size: .8rem; }
.rc-ins-steps { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; counter-reset: s; text-align: left; }
.rc-ins-steps li { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.rc-ins-steps li::before { counter-increment: s; content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#fde68a,#f59e0b); color: #111827; font-weight: 800; font-size: .85rem; }
.rc-ins-steps li span { flex: 1; }
.rc-ins-note { color: var(--text-2); font-size: .84rem; margin: 0 0 12px; }
.rc-ins-qr { background: #fff; border-radius: 14px; padding: 10px; max-width: 200px; margin: 0 auto 12px; line-height: 0; } .rc-ins-qr svg { width: 100%; height: auto; }

/* Botón "📲 Instala StilCard Pro en tu celular" en la portada (10-nov) */
.btn-install-app { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 12px;
  padding: 13px 24px; border-radius: 999px; font: 700 1.02rem var(--font, Inter, sans-serif); color: #fde68a; border: 1.5px dashed rgba(251,191,36,.7);
  background: rgba(251,191,36,.08); transition: background .2s ease, transform .2s ease; }
.btn-install-app:hover { background: rgba(251,191,36,.16); }
.btn-install-app:active { transform: scale(.97); }
.btn-install-app[hidden] { display: none; }

/* Menos espacio entre la portada y "Nuestros servicios"; el 88% más pequeño (10-nov) */
.hero { padding-bottom: 22px; }
.hero-fact { font-size: .78rem; }
.hero-fact .gold { font-size: .88rem; }
#services { padding-top: 34px; }
@media (max-width: 899px) { .hero { min-height: 0; } }

/* ===== Vendedores con comisión (vendedores.js) ===== */
.link-aff { color: var(--gold, #f5c451) !important; font-weight: 700; }
.vend-due { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.vend-due small { color: var(--text-2); font-size: .72rem; }
.vend-due b { font-size: 1.25rem; }
.vend-form { display: grid; grid-template-columns: 1.1fr 1.5fr .9fr .45fr .95fr auto; gap: 10px; align-items: end; margin: 10px 0 4px; }
.vend-form .field { margin: 0; }
.vend-form .btn { white-space: nowrap; }
@media (max-width: 899px) { .vend-form { grid-template-columns: 1fr 1fr; } .vend-form .btn { grid-column: 1 / -1; } }
.vend-table td small { display: block; color: var(--text-2); font-size: .75rem; margin-top: 2px; }
.vend-table tr.is-off td { opacity: .55; }
.vend-code { font-size: .85rem; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.25); }
.icon-mini { border: 0; background: transparent; cursor: pointer; font-size: 1rem; margin-left: 4px; }
.vend-tag { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.vend-tag.due { background: rgba(245,196,81,.15); color: #f5c451; }
.vend-tag.ok { background: rgba(16,185,129,.15); color: #34d399; }
.vend-tag.off { background: rgba(148,163,184,.15); color: var(--text-2); }
.vend-dlg { max-width: 560px; }
.vend-dlg h3 { margin: 4px 0 10px; }
.vend-points { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.vend-points li { padding: 10px 12px; border-radius: 12px; background: rgba(148,163,184,.08); border: 1px solid rgba(148,163,184,.18); line-height: 1.45; }
.vend-example { text-align: center; padding: 10px; border-radius: 12px; border: 1px dashed rgba(245,196,81,.5); margin: 4px 0 12px; }
.vend-example b { font-size: 1.2rem; }
.vend-link { padding: 12px; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid rgba(148,163,184,.2); margin-bottom: 12px; }
.vend-link span { display: block; font-size: .75rem; color: var(--text-2); margin-bottom: 4px; }
.vend-link code { display: block; word-break: break-all; font-size: .9rem; }
.vend-btns { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.vend-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.vend-kpis div { padding: 10px; border-radius: 12px; background: rgba(148,163,184,.08); text-align: center; }
.vend-kpis small { display: block; color: var(--text-2); font-size: .72rem; }
.vend-kpis b { font-size: 1.15rem; }
.vend-dlg .data-table { min-width: 0; }
.vend-dlg .data-table td:nth-child(2), .vend-dlg .data-table td:nth-child(3) { white-space: nowrap; }
.nav-links a.nav-aff { color: #1f2937; background: var(--gold-grad, linear-gradient(135deg, #fde68a, #f59e0b)); padding: 4px 12px; border-radius: 999px; text-shadow: none; font-weight: 700; }
.nav-links a.nav-aff:hover { color: #1f2937; filter: brightness(1.08); text-shadow: none; }
.svc-card.svc-aff { border: 1.5px solid rgba(251,191,36,.75); box-shadow: 0 0 22px rgba(251,191,36,.22); }
.svc-card.svc-aff .svc-icon svg { stroke: var(--gold-2); }
.svc-card.svc-aff .svc-price { color: var(--gold-2); }
.vend-w8 { margin: 12px 0; padding: 12px; border-radius: 12px; border: 1px solid rgba(245,196,81,.45); background: rgba(245,196,81,.07); font-size: .88rem; line-height: 1.5; }
.vend-w8 p { margin: 6px 0; }
.vend-w8 details { margin-top: 8px; }
.vend-w8 summary { cursor: pointer; font-weight: 700; color: var(--gold-2); }
.vend-w8 ol { padding-left: 18px; margin: 6px 0; display: grid; gap: 4px; }
.vend-w8btn { border: 1px solid rgba(245,196,81,.5); background: rgba(245,196,81,.12); color: #f5c451; border-radius: 999px; padding: 4px 10px; font: 700 .75rem var(--font); cursor: pointer; white-space: nowrap; }
.vend-w8btn.ok { border-color: rgba(52,211,153,.5); background: rgba(16,185,129,.12); color: #34d399; }
.vend-warn { display: block; color: #f5c451; font-size: .72rem; margin-top: 4px; }
.us-only { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font: 700 .68rem var(--font); color: #93c5fd; border: 1px solid rgba(147,197,253,.5); background: rgba(59,130,246,.12); vertical-align: middle; white-space: nowrap; letter-spacing: 0; text-transform: none; }
.svc-badge.us-only { margin-left: 6px; }
.vend-apps { margin: 12px 0 6px; }
.vend-apps h4 { margin: 0 0 8px; }
.vend-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ef4444; color: #fff; font: 800 .72rem var(--font); vertical-align: middle; }
.vend-apply { display: grid; gap: 10px; margin-top: 8px; }
.vend-apply textarea { width: 100%; resize: vertical; }
.push-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; margin: 0 0 18px; flex-wrap: wrap; }
.push-box small { display: block; color: var(--text-2); font-size: .8rem; margin-top: 2px; max-width: 620px; }
#vendSellers td span.gold { display: block; font-weight: 700; }
#vendSellers td span.gold + small { margin-bottom: 4px; }
.vend-piggy { border: 1px dashed rgba(245,196,81,.55); }
