/* Pauloro — hoja de estilos única. Sin fuentes web ni frameworks: carga mínima. */
:root {
  --brand: #0f3d5e;
  --brand-2: #1a6a8f;
  --accent: #c9a227;
  --ink: #1b2430;
  --muted: #5b6776;
  --bg: #ffffff;
  --bg-soft: #f3f6f9;
  --line: #dbe2e9;
  --ok: #1d7a46;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--brand-2); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; color: var(--brand); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* ---------- Cabecera ---------- */
.header { background: var(--brand); color: #fff; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.logo span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a {
  color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 999px;
  font-weight: 500; font-size: .95rem;
}
.nav a:hover, .nav a:focus-visible { background: rgba(255,255,255,.14); }
.nav a[aria-current="page"] { background: var(--accent); color: var(--brand); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; padding: 56px 0 64px; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero p { max-width: 60ch; font-size: 1.1rem; opacity: .92; }
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 36px 0 28px; }
.page-head p { color: var(--muted); max-width: 65ch; margin: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius); border: 0;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--brand);
}
.btn:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Secciones ---------- */
section { padding: 56px 0; }
section.soft { background: var(--bg-soft); }
.lead { color: var(--muted); max-width: 65ch; margin-top: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 16px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}

/* ---------- Formularios ---------- */
.form-layout { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 800px) { .form-layout { grid-template-columns: 1fr; } }
form.card { padding: 26px; }
.fields { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; border-color: var(--brand-2); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: 5px; }
.hint { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.form-msg { margin-top: 14px; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #b3261e; }
.aside h3 { margin-top: 0; }
.aside ul { padding-left: 18px; color: var(--muted); }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: #c7ced6; padding: 36px 0; font-size: .92rem; }
.footer .wrap { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer a { color: #fff; }
.footer strong { color: #fff; }
.footer p { margin: 4px 0; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding-top: 16px; grid-column: 1 / -1; color: #8d97a3; }
