/* ---------------------------------------------------------------------------
   registroviajeros.com — Archetype A: Advisory Briefing
   Single-column regulatory briefing. Inter only. Navy accent, hairline rules.
   --------------------------------------------------------------------------- */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-strong: #2b2b2b;
  --muted: #555555;
  --rule: #dcdcdc;
  --accent: #003a70;
  --accent-soft: #f4f7fb;
  --max-width: 760px;
  --pad-x: 24px;
  --pad-x-mobile: 16px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */

html {
  background: var(--bg);
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

.skip-link {
  background: var(--accent);
  color: #fff;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

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

a:hover {
  text-decoration-thickness: 2px;
}

/* ---------- Site header ---------- */

.site-header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--rule);
  padding-top: 28px;
  padding-bottom: 18px;
  margin-bottom: 48px;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--accent);
  display: block;
}

.site-header .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.site-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.site-title a {
  color: var(--accent);
  text-decoration: none;
}

.site-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.header-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
  text-align: right;
  line-height: 1;
}

/* ---------- Article shell ---------- */

main {
  display: block;
}

article#main {
  padding-bottom: 64px;
}

.article-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.3;
}

/* ---------- Headings ---------- */

h1 {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--accent);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--accent);
  margin: 44px 0 18px;
  letter-spacing: -0.005em;
}

h2 .num {
  display: inline-block;
  margin-right: 0.5em;
  color: var(--accent);
  font-weight: 600;
  opacity: 0.55;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-strong);
  margin: 28px 0 10px;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--text);
}

em {
  font-style: italic;
}

/* ---------- Executive summary ---------- */

.exec-summary {
  list-style: none;
  margin: 0 0 40px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}

.exec-summary li {
  padding: 8px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.exec-summary li + li {
  border-top: 1px solid var(--rule);
}

.exec-summary li strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 6px;
}

/* ---------- Sections ---------- */

.section {
  margin-top: 3rem;
}

.section ul,
.section ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.section li {
  margin-bottom: 6px;
}

.section li:last-child {
  margin-bottom: 0;
}

/* ---------- Data table ---------- */

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 15px;
}

.data-table thead th {
  text-align: left;
  font-weight: 600;
  color: var(--accent);
  padding: 10px 12px 10px 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--accent);
}

.data-table tbody td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--text);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-strong);
  width: 32%;
}

/* ---------- Key takeaway ---------- */

.key-takeaway {
  font-style: italic;
  color: var(--text-strong);
  border-left: 4px solid var(--accent);
  padding: 4px 0 4px 18px;
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- CTA block ---------- */

.cta-block {
  margin: 44px 0 0;
  padding: 28px 28px 30px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
}

.cta-block p {
  margin-bottom: 18px;
  color: var(--text-strong);
  font-size: 16px;
  line-height: 1.6;
}

.cta-block p:last-child {
  margin-bottom: 0;
}

.cta-link {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 11px 20px 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border-radius: 3px;
  transition: background 0.15s ease;
}

.cta-link::after {
  content: " →";
  margin-left: 4px;
}

.cta-link:hover {
  background: #002a55;
  text-decoration: none;
}

@media (max-width: 600px) {
  .cta-block {
    padding: 22px 20px 24px;
    margin: 36px 0 0;
  }
}

/* ---------- FAQ list (preguntas-frecuentes) ---------- */

ol.section.faq-list {
  list-style: none;
  padding: 0;
  counter-reset: faq;
}

ol.section.faq-list > li {
  counter-increment: faq;
  padding: 22px 0 22px;
  border-top: 1px solid var(--rule);
}

ol.section.faq-list > li:last-child {
  border-bottom: 1px solid var(--rule);
}

ol.section.faq-list > li::before {
  content: counter(faq, decimal-leading-zero);
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

ol.section.faq-list .q {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

ol.section.faq-list .q em {
  font-style: italic;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 64px;
  padding: 32px 0 40px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer ul a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer ul a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer .disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    padding-left: var(--pad-x-mobile);
    padding-right: var(--pad-x-mobile);
  }

  .site-header {
    padding-top: 22px;
    padding-bottom: 14px;
    margin-bottom: 36px;
  }

  .site-header::before {
    height: 6px;
  }

  .header-eyebrow {
    display: none;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 16px;
  }

  .data-table {
    font-size: 14px;
  }

  .data-table tbody td:first-child {
    width: 40%;
  }
}
