/* =========================================================
   Chaos Advanced Research — Tienda (diseño)
   Paleta tomada del logo: negro profundo + oro, acento cian del material gráfico.
   ========================================================= */
:root {
  --bg: #07070a;
  --bg-2: #0d0d12;
  --surface: #121218;
  --surface-2: #181820;
  --line: rgba(255, 255, 255, .08);
  --line-gold: rgba(214, 154, 34, .35);
  --text: #f1efe9;
  --muted: #a3a2ab;
  --gold: #d69a22;
  --gold-2: #f6c75c;
  --gold-3: #a8720e;
  --cyan: #45e3df;
  --grad-gold: linear-gradient(135deg, #f8d37a 0%, #d69a22 45%, #a8720e 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --font-display: 'Chakra Petch', system-ui, sans-serif;
  --font: 'Manrope', system-ui, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: #000; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: .22em; color: var(--gold);
}
.kicker::before { content: ''; width: 26px; height: 1px; background: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--grad-gold); color: #120c00; box-shadow: 0 10px 30px -10px rgba(214, 154, 34, .7); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(246, 199, 92, .8); }
.btn--ghost { border: 1px solid var(--line-gold); color: var(--text); background: rgba(214, 154, 34, .06); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(214, 154, 34, .14); transform: translateY(-2px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 60px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--link { height: auto; padding: 8px; color: var(--muted); font-weight: 600; }
.btn--link:hover { color: var(--text); }
.wa-ico { width: 20px; height: 20px; }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); transition: border-color .2s, background .2s;
  position: relative;
}
.icon-btn:hover { border-color: var(--line-gold); background: rgba(214, 154, 34, .08); }

/* ---------- Topbar ---------- */
.topbar { background: var(--grad-gold); color: #140d00; overflow: hidden; height: 34px; display: flex; align-items: center; }
.topbar__track { display: flex; gap: 28px; align-items: center; white-space: nowrap; animation: marquee 32s linear infinite; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.topbar__track i { width: 6px; height: 6px; background: #140d00; transform: rotate(45deg); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(7, 7, 10, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: auto; filter: drop-shadow(0 0 12px rgba(214, 154, 34, .35)); }
.brand__text { display: flex; flex-direction: column; gap: 4px; }
.brand__word { width: 118px; height: auto; }
.brand__text small { font-family: var(--font-display); font-size: 9.5px; letter-spacing: .42em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta-mobile { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--gold); color: #000; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.cart-count.has-items { transform: scale(1); }
.cart-btn.bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.95); } }
.burger { display: none; flex-direction: column; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - 34px - var(--header-h)); display: flex; align-items: center; padding: 40px 0 90px; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 40px); }
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow { position: absolute; width: 900px; height: 900px; right: -200px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(214, 154, 34, .22) 0%, rgba(214, 154, 34, 0) 60%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line-gold); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--gold-2); background: rgba(214, 154, 34, .07); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(69, 227, 223, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(69, 227, 223, 0); } 100% { box-shadow: 0 0 0 0 rgba(69, 227, 223, 0); } }
.hero h1 { font-size: clamp(40px, 5.6vw, 74px); font-weight: 700; margin: 24px 0 22px; text-transform: uppercase; letter-spacing: -.02em; }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats { list-style: none; padding: 0; margin: 46px 0 0; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid var(--gold); }
.hero__stats strong { font-family: var(--font-display); font-size: 30px; color: var(--text); line-height: 1.1; }
.hero__stats span { font-size: 13px; color: var(--muted); }

.hero__stage { position: relative; aspect-ratio: 1 / 1.05; max-width: 520px; width: 100%; justify-self: center; }
.orbit { position: absolute; inset: -4%; pointer-events: none; }
.orbit span { position: absolute; inset: 0; border: 1px solid var(--line-gold); border-radius: 50%; animation: spin 30s linear infinite; }
.orbit span:nth-child(2) { inset: 9%; border-style: dashed; border-color: rgba(69, 227, 223, .22); animation-duration: 45s; animation-direction: reverse; }
.orbit span:nth-child(3) { inset: 18%; border-color: rgba(255, 255, 255, .06); }
.orbit span::after { content: ''; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 18px var(--gold); }
.orbit span:nth-child(2)::after { background: var(--cyan); box-shadow: 0 0 18px var(--cyan); left: auto; right: -5px; }
.orbit span:nth-child(3)::after { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.showcase { position: absolute; inset: 12% 8% 22%; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px var(--line-gold), 0 0 80px -20px rgba(214, 154, 34, .5); transform-style: preserve-3d; transition: transform .2s ease-out; background: #cfcac2; }
.showcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 1.4s ease; }
.showcase img.is-active { opacity: 1; transform: scale(1); }
.showcase::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .25) 0%, transparent 35%); pointer-events: none; }
.showcase__meta { position: absolute; left: 4%; right: 4%; bottom: 3%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px 16px 22px; border-radius: 20px; background: rgba(18, 18, 24, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); }
.showcase__meta h3 { font-size: 24px; }
.showcase__meta p { font-size: 14px; color: var(--muted); }
.showcase__tag { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.showcase__dots { position: absolute; top: 3%; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.showcase__dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .25); transition: width .3s, background .3s; }
.showcase__dots button.is-active { width: 26px; background: var(--gold); }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrolly 1.8s infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; position: relative; }
.section__head { margin-bottom: 54px; }
.section__head h2 { font-size: clamp(32px, 4vw, 52px); margin: 16px 0 14px; text-transform: uppercase; }
.section__head p { color: var(--muted); font-size: 17px; max-width: 560px; }
.section__head.center { text-align: center; }
.section__head.center p { margin: 0 auto; }
.section__head.center .kicker::after { content: ''; width: 26px; height: 1px; background: var(--gold); }
.section__head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section__head.split p { max-width: 400px; }

/* ---------- Objetivos ---------- */
.objetivos { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.goals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.goal {
  position: relative; text-align: left; padding: 26px 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, background .3s;
}
.goal::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(214, 154, 34, .18), transparent 45%); opacity: 0; transition: opacity .3s; }
.goal:hover { transform: translateY(-6px); border-color: var(--line-gold); }
.goal:hover::before { opacity: 1; }
.goal__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(214, 154, 34, .1); color: var(--gold-2); margin-bottom: 20px; position: relative; }
.goal__icon svg { width: 26px; height: 26px; }
.goal h3 { font-size: 19px; margin-bottom: 8px; position: relative; }
.goal p { font-size: 14px; color: var(--muted); position: relative; }
.goal__count { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--gold); }
.goal__count svg { width: 16px; height: 16px; transition: transform .3s; }
.goal:hover .goal__count svg { transform: translateX(4px); }

/* ---------- Toolbar del catálogo ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.chip small { font-size: 11px; opacity: .7; }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .25); }
.chip.is-active { background: var(--text); color: #000; border-color: var(--text); }
.toolbar__right { display: flex; gap: 10px; }
.search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); min-width: 240px; transition: border-color .2s; }
.search:focus-within { border-color: var(--gold); }
.search svg { color: var(--muted); }
.search input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 15px; min-width: 0; }
.search input::placeholder { color: #6e6d76; }
.select { height: 44px; padding: 0 38px 0 16px; border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a2ab' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; appearance: none; cursor: pointer; }
.select option { background: var(--surface); }
.results { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.results strong { color: var(--text); }

/* ---------- Tarjetas de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .45s;
  animation: cardIn .6s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.card:hover { transform: translateY(-8px); border-color: var(--line-gold); box-shadow: 0 30px 60px -25px rgba(214, 154, 34, .35); }
.card__media { position: relative; aspect-ratio: 1 / .92; overflow: hidden; background: #cbc6be; cursor: pointer; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 7, 10, .55) 100%); }
.card__badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 2; }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; background: rgba(7, 7, 10, .78); color: var(--text); backdrop-filter: blur(8px); }
.badge--gold { background: var(--grad-gold); color: #120c00; }
.card__quick { position: absolute; left: 50%; bottom: 16px; z-index: 2; transform: translate(-50%, 14px); opacity: 0; transition: all .35s; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #000; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.card__quick svg { width: 16px; height: 16px; }
.card:hover .card__quick { opacity: 1; transform: translate(-50%, 0); }
.card__body { padding: 22px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.tag + .tag::before { content: '·'; margin-right: 6px; color: var(--muted); }
.card__name { font-size: 25px; margin-bottom: 4px; }
.card__tagline { font-size: 14.5px; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); margin-top: 20px; }
.price { display: flex; flex-direction: column; }
.price small { font-size: 12px; color: var(--muted); }
.price strong { font-family: var(--font-display); font-size: 24px; color: var(--gold-2); line-height: 1.1; }
.add-btn { height: 46px; padding: 0 18px; border-radius: 999px; background: var(--text); color: #000; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: transform .2s, background .2s; }
.add-btn svg { width: 18px; height: 18px; stroke-width: 2.4; }
.add-btn:hover { background: var(--gold-2); transform: scale(1.04); }
.add-btn.is-added { background: var(--cyan); }
.empty { text-align: center; padding: 60px 0; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ---------- Trust ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 34px 0; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__item svg { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.5; }
.trust__item strong { display: block; font-size: 15px; }
.trust__item span { font-size: 13px; color: var(--muted); }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { position: relative; padding: 32px 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); overflow: hidden; transition: transform .35s, border-color .35s; }
.service:hover { transform: translateY(-6px); border-color: var(--line-gold); }
.service::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.service:hover::after { transform: scaleX(1); }
.service__num { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-size: 46px; font-weight: 700; color: rgba(255, 255, 255, .05); }
.service__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-gold); color: #120c00; margin-bottom: 26px; }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 21px; margin-bottom: 12px; }
.service p { font-size: 15px; color: var(--muted); }

/* ---------- Nosotros ---------- */
.nosotros { background: radial-gradient(800px 500px at 15% 50%, rgba(214, 154, 34, .1), transparent 60%), var(--bg-2); }
.nosotros__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.nosotros__visual { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; display: grid; place-items: center; }
.nosotros__mark { width: 40%; height: auto; aspect-ratio: 364 / 376; object-fit: contain; filter: drop-shadow(0 0 40px rgba(214, 154, 34, .45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.nosotros__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-gold); background: radial-gradient(circle, rgba(214, 154, 34, .08), transparent 65%); }
.nosotros__ring::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .1); animation: spin 60s linear infinite; }
.badge-float { position: absolute; padding: 14px 18px; border-radius: 16px; background: rgba(18, 18, 24, .85); backdrop-filter: blur(10px); border: 1px solid var(--line); display: flex; flex-direction: column; animation: float 7s ease-in-out infinite; }
.badge-float strong { font-family: var(--font-display); font-size: 22px; color: var(--gold-2); line-height: 1.1; }
.badge-float span { font-size: 12.5px; color: var(--muted); }
.badge-float.b1 { top: 10%; left: -4%; }
.badge-float.b2 { bottom: 12%; right: -4%; animation-delay: -3s; }
.nosotros__copy h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 16px 0 22px; text-transform: uppercase; }
.nosotros__copy > p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
.nosotros__copy strong { color: var(--text); }
.tabs { display: inline-flex; gap: 4px; padding: 5px; margin-top: 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.tab { height: 40px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: all .25s; }
.tab.is-active { background: var(--grad-gold); color: #120c00; }
.tab-panels { position: relative; margin-top: 20px; min-height: 110px; }
.tab-panel { display: none; font-size: 17px; line-height: 1.7; padding-left: 20px; border-left: 2px solid var(--gold); animation: fadeUp .45s both; }
.tab-panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.pill { display: inline-block; margin: 0 8px 10px 0; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-gold); font-size: 14px; font-weight: 600; }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.step { text-align: center; padding: 0 10px; position: relative; }
.step span { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--gold-2); background: var(--bg); border: 1px solid var(--line-gold); box-shadow: 0 0 0 8px var(--bg), 0 0 30px -5px rgba(214, 154, 34, .5); position: relative; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq .section__head .btn { margin-top: 28px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--font-display); font-size: 19px; font-weight: 600; transition: color .2s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-gold); display: grid; place-items: center; color: var(--gold); font-size: 20px; font-family: var(--font); transition: transform .3s, background .3s; }
.accordion details[open] summary { color: var(--gold-2); }
.accordion details[open] summary::after { transform: rotate(45deg); background: rgba(214, 154, 34, .12); }
.accordion details p { padding: 0 50px 24px 0; color: var(--muted); animation: fadeUp .35s both; }

/* ---------- CTA ---------- */
.cta { padding: 100px 0; }
.cta__box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 60px; border-radius: 30px; background: linear-gradient(120deg, #1a1408 0%, #0f0f14 60%); border: 1px solid var(--line-gold); }
.cta__box::before { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; background: radial-gradient(circle, rgba(214, 154, 34, .35), transparent 65%); }
.cta__box::after { content: ''; position: absolute; right: 30%; bottom: -60px; width: 220px; height: 220px; background: url('../img/brand/chaos-mark.png') center / contain no-repeat; opacity: .05; transform: rotate(-12deg); }
.cta__copy { position: relative; z-index: 1; }
.cta__copy h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 14px 0 12px; text-transform: uppercase; }
.cta__copy p { color: var(--muted); font-size: 17px; max-width: 520px; }
.cta__contact { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 28px; flex-wrap: wrap; font-weight: 600; }
.cta__contact li { display: flex; align-items: center; gap: 10px; }
.cta__contact svg { color: var(--gold); }
.cta__box .btn { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 30px; border-top: 1px solid var(--line); background: #050507; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; }
.footer__logo { width: 150px; height: auto; }
.footer__tag { display: block; margin: 10px 0 18px; font-family: var(--font-display); font-size: 11px; letter-spacing: .42em; color: var(--muted); text-transform: uppercase; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 320px; }
.footer h4 { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 15px; color: var(--muted); }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.social { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all .2s; position: relative; }
.social svg { width: 18px; height: 18px; }
.social:hover { color: #000; background: var(--gold); border-color: var(--gold); }
.social.is-pending { opacity: .55; }
.social.is-pending:hover::after { content: 'Próximamente'; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--text); color: #000; }
.footer__legal { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 30px; font-size: 13px; color: #6e6d76; }
.footer__legal p:first-child { max-width: 680px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .25s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPulse 2.2s infinite; }
@keyframes waPulse { to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float__tip { position: absolute; right: 74px; white-space: nowrap; background: var(--text); color: #000; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 10px; opacity: 0; transform: translateX(8px); transition: all .25s; pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ---------- Buscador rápido ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(5, 5, 8, .8); backdrop-filter: blur(10px); display: flex; justify-content: center; padding: 12vh 20px 20px; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.search-overlay__box { width: 100%; max-width: 640px; }
.search--big { height: 64px; padding: 0 22px; min-width: 0; border-color: var(--line-gold); }
.search--big input { font-size: 18px; }
.search--big kbd { font-family: var(--font); font-size: 11px; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.quick-results { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.quick-results li button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: left; transition: border-color .2s; }
.quick-results li button:hover, .quick-results li button:focus { border-color: var(--gold); outline: 0; }
.quick-results img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.quick-results strong { display: block; font-family: var(--font-display); font-size: 17px; }
.quick-results span { font-size: 13px; color: var(--muted); }
.quick-results em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--gold-2); padding-right: 8px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(3, 3, 5, .75); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__panel { position: relative; width: 100%; max-width: 1000px; max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 26px; background: var(--surface); border: 1px solid var(--line-gold); box-shadow: var(--shadow); animation: pop .45s cubic-bezier(.2, .9, .3, 1.1); }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(7, 7, 10, .7); border: 1px solid var(--line); }
.modal__close:hover { border-color: var(--gold); }
.modal__media { background: #cbc6be; min-height: 100%; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 40px 36px; display: flex; flex-direction: column; }
.modal__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.modal__tags .tag { padding: 5px 10px; border-radius: 999px; background: rgba(69, 227, 223, .1); }
.modal__tags .tag + .tag::before { display: none; }
.modal__body h3 { font-size: 38px; }
.modal__tagline { color: var(--gold-2); font-weight: 600; margin-top: 4px; }
.modal__price { display: flex; align-items: baseline; gap: 14px; margin: 20px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modal__price strong { font-family: var(--font-display); font-size: 34px; color: var(--text); }
.modal__price span { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-gold); font-size: 13px; font-weight: 700; color: var(--gold-2); }
#mDesc { color: var(--muted); font-size: 15px; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; }
.checks li::before { content: ''; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: rgba(214, 154, 34, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6c75c' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.modal__buy { display: flex; gap: 12px; margin-top: auto; }
.modal__buy .btn { flex: 1; }
.qty { display: flex; align-items: center; height: 52px; border-radius: 999px; border: 1px solid var(--line); }
.qty button { width: 44px; height: 100%; font-size: 20px; color: var(--muted); }
.qty button:hover { color: var(--gold-2); }
.qty span { min-width: 26px; text-align: center; font-weight: 800; }
.modal__ask { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 700; color: #3fe07f; }
.modal__ask:hover { text-decoration: underline; }
.modal__note { margin-top: 14px; font-size: 12px; color: #6e6d76; text-align: center; }

/* ---------- Carrito ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--line-gold); animation: slideIn .4s cubic-bezier(.2, .9, .3, 1); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 24px; }
.drawer__body { flex: 1; overflow: auto; padding: 14px 24px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fadeUp .35s both; }
.cart-item img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.cart-item h4 { font-size: 17px; }
.cart-item small { color: var(--muted); font-size: 13px; }
.cart-item .qty { height: 34px; margin-top: 8px; width: max-content; }
.cart-item .qty button { width: 32px; font-size: 16px; }
.cart-item__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item__right strong { font-family: var(--font-display); color: var(--gold-2); }
.remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.remove:hover { color: #ff7a7a; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cart-empty img { width: 70px; opacity: .4; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.drawer__row strong { font-family: var(--font-display); font-size: 28px; }
.drawer__hint { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.drawer__foot .btn--gold:disabled { opacity: .4; pointer-events: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--text); color: #000; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); transition: transform .45s cubic-bezier(.2, .9, .3, 1.2), visibility .45s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }


/* ---------- Estados que publica el panel ---------- */
.badge--mal { background: rgba(255, 107, 94, .92); color: #fff; }
.badge--cyan { background: var(--cyan); color: #04211f; }
.card--agotado .card__media img { filter: grayscale(.85) brightness(.75); }
.add-btn[disabled], .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; background: var(--surface-2); color: var(--muted); }
.price small s { color: var(--muted); margin-right: 4px; }
.price small:has(s) { color: var(--cyan); font-weight: 700; }
.modal__media { position: relative; }
.modal__thumbs { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.modal__thumbs button { width: 54px; height: 54px; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255,255,255,.5); background: #cbc6be; padding: 0; }
.modal__thumbs button.is-active { border-color: var(--gold); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
#mAntes { color: var(--muted); font-size: 17px; }
#mAntes:empty { display: none; }
.cart-item.is-new { background: linear-gradient(90deg, rgba(214,154,34,.14), transparent 70%); border-radius: 12px; animation: cartNew 1.2s ease; }
@keyframes cartNew { from { box-shadow: inset 0 0 0 1px var(--gold); } }
.cart-item__aviso { display: block; color: #ff8a7f; margin-top: 6px; }
.drawer__foot .btn--ghost { height: 46px; font-size: 14px; }

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .goals { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .header__wa { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 24px 24px; background: rgba(7, 7, 10, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; transition: transform .4s, opacity .3s; z-index: -1; }
  .nav.is-open { transform: none; opacity: 1; }
  .nav a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav a::after { display: none; }
  .nav__cta-mobile { display: block; }
  .burger { display: flex; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__stage { max-width: 440px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .section__head.split { flex-direction: column; align-items: flex-start; gap: 0; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros__grid, .faq__grid { grid-template-columns: 1fr; gap: 50px; }
  .nosotros__visual { max-width: 340px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .modal__panel { display: block; }
  .modal__media { aspect-ratio: 4 / 3; min-height: 0; }
  .cta__box { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__legal { flex-direction: column; gap: 10px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .brand__word { width: 96px; }
  .brand__mark { width: 34px; }
  .icon-btn { width: 40px; height: 40px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 16px; }
  .hero__ctas .btn { flex: 1; }
  .hero__stats { gap: 22px; }
  .hero__stats strong { font-size: 24px; }
  .goals { grid-template-columns: 1fr 1fr; gap: 10px; }
  .goal { padding: 18px 16px; }
  .goal__icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .goal h3 { font-size: 16px; }
  .goal p { display: none; }
  .toolbar__right { width: 100%; }
  .search { min-width: 0; flex: 1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; width: calc(100% + 32px); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .card__quick { opacity: 1; transform: translate(-50%, 0); }
  .trust__grid { grid-template-columns: 1fr; gap: 18px; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .badge-float.b1 { left: 0; }
  .badge-float.b2 { right: 0; }
  .modal { padding: 0; align-items: end; }
  .modal__panel { max-height: 92vh; border-radius: 24px 24px 0 0; }
  .modal__body { padding: 26px 20px 28px; }
  .modal__body h3 { font-size: 30px; }
  .cta__box .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-float__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Checkout (carrito.html) y página de gracias
   ========================================================= */
.pagina-checkout .header, .pagina-gracias .header { position: sticky; margin: 0; }
.checkout-seguro { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.checkout-seguro svg { width: 16px; height: 16px; color: var(--gold); }
.checkout { padding-top: 30px; padding-bottom: 90px; }
.checkout-pasos { list-style: none; padding: 0; margin: 0 0 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.checkout-pasos li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 700; }
.checkout-pasos span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font-size: 12px; }
.checkout-pasos .hecho { color: var(--text); }
.checkout-pasos .hecho span { background: var(--gold); color: #120c00; }
.checkout-pasos .actual { border-color: var(--gold); color: var(--gold-2); }
.checkout-pasos .actual span { background: rgba(214,154,34,.2); color: var(--gold-2); }

.checkout-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.checkout-datos { display: grid; gap: 18px; }
.checkout-caja { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.checkout-caja h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; text-transform: uppercase; margin-bottom: 18px; }
.checkout-caja h2 span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-gold); color: #120c00; font-size: 14px; }
.checkout-cuenta { margin: -6px 0 16px; padding: 10px 14px; border-radius: 12px; background: rgba(69,227,223,.08); color: var(--cyan); font-size: 13px; }
.checkout .campo { display: grid; gap: 6px; margin-bottom: 14px; }
.checkout .campo label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.checkout .campo label em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; opacity: .75; }
.checkout .campo input, .checkout .campo select, .checkout .campo textarea, .cupon input {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.checkout .campo textarea { height: auto; padding: 12px 16px; resize: vertical; }
.checkout .campo select { appearance: none; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a2ab' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.checkout .campo input:focus, .checkout .campo select:focus, .checkout .campo textarea:focus, .cupon input:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,154,34,.18); }
.checkout .campo .con-error { border-color: #ff6b5e; }
.campo__error { color: #ff8a7f; font-size: 13px; }
.campo__error:empty { display: none; }
.campo__ayuda { color: var(--muted); font-size: 12.5px; }
.campos-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campos-2--zona { grid-template-columns: 1fr 110px; }

.metodos { display: grid; gap: 10px; }
.metodo { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: var(--bg-2); cursor: pointer; transition: border-color .2s, background .2s; }
.metodo input { accent-color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }
.metodo__cuerpo { flex: 1; display: grid; }
.metodo__cuerpo small { color: var(--muted); font-size: 13px; }
.metodo__ico svg { width: 28px; height: 28px; color: var(--muted); }
.metodo:has(input:checked) { border-color: var(--gold); background: rgba(214,154,34,.08); }
.metodo:has(input:checked) .metodo__ico svg { color: var(--gold-2); }
.checkout-legal { margin-top: 14px; font-size: 12.5px; color: #77767f; }

.checkout-resumen { position: sticky; top: calc(var(--header-h) + 16px); }
.checkout-caja--resumen { border-color: var(--line-gold); background: linear-gradient(180deg, rgba(214,154,34,.07), var(--surface) 40%); }
.resumen-lineas { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.resumen-lineas li { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; }
.resumen-lineas img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; background: #cbc6be; }
.resumen-lineas strong { display: block; font-family: var(--font-display); font-size: 16px; }
.resumen-lineas small { color: var(--muted); font-size: 12.5px; }
.resumen-lineas__total { font-family: var(--font-display); color: var(--gold-2); font-weight: 700; }
.qty--chica { height: 30px; margin-top: 6px; width: max-content; }
.qty--chica button { width: 28px; font-size: 15px; }
.cupon { display: flex; gap: 8px; margin: 6px 0 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.cupon input { height: 42px; font-size: 14px; text-transform: uppercase; }
.totales { margin: 0; display: grid; gap: 8px; }
.totales div { display: flex; justify-content: space-between; gap: 10px; }
.totales dt { color: var(--muted); }
.totales dd { margin: 0; font-weight: 700; }
.totales__total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-gold); align-items: baseline; }
.totales__total dt { color: var(--text); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.totales__total dd { font-family: var(--font-display); font-size: 30px; color: var(--gold-2); }
.avisos { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.avisos li { font-size: 13px; color: var(--cyan); }
.error-general { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,107,94,.12); border: 1px solid rgba(255,107,94,.35); color: #ffb3ab; font-size: 14px; }
.error-general a { color: #fff; text-decoration: underline; }
.checkout-resumen #pagar { margin-top: 18px; }
.checkout-seguro-nota { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 12px; color: var(--muted); font-size: 12.5px; text-align: center; }
.checkout-seguro-nota svg { width: 16px; height: 16px; color: var(--gold); }

.checkout-vacio, .checkout-listo, .gracias { max-width: 640px; margin: 30px auto; text-align: center; padding: 50px 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line-gold); display: grid; justify-items: center; gap: 14px; }
.checkout-vacio img { opacity: .6; }
.checkout-vacio h1, .checkout-listo h1, .gracias h1 { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; }
.checkout-vacio p, .checkout-listo p, .gracias p { color: var(--muted); }
.checkout-listo__num, .gracias__numero { font-size: 18px; color: var(--text) !important; }
.checkout-listo__num strong, .gracias__numero strong { color: var(--gold-2); font-family: var(--font-display); }
.checkout-listo__acciones, .gracias__acciones { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.gracias__check { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-gold); color: #120c00; box-shadow: 0 0 0 10px rgba(214,154,34,.12), 0 0 60px rgba(214,154,34,.4); animation: pop .6s cubic-bezier(.2,.9,.3,1.3); }
.gracias__check svg { width: 42px; height: 42px; stroke-width: 2.6; }
.gracias__pie { font-size: 14px; }
.gracias__pie a { color: var(--gold-2); }

@media (max-width: 960px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-resumen { position: static; order: -1; }
  .checkout-seguro { display: none; }
}
@media (max-width: 640px) {
  .campos-2, .campos-2--zona { grid-template-columns: 1fr; }
  .checkout-caja { padding: 20px 16px; }
  .pagina-checkout .header__actions .btn { padding: 0 12px; }
}

/* ---------- Venta por WhatsApp ---------- */
.card__asesor {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px;
  height: 42px; border-radius: 999px; border: 1px solid rgba(37, 211, 102, .35);
  background: rgba(37, 211, 102, .08); color: #6ee59a; font-weight: 700; font-size: 14px;
  transition: background .2s, border-color .2s, transform .2s;
}
.card__asesor:hover { background: rgba(37, 211, 102, .16); border-color: #25d366; transform: translateY(-1px); }
.card__asesor .wa-ico { width: 18px; height: 18px; }
.modal__ask { height: 46px; border-radius: 999px; border: 1px solid rgba(37, 211, 102, .35); background: rgba(37, 211, 102, .08); }
.modal__ask:hover { text-decoration: none; background: rgba(37, 211, 102, .16); }
.wa-explica { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: rgba(37, 211, 102, .06); border: 1px solid rgba(37, 211, 102, .25); }
.wa-explica > .wa-ico { width: 34px; height: 34px; color: #25d366; flex-shrink: 0; }
.wa-explica strong { display: block; margin-bottom: 6px; }
.wa-explica ol { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
#pagar .wa-ico { width: 22px; height: 22px; }

/* =========================================================
   Certificados de análisis (COA)
   ========================================================= */
.tag--coa { color: #6ee59a; }
.modal__coa { margin: 0 0 18px; padding: 14px 16px; border-radius: 16px; background: rgba(63, 208, 127, .06); border: 1px solid rgba(63, 208, 127, .28); display: grid; gap: 10px; }
.modal__coa-info { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 14px; color: var(--muted); }
.modal__coa-sello { display: inline-flex; align-items: center; gap: 6px; color: #6ee59a; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.modal__coa-sello svg { width: 18px; height: 18px; }
.modal__coa-botones { display: flex; gap: 8px; flex-wrap: wrap; }
.modal__coa-botones .btn { flex: 1; height: 40px; font-size: 13px; }
.modal__coa-todos { font-size: 13px; color: var(--gold-2); font-weight: 700; justify-self: center; }

.pagina-coa .header { position: sticky; margin: 0; }
.coa-pagina { padding-top: 36px; padding-bottom: 60px; min-height: 70vh; }
.coa-sello { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(63, 208, 127, .1); border: 1px solid rgba(63, 208, 127, .3); color: #6ee59a; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.coa-sello svg { width: 18px; height: 18px; }
.coa-uno { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.coa-uno__vista { display: block; position: relative; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line-gold); box-shadow: var(--shadow); }
.coa-uno__vista img { width: 100%; height: auto; }
.coa-uno__vista span { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: rgba(7, 7, 10, .82); color: var(--text); font-size: 13px; font-weight: 700; }
.coa-uno__info { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
.coa-uno__prod { display: flex; gap: 16px; align-items: center; }
.coa-uno__prod img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; background: #cbc6be; }
.coa-uno__prod h1 { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; }
.coa-uno__prod p { color: var(--gold-2); font-weight: 700; }
.coa-tabla { margin: 0; display: grid; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.coa-tabla div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--surface); }
.coa-tabla div + div { border-top: 1px solid var(--line); }
.coa-tabla dt { color: var(--muted); }
.coa-tabla dd { margin: 0; font-weight: 700; text-align: right; }
.coa-tabla .coa-pureza { font-family: var(--font-display); font-size: 22px; color: #6ee59a; }
.coa-nota { color: var(--muted); font-size: 14px; padding-left: 14px; border-left: 2px solid var(--gold); }
.coa-uno__acciones { display: grid; gap: 10px; }
.coa-uno__acciones .card__asesor { margin-top: 0; height: 46px; }
.coa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.coa-card { display: grid; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.coa-card:hover { transform: translateY(-4px); border-color: var(--line-gold); }
.coa-card__vista { display: block; aspect-ratio: 612 / 420; background: #fff; overflow: hidden; }
.coa-card__vista img { width: 100%; height: auto; }
.coa-card__info { display: grid; gap: 4px; padding: 14px 16px; }
.coa-card__info strong { font-family: var(--font-display); font-size: 18px; }
.coa-card__info small { color: var(--gold-2); font-weight: 700; }
.coa-card__info span { color: var(--muted); font-size: 13px; }
.coa-card__info b { color: #6ee59a; }
.coa-legal { margin-top: 40px; font-size: 12.5px; color: #77767f; text-align: center; }
@media (max-width: 860px) {
  .coa-uno { grid-template-columns: 1fr; gap: 22px; }
  .coa-uno__info { position: static; order: -1; }
}
