/* CONEXXTION — pagina publica. Negro, verde neon y blanco. Pensada primero para telefono. */
:root {
  --neon: #ccfa09;
  --neon-tinta: #0a0d00;
  --fondo: #000;
  --sup: #0c0d0b;
  --sup2: #151713;
  --linea: rgba(255, 255, 255, .1);
  --texto: #fff;
  --suave: rgba(255, 255, 255, .66);
  --radio: 22px;
  --nav: 58px;
  --salida: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 16px); }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font: 100%/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
svg { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--neon); color: var(--neon-tinta); padding: .6rem 1rem; border-radius: 12px; font-weight: 700; }
.saltar:focus { top: 12px; }
.ancho { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
.solo-pc { display: none; }

/* ---------- Tipografia: la del sistema, con caracter urbano en los titulares ---------- */
.titular {
  font-size: clamp(2.5rem, 10.5vw, 5.4rem); line-height: .96; letter-spacing: -.035em;
  font-weight: 900; font-style: italic; text-transform: uppercase; text-wrap: balance;
}
.titular.chico { font-size: clamp(2rem, 7.5vw, 3.6rem); }
.subtitular { font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.05; letter-spacing: -.025em; font-weight: 900; font-style: italic; text-transform: uppercase; }
.sobre { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--neon); }
.rotulo { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); margin: 1.4rem 0 .6rem; }
.bajada { font-size: clamp(1.02rem, 2.6vw, 1.2rem); line-height: 1.45; color: var(--suave); max-width: 34rem; text-wrap: pretty; }
/* Trazo de aerosol bajo la palabra clave, como el subrayado del logotipo */
.trazo { color: var(--neon); position: relative; white-space: nowrap; display: inline-block; }
.trazo::after {
  content: ""; position: absolute; left: -3%; right: -5%; bottom: -.2em; height: .3em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M5 13C70 5 150 5 294 6L196 14c36-1 66-1 96 2' fill='none' stroke='%23ccfa09' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ---------- Botones: responden al instante al tocarlos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: 0 1.15rem;
  border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; user-select: none;
  transition: transform .18s var(--salida), box-shadow .25s ease, background-color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.96); transition-duration: .06s; }
.btn-neon { background: var(--neon); color: var(--neon-tinta); }
.btn-linea { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-chico { min-height: 40px; padding: 0 .8rem; font-size: .88rem; }
.btn-grande { min-height: 54px; padding: 0 1.6rem; font-size: 1.05rem; }
@media (hover: hover) {
  .btn-neon:hover { box-shadow: 0 0 0 4px rgba(204, 250, 9, .18), 0 10px 34px -8px rgba(204, 250, 9, .6); }
  .btn-linea:hover { border-color: var(--neon); }
}
.enlace { display: inline-flex; align-items: center; gap: .35rem; color: var(--neon); font-weight: 600; font-size: .95rem; }
.enlace svg { transition: transform .25s var(--salida); }
@media (hover: hover) { .enlace:hover svg { transform: translateX(4px); } }

/* ---------- Barra superior: material translucido, el contenido pasa por debajo ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav-in { display: flex; align-items: center; gap: .4rem; height: var(--nav); }
.nav-logo { margin-right: auto; display: block; padding: 6px 0; }
.nav-logo img { height: 34px; width: auto; mix-blend-mode: screen; }
.nav nav { display: flex; }
.nav nav a { padding: .55rem .6rem; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .82); border-radius: 10px; transition: color .2s; }
.nav nav a[aria-current], .nav nav a:hover { color: var(--neon); }
.nav .btn { margin-left: .2rem; }

/* ---------- Portada ---------- */
.portada {
  position: relative; padding: clamp(2rem, 7vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(52rem 26rem at 88% -8%, rgba(204, 250, 9, .17), transparent 62%),
    radial-gradient(34rem 20rem at -12% 105%, rgba(204, 250, 9, .08), transparent 62%);
}
.portada-in { display: grid; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.portada-texto { display: grid; gap: 1.15rem; justify-items: start; }
.acciones { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .5rem; }
.portada-arte { justify-self: center; width: min(88vw, 520px); }
.portada-arte img {
  width: 100%; height: auto; border-radius: clamp(22px, 5vw, 34px); transform: rotate(-2.2deg);
  box-shadow: 0 0 0 1px rgba(204, 250, 9, .28), 0 30px 90px -24px rgba(204, 250, 9, .45);
}
.pilares { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: clamp(2rem, 6vw, 3.5rem); }
.pilares li {
  padding: .7rem .85rem; border: 1px solid var(--linea); border-left: 3px solid var(--neon); border-radius: 4px 14px 14px 4px;
  font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; line-height: 1.25; background: rgba(255, 255, 255, .025);
}

/* ---------- Bloques ---------- */
.bloque { padding-block: clamp(1.75rem, 5vw, 3.5rem); }
.bloque-cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .6rem 1.5rem; margin-bottom: 1.25rem; }

/* Carrusel de banners: desliza con el dedo, con inercia nativa */
.carrusel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radio); }
.carrusel::-webkit-scrollbar { display: none; }
.banner { position: relative; flex: 0 0 90%; scroll-snap-align: center; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); align-self: center; }
.banner:only-child { flex-basis: 100%; }
.banner img { width: 100%; height: auto; }
.banner-texto { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); display: grid; gap: .15rem; font-size: .95rem; }
.banner-texto b { font-size: 1.25rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.015em; }

.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.promo { display: block; background: var(--sup); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; }
.promo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-texto { display: grid; gap: .3rem; padding: 1rem 1.1rem 1.15rem; color: var(--suave); font-size: .95rem; }
.promo-texto b { color: #fff; font-size: 1.15rem; line-height: 1.2; }
.promo-texto small { color: var(--neon); font-weight: 600; }

/* ---------- Tarjetas de producto ---------- */
.rejilla { display: grid; gap: 12px; }
.tarjeta {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); background: var(--sup); border: 1px solid var(--linea);
  border-radius: var(--radio); overflow: hidden; transition: border-color .25s ease, transform .35s var(--salida);
}
.tarjeta-media { position: relative; display: block; background: var(--sup2); container-type: inline-size; min-height: 112px; }
.tarjeta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ficha {
  position: absolute; inset: 0; display: flex; flex-wrap: wrap; gap: 5cqw; padding: 9cqw; justify-content: center; align-content: center;
  background: radial-gradient(120% 90% at 100% 0%, rgba(204, 250, 9, .2), transparent 58%), #0a0b09;
}
.ficha span {
  width: 24cqw; aspect-ratio: 1; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .26); border-radius: 24%;
  font-size: 12px; font-size: 9.5cqw; font-weight: 800; font-style: italic; letter-spacing: -.02em; color: rgba(255, 255, 255, .9);
}
.ficha span:first-child { background: var(--neon); color: var(--neon-tinta); border-color: transparent; }
.ficha span:only-child { width: 42cqw; font-size: 16cqw; }
.sello {
  position: absolute; top: 8px; left: 8px; background: var(--neon); color: var(--neon-tinta); font-size: .6rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: .22rem .5rem; border-radius: 999px;
}
.sello.fijo { position: static; display: inline-block; font-size: .7rem; padding: .3rem .7rem; }
.tarjeta-info { display: flex; flex-direction: column; gap: .45rem; padding: .8rem .9rem .85rem; min-width: 0; }
.tarjeta-info .sobre { display: none; }
.tarjeta h3 { font-size: 1.08rem; line-height: 1.2; letter-spacing: -.015em; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.chips li { font-size: .72rem; line-height: 1; padding: .32rem .55rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: rgba(255, 255, 255, .88); white-space: nowrap; }
.chips.grandes li { font-size: .9rem; padding: .5rem .85rem; }
.desc { font-size: .84rem; color: var(--suave); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.estado { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600; color: var(--suave); }
.estado::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.estado.si::before { background: var(--neon); box-shadow: 0 0 8px var(--neon); }
.estado.no { color: #ff8a80; }
.tarjeta-pie { display: flex; align-items: end; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .2rem; }
.precio { display: flex; flex-direction: column; line-height: 1.1; }
.precio b { font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; color: var(--neon); font-variant-numeric: tabular-nums; }
.precio span { font-size: .78rem; color: var(--suave); margin-top: .15rem; }
.precio.grande b { font-size: clamp(2.6rem, 9vw, 3.6rem); }
.precio.grande span { font-size: 1rem; }
.tarjeta .btn { min-height: 42px; padding: 0 .95rem; font-size: .9rem; }

/* ---------- Catalogo ---------- */
.cat-cab { padding-block: clamp(1.5rem, 5vw, 3rem) 1.25rem; display: grid; gap: .7rem; }
.filtros { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filtros .buscar { grid-column: 1 / -1; position: relative; }
.buscar svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--suave); pointer-events: none; }
.filtros input, .filtros select {
  width: 100%; height: 48px; padding: 0 14px; background: var(--sup2); color: #fff; border: 1px solid var(--linea); border-radius: 14px;
  font: inherit; font-size: 1rem; appearance: none; -webkit-appearance: none; transition: border-color .2s;
}
.filtros input { padding-left: 42px; }
.filtros select {
  padding-right: 34px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ccfa09' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 11px;
}
.filtros input:focus, .filtros select:focus { outline: none; border-color: var(--neon); }
.filtros input::placeholder { color: rgba(255, 255, 255, .45); }
.pildoras {
  position: sticky; top: var(--nav); z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: -16px; padding: 10px 16px; background: rgba(0, 0, 0, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
}
.pildoras::-webkit-scrollbar { display: none; }
.pildoras a {
  flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18);
  font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .86); transition: background-color .2s, color .2s, border-color .2s, transform .18s var(--salida);
}
.pildoras a:active { transform: scale(.95); }
.pildoras a[aria-current] { background: var(--neon); color: var(--neon-tinta); border-color: transparent; }
.cuenta { font-size: .85rem; color: var(--suave); margin: .35rem 0 .8rem; }
.vacio, .vacio-pag { display: grid; gap: 1rem; justify-items: center; text-align: center; padding: 3.5rem 1rem; color: var(--suave); }
.vacio-pag { padding-block: 6rem; }

/* ---------- Producto ---------- */
.producto { padding-block: 1.25rem 2rem; }
.volver { margin-bottom: 1rem; min-height: 40px; }
.producto-in { display: grid; gap: 1.5rem; }
.producto-media { position: relative; border-radius: clamp(22px, 5vw, 30px); overflow: hidden; background: var(--sup2); border: 1px solid var(--linea); container-type: inline-size; }
.producto-media img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
.producto-media .ficha { position: relative; aspect-ratio: 1; }
.producto-media .ficha span { width: 20cqw; font-size: 7.5cqw; }
.producto-media .ficha span:only-child { width: 36cqw; font-size: 13cqw; }
.producto-info { display: grid; gap: .8rem; align-content: start; justify-items: start; }
.producto-info .rotulo { margin: .4rem 0 -.2rem; }
.compra { width: 100%; display: grid; gap: .8rem; justify-items: start; margin-top: .6rem; padding: 1.2rem; border: 1px solid var(--linea); border-radius: var(--radio); background: var(--sup); }
.compra .btn { width: 100%; }

/* ---------- Contacto y pie ---------- */
.contacto {
  display: grid; gap: 2rem; padding: clamp(1.4rem, 5vw, 3rem); border-radius: clamp(24px, 5vw, 34px); border: 1px solid rgba(204, 250, 9, .22);
  background: radial-gradient(40rem 18rem at 100% 0%, rgba(204, 250, 9, .13), transparent 60%), var(--sup);
}
.contacto > div { display: grid; gap: .9rem; justify-items: start; }
.redes { display: flex; flex-wrap: wrap; gap: .5rem; }
.datos { display: grid; gap: 1.3rem; align-content: start; }
.datos dt { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--neon); margin-bottom: .35rem; }
.datos dd { color: rgba(255, 255, 255, .86); line-height: 1.6; }
.pie { margin-top: 2rem; border-top: 1px solid var(--linea); padding-block: 2rem calc(2rem + env(safe-area-inset-bottom)); color: var(--suave); font-size: .88rem; }
.pie-in { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.pie img { height: 40px; width: auto; mix-blend-mode: screen; }
.pie nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; }
.pie nav a { padding: .5rem .2rem; color: rgba(255, 255, 255, .82); }

/* ---------- Aparicion suave al entrar en pantalla (solo si hay JavaScript) ---------- */
.js .revelar { opacity: 0; transform: translateY(16px); }
.js .revelar.visto { opacity: 1; transform: none; transition: opacity .55s ease, transform .6s var(--salida), border-color .25s ease; }

/* ---------- Pantallas mas grandes ---------- */
@media (min-width: 620px) {
  .rejilla { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
  .tarjeta { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .tarjeta-media { aspect-ratio: 4 / 3; min-height: 0; }
  .ficha span { width: 19cqw; font-size: 7.5cqw; }
  .ficha span:only-child { width: 30cqw; font-size: 11cqw; }
  .tarjeta-info { padding: 1rem 1.05rem 1.1rem; gap: .55rem; }
  .tarjeta-info .sobre { display: block; font-size: .66rem; }
  .sello { top: 12px; left: 12px; font-size: .66rem; }
  .filtros { grid-template-columns: minmax(0, 1fr) 220px 220px; }
  .filtros .buscar { grid-column: auto; }
  .pilares { grid-template-columns: repeat(4, 1fr); }
  .compra .btn { width: auto; }
  .solo-pc { display: inline; }
  .nav nav a { padding-inline: .9rem; }
  .btn-chico { padding: 0 1rem; }
  .pildoras { margin-inline: 0; padding-inline: 0; }
}
@media (min-width: 900px) {
  .portada-in { grid-template-columns: 1.1fr .9fr; }
  .producto-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
  .producto-media { position: sticky; top: calc(var(--nav) + 20px); }
  .contacto { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .pie-in { grid-template-columns: auto 1fr auto; text-align: left; align-items: center; }
  .pie nav { justify-content: center; }
}
@media (hover: hover) {
  .tarjeta:hover { border-color: rgba(204, 250, 9, .55); transform: translateY(-4px); }
  .promo:hover, .banner:hover { border-color: rgba(204, 250, 9, .55); }
}

/* ---------- Accesibilidad ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .revelar { opacity: 1; transform: none; }
  .tarjeta:hover, .btn:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .pildoras { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --linea: rgba(255, 255, 255, .45); --suave: rgba(255, 255, 255, .9); }
}
