/* parimatch-ar.ar — wayfinding light theme (forest + lime) */
:root {
  --bg: #FBFDF9;
  --surface: #FFFFFF;
  --surface-2: #F0F5EE;
  --line: #DCE5DB;
  --forest: #14532d;
  --forest-deep: #0C3B1F;
  --lime: #a3e635;
  --lime-soft: rgba(163, 230, 53, 0.18);
  --text: #1C2420;
  --text-2: #5B6961;
  --text-on-forest: #FBFDF9;
  --ok: #2F7D4F;
  --warn: #B7791F;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-w: 1080px;
  --radius: 8px;
  --radius-pill: 999px;
  --gap: clamp(16px, 2.5vw, 28px);
  --section-pad: clamp(44px, 7vw, 88px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

h1, h2, h3 { font-family: var(--font-head); color: var(--text); margin: 0 0 .6em; }
h1 { font-weight: 700; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.12; }
h2 { font-weight: 700; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; }
h3 { font-weight: 500; font-size: 1.2rem; }
p { margin: 0 0 1.1em; }

a { color: var(--forest); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--lime); text-decoration-thickness: 2px; }

:is(a, button, summary):focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--forest);
  display: block; margin-bottom: .5em;
}

/* ---- top bar (18+ / RG lightweight signal) ---- */
.topbar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
  color: var(--text-2);
}
.topbar .wrap { display: flex; align-items: center; gap: 10px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border: 2px solid var(--forest); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: .68rem; color: var(--forest);
  background: var(--surface); flex: none;
}
.topbar a { color: var(--forest); }

/* ---- header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: var(--gap);
  padding: 12px clamp(16px, 4vw, 32px);
  max-width: var(--max-w); margin: 0 auto;
}
.logo-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); flex-wrap: wrap; margin-left: auto; }
.nav-links a { font-size: .95rem; text-decoration: none; color: var(--text); }
.nav-links a:hover { color: var(--forest); box-shadow: inset 0 -2px 0 var(--lime); }
.nav-links a.nav-cta {
  background: var(--forest); color: var(--text-on-forest);
  padding: 8px 16px; border-radius: var(--radius); font-weight: 600;
}
.nav-links a.nav-cta:hover { background: var(--forest-deep); box-shadow: none; }
.nav-links a.nav-cta-line {
  border: 1px solid var(--forest); color: var(--forest);
  padding: 7px 15px; border-radius: var(--radius); font-weight: 600;
}
.nav-links a.nav-cta-line:hover { background: var(--lime-soft); box-shadow: none; }

/* ---- hero ---- */
.hero { padding: var(--section-pad) 0; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(circle 5px at 12% 22%, var(--lime) 40%, transparent 42%),
    radial-gradient(circle 5px at 78% 30%, var(--lime) 40%, transparent 42%),
    radial-gradient(circle 5px at 55% 78%, var(--lime) 40%, transparent 42%),
    linear-gradient(115deg, transparent 49.7%, var(--line) 49.7%, var(--line) 50.3%, transparent 50.3%);
}
.hero .wrap { position: relative; }
.hero .lede { font-size: 1.15rem; color: var(--text-2); max-width: 46em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  padding: 13px 26px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 0;
  transition: background .15s ease;
}
.btn-primary { background: var(--forest); color: var(--text-on-forest); }
.btn-primary:hover { background: var(--forest-deep); }
.btn-secondary { background: transparent; color: var(--forest); border: 1px solid var(--forest); }
.btn-secondary:hover { background: var(--lime-soft); }

/* ---- sections ---- */
.section { padding: calc(var(--section-pad) * .72) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--surface-2); }

/* ---- step chips (signature: square lime markers) ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.step-chip {
  flex: none; width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--lime); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
}
.step-item p { margin: 0; }

/* ---- tables ---- */
.table-scroll { overflow-x: auto; margin: 1.4em 0; }
table {
  border-collapse: collapse; width: 100%; min-width: 620px;
  background: var(--surface); font-size: .96rem;
}
thead th {
  background: var(--surface-2); text-align: left;
  font-family: var(--font-head); font-weight: 500;
  padding: 12px 14px; border-bottom: 2px solid var(--forest);
}
tbody td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
td img.pay-inline { height: 22px; width: auto; vertical-align: middle; margin-right: 8px; }

/* ---- payment row (in-content) ---- */
.pay-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 1.2em 0; }
.pay-row img {
  height: 34px; width: auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 5px 10px;
}

/* ---- FAQ ---- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; gap: 14px; align-items: baseline;
  padding: 16px 0; font-family: var(--font-head); font-weight: 500; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: ""; flex: none; width: 12px; height: 12px; border-radius: 3px;
  background: var(--lime); transform: translateY(-1px);
}
.faq details[open] summary::before { background: var(--forest); }
.faq details p { margin: 0 0 16px 26px; color: var(--text-2); }

/* ---- RG section ---- */
.rg-note {
  background: var(--surface); border-left: 4px solid var(--lime);
  border-radius: var(--radius); padding: 16px 20px; margin: 1.2em 0;
}

/* ---- footer ---- */
.site-footer {
  background: var(--surface-2); border-top: 1px solid var(--line);
  padding: calc(var(--section-pad) * .6) 0 28px; font-size: .92rem; color: var(--text-2);
}
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-bottom: 28px; }
.footer-cols h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; color: var(--forest); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-payments { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.footer-payments img {
  height: 30px; width: auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 9px;
}
.footer-legal { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 8px; }

/* ---- legal pages ---- */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.35rem; margin-top: 1.8em; }

/* ---- breakpoints ---- */
@media (max-width: 960px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav { flex-wrap: wrap; }
  .nav-links { margin-left: 0; width: 100%; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

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