:root {
  --bg: #060705;
  --bg-soft: #0d0f0c;
  --panel: #10120f;
  --panel-2: #151814;
  --line: rgba(255,255,255,.10);
  --text: #f5f7f2;
  --muted: #a8ada4;
  --lime: #c7ff33;
  --lime-2: #a9e91e;
  --mint: #c7ff33;
  --black-tag: #f3f3ee;
  --shadow: 0 24px 70px rgba(0,0,0,.35);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 14%, rgba(199,255,51,.09), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(199,255,51,.04), transparent 22%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(6,7,5,.86);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand img { width: 128px; height: auto; }
.navlinks { display: flex; align-items: center; justify-content: center; gap: 28px; }
.navlinks a { color: #b7bbb3; font-size: 14px; transition: .2s ease; }
.navlinks a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  border: 0;
  cursor: pointer;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: #11150d; }
.btn-primary:hover { background: #d3ff58; }
.btn-outline { border: 1px solid rgba(255,255,255,.20); background: rgba(255,255,255,.03); color: #fff; }
.btn-outline:hover { border-color: var(--lime); }
.btn-lg { min-height: 66px; padding: 0 32px; font-size: 18px; }
.hero-actions .btn-primary { box-shadow: 0 8px 30px rgba(199,255,51,.16); }
.hero-actions .btn-outline { border: 2px solid var(--lime); color: var(--lime); background: rgba(199,255,51,.06); }
.btn-solidario { background: var(--lime); color: #0c0f08; padding-inline: 20px; }

.profile-wrap { position: relative; }
.profile-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: #0e100d;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.profile-btn:hover { border-color: var(--lime); color: var(--lime); }
.profile-menu {
  display: none;
  position: absolute;
  top: 58px;
  right: 0;
  width: 230px;
  padding: 10px;
  border-radius: 18px;
  background: #11140f;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.profile-menu.open { display: block; }
.profile-menu button {
  width: 100%;
  border: 0;
  background: transparent;
  color: #e8ebe4;
  text-align: left;
  padding: 12px 13px;
  border-radius: 12px;
  cursor: pointer;
}
.profile-menu button:hover { background: rgba(199,255,51,.10); color: var(--lime); }
.menu-divider { height: 1px; background: var(--line); margin: 6px 3px; }

.hero { padding: 74px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 68px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--lime);
  border: 1px solid rgba(199,255,51,.20);
  background: rgba(199,255,51,.07);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 20px 0 20px;
  font-size: clamp(58px, 7vw, 96px);
  line-height: .93;
  letter-spacing: -.065em;
  max-width: 770px;
}
.hero-copy > p {
  margin: 0;
  max-width: 690px;
  color: #b7bbb2;
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: #0c0e0b;
  box-shadow: var(--shadow);
}
.hero-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

section { scroll-margin-top: 92px; }
.section-dark, .section-panel, .quick-facts { padding: 72px 0; }
.section-panel { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.008)); border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-head.compact { align-items: start; }
.section-head h2 { margin: 10px 0 0; font-size: clamp(36px, 4.8vw, 60px); letter-spacing: -.045em; }
.section-head > p { color: var(--muted); max-width: 520px; margin: 0; line-height: 1.6; }

.category-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; padding: 18px; border: 1px solid rgba(199,255,51,.18); border-radius: 20px; background: #10130e; }
.category-chip {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: #0f110e;
  color: #d7dbd2;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
}
.category-chip:hover, .category-chip.active { border-color: var(--lime); color: #10140b; background: var(--lime); }
.category-black:not(.active) { border-color: rgba(255,255,255,.34); color: #fff; background: linear-gradient(180deg,#252823,#121410); }
.category-mint:not(.active) { border-color: rgba(199,255,51,.35); color: var(--mint); background: rgba(199,255,51,.06); }

.catalog-tools { margin-bottom: 28px; }
.search-box input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.10);
  background: #0e100d;
  color: #fff;
  outline: none;
}
.search-box input:focus { border-color: rgba(199,255,51,.65); box-shadow: 0 0 0 3px rgba(199,255,51,.08); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.product-card {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: #10120f;
  transition: transform .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(199,255,51,.35); }
.product-image-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f6f6f3; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.tier-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tier-badge.black { background: #080a08; color: #f4f5ef; border: 1px solid #d3d8cb; box-shadow: 0 3px 12px rgba(0,0,0,.25); }
.tier-badge.mint { background: var(--mint); color: #10140b; }
.product-body { padding: 18px; }
.product-brand { margin: 0 0 6px; font-size: 12px; color: var(--lime); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-body h3 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.product-meta { margin: 8px 0 16px; color: #9fa59b; font-size: 12px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price { color: var(--lime); font-size: 20px; font-weight: 950; }
.product-actions { display: flex; gap: 8px; }
.btn-sm { min-height: 38px; padding: 0 13px; font-size: 12px; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.12); }
.btn-ghost:hover { border-color: var(--lime); }
.empty-state { grid-column: 1 / -1; padding: 44px; text-align: center; border: 1px dashed rgba(255,255,255,.16); border-radius: 18px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.step { min-height: 180px; padding: 22px; border-radius: 20px; background: #0f110e; border: 1px solid rgba(255,255,255,.07); }
.step b { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: #10130b; display: grid; place-items: center; }
.step h3 { margin: 20px 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.quick-facts { padding-top: 18px; }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.fact-card { min-height: 125px; padding: 26px; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(135deg,#11140f,#0b0d0a); }
.fact-card strong { display: block; color: var(--lime); font-size: 30px; }
.fact-card span { color: var(--muted); font-size: 13px; }

.sell-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: stretch; }
.sell-copy, .seller-form { border: 1px solid rgba(255,255,255,.08); background: #0e100d; border-radius: 22px; padding: 28px; }
.sell-copy h2 { margin: 14px 0 12px; font-size: 44px; letter-spacing: -.04em; }
.sell-copy > p { color: var(--muted); line-height: 1.65; }
.check-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #c1c6bc; }
.check-list li::before { content: "✓"; color: var(--lime); font-weight: 900; margin-right: 9px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.form-grid label { display: grid; gap: 7px; color: #cdd1c8; font-size: 12px; font-weight: 700; }
.form-grid input, .form-grid textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.10);
  background: #0a0c09;
  color: #fff;
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
}
.form-grid input { min-height: 48px; }
.form-grid input:focus, .form-grid textarea:focus { border-color: rgba(199,255,51,.55); }
.full { grid-column: 1 / -1; }

.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: #0f110e; padding: 0 18px; }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 850; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { margin: 0 0 18px; color: var(--muted); line-height: 1.65; }

footer { padding: 30px 0 44px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #888e84; font-size: 13px; }
.footer-inner img { width: 110px; }

.modal { display: none; position: fixed; inset: 0; z-index: 100; padding: 24px; place-items: center; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.74); backdrop-filter: blur(7px); }
.modal-card { position: relative; width: min(620px,100%); border-radius: 24px; padding: 30px; background: #11140f; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); }
.modal-card h2 { font-size: 34px; line-height: 1.05; letter-spacing: -.04em; }
.modal-card p { color: var(--muted); line-height: 1.65; }
.modal-close { position: absolute; right: 18px; top: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); cursor: pointer; font-size: 24px; }
.product-modal-card { width: min(800px,100%); }
.product-modal-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; align-items: center; }
.product-modal-grid img { border-radius: 18px; width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #151815; }
.product-modal-grid h2 { margin-bottom: 8px; }
.modal-price { color: var(--lime); font-size: 26px; font-weight: 950; }
.muted-small { font-size: 13px; color: #8f958a !important; }

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #171a15;
  border: 1px solid rgba(199,255,51,.24);
  color: #eef0e9;
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav { grid-template-columns: auto 1fr; }
  .navlinks { display: none; }
  .nav-actions { justify-self: end; }
  .hero-grid, .sell-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 760px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 660px) {
  .container { width: min(100% - 24px, 1180px); }
  .topbar .container { width: min(100% - 18px,1180px); }
  .brand img { width: 108px; }
  .btn-solidario { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .profile-btn { width: 40px; height: 40px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(48px,15vw,70px); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
  .section-head { display: grid; align-items: start; }
  .product-grid, .steps, .facts-grid, .form-grid { grid-template-columns: 1fr; }
  .product-actions { flex-direction: column; align-items: stretch; }
  .product-actions .btn { width: 100%; }
  .full { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .product-modal-grid { grid-template-columns: 1fr; }
}

/* Keyboard navigation and compact screens. */
:where(a, button, summary):focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.category-black.active { background: #edf0e8; color: #080a08; border-color: #edf0e8; }
.category-mint.active { background: var(--mint); color: #10140b; border-color: var(--mint); }
.profile-menu button:focus-visible { outline-offset: -2px; background: rgba(199,255,51,.10); }
.modal-card { max-height: calc(100dvh - 48px); overflow-y: auto; }
@media (max-width: 660px) {
  .nav { gap: 10px; }
  .nav-actions { gap: 8px; }
  .category-strip { padding: 12px; gap: 8px; }
  .category-chip { padding-inline: 16px; font-size: 14px; }
  .category-black, .category-mint { flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.product-reference { position: absolute; bottom: 10px; right: 12px; color: #4d5249; background: rgba(255,255,255,.86); padding: 4px 7px; border-radius: 5px; font-size: 10px; }
.club-card { width: min(720px,100%); }
.club-card h2 { margin-bottom: 12px; }
.club-balance { display: grid; gap: 8px; margin: 24px 0 16px; padding: 24px; border: 1px solid rgba(199,255,51,.3); border-radius: 20px; background: linear-gradient(135deg,rgba(199,255,51,.09),#0c0f09); }
.club-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #bdc3b6; }
.club-balance strong { font-size: 64px; line-height: 1; letter-spacing: -.04em; color: var(--lime); }
.club-balance small { color: var(--muted); line-height: 1.5; }
.club-rate strong { color: var(--lime); }
.club-rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.club-rewards article { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #0d100b; }
.club-rewards h4 { margin: 0 0 8px; font-size: 15px; }
.club-rewards p { margin: 0; font-size: 13px; }
.club-converter { margin-top: 20px; padding: 18px; border-top: 1px solid var(--line); }
.club-converter label { display: block; margin-bottom: 12px; font-weight: 700; }
.club-converter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.club-converter input { width: 112px; min-height: 46px; padding: 10px 12px; border: 1px solid rgba(199,255,51,.3); border-radius: 10px; background: #0a0c09; color: var(--text); }
.club-converter output { color: var(--lime); font-weight: 700; }
@media (max-width: 660px) { .club-rewards { grid-template-columns: 1fr; } .club-card { padding: 24px 18px; } .club-converter { padding-inline: 0; } }
