/* ═══════════════════════════════════════════
   VaultStore — Catálogo · Paleta profesional
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #080c14;
  --bg2:     #0c1120;
  --surface: #111827;
  --surf2:   #161f30;
  --surf3:   #1c2840;
  --border:  rgba(148,163,184,.1);
  --border2: rgba(148,163,184,.18);
  --text:    #f1f5f9;
  --muted:   #64748b;
  --muted2:  #94a3b8;
  --gold:    #fbbf24;
  --radius:  14px;
  --accent:  #6366f1;
  --accent2: #818cf8;
  --glow:    rgba(99,102,241,.2);
  --chip-bg: rgba(99,102,241,.12);
  --chip-bd: rgba(99,102,241,.3);
  --chip-tx: #a5b4fc;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,12,20,.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  height: 62px; display: flex; align-items: center;
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg,#6366f1,#818cf8);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: 0 4px 14px rgba(99,102,241,.45);
}
.logo-name { font-size: 17px; font-weight: 800; color: var(--text); }
.logo-name span { color: var(--accent2); }

.nav-crumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.nav-crumb a { color: var(--muted); transition: color .2s; }
.nav-crumb a:hover { color: var(--muted2); }
.crumb-active { color: var(--muted2); font-weight: 600; }

.nav-contact {
  padding: 8px 20px; border-radius: 9px; white-space: nowrap;
  background: linear-gradient(135deg,var(--accent),var(--accent2));
  color: white; font-size: 13px; font-weight: 700; transition: all .2s;
  box-shadow: 0 4px 16px var(--glow);
  border: 1px solid rgba(255,255,255,.12);
}
.nav-contact:hover { transform: translateY(-1px); box-shadow: 0 6px 22px var(--glow); }

/* ── PAGE HERO ── */
.page-hero {
  position: relative; overflow: hidden;
  padding: 52px 24px 44px; text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(99,102,241,.04) 0%, transparent 100%);
}
.page-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% -10%,var(--glow) 0%,transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }

.page-icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 20px;
  background: var(--surf2);
  border: 1px solid var(--border2);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  margin-bottom: 20px;
  animation: iconBounce .6s ease both;
}
.page-icon { font-size: 38px; display: block; }

@keyframes iconBounce {
  0%   { transform: scale(.5) translateY(10px); opacity: 0; }
  70%  { transform: scale(1.08) translateY(-4px); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.hero-cat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surf2); border: 1px solid var(--border2);
  color: var(--muted2); padding: 4px 14px; border-radius: 100px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900;
  color: var(--text); letter-spacing: -1px; margin-bottom: 10px;
  animation: fadeDown .5s .1s ease both;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg,#818cf8,#c084fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p {
  font-size: 14px; color: var(--muted2); max-width: 460px;
  margin: 0 auto 22px; line-height: 1.6;
  animation: fadeDown .5s .15s ease both;
}

.hero-mini-stats {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surf2); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 18px;
  animation: fadeDown .5s .25s ease both;
}
.hero-mini-stat {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--muted2);
}
.hero-mini-stat strong { color: var(--text); font-weight: 700; }
.hero-mini-sep { width: 1px; height: 14px; background: var(--border2); }

@keyframes fadeDown {
  from { opacity:0; transform:translateY(-10px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── CATÁLOGO ── */
.catalogo { padding: 32px 0 60px; }

/* ── GRID DE PRODUCTOS ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* ── PRODUCT CARD ── */
.pcard {
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.23,1,.32,1),
              border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(20px);
  animation: cardIn .45s ease forwards;
}
@keyframes cardIn { to { opacity:1; transform:translateY(0); } }

.pcard:hover {
  transform: translateY(-6px);
  border-color: var(--border2);
  box-shadow: 0 16px 48px rgba(0,0,0,.5),
              0 0 0 1px rgba(255,255,255,.06);
}

/* Imagen */
.pcard-img {
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.pcard-img svg { filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }

.pcard-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.85); padding: 3px 9px;
  border-radius: 100px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.pcard-badge.hot {
  background: rgba(239,68,68,.25);
  border-color: rgba(239,68,68,.4);
  color: #fca5a5;
}

/* Cuerpo */
.pcard-body {
  padding: 14px 14px 12px;
  display: flex; flex-direction: column; flex: 1;
}
.pcard-body h3 {
  font-size: 16px; font-weight: 800; color: var(--text);
  margin-bottom: 5px; letter-spacing: -.2px;
}
.pcard-type {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; margin-bottom: 8px;
  padding: 3px 9px; border-radius: 100px; width: fit-content;
  background: var(--chip-bg);
  border: 1px solid var(--chip-bd);
  color: var(--chip-tx);
}

/* descripción corta — máx 2 líneas */
.pcard-desc {
  font-size: 12px; color: var(--muted2); line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Fila inferior: precio + botón */
.pcard-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 10px; border-top: 1px solid var(--border);
  margin-top: auto;
}
.pcard-price {
  font-size: 15px; font-weight: 900; color: var(--gold);
  line-height: 1.2; letter-spacing: -.3px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
}
.pcard-price small {
  font-size: 10px; font-weight: 500; color: var(--muted);
}
.pcard-price-old {
  font-size: 11px; font-weight: 500;
  color: var(--muted); text-decoration: line-through;
  opacity: .45;
}
.pcard-buy {
  padding: 9px 16px; border-radius: 9px;
  background: linear-gradient(135deg,var(--accent),var(--accent2));
  color: white; font-size: 12px; font-weight: 700;
  transition: all .2s; white-space: nowrap;
  box-shadow: 0 3px 12px var(--glow);
  border: 1px solid rgba(255,255,255,.1);
}
.pcard-buy:hover {
  transform: scale(1.04); filter: brightness(1.1);
  box-shadow: 0 5px 18px var(--glow);
}

/* ── GARANTÍAS ── */
.garantias {
  padding: 52px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.garantias-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 28px; text-align: center;
}
.g-item { padding: 8px; }
.g-item span  { font-size: 32px; display: block; margin-bottom: 10px; }
.g-item strong{ font-size: 14px; color: var(--text); display: block; margin-bottom: 5px; font-weight: 700; }
.g-item p     { font-size: 12px; color: var(--muted2); }

/* ── CTA ── */
.cta-section { padding: 64px 0; background: var(--bg); }
.cta-box {
  max-width: 680px; margin: 0 auto; padding: 48px 40px;
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: 20px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content:''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 0%, var(--glow) 0%, transparent 60%);
}
.cta-box h2 { font-size: 1.8rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.cta-box p  { font-size: 14px; color: var(--muted2); margin-bottom: 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  color: white; font-weight: 700; font-size: 14px; transition: all .2s;
}
.cta-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.cta-btn.wapp  { background: #22c55e; box-shadow: 0 4px 14px rgba(34,197,94,.3); }
.cta-btn.tele  { background: #3b82f6; box-shadow: 0 4px 14px rgba(59,130,246,.3); }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--border); padding: 24px 0; background: var(--bg); }
.footer .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.back-home {
  font-size: 13px; font-weight: 600; color: var(--accent2);
  display: flex; align-items: center; gap: 6px; transition: gap .2s;
}
.back-home:hover { gap: 10px; }
.footer p { font-size: 12px; color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .product-grid { grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 12px; }
  .nav-crumb { display: none; }
  .cta-box { padding: 36px 20px; }
  .hero-mini-stats { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 10px 16px; }
  .hero-mini-sep { display: none; }
}

/* ── SKELETON LOADER ── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--surf2) 25%, var(--surf3) 50%, var(--surf2) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 8px;
}
.skel-card {
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.skel-img  { height: 120px; }
.skel-body { padding: 14px 14px 12px; display:flex; flex-direction:column; gap:8px; }
.skel-title{ height: 16px; width: 60%; }
.skel-type { height: 12px; width: 40%; border-radius:100px; }
.skel-desc { height: 11px; width: 90%; }
.skel-desc2{ height: 11px; width: 70%; }
.skel-foot { display:flex; justify-content:space-between; align-items:center; margin-top:10px; padding-top:10px; border-top:1px solid var(--border); }
.skel-price{ height: 18px; width: 25%; }
.skel-btn  { height: 32px; width: 80px; border-radius:9px; }

/* ── AGOTADO ── */
.pcard.agotado { opacity: .7; }
.pcard.agotado .pcard-img::after {
  content: 'AGOTADO';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.65);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #ef4444;
  letter-spacing: .12em;
  backdrop-filter: blur(2px);
}
.pcard.agotado .pcard-buy {
  background: #374151 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  opacity: .6;
  pointer-events: none;
}

/* ── FAQ ── */
.faq-section {
  padding: 48px 0 60px;
  border-top: 1px solid var(--border);
}
.faq-section h2 {
  font-size: 20px; font-weight: 800; color: var(--text);
  margin-bottom: 20px; text-align: center;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%; background: none; border: none;
  color: var(--text); padding: 16px 20px;
  text-align: left; font-size: 14px; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; transition: background .2s; gap: 12px;
}
.faq-q:hover { background: var(--surf3); }
.faq-q span { font-size: 20px; color: var(--accent); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 16px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 13px; color: var(--muted2); line-height: 1.7; }
