/* gomezmonteiro.com.ar
   Marca propia en negro y amarillo, diseño solo oscuro (a propósito).
   Las maquetas de la tienda usan sus propias variables (--m-*): la tienda cambia de colores con cada cliente. */
:root {
  --bg: #0b0b0c;
  --surface: #141416;
  --raised: #1c1c1f;
  --ink: #f2f2f0;
  --muted: #9a9a96;
  --line: #2a2a2d;
  --yellow: #ffcc00;
  --yellow-ink: #0b0b0c;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  /* Tema de la tienda de ejemplo (la demo) */
  --m-primary: #6d4aff;
  --m-accent: #f5b301;
  --m-bg: #f6f6f9;
  --m-card: #ffffff;
  --m-ink: #15131d;
  --m-muted: #6b6878;
  --m-line: #e3e1ea;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--yellow-ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0; }
.hl { color: var(--yellow); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.eyebrow { font: 500 0.74rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--yellow); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--yellow); }
.mono { font-family: var(--font-mono); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--yellow-ink); padding: 8px 12px; border-radius: 6px; z-index: 20; }
.skip:focus { left: 8px; }

/* Barra superior */
header.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { font: 700 1.02rem/1 var(--font-sans); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo img { width: 32px; height: 32px; display: block; }
nav.links { display: flex; gap: 22px; font-size: 0.94rem; }
nav.links a { text-decoration: none; color: var(--muted); padding-block: 4px; border-bottom: 2px solid transparent; }
nav.links a:hover { color: var(--ink); }
nav.links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--yellow); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 8px; font: 600 0.96rem/1 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--yellow); color: var(--yellow-ink); }
.btn.primary:hover { background: #ffd83d; }
.btn.ghost { border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--yellow); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

section { padding-block: 76px; }
section[id] { scroll-margin-top: 64px; }
section + section { border-top: 1px solid var(--line); }
.stack { display: grid; gap: 18px; }
.chip { font: 500 0.8rem/1 var(--font-sans); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.chip.strong { border-color: var(--yellow); color: var(--yellow); }

/* ---------- Inicio ---------- */
.hero-me { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; padding-block: 88px 76px; }
.hero-me .stack { gap: 24px; }
.title-line { display: flex; flex-wrap: wrap; gap: 8px; }
.brandbox { aspect-ratio: 1; max-width: 100%; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; padding: 24px; }
.brandmark { display: grid; gap: 18px; justify-items: center; }
.brandmark .big { font: 600 clamp(4.5rem, 11vw, 7.5rem)/1 var(--font-mono); color: var(--ink); display: flex; align-items: baseline; letter-spacing: -0.02em; }
.brandmark .cursor { display: inline-block; width: 0.5em; height: 0.12em; background: var(--yellow); margin-left: 0.06em; }
.brandmark small { font: 500 0.78rem/1 var(--font-mono); letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) { .brandmark .cursor { animation: blink 1.1s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 36px; }
.product .stack { gap: 16px; }
.games { display: flex; flex-wrap: wrap; gap: 6px; }
.games span { font: 400 0.74rem/1 var(--font-mono); padding: 6px 8px; border-radius: 4px; background: var(--raised); color: var(--muted); }
.soon { color: var(--muted); font-size: 0.92rem; margin-top: 20px; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how div { display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--yellow); padding-top: 18px; }
.how p { color: var(--muted); }

/* ---------- Maquetas de la tienda (usan el tema de cada cliente) ---------- */
.mock { background: var(--m-bg); color: var(--m-ink); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 0.82rem; max-width: 100%; }
.mock .bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--m-line); background: var(--m-card); align-items: center; }
.mock .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--m-line); }
.mock .bar span { margin-left: 8px; font-family: var(--font-mono); color: var(--m-muted); font-size: 0.72rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock .storehead { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; background: var(--m-primary); color: #fff; font-weight: 600; font-size: 0.8rem; }
.mock .storehead em { font-style: normal; font-weight: 500; opacity: 0.85; font-size: 0.72rem; }
.mock .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; }
.card { background: var(--m-card); border: 1px solid var(--m-line); border-radius: 8px; padding: 8px; display: grid; gap: 6px; min-width: 0; }
.card .art { aspect-ratio: 63/88; border-radius: 5px; background: linear-gradient(160deg, color-mix(in srgb, var(--m-primary) 22%, var(--m-card)), var(--m-bg)); display: grid; place-items: end start; padding: 6px; }
.card .art b { font: 500 0.6rem/1 var(--font-mono); background: var(--m-card); padding: 3px 5px; border-radius: 3px; color: var(--m-muted); }
.card .nm { font-weight: 600; font-size: 0.76rem; line-height: 1.2; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card .meta { display: flex; justify-content: space-between; gap: 4px; font-size: 0.7rem; color: var(--m-muted); }
.card .price { font-weight: 600; color: var(--m-ink); font-variant-numeric: tabular-nums; }
.badge { font: 600 0.6rem/1 var(--font-sans); padding: 3px 6px; border-radius: 3px; background: var(--m-accent); color: #1a1400; }

/* ---------- /tcgstore ---------- */
.hero-prod { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding-block: 80px 76px; }
.hero-prod .stack { gap: 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 6px; }
.facts div { display: grid; gap: 4px; }
.facts b { font: 700 1.6rem/1 var(--font-sans); color: var(--yellow); font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: 0.84rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 36px; }
.feature { background: var(--surface); padding: 26px; display: grid; gap: 10px; align-content: start; }
.feature p { color: var(--muted); font-size: 0.94rem; }
.feature .ex { font: 400 0.74rem/1.5 var(--font-mono); color: var(--muted); background: var(--bg); border-radius: 6px; padding: 8px 10px; margin-top: 4px; }
.feature .ex em { font-style: normal; color: var(--yellow); }

.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.themes figure { margin: 0; display: grid; gap: 10px; min-width: 0; }
.themes figcaption { font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.themes figcaption i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.themes .grid { grid-template-columns: 1fr 1fr; }
.t-violet { --m-primary: #6d4aff; --m-accent: #f5b301; --m-bg: #f6f6f9; --m-card: #ffffff; --m-ink: #15131d; --m-muted: #6b6878; --m-line: #e3e1ea; }
.t-green { --m-primary: #1f7a4d; --m-accent: #ffb547; --m-bg: #f3f6f2; --m-card: #ffffff; --m-ink: #122016; --m-muted: #5f6d63; --m-line: #dfe7df; }
.t-red { --m-primary: #c42b2b; --m-accent: #ffd23f; --m-bg: #17161a; --m-card: #222026; --m-ink: #f3f1f4; --m-muted: #a5a1aa; --m-line: #34313a; }

.shots { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: 36px; }
.shot { display: grid; gap: 10px; min-width: 0; margin: 0; }
.shot figcaption { font-size: 0.85rem; color: var(--muted); }
.panel { padding: 14px; display: grid; gap: 10px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis div { background: var(--m-card); border: 1px solid var(--m-line); border-radius: 6px; padding: 10px; display: grid; gap: 2px; min-width: 0; }
.kpis b { font: 700 0.98rem/1.1 var(--font-sans); font-variant-numeric: tabular-nums; }
.kpis span { font-size: 0.66rem; color: var(--m-muted); }
.todo { background: var(--m-card); border: 1px solid var(--m-line); border-radius: 6px; padding: 10px; display: grid; gap: 6px; }
.todo div { display: flex; justify-content: space-between; gap: 8px; }
.todo b { font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: end; gap: 4px; height: 70px; background: var(--m-card); border: 1px solid var(--m-line); border-radius: 6px; padding: 10px; }
.bars i { flex: 1; background: var(--m-primary); opacity: 0.85; border-radius: 2px 2px 0 0; }
.phone { max-width: 260px; justify-self: center; width: 100%; border-radius: 24px; border: 6px solid var(--raised); }
.phone .grid { grid-template-columns: 1fr 1fr; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: grid; gap: 14px; align-content: start; }
.plan.featured { border-color: var(--yellow); }
.plan .tag { justify-self: start; font: 600 0.68rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; padding: 5px 8px; border-radius: 4px; background: var(--yellow); color: var(--yellow-ink); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 0.93rem; }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.plan li::before { content: "✓"; color: var(--yellow); font-weight: 700; }
.plan .ask { font: 500 0.95rem/1 var(--font-sans); color: var(--muted); }
.common { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.channels { display: grid; gap: 10px; }
.channel { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-decoration: none; }
.channel:hover { border-color: var(--yellow); }
.channel span { display: grid; gap: 2px; min-width: 0; }
.channel small { color: var(--muted); }
.channel .val { font-family: var(--font-mono); font-size: 0.85rem; overflow-wrap: anywhere; }
.channel .go { color: var(--yellow); font-weight: 600; white-space: nowrap; font-size: 0.9rem; }

footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: 0.86rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- 404 ---------- */
.notfound { padding-block: 120px; display: grid; gap: 20px; justify-items: start; }

@media (max-width: 860px) {
  .hero-me, .hero-prod, .product, .contact, .shots { grid-template-columns: 1fr; gap: 32px; }
  .features, .plans, .how, .themes { grid-template-columns: 1fr; }
  .brandbox { aspect-ratio: 16/10; }
  .product { padding: 22px; }
  section { padding-block: 56px; }
  nav.links { gap: 14px; font-size: 0.9rem; }
}
@media (max-width: 420px) {
  .mock .grid { grid-template-columns: 1fr 1fr; }
  .hero-prod .mock .grid .card:nth-child(n+5), .product .mock .grid .card:nth-child(3) { display: none; }
  .logo .full { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .channel, nav.links a { transition: border-color .15s, background-color .15s, color .15s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
