/* Reputados — web pública. Canon Bóveda: Manrope, navy, teal. */
:root {
  --navy: #0a2540;
  --teal: #00d4a4;
  --ink: #0a2540;
  --ink2: #334155;
  --ink3: #64748b;
  --ink4: #94a3b8;
  --bg: #fafbfc;
  --white: #ffffff;
  --line: #e2e8f0;
  --line-soft: #e8ecf4;
  --section: #eef1f5;
  --ok-bg: #eefaf3;
  --ok-fg: #008635;
  --sh: 0 1px 2px rgba(10, 37, 64, 0.04), 0 14px 34px -20px rgba(10, 37, 64, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
a { color: var(--navy); }

header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 251, 252, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
header.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); text-decoration: none; }
.brand span { color: var(--teal); }
nav.menu { display: flex; gap: 22px; margin-left: auto; align-items: center; }
nav.menu a { font-size: 14px; font-weight: 500; color: var(--ink2); text-decoration: none; }
nav.menu a:hover { color: var(--navy); }
.btn {
  display: inline-block; border-radius: 999px; padding: 10px 22px;
  font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em;
}
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: #0e3055; }
.btn.ghost { border: 1px solid var(--line); color: var(--ink2); }

.hero { padding: 88px 0 64px; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 54px); font-weight: 300; letter-spacing: -0.03em;
  line-height: 1.12; margin: 0; max-width: 17ch; text-wrap: balance;
}
.hero h1 b { font-weight: 700; }
.hero p.lede { font-size: 18px; color: var(--ink2); max-width: 56ch; margin: 22px 0 0; }
.hero .cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }

h2.sec {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink3); margin: 0 0 22px;
}
section { padding: 56px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 26px; box-shadow: var(--sh);
}
section.alt .card { background: var(--bg); box-shadow: none; }
.card h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.card p { font-size: 14px; color: var(--ink2); margin: 0; }
.card .dot { width: 10px; height: 10px; border-radius: 99px; background: var(--teal); display: inline-block; margin-bottom: 14px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.step::before {
  content: counter(s); display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 10px; background: var(--navy); color: var(--teal);
  font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.step h3 { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.step p { font-size: 13.5px; color: var(--ink2); margin: 0; }

.notice {
  background: var(--ok-bg); border-radius: 14px; padding: 18px 22px;
  font-size: 14px; color: var(--ink2); margin-top: 22px;
}
.notice b { color: var(--ok-fg); }

footer { padding: 44px 0 56px; border-top: 1px solid var(--line-soft); }
footer .cols { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
footer p, footer a { font-size: 13px; color: var(--ink3); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Páginas legales */
main.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
main.legal h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
main.legal p.date { color: var(--ink3); font-size: 13.5px; margin: 0 0 34px; }
main.legal h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 36px 0 10px; }
main.legal h3 { font-size: 15.5px; font-weight: 600; margin: 24px 0 8px; }
main.legal p, main.legal li { font-size: 15px; color: var(--ink2); }
main.legal ul { padding-left: 22px; }
main.legal table { border-collapse: collapse; width: 100%; font-size: 14px; }
main.legal th, main.legal td { text-align: left; border-bottom: 1px solid var(--line-soft); padding: 9px 12px 9px 0; vertical-align: top; color: var(--ink2); }
main.legal th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink3); }
