/* Tienda pública. */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(198, 255, 52, 0.15); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8, 8, 13, 0.72);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-weight: 600; font-size: 15px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 8px 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  cursor: pointer; font-weight: 700; font-size: 15px;
}
.cart-btn:hover { border-color: rgba(255, 255, 255, 0.28); }
.cart-count {
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-size: 12.5px; font-weight: 800;
  display: grid; place-items: center;
}
.bump { animation: bump 0.45s ease; }
@keyframes bump { 35% { transform: scale(1.12); } }

/* ---------- Portada ---------- */
.hero { position: relative; overflow: clip; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before {
  width: 760px; height: 760px; right: -220px; top: -260px;
  background: radial-gradient(closest-side, rgba(132, 102, 255, 0.26), transparent);
}
.hero::after {
  width: 520px; height: 520px; left: -240px; bottom: -280px;
  background: radial-gradient(closest-side, rgba(198, 255, 52, 0.12), transparent);
}
.hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); margin: 18px 0 22px; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 34em; }
.lead strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 36px; }
.trust {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; max-width: 520px;
}
.trust li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: #d4d4e0; }
.trust .ico { color: var(--accent); }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.tile-wall {
  position: absolute; inset: -6% -14%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-content: center;
  transform: rotate(-12deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent);
  mask-image: radial-gradient(closest-side, #000 50%, transparent);
}
.tile-wall .tile { --tile-fs: clamp(20px, 2.4vw, 30px); width: 100%; height: auto; aspect-ratio: 1; border-radius: 26%; }
.tile-wall .tile:nth-child(odd) { animation: flota 7s ease-in-out infinite; }
.tile-wall .tile:nth-child(even) { animation: flota 7s ease-in-out -3.5s infinite; }
@keyframes flota { 50% { transform: translateY(-8px); } }

.ticket {
  position: relative; z-index: 1; width: min(350px, 100%);
  padding: 22px; border-radius: var(--r-lg);
  background: rgba(19, 19, 28, 0.86);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.85);
}
.ticket-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.ticket-badge {
  padding: 4px 10px; border-radius: 999px; letter-spacing: 0.02em; text-transform: none;
  background: rgba(198, 255, 52, 0.12); color: var(--accent); font-size: 12.5px;
}
.ticket-badge:empty { display: none; }
.ticket-title { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; margin: 10px 0 8px; }
.ticket-list { list-style: none; margin: 0; padding: 0; }
.ticket-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); font-weight: 600; font-size: 15px; }
.ticket-list li span:not(.tile) { flex: 1; min-width: 0; }
.ticket-list .tile { --tile-fs: 14px; width: 36px; height: 36px; border-radius: 10px; }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 18px; color: var(--muted); font-weight: 700; }
.ticket-total strong { font-family: var(--display); font-size: 36px; color: var(--accent); letter-spacing: -0.02em; }

/* ---------- Cinta de marcas ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: cinta 45s linear infinite; }
.marquee-track > span {
  display: flex; align-items: center; gap: 12px; padding-right: 40px;
  font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.2vw, 24px);
  color: #c9c9d6; white-space: nowrap;
}
.marquee-track > span::after { content: "✦"; margin-left: 28px; color: var(--accent); font-size: 0.66em; }
.tile--mini { --tile-fs: 12px; width: 32px; height: 32px; border-radius: 9px; box-shadow: none; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 14px 0 12px; letter-spacing: -0.03em; }
.section-sub { color: var(--muted); font-size: 17px; }
.section-sub a { color: var(--accent); }

/* ---------- Catálogo ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  flex: none; height: 40px; padding: 0 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-weight: 700; font-size: 14.5px; color: var(--muted);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.chip small { font-size: 12px; color: var(--dim); font-weight: 700; }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--ink); }
.chip[aria-pressed="true"] small { color: #5b5b70; }
.search {
  display: flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 16px; border-radius: 999px; min-width: min(300px, 100%);
  background: var(--surface); border: 1px solid var(--line-2); color: var(--muted);
}
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 15px; color: var(--text); }
.search input::placeholder { color: var(--dim); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }

.card {
  --brand: #6b6bff;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
  padding: 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--brand) 24%, transparent), transparent 70%);
}
@media (hover: hover) {
  .card:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line-2)); transform: translateY(-2px); }
  .card.is-agotado:hover { transform: none; }
  .card:hover .card-top .tile { transform: rotate(-6deg) scale(1.06); }
  .wa-float:hover .wa-burbuja { opacity: 1; transform: none; }
  .wa-float:hover .wa-boton { transform: scale(1.07); }
  .btn-primary:hover::after { transform: translateX(130%); }
}
.card-top .tile { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1.3); }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--brand) 70%, transparent); }
.card--skeleton { min-height: 318px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: brillo 1.4s linear infinite; }
.card--skeleton::before { display: none; }
@keyframes brillo { to { background-position: -150% 0; } }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.card-top .tile { --tile-fs: 20px; width: 58px; height: 58px; border-radius: 17px; }
.card-title { margin-top: -4px; }
.card h3 { font-size: 23px; letter-spacing: -0.02em; }
.modalidad { margin-top: 5px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tag {
  flex: none; white-space: nowrap;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2);
  font-size: 11.5px; font-weight: 800; color: #dadae6;
}
.card-desc { flex: 1; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.planes { display: flex; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); min-width: 0; }
.plan { position: relative; flex: 1; min-width: 0; }
.plan input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.plan span {
  display: block; padding: 8px 6px; border-radius: 999px; text-align: center; white-space: nowrap;
  font-size: 13.5px; font-weight: 700; color: var(--muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.plan input:hover + span { color: var(--text); }
.plan input:checked + span { background: var(--text); color: var(--ink); }
.plan input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan-unico { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); font-size: 13.5px; font-weight: 700; color: var(--muted); text-align: center; }

.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.precio { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.precio strong { font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.precio small { margin-top: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.antes { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13px; color: var(--dim); }
.antes em { font-style: normal; font-weight: 800; color: var(--accent); }
.card-actions { display: flex; gap: 8px; flex: none; }
.card-actions .btn-icon:hover { border-color: var(--wa); color: var(--wa); background: rgba(37, 211, 102, 0.08); }

.card.is-agotado .tile, .card.is-agotado .precio { filter: grayscale(1); opacity: 0.55; }
.tag--agotado { background: rgba(255, 181, 71, 0.12); border-color: rgba(255, 181, 71, 0.35); color: var(--warn); }

.empty { margin-top: 24px; padding: 28px; border-radius: var(--r); border: 1px dashed var(--line-2); text-align: center; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.empty a { color: var(--accent); font-weight: 700; cursor: pointer; }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step-num { font-family: var(--display); font-size: 64px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(198, 255, 52, 0.7); }
.step h3 { font-size: 23px; margin: 20px 0 8px; }
.step p { color: var(--muted); }

/* ---------- Pagos ---------- */
.pagos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.pago { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pago-ico { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; background: rgba(198, 255, 52, 0.1); color: var(--accent); }
.pago-ico .ico { width: 22px; height: 22px; }
.pago h3 { font-family: var(--body); font-size: 16.5px; font-weight: 800; letter-spacing: 0; line-height: 1.3; }
.pago p { margin-top: 3px; font-size: 14px; color: var(--muted); }

/* ---------- Preguntas ---------- */
.faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }
.faq details strong { color: var(--text); }

/* ---------- Llamado final ---------- */
.cta { padding: clamp(64px, 9vw, 112px) 0 0; }
.cta-box {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(32px, 6vw, 64px); border-radius: 32px;
  background: var(--accent); color: var(--ink);
}
.cta-box::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(10, 10, 15, 0.06); pointer-events: none;
}
.cta-box h2 { font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -0.03em; }
.cta-box p { margin-top: 10px; font-weight: 700; opacity: 0.7; }
.cta-box .btn { position: relative; z-index: 1; }

/* ---------- Pie ---------- */
.site-footer { margin-top: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer-about { margin-top: 14px; max-width: 34ch; }
.footer-grid h4 { font-family: var(--body); font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; cursor: pointer; }
.footer-grid a:hover { color: var(--text); }
.legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 12.5px; color: var(--dim); }

/* ---------- WhatsApp flotante y barra de pedido ---------- */
.wa-float {
  position: fixed; z-index: 32; right: 18px; bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  transition: bottom 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: wa-entra 0.6s 0.8s cubic-bezier(0.2, 0.8, 0.2, 1.3) both;
}
@keyframes wa-entra { from { transform: translateY(30px) scale(0.6); opacity: 0; } }
.wa-boton {
  position: relative; width: 60px; height: 60px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 32px -10px rgba(37, 211, 102, 0.8);
  transition: transform 0.2s ease;
}
.wa-boton .ico { position: relative; width: 32px; height: 32px; animation: timbre 6s ease-in-out 3s infinite; }
/* Ondas de "llamada" alrededor del botón */
.wa-boton::before, .wa-boton::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: onda 2.6s ease-out infinite; pointer-events: none;
}
.wa-boton::after { animation-delay: 1.3s; }
@keyframes onda { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.75); opacity: 0; } }
@keyframes timbre {
  0%, 84%, 100% { transform: rotate(0); }
  87% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); }
  93% { transform: rotate(-8deg); } 96% { transform: rotate(5deg); }
}
.wa-burbuja {
  padding: 10px 16px; border-radius: 999px; white-space: nowrap;
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 700;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateX(12px) scale(0.92); transform-origin: right center;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1.3);
  pointer-events: none;
}
.wa-burbuja b { color: #0f8f45; }
.wa-float.abierta .wa-burbuja { opacity: 1; transform: none; }
body.con-pedido .wa-float { bottom: calc(90px + env(safe-area-inset-bottom)); }
body.con-pedido { padding-bottom: 84px; }

.cartbar {
  position: fixed; z-index: 31; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(520px, calc(100% - 32px)); height: 60px; padding: 0 8px 0 22px;
  display: flex; align-items: center; gap: 12px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--text); color: var(--ink); font-weight: 700; font-size: 15px;
  box-shadow: 0 24px 60px -14px rgba(0, 0, 0, 0.9);
  animation: sube 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes sube { from { transform: translate(-50%, 24px); opacity: 0; } }
.cartbar-info { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.cartbar-n { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-size: 13px; font-weight: 800; }
.cartbar-info strong { font-family: var(--display); font-size: 19px; font-weight: 800; }
.cartbar-go { margin-left: auto; flex: none; height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--accent); }
.cartbar-go .ico { width: 18px; height: 18px; }

/* ---------- Carrito (panel lateral) ---------- */
.drawer {
  margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid var(--line-2);
  width: min(440px, 100%); max-width: 100%; height: 100%; max-height: 100%;
  height: 100dvh; max-height: 100dvh;
  background: var(--bg-2); color: var(--text);
}
.drawer::backdrop { background: rgba(4, 4, 8, 0.66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer[open] { animation: entra 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes entra { from { transform: translateX(48px); opacity: 0; } }
body:has(.drawer[open]) { overflow: hidden; }
.drawer-in { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 22px; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item .tile { --tile-fs: 15px; width: 46px; height: 46px; border-radius: 13px; }
.ci-name { font-weight: 800; font-size: 15.5px; line-height: 1.3; }
.ci-plan { margin-top: 2px; font-size: 13px; color: var(--muted); }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ci-price { font-family: var(--display); font-size: 18px; font-weight: 800; }
.qty { display: inline-flex; align-items: center; height: 34px; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 34px; height: 32px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 999px; }
.qty button:hover { color: var(--text); }
.qty .ico { width: 16px; height: 16px; }
.qty output { min-width: 18px; text-align: center; font-weight: 800; font-size: 14px; }
.cart-empty { display: grid; justify-items: center; gap: 14px; padding: 64px 12px; text-align: center; color: var(--muted); }
.cart-empty-ico .ico { width: 40px; height: 40px; color: var(--dim); }
.drawer-foot { display: grid; gap: 12px; padding: 16px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.drawer-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-campos .input { height: 44px; font-size: 14.5px; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; font-weight: 700; color: var(--muted); }
.cart-total strong { font-family: var(--display); font-size: 30px; color: var(--text); letter-spacing: -0.02em; }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-wa:hover { background: #3be07b; }
.fine { font-size: 12px; color: var(--dim); text-align: center; margin-top: -4px; }
.link-btn { justify-self: center; margin-top: -6px; border: 0; background: none; padding: 4px 8px; font-size: 13px; font-weight: 700; color: var(--dim); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--danger); }

/* ---------- Animaciones ---------- */
@keyframes subir { from { opacity: 0; transform: translateY(24px); } }
@keyframes aparecer { from { opacity: 0; transform: scale(0.94); } }
@keyframes flota-ticket { 50% { transform: translateY(-10px) rotate(-0.6deg); } }
@keyframes deriva { to { transform: translate(-70px, 50px) scale(1.12); } }
@keyframes barrido { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

.hero-copy > * { animation: subir 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.18s; }
.hero-copy > :nth-child(4) { animation-delay: 0.28s; }
.hero-copy > :nth-child(5) { animation-delay: 0.38s; }
.hero-visual { animation: aparecer 1s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ticket { animation: flota-ticket 7s ease-in-out 1.2s infinite; }
.hero::before { animation: deriva 16s ease-in-out infinite alternate; }

/* Aparición al hacer scroll (la clase la pone animaciones.js) */
.revelar {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) var(--retraso, 0ms), transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) var(--retraso, 0ms);
}
.revelar.visible { opacity: 1; transform: none; }

/* Brillo que cruza los botones principales */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 0.7s ease;
}
.hero-cta .btn-primary::after, .ticket .btn-primary::after { animation: barrido 4.5s ease-in-out 2s infinite; }
.btn.ok { background: var(--ok); color: #03230f; }
.btn.ok .ico { animation: aparecer 0.3s cubic-bezier(0.2, 0.8, 0.2, 1.4); }

.site-header { transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.site-header.scrolled { background: rgba(8, 8, 13, 0.9); box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.9); }

/* ---------- Enlaces a cada servicio ---------- */
.serv-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.serv-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.serv-link .tile { --tile-fs: 15px; width: 46px; height: 46px; border-radius: 13px; }
.serv-link span:last-child { display: grid; min-width: 0; }
.serv-link b { font-size: 15.5px; line-height: 1.3; }
.serv-link small { font-size: 13px; color: var(--accent); font-weight: 700; }
@media (hover: hover) { .serv-link:hover { border-color: rgba(198, 255, 52, 0.4); transform: translateY(-2px); } }

/* ---------- Página de cada servicio ---------- */
.header-wa { margin-left: auto; }
.header-wa .ico { width: 18px; height: 18px; }
@media (min-width: 781px) { .header-wa { margin-left: 0; } }
.migas { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; font-size: 13.5px; color: var(--dim); }
.migas a { color: var(--muted); text-decoration: none; }
.migas a:hover { color: var(--text); }
.serv-hero { position: relative; overflow: clip; padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.serv-hero::before {
  content: ""; position: absolute; width: 640px; height: 640px; left: -160px; top: -240px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 32%, transparent), transparent);
  animation: deriva 14s ease-in-out infinite alternate;
}
.serv-hero-in { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.serv-logo { animation: aparecer 0.9s cubic-bezier(0.2, 0.8, 0.2, 1.2) both; }
.tile--xl {
  --tile-fs: 56px; width: clamp(120px, 20vw, 200px); height: clamp(120px, 20vw, 200px); border-radius: 26%;
  box-shadow: 0 30px 80px -20px var(--brand), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: flota-ticket 6s ease-in-out 1s infinite;
}
.serv-intro > * { animation: subir 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.serv-intro > :nth-child(2) { animation-delay: 0.08s; }
.serv-intro > :nth-child(3) { animation-delay: 0.16s; }
.serv-intro > :nth-child(4) { animation-delay: 0.24s; }
.serv-intro > :nth-child(5) { animation-delay: 0.32s; }
.serv-intro h1 { font-size: clamp(38px, 5.6vw, 68px); margin: 14px 0 16px; letter-spacing: -0.035em; }
.serv-datos { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.serv-datos li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 700; }
.serv-datos .ico { width: 16px; height: 16px; color: var(--accent); }
.serv-desde { margin-top: 20px; font-size: 17px; color: var(--muted); }
.serv-desde strong { font-family: var(--display); font-size: 40px; color: var(--accent); letter-spacing: -0.03em; }
.serv-planes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.serv-plan {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
}
.serv-plan h3 { font-family: var(--body); font-size: 15px; font-weight: 800; color: var(--muted); letter-spacing: 0; margin-bottom: 8px; }
.serv-plan .btn .ico { width: 18px; height: 18px; }
.serv-404 h1 { font-size: clamp(40px, 6vw, 72px); margin: 14px 0; }
.serv-404 .lead { margin-bottom: 24px; }
.serv-404 .serv-links { margin-top: 40px; }
.pago--cripto .pago-ico { background: rgba(240, 185, 11, 0.12); color: #f0b90b; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; }
  .tile-wall { inset: -4% -10%; }
  .faq-in { grid-template-columns: 1fr; }
  .faq-in .section-head { margin-bottom: 8px; }
}

@media (max-width: 780px) {
  .nav { display: none; }
  .cart-btn { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .toolbar { display: contents; }
  /* Las categorías quedan fijas bajo el encabezado mientras recorres el catálogo */
  .chips {
    position: sticky; top: var(--header-h); z-index: 20;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter);
    background: rgba(8, 8, 13, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .search { margin: 12px 0 18px; }
  .chips::-webkit-scrollbar { display: none; }
  .search { min-width: 0; }
}

@media (max-width: 520px) {
  :root { --header-h: 60px; }
  .header-in { gap: 12px; }
  .site-header .logo { font-size: 17px; gap: 8px; }
  .site-header .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
  .cart-btn-text { display: none; }
  .cart-btn { height: 42px; }
  .hero { padding: 28px 0 40px; }
  .hero h1 { font-size: clamp(36px, 11vw, 44px); margin: 14px 0 16px; }
  .lead { font-size: 16.5px; }
  .hero-cta { margin: 24px 0 26px; }
  .hero-cta .btn { flex: 1; }
  .trust { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .trust li { align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 1.35; }
  .trust .ico { width: 18px; height: 18px; }
  .hero-visual { min-height: 0; padding: 36px 0 12px; }
  .tile-wall { gap: 10px; inset: -2% -18%; }
  .marquee { padding: 14px 0; }
  .section-head { margin-bottom: 24px; }
  .section-sub { font-size: 16px; }

  /* Tarjeta compacta: ícono al lado del nombre */
  .card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 12px; padding: 16px; }
  .card-top { display: contents; }
  .card-top .tile { --tile-fs: 18px; grid-column: 1; grid-row: 1; width: 52px; height: 52px; border-radius: 15px; }
  .card-title { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .card h3 { font-size: 20px; }
  .modalidad { margin-top: 3px; font-size: 13px; }
  .card-top .tag { grid-column: 2; grid-row: 2; justify-self: start; margin-top: -6px; }
  .card-desc, .planes, .plan-unico, .card-foot { grid-column: 1 / -1; }
  .card-desc { font-size: 14px; }
  .plan span { padding: 10px 4px; }
  .card-foot { padding-top: 14px; }
  .precio strong { font-size: 30px; }
  .card-actions .btn { min-height: 44px; }
  .card-actions .btn-icon { width: 44px; height: 44px; }

  .step { padding: 22px; }
  .step-num { font-size: 48px; }
  .faq summary { font-size: 16.5px; padding: 18px 40px 18px 0; }
  .cta-box { border-radius: 24px; }
  .qty { height: 38px; }
  .qty button { width: 38px; height: 36px; }
  .drawer-head { padding: 14px 18px; }
  .drawer-body { padding: 4px 18px; }
  .drawer-foot { padding-inline: 18px; }
  .drawer-campos { grid-template-columns: 1fr; gap: 8px; }
  .cartbar { padding-left: 12px; }
  .cartbar-txt { display: none; }
  .cta-box .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { right: 14px; }
  .wa-boton { width: 56px; height: 56px; }
  .wa-boton .ico { width: 30px; height: 30px; }
  .wa-burbuja { font-size: 13px; padding: 9px 14px; }
}

@media (max-width: 520px) {
  .serv-hero-in { grid-template-columns: 1fr; justify-items: start; }
  .tile--xl { --tile-fs: 40px; width: 104px; height: 104px; }
  .serv-plan { padding: 16px 18px; }
  .header-wa span { display: none; }
  .header-wa { width: 42px; min-height: 42px; padding: 0; }
}
