/* ar-parimatch.ar — charcoal + amber, panel de operaciones */
:root {
  --bg: #1f2937;
  --surface: #273449;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #f59e0b;
  --accent-deep: #d97706;
  --accent-tint: #78350f;
  --line: #374151;
  --ok: #34d399;
  --warn: #fbbf24;
  --warn-bg: #3b2f14;
  --radius: 10px;
  --max: 1100px;
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: 2.1rem; margin: 0 0 1rem; }
h2 { font-size: 1.55rem; margin: 2.6rem 0 1rem; padding-top: .4rem; border-top: 2px solid var(--accent-tint); }
h3 { font-size: 1.15rem; margin: 1.8rem 0 .7rem; }

p { margin: 0 0 1.1rem; }

a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

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

/* ---------- top bar (18+ + RG one-liner) ---------- */
.agebar {
  background: #111827;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: .78rem;
  color: var(--muted);
}
.agebar .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.badge-18 {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--warn);
  border-radius: 50%;
  color: var(--warn);
  font-weight: 700;
  font-size: .72rem;
}

/* ---------- header / nav (variante N9) ---------- */
.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: 22px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.logo-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark img { height: 38px; width: auto; display: block; }
.logo-mark span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: .02em;
}

ul.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
ul.nav-links li { margin: 0; }
ul.nav-links a {
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
}
ul.nav-links a:hover { background: var(--bg); color: var(--accent); }
ul.nav-links a.nav-cta {
  background: var(--accent);
  color: #1f2937;
  margin-left: 6px;
}
ul.nav-links a.nav-cta:hover { background: var(--accent-deep); color: #1f2937; }
ul.nav-links a.nav-cta-out {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  margin-left: 4px;
}
ul.nav-links a.nav-cta-out:hover { background: var(--accent-tint); color: var(--warn); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, #273449 0%, #1f2937 70%);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 2.6rem;
}
.hero p.lead { font-size: 1.06rem; color: var(--muted); max-width: 760px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6rem; }

.btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--radius);
  display: inline-block;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #1f2937; }
.btn-primary:hover { background: var(--accent-deep); color: #1f2937; }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent-tint); color: var(--warn); }

/* ---------- main content ---------- */
main { padding: 1.6rem 0 3rem; }
main .wrap { max-width: 860px; }

/* circuit-steps — banda horizontal de 3 etapas (firma del sitio) */
.circuit-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 1.8rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.circuit-steps > div {
  flex: 1;
  padding: 18px 18px 16px;
  position: relative;
  border-left: 1px solid var(--line);
}
.circuit-steps > div:first-child { border-left: 0; }
.circuit-steps .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: #1f2937;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 8px;
}
.circuit-steps strong { font-family: var(--font-head); display: block; margin-bottom: 4px; }
.circuit-steps p { font-size: .9rem; color: var(--muted); margin: 0; }

/* pay-row — fila de método con icono */
.pay-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.pay-row:last-child { border-bottom: 0; }
.pay-row img {
  flex: none;
  width: 110px;
  height: 34px;
  object-fit: contain;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 4px 8px;
}
.pay-row strong { font-family: var(--font-head); font-weight: 600; display: block; }
.pay-row p { margin: 2px 0 0; font-size: .95rem; color: var(--muted); }

/* icon strip inside content sections */
.icon-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1rem 0 1.4rem;
}
.icon-strip img {
  height: 34px;
  width: auto;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 4px 10px;
}

/* stage-owner chips */
.stage-owner {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 1px 10px;
  white-space: nowrap;
}

/* note-plazo */
.note-plazo {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px;
  margin: 1.2rem 0;
  font-size: .95rem;
}
.note-plazo p { margin: 0; }

/* tables */
.table-scroll { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .95rem; }
thead th {
  background: var(--accent-tint);
  color: var(--warn);
  font-family: var(--font-head);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
}
tbody td {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
tbody td img.cell-icon {
  height: 26px;
  width: auto;
  background: #f3f4f6;
  border-radius: 4px;
  padding: 3px 6px;
  vertical-align: middle;
  margin-right: 8px;
}

/* RG section */
.rg-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 1.4rem 0;
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 0 0 1.1rem; margin-bottom: 1.1rem; }
.faq-item h3 { margin-top: 0; }

/* inline CTA band */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--accent-tint);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cta-band p { margin: 0; font-family: var(--font-head); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer {
  background: #111827;
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 2.4rem;
  font-size: .9rem;
  color: var(--muted);
}
.site-footer nav { margin-bottom: 1rem; }
.site-footer nav a { color: var(--muted); margin-right: 18px; }
.site-footer nav a:hover { color: var(--accent); }

aside.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 1rem 0;
}
aside.footer-payments img {
  height: 30px;
  width: auto;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 4px 10px;
}

.footer-legal { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 1rem; }
.footer-legal .badge-18 { width: 34px; height: 34px; font-size: .78rem; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  table { min-width: 560px; }
}

@media (max-width: 740px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  ul.nav-links { margin-left: 0; }
  .circuit-steps { flex-direction: column; }
  .circuit-steps > div { border-left: 0; border-top: 1px solid var(--line); }
  .circuit-steps > div:first-child { border-top: 0; }
  .pay-row { flex-direction: column; gap: 8px; }
}

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