/* ==================================================================
   EQUIS MARKET — Sistema "Onyx" (oscuro, monocromo, moderno)
   ================================================================== */

:root {
  --bg: #09090a;
  --bg-2: #0e0e10;
  --surface: #131316;
  --surface-2: #1a1b1f;
  --card: #121214;
  --text: #f3f3f5;
  --muted: #8b8d94;
  --faint: #56585f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --accent: #aab4c2;         /* gris frío, uso mínimo */
  --accent-soft: rgba(170, 180, 194, 0.12);
  --ok: #6fae90;

  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --max: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.4);

  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(170, 180, 194, 0.24); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 82% -10%, rgba(70, 76, 90, 0.14), transparent 58%),
    radial-gradient(760px 560px at -2% 0%, rgba(40, 44, 54, 0.14), transparent 55%),
    var(--bg);
}

/* ---------- Layout ---------- */
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- Tipografía (sans potente) ---------- */
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 650; line-height: 1.08; letter-spacing: -0.03em; color: var(--text); }
.display { font-size: clamp(2.7rem, 6.4vw, 5.2rem); font-weight: 680; letter-spacing: -0.04em; line-height: 0.98; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 650; }
.h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); font-weight: 400; }
.eyebrow {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: 0.7; }
.muted { color: var(--muted); }
.serif-em { font-weight: 450; color: var(--muted); } /* segunda línea a dos tonos */

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .h2 { margin: 0.9rem 0 0.7rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 550; font-size: 0.94rem;
  padding: 0.82rem 1.4rem; border-radius: 10px; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #f2f2f4; color: #0b0b0d; }
.btn-primary:hover { background: #fff; box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1); }
.btn-outline { background: rgba(255, 255, 255, 0.02); color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.05); }
.btn-ghost { background: transparent; color: var(--muted); padding-inline: 0.4rem; }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 600;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: var(--radius-pill);
  padding: 0.28rem 0.7rem; background: rgba(255, 255, 255, 0.02);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.badge {
  position: absolute; top: 0.8rem; left: 0.8rem;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); border-radius: 6px; padding: 0.24rem 0.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(9, 9, 10, 0.72); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 1.4rem; height: 70px; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand img { width: 28px; height: auto; }
.brand b { font-weight: 700; }
.brand span { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 0.2rem; margin-left: 1.2rem; }
.nav-links a { position: relative; font-size: 0.9rem; color: var(--muted); padding: 0.5rem 0.75rem; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; color: var(--text);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); transition: border-color 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.05); }
.icon-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; font-size: 0.66rem; font-weight: 700;
  color: #0b0b0d; background: #f2f2f4; border-radius: var(--radius-pill);
  transform: scale(0); transition: transform 0.2s var(--ease);
}
.cart-count.on { transform: scale(1); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); color: var(--text); }

/* ---------- Hero (marca integrada, sin caja) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 12vw, 9rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero-mark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(720px, 58vw); pointer-events: none; user-select: none;
  opacity: 0.07; filter: grayscale(1) brightness(2.2);
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.hero-inner { position: relative; }
.hero-copy { max-width: 760px; }
.hero h1 { margin: 1.2rem 0 1.3rem; }
.hero .lead { max-width: 46ch; }
.hero-cta { display: flex; gap: 0.8rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 2.6rem; margin-top: 2.8rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); max-width: 620px; }
.hero-trust .stat b { font-size: 1.7rem; font-weight: 680; letter-spacing: -0.02em; display: block; line-height: 1; }
.hero-trust .stat span { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; display: block; }

/* Oculta el visual antiguo si quedara en el markup */
.hero-visual { display: none !important; }

/* ---------- Logos ---------- */
.logos { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; justify-content: center; }
.logos img { width: 24px; height: 24px; filter: grayscale(1) brightness(1.8); opacity: 0.5; }
.logos span { font-size: 0.82rem; color: var(--faint); letter-spacing: 0.02em; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface); box-shadow: var(--shadow); }

/* Producto */
.product { display: flex; flex-direction: column; }
.product-media {
  position: relative; aspect-ratio: 16/11; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-bottom: 1px solid var(--line);
}
.product-media img { width: 46px; height: 46px; filter: grayscale(1) brightness(1.85); opacity: 0.9; transition: transform 0.4s var(--ease); }
.card:hover .product-media img { transform: scale(1.08); }
.product-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.product-cat { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.product-name { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.product-meta { display: flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: var(--muted); }
.rate { color: var(--accent); letter-spacing: 0.04em; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.95rem; }
.price { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }
.price small { font-size: 0.7rem; color: var(--muted); font-weight: 500; }

/* Categoría */
.cat-card { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; min-height: 200px; }
.cat-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface-2); color: var(--accent); }
.cat-ico svg { width: 22px; height: 22px; }
.cat-card h3 { font-size: 1.25rem; }
.cat-card p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.cat-card .go { font-size: 0.84rem; color: var(--text); font-weight: 500; display: inline-flex; align-items: center; gap: 0.4rem; }
.card:hover .go svg { transform: translateX(4px); }
.go svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.feature { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.feature-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent); background: var(--surface-2); }
.feature-ico svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.12rem; }
.feature p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Testimonios ---------- */
.quote { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); display: flex; flex-direction: column; gap: 1rem; }
.quote p { font-size: 1rem; color: var(--text); line-height: 1.55; }
.quote-foot { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 0.9rem; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.quote-foot b { font-weight: 600; font-size: 0.9rem; }
.quote-foot span { font-size: 0.78rem; color: var(--muted); display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; background: none; border: 0; color: var(--text); text-align: left; font-size: 1.08rem; font-weight: 550; }
.faq-q .pm { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--muted); transition: transform 0.3s var(--ease), opacity 0.3s; }
.faq-q .pm::before { width: 13px; height: 1.5px; }
.faq-q .pm::after { width: 1.5px; height: 13px; }
.faq-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 0 1.35rem; color: var(--muted); max-width: 70ch; }

/* ---------- CTA ---------- */
.cta-band { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem); text-align: center; background: radial-gradient(120% 150% at 50% 0%, rgba(70, 78, 92, 0.18), transparent 62%), var(--surface); }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { margin: 0.7rem 0 0.9rem; }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 0 auto 1.9rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 0.8rem; max-width: 34ch; }
.footer-col h4 { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.9rem; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--muted); padding: 0.3rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--faint); }

/* ---------- Página producto ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-top: 2rem; }
.pd-media { position: sticky; top: 92px; aspect-ratio: 1/1; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); display: grid; place-items: center; border: 1px solid var(--line); }
.pd-media img { width: 34%; filter: grayscale(1) brightness(1.85); }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); padding: 1.5rem 0 0; }
.breadcrumb a:hover { color: var(--text); }
.pd h1 { margin: 0.6rem 0; }
.pd-price { font-size: 2.1rem; font-weight: 680; letter-spacing: -0.02em; margin: 1rem 0; }
.pd-row { display: flex; align-items: center; gap: 0.8rem; margin: 1.2rem 0; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.02); }
.qty button { width: 42px; height: 44px; background: none; border: 0; color: var(--text); font-size: 1.2rem; }
.qty button:hover { background: rgba(255, 255, 255, 0.06); }
.qty input { width: 46px; height: 44px; background: none; border: 0; color: var(--text); text-align: center; font: inherit; }
.pd-select { width: 100%; padding: 0.78rem 1rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); font: inherit; }
.pd-desc { margin-top: 1.7rem; padding-top: 1.7rem; border-top: 1px solid var(--line); color: var(--muted); }
.pd-desc ul { margin: 0.8rem 0 0 1.1rem; }
.pd-feats { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.4rem; }
.pd-feats span { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; color: var(--muted); }
.pd-feats svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Carrito ---------- */
.cart-grid { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: 1.5rem; align-items: start; padding-top: 1.5rem; }
.cart-item { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.cart-item .thumb { width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); display: grid; place-items: center; }
.cart-item .thumb img { width: 26px; filter: grayscale(1) brightness(1.85); }
.cart-item .info { flex: 1; }
.cart-item .info b { font-weight: 600; }
.summary { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); position: sticky; top: 92px; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; color: var(--muted); font-size: 0.92rem; }
.summary-row.total { color: var(--text); font-size: 1.35rem; font-weight: 650; border-top: 1px solid var(--line); margin-top: 0.6rem; padding-top: 1rem; }
.empty { text-align: center; padding: 4rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }

/* ---------- Auth ---------- */
.auth { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 2.5rem var(--gutter); }
.auth-card { width: min(430px, 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); padding: clamp(1.8rem, 4vw, 2.6rem); }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.auth-card .lead { font-size: 0.95rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.4rem; }
.field input { width: 100%; padding: 0.8rem 1rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); font: inherit; }
.field input:focus { outline: none; border-color: var(--accent); }
.auth-alt { margin-top: 1.2rem; font-size: 0.88rem; color: var(--muted); text-align: center; }
.auth-alt a { color: var(--text); font-weight: 500; }

/* ---------- Legal ---------- */
.legal { padding-top: 2rem; }
.legal .prose { max-width: 72ch; color: var(--muted); margin-top: 2rem; }
.legal .prose h2 { font-size: 1.35rem; color: var(--text); margin: 2rem 0 0.7rem; font-weight: 600; }
.legal .prose p { margin-bottom: 1rem; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text);
  padding: 0.7rem 1.1rem; border-radius: 10px; font-size: 0.9rem; z-index: 300;
  opacity: 0; transition: opacity 0.3s, transform 0.3s var(--ease); pointer-events: none; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: 1fr; }
  .pd, .cart-grid { grid-template-columns: 1fr; }
  .pd-media, .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero-mark { opacity: 0.05; width: 70vw; right: -18%; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav.open .nav-links { display: flex; position: absolute; top: 70px; left: var(--gutter); right: var(--gutter); flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.6rem; margin: 0; box-shadow: var(--shadow); }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 1.6rem; }
  .hero-mark { display: none; }
}
@media (max-width: 460px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .display { font-size: 2.7rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } [data-reveal] { opacity: 1; transform: none; } }

/* ================================================================
   v2 — RECUADROS REDISEÑADOS (todas las tarjetas) + MÓVIL
   ================================================================ */

/* --- Estilo unificado de recuadro --- */
.card, .feature, .quote {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
/* línea de luz superior */
.card::after, .feature::after, .quote::after {
  content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card:hover::after, .feature:hover::after, .quote:hover::after { opacity: 0.9; }
/* glow de esquina */
.card::before, .feature::before, .quote::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(340px 180px at 84% -12%, rgba(150, 165, 195, 0.16), transparent 70%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.card:hover::before, .feature:hover::before, .quote:hover::before { opacity: 1; }
.card:hover, .feature:hover, .quote:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
}

/* iconos circulares (features y categorías) */
.feature-ico, .cat-ico {
  width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 22%, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-2); color: var(--text);
}
.feature-ico svg, .cat-ico svg { width: 22px; height: 22px; }
.feature { padding: 1.9rem 1.7rem; gap: 0.9rem; }
.cat-card { padding: 1.85rem; }
.cat-card .go { color: var(--text); }

/* media del producto integrada con el recuadro */
.product-media { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)); }
.card:hover .product-media { background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)); }

/* --- Utilidades responsive --- */
.only-mobile { display: none; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  :root { --gutter: 1.1rem; }
  .only-desktop { display: none !important; }
  .nav { gap: 0.5rem; height: 62px; }
  .nav.open .nav-links .only-mobile { display: block; }
  .nav.open .nav-links .nav-cta-mobile { margin-top: 0.4rem; color: var(--text); font-weight: 600; border-top: 1px solid var(--line); padding-top: 0.9rem; }
  .site-header.scrolled + *, .nav { }
  .section { padding: 3rem 0; }
  .section-sm { padding: 2.2rem 0; }
  .hero { padding: 2.8rem 0 2.4rem; }
  .display { font-size: clamp(2.3rem, 11vw, 3.1rem); line-height: 1.02; }
  .lead { font-size: 1.02rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 1.4rem 2rem; margin-top: 2rem; padding-top: 1.5rem; }
  .hero-trust .stat b { font-size: 1.45rem; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 1.5rem 1.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .cta-band { padding: 2rem 1.3rem; }
  .pd-price { font-size: 1.8rem; }
}
@media (max-width: 440px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 0.9rem; }
  .product-media { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head .h2 { font-size: 1.8rem; }
}
