/* parimatchargentina.ar — hoja de estilos propia. Tema gris frío + acento violeta. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f2f4f7;
  --surface: #ffffff;
  --text: #1f2430;
  --muted: #5b6472;
  --accent: #6d28d9;
  --accent-deep: #5b21b6;
  --accent-tint: #ede9fe;
  --line: #d8dde6;
  --ok: #15803d;
  --warn: #b45309;
  --warn-bg: #fef3c7;
  --radius: 14px;
  --max: 1060px;
  --font: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

a { color: var(--accent-deep); }
a:hover { color: var(--accent); }

h1, h2, h3 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 2.8rem 0 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin: 1.8rem 0 0.7rem; }

p { margin: 0 0 1.05rem; }

/* ---------- Barra 18+ ---------- */
.agebar {
  background: var(--text);
  color: #e7eaf0;
  font-size: 0.82rem;
  padding: 7px 0;
}
.agebar .wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.age-badge {
  font-family: var(--mono);
  font-size: 0.78rem;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  padding: 1px 7px;
  flex: none;
}

/* ---------- Header / nav (variante N12: pills) ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.02rem;
}
.logo-mark img { display: block; border-radius: 8px; }
.logo-mark span em { font-style: normal; color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.nav-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.nav-pill:hover { background: var(--bg); color: var(--text); }
.nav-pill[aria-current="page"],
.nav-pill.is-active { background: var(--accent-tint); color: var(--accent-deep); }
.nav-pill.nav-cta { border-color: var(--accent); color: var(--accent-deep); }
.nav-pill.nav-cta:hover { background: var(--accent-tint); }
.nav-pill.nav-cta-solid { background: var(--accent); color: #fff; }
.nav-pill.nav-cta-solid:hover { background: var(--accent-deep); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(620px 300px at 88% -60px, var(--accent-tint) 0%, transparent 70%),
    linear-gradient(180deg, #eceef4 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.hero .kicker {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.hero p { max-width: 62ch; color: var(--text); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--accent);
  transition: background 0.15s, color 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--accent-deep); }
.btn-outline:hover { background: var(--accent-tint); color: var(--accent-deep); }

/* ---------- Main ---------- */
main { padding: 12px 0 56px; }
main section { margin-top: 3rem; }
main .lead { font-size: 1.06rem; }

/* ---------- .access-card ---------- */
.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 1.4rem 0;
}
.access-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.access-card .mini-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  background: var(--accent-tint);
  border-radius: 5px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 10px;
}
.access-card h3 { margin-top: 0.2rem; }
.access-card p:last-child { margin-bottom: 0; }

/* ---------- .flow-line (línea de vida vertical) ---------- */
.flow-line {
  list-style: none;
  margin: 1.6rem 0;
  padding: 0 0 0 6px;
  position: relative;
}
.flow-line::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--accent-tint);
  border-radius: 2px;
}
.flow-line > li {
  position: relative;
  padding: 0 0 1.6rem 56px;
  counter-increment: flow;
}
.flow-line > li:last-child { padding-bottom: 0.2rem; }
.flow-line > li::before {
  content: attr(data-step);
  position: absolute;
  left: 4px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-line h3 { margin: 0 0 0.4rem; }
.flow-line p { margin-bottom: 0; color: var(--muted); }

/* ---------- .note-safe (aviso de fuente segura) ---------- */
.note-safe {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 1.4rem 0;
}
.note-safe strong:first-child { color: var(--warn); }
.note-safe p:last-child { margin-bottom: 0; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; margin: 1.4rem 0; border-radius: var(--radius); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; background: var(--surface); font-size: 0.95rem; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--accent-tint); color: var(--accent-deep); font-weight: 600; white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }

/* ---------- Iconos de pago (fila en contenido) ---------- */
.pay-icons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 1.4rem 0;
}
.pay-icons img { height: 30px; width: auto; display: block; }

/* ---------- Checklist ordenada ---------- */
ol.checklist { padding-left: 1.3rem; }
ol.checklist li { margin-bottom: 0.6rem; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 600;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* ---------- Sección RG ---------- */
.rg-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.rg-section h2 { margin-top: 0; }

/* ---------- Etiqueta técnica mono ---------- */
.tech-label { font-family: var(--mono); font-size: 0.85em; background: var(--accent-tint); border-radius: 5px; padding: 1px 6px; color: var(--accent-deep); white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 34px 0 26px;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-nav { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent-deep); text-decoration: underline; }

.footer-payments {
  display: flex;
  gap: 12px 18px;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 18px;
}
.footer-payments label { display: inline-flex; align-items: center; }
.footer-payments img { height: 28px; width: auto; display: block; }

.footer-rg { display: flex; align-items: flex-start; gap: 12px; }
.footer-rg .age-badge { margin-top: 2px; }
.footer-rg p { margin: 0; font-size: 0.84rem; }

/* ---------- Documentos legales ---------- */
main.doc { padding-top: 38px; }
main.doc h1 { max-width: 24ch; }
main.doc h2 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); margin: 2.2rem 0 0.7rem; }
main.doc p, main.doc .table-wrap, main.doc .note-safe { max-width: 74ch; }
.doc-meta {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  border-left: 3px solid var(--accent-tint);
  padding-left: 10px;
  margin-bottom: 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .site-header .wrap { gap: 10px; }
  .nav-links { margin-left: 0; width: 100%; padding-bottom: 6px; }
  .nav-pill { padding: 6px 12px; font-size: 0.87rem; }
  .hero { padding: 40px 0 36px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  main.doc { padding-top: 26px; }
}

/* Capturas de pantalla del producto */
.captura-app{margin:2rem 0}
.captura-app img{display:block;width:100%;height:auto;border:1px solid var(--line,rgba(128,128,128,.32));border-radius:var(--radius,8px)}
.captura-app figcaption{margin-top:.55rem;font-size:.85rem;line-height:1.45;opacity:.72}
.captura-app-fila{display:flex;flex-wrap:wrap;gap:1.1rem;margin:2rem 0}
.captura-app-fila .captura-app{margin:0;flex:0 1 258px;max-width:258px}
