/* =====================================================================
   România Transparentă — bază: reset, tipografie, utilitare
   Depinde de tokens.css.
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--rt-bg);
  color: var(--rt-text);
  font-family: var(--rt-font);
  font-size: var(--rt-fs-body);
  line-height: var(--rt-lh-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--rt-s-4); }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--rt-navy); color: var(--rt-white); }

/* focus vizibil pentru tastatură, peste tot */
:focus-visible { outline: 2px solid var(--rt-focus); outline-offset: 2px; border-radius: 4px; }
.rt-dark :focus-visible { outline-color: var(--rt-focus-on-dark); }

/* ---------- tipografie ---------- */
.rt-display, .rt-h1, .rt-h2, .rt-h3 { color: var(--rt-text-strong); margin: 0; text-wrap: balance; }
.rt-display { font-weight: var(--rt-fw-black); font-size: var(--rt-fs-display); line-height: var(--rt-lh-tight); letter-spacing: var(--rt-ls-display); }
.rt-h1 { font-weight: var(--rt-fw-black); font-size: var(--rt-fs-h1); line-height: var(--rt-lh-tight); letter-spacing: -.015em; }
.rt-h2 { font-weight: var(--rt-fw-bold); font-size: var(--rt-fs-h2); line-height: 1.1; }
.rt-h3 { font-weight: var(--rt-fw-bold); font-size: var(--rt-fs-h3); line-height: var(--rt-lh-snug); }
.rt-lead { font-size: var(--rt-fs-lead); line-height: 1.5; max-width: 40em; }
.rt-small { font-size: var(--rt-fs-sm); }
.rt-muted { color: var(--rt-text-muted); }
.rt-kicker {
  display: inline-block; font-weight: var(--rt-fw-medium); font-size: var(--rt-fs-label);
  letter-spacing: var(--rt-ls-label); text-transform: uppercase; color: var(--rt-link);
}
.rt-num { font-weight: var(--rt-fw-black); font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1; color: var(--rt-text-strong); }
.rt-code { font-family: var(--rt-font-mono); font-size: max(13px, .875em); }
/* text de copiat (ex. un model de cerere): rândurile se rup, ca să încapă pe telefon */
.rt-code--text { display: block; white-space: pre-wrap; overflow-wrap: anywhere; padding: 20px; border-radius: var(--rt-r-lg); background: var(--rt-paper); line-height: 1.6; }

/* pe navy: titluri albe, eticheta galbenă (evidențiere permisă de brandbook) */
.rt-dark { background: var(--rt-surface-dark); color: var(--rt-text-on-dark); }
.rt-dark .rt-display, .rt-dark .rt-h1, .rt-dark .rt-h2, .rt-dark .rt-h3, .rt-dark .rt-num { color: var(--rt-text-on-dark); }
.rt-dark .rt-kicker { color: var(--rt-yellow); }
.rt-dark .rt-muted { color: var(--rt-text-on-dark-2); }

/* ---------- așezare ---------- */
.rt-container { width: 100%; max-width: calc(var(--rt-container) + 2 * var(--rt-gutter)); margin-inline: auto; padding-inline: var(--rt-gutter); }

/* ---------- utilitare de accesibilitate ---------- */
.rt-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rt-ic { display: inline-block; flex: none; width: 20px; height: 20px; vertical-align: middle; }
.rt-ic--16 { width: 16px; height: 16px; } .rt-ic--18 { width: 18px; height: 18px; } .rt-ic--22 { width: 22px; height: 22px; }
.rt-ic--24 { width: 24px; height: 24px; } .rt-ic--28 { width: 28px; height: 28px; } .rt-ic--32 { width: 32px; height: 32px; }
[hidden] { display: none !important; }
html.rt-lock { overflow: hidden; }   /* meniul de mobil deschis: pagina nu se derulează */
