/* Importados CABA — landing mayorista
   Regla de color: el verde es solo WhatsApp. Nada más en la página es verde. */

:root {
  --tinta: #0e1a3b;
  --tinta-2: #16275a;
  --papel: #eef5fc;
  --blanco: #fff;
  --sol: #ffc21a;
  --rojo: #d92b2b;
  --wa: #25d366;
  --wa-sombra: #118a49;
  --suave: #46557d;
  --linea: rgba(14, 26, 59, 0.16);

  --font-display: 'Anybody', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ring: var(--tinta);
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  scroll-padding-bottom: 96px; /* la barra fija del celular no tapa lo que recibe foco */
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--tinta);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}

body.gate-open { overflow: hidden; }

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }

.skip {
  position: absolute; left: 8px; top: -64px; z-index: 200;
  background: var(--sol); color: var(--tinta); padding: 12px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--xl { width: 44px; height: 44px; }

/* Tipografía de señalética */
h1, h2, .logo, .sticker, .tier__name, .steps__n, .brands__list, .price__now {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
}

h1 { font-size: clamp(3rem, 13.5vw, 7rem); line-height: 0.9; letter-spacing: 0; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 9vw, 4.75rem); line-height: 0.92; text-wrap: balance; }
h3 { font-size: 1.125rem; line-height: 1.25; font-weight: 700; }

.lead { font-size: clamp(1.0625rem, 2.2vw, 1.25rem); line-height: 1.5; max-width: 56ch; margin-top: 16px; text-wrap: pretty; }
.fine { font-size: 0.875rem; color: inherit; opacity: 0.8; margin-top: 24px; }

section { padding-block: clamp(56px, 9vw, 112px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0 1.25rem;
  border: 0; border-radius: 8px;
  font: 700 1rem/1.1 var(--font-body);
  text-decoration: none; text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out), background-color 140ms ease;
}
.btn--sm { min-height: 44px; padding: 0 1rem; font-size: 0.9375rem; }
.btn--lg { min-height: 60px; padding: 0 1.75rem; font-size: 1.125rem; }
.btn--xl { min-height: 72px; padding: 0 2.25rem; font-size: 1.375rem; border-radius: 10px; }

.btn--wa { background: var(--wa); color: var(--tinta); box-shadow: 0 4px 0 var(--wa-sombra); }
.btn--wa:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--wa-sombra); }

.btn--sol { background: var(--sol); color: var(--tinta); box-shadow: 0 4px 0 #b78600; }
.btn--sol:active { transform: translateY(3px); box-shadow: 0 1px 0 #b78600; }

.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); }
.btn--ghost:active { transform: scale(0.97); }

.btn--block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn--wa:hover { background: #3be57b; }
  .btn--sol:hover { background: #ffd04d; }
  .btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
}

/* ---------- Confirmación de edad ---------- */
.gate {
  --ring: var(--sol);
  position: fixed; inset: 0; z-index: 100;
  display: none; place-items: center;
  padding: 24px;
  background: var(--tinta); color: #fff;
}
.js:not(.age-ok) .gate { display: grid; }
.gate__panel { width: 100%; max-width: 460px; }
.gate .gate__brand { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 1.5rem; color: var(--sol); margin-bottom: 20px; }
.gate .gate__title { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.75rem, 12vw, 4.5rem); line-height: 0.92; color: #fff; margin-top: 0; text-wrap: balance; }
.gate p { color: #c9d4ee; margin-top: 16px; font-size: 1.0625rem; }
.gate__actions { display: grid; gap: 12px; margin-top: 28px; }
.gate .gate__blocked { color: #fff; font-weight: 600; margin-top: 20px; }

/* ---------- Header ---------- */
.top { background: var(--tinta); color: #fff; --ring: var(--sol); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: flex; flex-direction: column; line-height: 0.82; font-size: 1.5rem; }
.logo__b { color: var(--sol); }

/* ---------- Hero ---------- */
.hero { background: var(--tinta); color: #fff; padding-block: 24px clamp(56px, 8vw, 104px); --ring: var(--sol); }
/* Celular: titular, bajada, fila de productos y recién ahí el botón (todo dentro del primer pliegue). */
.hero__grid { display: flex; flex-direction: column; }
.hero__copy { display: contents; }
.hero h1 { order: 1; }
.hero__sub { order: 2; }
.hero__stage { order: 3; margin-top: 28px; }
.hero__cta { order: 4; }
.hero__retail { order: 5; align-self: flex-start; }
.proof { order: 6; }
.hero__sub { margin-top: 20px; font-size: clamp(1.0625rem, 2.4vw, 1.3125rem); line-height: 1.5; color: #d3dcf3; max-width: 46ch; text-wrap: pretty; }
.hero__cta { margin-top: 28px; display: grid; gap: 12px; justify-items: start; }
.hero__cta .btn { width: 100%; }
.hero__note { font-size: 0.9375rem; color: #b9c6e6; }
.hero__retail { display: inline-block; margin-top: 12px; padding: 10px 0; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.45); }
@media (hover: hover) { .hero__retail:hover { text-decoration-color: var(--sol); } }

.proof { display: grid; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.proof li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.proof .ico { color: var(--sol); }

.hero__stage { position: relative; padding-bottom: 22px; }
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: start; }
.wall li { background: #dfe3ea; border-radius: 6px; overflow: hidden; aspect-ratio: 1; }
.wall li:nth-child(3n + 2) { margin-top: 20px; }
.wall li:nth-child(n + 4) { display: none; }
.wall img { width: 100%; height: 100%; object-fit: cover; }

.sticker {
  position: absolute; left: 4%; bottom: 0;
  background: var(--sol); color: var(--tinta);
  font-size: clamp(1.5rem, 6vw, 2.25rem); line-height: 0.95;
  padding: 0.5em 0.7em 0.45em;
  border-radius: 6px;
  transform: rotate(-4deg);
  outline: 2px dashed rgba(14, 26, 59, 0.55); outline-offset: -6px;
}

/* Entrada del hero: un solo momento orquestado */
.js .wall li { opacity: 0; transform: translateY(18px); }
.js .sticker { opacity: 0; transform: rotate(-4deg) scale(0.9); }
.ready .wall li {
  opacity: 1; transform: none;
  transition: opacity 480ms var(--ease-out), transform 560ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.ready .sticker {
  opacity: 1; transform: rotate(-4deg) scale(1);
  transition: opacity 240ms ease-out 520ms, transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1) 520ms;
}

/* ---------- Marcas ---------- */
.brands { padding-block: 20px; background: var(--blanco); border-bottom: 2px solid var(--tinta); }
.brands__list { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: clamp(1.5rem, 5vw, 2.5rem); line-height: 1.15; color: var(--tinta); }

/* ---------- Ofertas ---------- */
.offers-sec { background: var(--sol); color: var(--tinta); }
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }

.offer { display: flex; flex-direction: column; background: var(--blanco); border: 2px solid var(--tinta); border-radius: 6px; overflow: hidden; }
.offer__media { position: relative; aspect-ratio: 1; background: #dfe3ea; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; }
.offer__badge {
  position: absolute; left: 0; top: 10px;
  background: var(--rojo); color: #fff;
  font: 700 0.8125rem/1 var(--font-body);
  padding: 7px 10px 7px 8px; border-radius: 0 4px 4px 0;
}
.offer__badge--plain { background: var(--tinta); }
.offer__body { display: flex; flex-direction: column; gap: 10px; padding: 12px; flex: 1; }
.offer__title { font-size: 0.9375rem; line-height: 1.25; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.offer__puffs { font-size: 0.8125rem; color: var(--suave); margin-top: -6px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin-top: auto; }
.price__now { font-size: 2.25rem; line-height: 0.9; font-variant-numeric: tabular-nums; }
.price__old { font-size: 0.9375rem; color: var(--suave); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.offer .btn { width: 100%; font-size: 0.9375rem; padding-inline: 0.5rem; }

/* ---------- Mayoreo ---------- */
.mayoreo { background: var(--blanco); }
.mayoreo__head { max-width: 760px; }
.benefits { display: grid; gap: 0; margin-top: 48px; border-top: 2px solid var(--tinta); }
.benefits li { display: flex; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--linea); }
.benefits .ico { color: var(--tinta); margin-top: 2px; }
.benefits h3 { font-size: 1.375rem; margin-bottom: 6px; }
.benefits p { color: var(--suave); max-width: 52ch; }

.steps { margin-top: 56px; }
.steps__title { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1; margin-bottom: 24px; }
.steps ol { display: grid; gap: 20px; counter-reset: paso; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.steps__n { display: grid; place-items: center; width: 56px; height: 56px; background: var(--tinta); color: var(--sol); font-size: 2rem; line-height: 1; border-radius: 6px; }
.steps p { padding-top: 4px; max-width: 42ch; }
.cta-row { margin-top: 48px; }
.cta-row .btn { width: 100%; }

/* ---------- Catálogo ---------- */
.catalog { background: var(--papel); }
/* Gamas: tres filas compactas, sin fotos. El detalle y los precios mayoristas se piden por WhatsApp. */
.tiers { margin-top: 40px; border-bottom: 2px solid var(--tinta); }
.tier { display: grid; gap: 14px; padding: 24px 0; border-top: 2px solid var(--tinta); }
.tier__name { font-size: clamp(2rem, 7vw, 2.75rem); line-height: 0.95; }
.tier__range { font-weight: 700; margin-top: 8px; }
.tier__lines { font-size: 0.9375rem; color: var(--suave); margin-top: 2px; }
.tier__price { display: flex; align-items: baseline; gap: 10px; color: var(--suave); font-variant-numeric: tabular-nums; }
.tier__price strong { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 2.25rem; line-height: 0.9; color: var(--tinta); }
.tier .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { background: var(--blanco); }
.faq__grid { display: grid; gap: 32px; }
.faq__list { border-bottom: 2px solid var(--tinta); }
.faq details { border-top: 2px solid var(--tinta); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0;
  font-weight: 700; font-size: 1.125rem; line-height: 1.3;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 24px; height: 24px; transition: transform 200ms var(--ease-out); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 0 22px; max-width: 60ch; color: var(--suave); }

/* ---------- Cierre ---------- */
.closing { background: var(--tinta); color: #fff; text-align: center; --ring: var(--sol); }
.closing__in { display: flex; flex-direction: column; align-items: center; }
.closing h2 { font-size: clamp(2.75rem, 11vw, 6rem); max-width: 14ch; }
.closing .lead { color: #d3dcf3; margin-inline: auto; }
.closing .btn { margin-top: 36px; width: 100%; max-width: 440px; }

/* ---------- Footer ---------- */
.foot { background: #08112a; color: #b9c6e6; padding: 40px 0 120px; font-size: 0.875rem; --ring: var(--sol); }
.foot .wrap { display: grid; gap: 14px; }
.foot__warn { display: flex; gap: 12px; align-items: flex-start; color: #fff; font-weight: 600; font-size: 0.9375rem; max-width: 70ch; }
.foot__warn .ico { color: var(--sol); width: 24px; height: 24px; margin-top: 1px; }
.foot__small { max-width: 70ch; }

/* ---------- Barra fija (celular) ---------- */
.sticky {
  --ring: var(--sol);
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--tinta);
  border-top: 2px solid var(--sol);
  transform: translateY(110%); visibility: hidden;
  transition: transform 160ms ease-in, visibility 0s linear 160ms;
}
.sticky.is-on { transform: none; visibility: visible; transition: transform 260ms var(--ease-out), visibility 0s; }
.sticky .btn { width: 100%; }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 150;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  max-width: min(92vw, 420px);
  background: var(--tinta); color: #fff; padding: 12px 16px; border-radius: 8px; font-weight: 600; font-size: 0.9375rem; text-align: center;
  transition: opacity 200ms ease-out, transform 200ms var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Tablet y escritorio ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .wall li:nth-child(n + 4) { display: block; }
  .offers { gap: 16px; }
  .offers[data-n="3"], .offers[data-n="5"], .offers[data-n="6"] { grid-template-columns: repeat(3, 1fr); }
  .offer__body { padding: 14px; }
  .hero__cta .btn, .cta-row .btn { width: auto; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefits li { flex-direction: column; gap: 14px; padding: 28px 24px 28px 0; border-bottom: 0; }
  .benefits li + li { padding-left: 24px; border-left: 1px solid var(--linea); }
  .steps ol { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; gap: 14px; }
  .tier { grid-template-columns: 1.5fr 1fr auto; align-items: center; gap: 32px; }
  .tier .btn { width: auto; min-width: 190px; }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .offers { grid-template-columns: repeat(4, 1fr); }
  .offers[data-n="3"], .offers[data-n="5"], .offers[data-n="6"] { grid-template-columns: repeat(3, 1fr); }
  .top { position: sticky; top: 0; z-index: 60; }
  .hero { padding-top: 48px; }
  .hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
  .hero__copy { display: block; }
  .hero__stage { margin-top: 0; }
  .wall { gap: 12px; }
  .wall li:nth-child(3n + 2) { margin-top: 32px; }
  .sticky { display: none; }
  .foot { padding-bottom: 48px; }
  .faq__grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .toast { bottom: 32px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .wall li { opacity: 1; transform: none; }
  .js .sticker { opacity: 1; transform: rotate(-4deg); }
  .ready .wall li, .ready .sticker, .sticky, .sticky.is-on, .toast, .faq summary .ico, .btn { transition: none; }
}
