/* ============================================================
   Institutul pentru Ocupare și Dezvoltare a Forței de Muncă
   ============================================================ */

:root {
  --navy:        #1D4698;
  --navy-dark:   #143473;
  --navy-deep:   #0A255A;
  --gold:        #C9B872;
  --gold-strong: #C9A227;

  --blue:        #2050BE;
  --blue-dark:   #1A44A0;
  --green:       #347646;
  --green-dark:  #2A6039;
  --red:         #D9312E;
  --red-dark:    #B92826;
  --orange:      #E7722F;
  --orange-dark: #CC6224;

  --ink:         #1B2432;
  --ink-soft:    #46536B;
  --muted:       #6B7688;
  --line:        #DDE3EC;
  --bg:          #EBECF0;
  --white:       #FFFFFF;

  --radius:      14px;
  --shadow-sm:   0 2px 6px rgba(16,32,64,.07);
  --shadow:      0 6px 22px rgba(16,32,64,.10);
  --shadow-lg:   0 14px 38px rgba(16,32,64,.16);

  --serif: Georgia, 'Times New Roman', 'Liberation Serif', serif;
  --sans: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;

  --wrap: 1240px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #FBFCFE;
  position: relative;
  z-index: 30;
  padding: 14px 0 10px;
}

.header-actions {
  position: absolute;
  top: 14px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 40;
}

/* ── Bloc central: stema sus, textul dedesubt ── */
.brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

.brand-mark {
  display: block;
  width: 142px;
  margin: 0 auto 2px;
}
.brand-mark img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 2px 5px rgba(10,37,90,.12));
}

.brand-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 14.5px;
  letter-spacing: .15em;
  color: var(--navy-deep);
  text-transform: uppercase;
  font-weight: 700;
}
.brand-kicker::before,
.brand-kicker::after {
  content: "";
  width: 41px;
  height: 2px;
  background: var(--navy-deep);
  flex: 0 0 auto;
}

.brand-title {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: .005em;
  color: var(--navy-deep);
  text-transform: uppercase;
  margin: 3px 0 0;
  font-weight: 700;
}

.brand-rule {
  display: flex;
  width: 252px;
  height: 5px;
  margin: 8px auto 6px;
  border-radius: 3px;
  overflow: hidden;
}
.brand-rule i:first-child { flex: 1 1 62%; background: var(--navy); }
.brand-rule i:last-child  { flex: 1 1 38%; background: var(--gold); }

.brand-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--navy);
  margin: 0;
}

/* ── Acțiuni dreapta ── */
.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 2px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  height: 42px;
  width: 268px;
  transition: border-color .18s, box-shadow .18s;
}
.search-form:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(29,70,152,.12);
}
.search-form svg { flex: 0 0 auto; color: var(--muted); }
.search-form input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  color: var(--ink);
  font-size: 14.5px;
}
.search-form input::placeholder { color: #98A2B3; }

.auth-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.auth-link:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, transform .12s, box-shadow .18s;
  text-align: center;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy); background: #F4F7FD; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================================================
   NAVIGAȚIE
   ============================================================ */
.site-nav {
  background: var(--navy);
  position: relative;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(10,37,90,.18);
}
.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
  min-height: 46px;
  justify-content: center;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  font-size: 14px;
  font-weight: 600;
  color: #EAF0FB;
  position: relative;
  white-space: nowrap;
  transition: color .16s, background .16s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}
.nav-link .caret { opacity: .8; transition: transform .18s; }
.nav-item { position: relative; display: flex; }
.nav-item:hover .caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 50;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-dropdown a:hover { background: #F2F6FD; color: var(--navy); }

/* ── Meniu mobil ── */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 14px 18px;
  cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 118px;
  display: flex;
  align-items: center;
  background: #0A255A url('../img/hero.jpg') center right / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(8,28,66,.97) 0%,
      rgba(8,28,66,.95) 24%,
      rgba(8,28,66,.86) 40%,
      rgba(8,28,66,.55) 56%,
      rgba(8,28,66,.20) 74%,
      rgba(8,28,66,0) 92%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 12px 22px 13px;
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
}
.hero-title {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 700;
  color: #fff;
  max-width: 340px;
  margin: 0 0 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hero-rule {
  width: 62px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--gold);
  margin-bottom: 7px;
}
.hero-lead {
  color: #DCE6F7;
  font-size: 11.5px;
  line-height: 1.4;
  max-width: 330px;
  margin: 0;
}


/* ── Bara autentificare sub banner ── */
.auth-bar {
  background: #fff;
  border-bottom: 1px solid #E7EAF0;
}
.auth-bar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.auth-bar .auth-link { font-size: 14px; }
.auth-bar .btn { padding: 9px 18px; font-size: 14px; }

@media (max-width: 860px) {
  .auth-bar-inner { padding: 9px 16px; gap: 14px; }
  .auth-bar .auth-link { font-size: 13px; }
  .auth-bar .btn { padding: 8px 15px; font-size: 13px; }
}

/* ============================================================
   CARDURI
   ============================================================ */
.cards-section {
  padding: 26px 0 0;
  margin-top: -4px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.card-action {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card-action:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 14px 9px;
}
.card-icon {
  flex: 0 0 auto;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.card-icon svg { width: 17px; height: 17px; }
.card-title {
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
  margin: 1px 0 0;
}
.card-body {
  padding: 0 14px 10px;
  font-size: 11.6px;
  line-height: 1.42;
  color: var(--ink-soft);
  flex: 1 1 auto;
  overflow: hidden;
}
.card-photo {
  height: 76px;
  background-size: cover;
  background-position: center;
  flex: 0 0 76px;
  margin-top: auto;
}
.card-foot { padding: 0; }
.card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  transition: filter .18s;
}
.card-btn:hover { color: #fff; filter: brightness(1.08); }
.card-btn svg { flex: 0 0 auto; }

/* două butoane alăturate în card */
.card-foot-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.card-foot-split .card-btn {
  justify-content: center;
  padding: 9px 8px;
  font-size: 12px;
}
.card-foot-split .card-btn + .card-btn {
  border-left: 1px solid rgba(255, 255, 255, .35);
}
.card-foot-split .card-btn svg { display: none; }

/* variante de culoare */
.card-blue   .card-icon { background: var(--blue); }
.card-blue   .card-title { color: var(--blue); }
.card-blue   .card-btn { background: var(--blue); }

.card-green  .card-icon { background: var(--green); }
.card-green  .card-title { color: var(--green); }
.card-green  .card-btn { background: var(--green); }

.card-red    .card-icon { background: var(--red); }
.card-red    .card-title { color: var(--red); }
.card-red    .card-btn { background: var(--red); }

.card-orange .card-icon { background: var(--orange); }
.card-orange .card-title { color: var(--orange); }
.card-orange .card-btn { background: var(--orange); }

/* ============================================================
   BARĂ STATISTICI
   ============================================================ */
.stats-bar {
  background: #fff;
  margin-top: 22px;
  border-top: 1px solid #E7EAF0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 18px 22px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.stat {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 6px;
}
.stat-icon { flex: 0 0 auto; color: var(--navy); opacity: .9; }
.stat-icon svg { width: 30px; height: 30px; }
.stat-num {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}
.stat-label {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.3;
}

/* ============================================================
   CONȚINUT PAGINI INTERNE
   ============================================================ */
.page-head {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 34px 0;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: 32px;
  margin: 0 0 6px;
}
.page-head p { color: #C9D8F2; margin: 0; font-size: 15px; }
.breadcrumb {
  font-size: 13px;
  color: #A9BFE4;
  margin-bottom: 10px;
}
.breadcrumb a { color: #D6E2F7; }
.breadcrumb span { opacity: .6; margin: 0 6px; }

.section { padding: 34px 0; }
.section-white { background: #fff; }

.prose h2 {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--navy-deep);
  margin-top: 1.4em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; color: var(--navy); }

.panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 28px;
}
.panel + .panel { margin-top: 20px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ─── Formulare ─── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  transition: border-color .16s, box-shadow .16s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(29,70,152,.12);
}
.field .hint { font-size: 12.5px; color: var(--muted); }
.field .err { font-size: 12.5px; color: var(--red); font-weight: 600; }
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.checkbox-row input { width: auto; margin-top: 3px; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* ─── Notă GDPR (în panoul formularului) ─── */
.gdpr-note {
  margin: 0 0 20px;
  padding: 12px 16px;
  background: #F2F6FC;
  border-left: 3px solid var(--navy);
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #33415C;
}

/* ─── Badge securitate ─── */
.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #1E7A3C;
}
.secure-badge svg { flex: 0 0 auto; stroke-width: 2.2; }

/* Badge în banda albastră de titlu */
.page-head .secure-badge {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 18px auto 0;
  padding: 9px 20px 9px 15px;
  border-top: 0;
  border-radius: 999px;
  background: rgba(110, 231, 146, .16);
  border: 1px solid rgba(110, 231, 146, .45);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #A8F5BE;
}
.page-head .secure-badge svg { color: #A8F5BE; stroke-width: 2.3; }

/* ─── Alerte ─── */
.alert {
  border-radius: 10px;
  padding: 13px 16px;
  margin-bottom: 18px;
  font-size: 14px;
  border-left: 4px solid;
}
.alert-success { background: #EAF7EE; border-color: #2E7D45; color: #1D5C31; }
.alert-error   { background: #FDECEC; border-color: var(--red); color: #8E1F1D; }
.alert-info    { background: #EAF1FD; border-color: var(--navy); color: #143473; }
.alert-warn    { background: #FFF6E5; border-color: var(--orange); color: #8A4A16; }

/* ─── Liste / tabele ─── */
.table-wrap { overflow-x: auto; }
table.data {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
}
table.data th {
  background: #F4F7FC;
  text-align: left;
  padding: 11px 14px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
table.data td {
  padding: 12px 14px;
  border-bottom: 1px solid #EEF1F6;
  vertical-align: top;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: #FAFCFF; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge-blue   { background: #E5EDFC; color: var(--blue-dark); }
.badge-green  { background: #E6F3EA; color: var(--green-dark); }
.badge-red    { background: #FCE9E9; color: var(--red-dark); }
.badge-orange { background: #FDF0E6; color: #A8521B; }
.badge-gray   { background: #EEF1F6; color: var(--muted); }

/* ─── Layout contul meu ─── */
.cont-grid { grid-template-columns: 1fr 1.6fr; align-items: start; }
.cont-grid > * { min-width: 0; }
.cont-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
@media (max-width: 860px) {
  .cont-grid { grid-template-columns: 1fr; }
}

/* ─── Butoane zonă (România / Străinătate) ─── */
.zona-tabs {  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.zona-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background .16s, color .16s, border-color .16s, transform .12s;
}
.zona-tab svg { flex-shrink: 0; }
.zona-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-1px);
}
.zona-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.zona-tab.active:hover { background: var(--navy-dark); color: #fff; }

/* contor de oferte în buton */
.zona-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 11px;
  background: #EEF3FB;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
}
.zona-tab.active .zona-count {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

@media (max-width: 560px) {
  .zona-tabs { gap: 8px; }
  .zona-tab { flex: 0 1 auto; padding: 10px 15px; font-size: 13.5px; }
}

/* ─── Job cards ─── */
.job-list { display: grid; gap: 14px; }
.job-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow .18s, transform .18s;
}
.job-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.job-card h3 { font-size: 17px; margin: 0 0 5px; color: var(--navy-deep); }
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-excerpt { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ─── Empty state ─── */
.empty {
  text-align: center;
  padding: 46px 20px;
  color: var(--muted);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.empty svg { color: #C3CCDB; margin-bottom: 12px; }
.empty h3 { color: var(--ink-soft); font-size: 17px; }

/* ─── Pagination ─── */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager .current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: #B9C8E2;
  margin-top: 40px;
  font-size: 14px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.3fr;
  gap: 32px;
  padding: 40px 22px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 64px; flex: 0 0 auto; }
.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.footer-brand p { font-size: 13px; color: #93A7C9; margin: 0; }
.footer-col h4 {
  color: #fff;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #B9C8E2; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-contact li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  color: #B9C8E2;
}
.footer-contact svg { flex: 0 0 auto; margin-top: 2px; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 16px 22px;
  font-size: 12.5px;
  color: #8CA0C2;
}
.footer-bottom .wrap {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .nav-inner { padding-left: 150px; gap: 0; }
  .nav-link { padding: 0 12px; font-size: 13.5px; }
  .brand-title { font-size: 27.5px; }
  .brand-mark { width: 125px; }
  .brand-block { max-width: 720px; }
}

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .nav-inner { padding-left: 0; justify-content: flex-start; flex-wrap: wrap; }
  .brand-mark { width: 115px; }
  .brand-title { font-size: 25px; }
  .brand-block { max-width: 660px; }
  .hero-title { font-size: 26px; }
}

@media (max-width: 860px) {
  .site-header { padding: 10px 0 8px; }
  .header-actions {
    position: static;
    justify-content: center;
    padding: 0 0 8px;
    gap: 12px;
  }
  .header-actions .btn { padding: 7px 13px; font-size: 13px; }
  .auth-link { font-size: 13px; }
  .brand-block { padding: 0 12px; }
  .brand-mark { width: 101px; margin-bottom: 1px; }
  .brand-kicker { font-size: 12px; letter-spacing: .1em; gap: 8px; }
  .brand-kicker::before, .brand-kicker::after { width: 22px; height: 1.5px; }
  .brand-title { font-size: 18.5px; line-height: 1.14; margin-top: 2px; }
  .brand-rule { width: 168px; height: 4px; margin: 6px auto 5px; }
  .brand-tagline { font-size: 13px; }

  .hero {
    min-height: 90px;
    background-position: 72% center;
  }
  .hero-inner { padding: 10px 16px 11px; }
  .hero-title { font-size: 16px; max-width: 240px; margin-bottom: 5px; }
  .hero-rule { width: 44px; height: 2px; margin-bottom: 5px; }
  .hero-lead { font-size: 10.5px; line-height: 1.35; max-width: 250px; }

  /* Meniu scos definitiv pe mobil */
  .site-nav { display: none !important; }

  .hero { min-height: 90px; }
  .hero-title { font-size: 16px; }
  .hero-lead { font-size: 10.5px; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; }
}

@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; padding: 14px; }
  .footer-main { grid-template-columns: 1fr 1.35fr; gap: 12px 14px; padding: 18px 16px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer { margin-top: 22px; }
  /* Footer compact pe mobil */
  .footer-brand { gap: 11px; }
  .footer-brand img { width: 46px; }
  .footer-brand strong { font-size: 13.5px; line-height: 1.3; margin-bottom: 3px; }
  .footer-brand p { font-size: 12px; line-height: 1.35; }
  .footer-col h4 { font-size: 12px; margin: 0 0 7px; }
  .footer-col li { margin-bottom: 4px; }
  .footer-col a { font-size: 12.5px; }
  .footer-contact li { font-size: 11.5px; overflow-wrap: anywhere; }
  .footer-bottom { padding: 11px 16px; font-size: 11.5px; }
  .footer-bottom .wrap { gap: 6px; }
  .brand-mark { width: 91px; }
  .brand-title { font-size: 17px; }
  .brand-kicker { font-size: 11.5px; letter-spacing: .08em; }
  .brand-kicker::before, .brand-kicker::after { width: 17px; }
  .brand-tagline { font-size: 12.5px; }
  .brand-rule { width: 144px; height: 4px; }
  .hero-title { font-size: 18px; }
  .page-head h1 { font-size: 25px; }
  .panel { padding: 20px 18px; }
  .header-actions { flex-wrap: wrap; }
  .btn { padding: 10px 16px; }
}

/* ─── Print ─── */
@media print {
  .site-header, .site-nav, .site-footer, .stats-bar, .card-foot { display: none; }
  body { background: #fff; }
}

/* ============================================================
   MODAL CONTACT
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 28, 66, .55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 900;
}
.modal-backdrop[hidden] { display: none; }

.modal-box {
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(8, 28, 66, .35);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px 26px 22px;
  animation: modalIn .18s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.modal-box h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy-deep);
}
.modal-sub {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
}
.modal-close:hover { background: #F1F4F9; color: var(--navy-deep); }

/* notificare autentificare necesară */
.contact-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #FFF8E8;
  border: 1px solid #F2D48A;
  color: #6B4E00;
  font-size: 14px;
  line-height: 1.5;
}
.contact-notice[hidden] { display: none; }

/* pagină „autentificare necesară" */
.auth-gate-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #EEF3FB;
  color: var(--navy);
  border: 1px solid #D8E3F5;
}
.auth-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* pagina Contact: două coloane pe desktop, una pe mobil */
.contact-grid { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .modal-box { padding: 22px 18px 18px; }
  .modal-box h3 { font-size: 19px; }
}

/* ─── Pas 2: Finalizează înscrierea ─── */
.step2-intro {
  margin: 0 0 22px;
  padding: 14px 18px;
  background: #F2F6FC;
  border-left: 3px solid var(--navy);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #33415C;
}
.step2-h {
  margin: 26px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy-deep);
}
.step2-h:first-of-type { margin-top: 4px; }
.step2-h .req { color: var(--red); }
.step2-sub {
  margin: -6px 0 12px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Chenar semnătură */
.sign-wrap {
  position: relative;
  border: 2px dashed #C3D0E4;
  border-radius: 10px;
  background: #FBFCFE;
  overflow: hidden;
  touch-action: none;
}
.sign-wrap canvas {
  display: block;
  width: 100%;
  height: 260px;
  cursor: crosshair;
  touch-action: none;
}
.sign-wrap.signed, .sign-wrap:has(canvas.signed) { border-color: var(--navy); background: #fff; }
.sign-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  font-weight: 600;
  color: #A8B6CC;
  pointer-events: none;
  user-select: none;
}
.sign-placeholder.sign-ph-error { color: var(--red); }

@media (max-width: 640px) {
  .sign-wrap canvas { height: 190px; }
  .step2-h { font-size: 17px; }
}

/* ─── Gate ACCES COMPLET ─── */
.gate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 38px 34px 30px;
  text-align: center;
  box-shadow: 0 10px 34px rgba(16, 32, 64, .07);
}
.gate-icon { font-size: 44px; line-height: 1; margin-bottom: 14px; }
.gate-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.32;
  color: var(--navy-deep);
  margin: 0 0 20px;
}
.gate-free {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #EAF7EF;
  border: 1px solid #BFE5CD;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 15px;
  color: #1B6B3A;
  margin-bottom: 22px;
}
.gate-free-badge { font-size: 17px; }
.gate-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 26px;
}
.gate-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin: 0 0 28px;
}
.gate-step { display: flex; gap: 14px; align-items: flex-start; }
.gate-step-nr {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-step strong { display: block; font-size: 14.5px; color: var(--navy-deep); margin-bottom: 3px; }
.gate-step p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.gate-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.gate-back {
  display: inline-block;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
}
.gate-back:hover { color: var(--navy); }

/* ─── Semnătură canvas ─── */
.sig-wrap {
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  background: #FCFDFF;
  padding: 10px;
  position: relative;
}
.sig-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}
.sig-wrap .btn { margin-top: 8px; }

@media (max-width: 640px) {
  .gate-card { padding: 28px 20px 24px; }
  .gate-title { font-size: 21px; }
  .gate-free { font-size: 14px; padding: 11px 14px; }
  .gate-text { font-size: 14px; }
}

/* ─── Banner stare acces în cont ─── */
.acces-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFF8E6;
  border: 1px solid #F0DCA6;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.acces-banner-icon { font-size: 26px; line-height: 1; }
.acces-banner-text { flex: 1; min-width: 200px; }
.acces-banner-text strong { display: block; font-size: 15px; color: #7A5A12; margin-bottom: 3px; }
.acces-banner-text p { margin: 0; font-size: 13.5px; color: #8A6C28; }
.acces-banner-ok { background: #EAF7EF; border-color: #BFE5CD; }
.acces-banner-ok .acces-banner-text strong { color: #1B6B3A; }
.acces-banner-ok .acces-banner-text p { color: #2E7A4C; }
@media (max-width: 640px) {
  .acces-banner { padding: 14px 16px; gap: 12px; }
  .acces-banner .btn { width: 100%; text-align: center; }
}

.gate-icon { color: var(--navy); display: flex; justify-content: center; }
.gate-free svg { flex: 0 0 auto; }
.acces-banner-icon { color: #B8860B; display: flex; align-items: center; }
.acces-banner-ok .acces-banner-icon { color: #1B6B3A; }

.gate-free { margin-bottom: 26px; }
