:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --bg-deep: #0e1a2b;
  --surface: #ffffff;
  --border: #dde3ea;
  --text: #14202e;
  --text-muted: #55636f;
  --text-invert: #eef3f8;
  --accent: #12557a;
  --accent-strong: #0d4260;
  --accent-soft: #e6f0f6;
  --radius: 10px;
  --maxw: 1120px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark { width: 36px; height: 36px; flex: 0 0 36px; }

.brand-name {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 15px;
  text-transform: uppercase;
  line-height: 1.2;
}

.brand-sub {
  display: block;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 26px; }

.nav a { color: var(--text-muted); text-decoration: none; font-size: 15px; }

.nav a:hover { color: var(--accent); }

.nav .btn { color: #fff; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: background 0.15s ease;
}

.btn:hover { background: var(--accent-strong); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 11px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  color: var(--text);
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, #0e1a2b 0%, #123048 60%, #12557a 100%);
  color: var(--text-invert);
  padding: 88px 0 96px;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fc3de;
  border: 1px solid rgba(143, 195, 222, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.18;
  font-weight: 700;
  max-width: 20ch;
}

.hero p.lead {
  margin: 0 0 32px;
  font-size: 19px;
  color: #c6d7e5;
  max-width: 64ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-actions .btn { background: #ffffff; color: #0e1a2b; border-color: #ffffff; }
.hero-actions .btn:hover { background: #dfeaf3; }

.hero-actions .btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-actions .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- stats ---------- */
.stats { background: var(--bg-alt); border-bottom: 1px solid var(--border); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat { background: var(--bg-alt); padding: 28px 22px; }

.stat b { display: block; font-size: 30px; line-height: 1.1; color: var(--accent); }

.stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--text-muted); }

/* ---------- sections ---------- */
section { padding: 76px 0; }

section.alt { background: var(--bg-alt); }

.section-head { max-width: 68ch; margin-bottom: 42px; }

.section-head .kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 10px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.25;
}

.section-head p { margin: 0; color: var(--text-muted); font-size: 17px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; gap: 44px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--text-muted); font-size: 15.5px; }

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg { width: 21px; height: 21px; }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

.pill-list li {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.check-list { list-style: none; margin: 0; padding: 0; }

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 16px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 15px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.step { position: relative; padding-top: 54px; }

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--text-muted); font-size: 15.5px; }

/* ---------- identity table ---------- */
.table-scroll { overflow-x: auto; }

.id-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }

.id-table th,
.id-table td {
  text-align: left;
  padding: 13px 6px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.id-table th { width: 44%; font-weight: 600; color: var(--text-muted); }

.id-table tr:last-child th,
.id-table tr:last-child td { border-bottom: 0; }

/* ---------- contact ---------- */
.contact-item { margin-bottom: 24px; }

.contact-item span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item strong {
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: #a9bccd;
  padding: 52px 0 28px;
  font-size: 14.5px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }

.site-footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #a9bccd; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: 13.5px;
  color: #8299ab;
}

/* ---------- legal pages ---------- */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 54px 0; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 34px); }
.page-head p { margin: 0; color: var(--text-muted); }

.prose { max-width: 76ch; }
.prose h2 { font-size: 20px; margin: 34px 0 12px; }
.prose p, .prose li { color: var(--text-muted); font-size: 16px; }
.prose ul { padding-left: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2, .steps, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 0; background: transparent; }
  .stat { border-bottom: 1px solid var(--border); }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 6px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { text-align: center; margin-top: 14px; border-bottom: 0; }
  .hero { padding: 62px 0 68px; }
  section { padding: 56px 0; }
}

/* ---------- focus vizibil (accesibilitate) ---------- */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #0d4260;
  outline-offset: 3px;
  border-radius: 4px;
}

.section-dark a:focus-visible,
.hero a:focus-visible,
.site-footer a:focus-visible {
  outline-color: #ffd166;
}

/* ---------- utilitare (fara style= inline, pentru CSP strict) ---------- */
.hl { color: #ffffff; font-weight: 600; }
.mt-0 { margin-top: 0; }
.mt-xl { margin-top: 64px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 18px; }
.mb-lg { margin-bottom: 26px; }
.muted { color: var(--text-muted); }
.footer-intro { margin: 0; max-width: 44ch; }
.footer-bottom.bare { border-top: 0; padding-top: 0; }
.hero.hero-full { min-height: 100vh; display: flex; align-items: center; }
.footer-legal-note { margin: 0 0 18px; color: #8299ab; font-size: 13.5px; }

/* ---------- preferinta de miscare redusa ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
