/* ============================================================================
   AEXA — Asociația Experților în Achiziții Publice
   ----------------------------------------------------------------------------
   PALETA ESTE AICI, ÎN :root. Schimbi 5 valori și se propagă în tot site-ul,
   inclusiv în logo și în ilustrații.
   ========================================================================== */

:root {
  /* --- Culori de brand ------------------------------------------------- */
  --brand:        #123252;   /* verde instituțional: nav, titluri, footer     */
  --brand-mid:    #1D5A8E;   /* verde mediu: linkuri, accente reci           */
  --brand-soft:   #E9F0F6;   /* fundal deschis, badge-uri                    */
  --accent:       #C6912E;   /* ocru: sigiliu, eyebrow, buton principal      */
  --accent-soft:  #F7EEDD;

  /* --- Neutre ---------------------------------------------------------- */
  --ink:          #152B22;
  --ink-muted:    #567467;
  --bg:           #FFFFFF;
  --bg-alt:       #F6FAF8;
  --line:         #E3EFEA;

  /* --- Tipografie ------------------------------------------------------ */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* --- Ritm ------------------------------------------------------------ */
  --maxw: 1180px;
  --gutter: 24px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(18,50,82,.06), 0 10px 28px rgba(18,50,82,.08);
  --shadow-lg: 0 2px 6px rgba(18,50,82,.07), 0 22px 48px rgba(18,50,82,.14);
  --section-y: 92px;
  --header-h: 78px;
}

/* ------------------------------------------------------------------ Bază */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: var(--brand-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.015em;
  color: var(--brand);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.15rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h1 em { font-style: normal; color: var(--accent); }

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

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.center { text-align: center; margin-top: 44px; }

.eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.lead { font-size: 1.1rem; color: var(--ink-muted); }
.fineprint { font-size: .86rem; color: var(--ink-muted); }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head--center { margin-inline: auto; text-align: center; }

.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .15s ease; }
.link-arrow:hover::after { margin-left: 4px; }

/* --------------------------------------------------------------- Logo */
.logo { height: 40px; width: auto; display: block; }
.seal-ring { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-dasharray: 92 34; stroke-linecap: round; }
.seal-disc { fill: var(--brand); }
.seal-a { fill: none; stroke: #fff; stroke-width: 2.3; stroke-linejoin: round; stroke-linecap: round; }
.seal-bar { stroke: var(--accent); stroke-width: 2.3; stroke-linecap: round; }
.logo__word { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: .04em; fill: var(--brand); }
.logo__tag { font-family: var(--font-body); font-size: 6.6px; font-weight: 600; letter-spacing: .17em; fill: var(--ink-muted); }

.site-footer .seal-disc { fill: #fff; }
.site-footer .seal-a { stroke: var(--brand); }
.site-footer .logo__word { fill: #fff; }
.site-footer .logo__tag { fill: #9FCAB7; }

/* --------------------------------------------------------------- Butoane */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-size: .97rem; font-weight: 600;
  padding: 14px 28px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 9px 18px; font-size: .88rem; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #0C402C; color: #fff; }
.btn--accent { background: var(--accent); color: #241703; }
.btn--accent:hover { background: #A9781F; color: #fff; }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn--on-brand { background: #fff; color: var(--brand); }
.btn--on-brand:hover { background: var(--brand-soft); color: var(--brand); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* --------------------------------------------------------------- Bara de sus */
.topbar {
  background: var(--brand-dark, #0D402D);
  background: #0D402D;
  color: #A9D6C2;
  font-size: .84rem;
}
.topbar__inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 42px; flex-wrap: wrap;
}
.topbar__contact { display: flex; gap: 20px; margin: 0; }
.topbar__contact a { color: #C9ECDC; text-decoration: none; }
.topbar__contact a:hover { color: #fff; text-decoration: underline; }

.lang { position: relative; margin-left: auto; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid rgba(255,255,255,.22);
  color: #DCF2E8; border-radius: 999px;
  padding: 5px 14px; font: inherit; font-size: .84rem; font-weight: 500;
  cursor: pointer; transition: background .16s, border-color .16s;
}
.lang__btn:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.4); }
.lang__btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.lang__caret {
  width: 0; height: 0; margin-left: 2px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.lang.is-loading .lang__btn { opacity: .6; pointer-events: none; }

.lang__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 80;
  width: 296px; max-width: calc(100vw - 32px);
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
}
.lang__panel input[type="search"] {
  width: 100%; font: inherit; font-size: .9rem;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
}
.lang__list {
  list-style: none; margin: 10px 0 0; padding: 0;
  max-height: 300px; overflow-y: auto; overscroll-behavior: contain;
}
.lang__group {
  font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); padding: 12px 8px 6px;
}
.lang__group:first-child { padding-top: 2px; }
.lang__opt {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: .92rem; color: var(--ink);
  padding: 8px 10px; border-radius: 7px;
}
.lang__opt:hover { background: var(--brand-soft); }
.lang__opt.is-active { background: var(--brand); color: #fff; font-weight: 600; }
.lang__orig { font-size: .78rem; color: var(--ink-muted); }
.lang__opt.is-active .lang__orig { color: #B7E2CF; }
.lang__empty, .lang__note {
  font-size: .82rem; color: var(--ink-muted); padding: 10px 8px 2px; margin: 0;
}
.lang__note { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.lang__status { font-size: .82rem; color: var(--accent); padding: 8px; margin: 0; }

/* Ascundem interfața implicită a Google — folosim propriul selector.
   Elementul trebuie să rămână în pagină, altfel traducerea nu pornește. */
#google_translate_element { position: absolute; left: -9999px; top: 0; height: 0; overflow: hidden; }
body { top: 0 !important; }
.skiptranslate iframe { display: none !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: block; text-decoration: none; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none;
  padding-block: 6px; border-bottom: 2px solid transparent;
}
.nav__list a:hover { color: var(--brand-mid); }
.nav__list a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--accent); font-weight: 600; }
.header-cta { margin-left: 4px; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); margin-inline: auto; position: relative;
}
.nav-toggle span::before { content: ""; position: absolute; top: -6px; }
.nav-toggle span::after { content: ""; position: absolute; top: 6px; }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; background: var(--brand); color: #E6F7F0; padding-block: clamp(64px, 8vw, 104px); }
.hero__bg { position: absolute; inset: 0; opacity: .30; pointer-events: none; }
.hero__bg svg { width: 100%; height: 100%; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .eyebrow { color: #E8C377; }
.hero__lead { font-size: 1.14rem; color: #C4E9D8; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__proof {
  display: flex; flex-wrap: wrap; gap: 38px; list-style: none; margin: 52px 0 0; padding: 28px 0 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__proof strong { display: block; font-family: var(--font-display); font-size: 1.45rem; color: #fff; }
.hero__proof span { font-size: .84rem; color: #A6D9C2; }
.hero__art { margin: 0; }

/* --------------------------------------------------------------- Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__art { order: 2; }
.split--tight { gap: 48px; align-items: center; }
.split__art { margin: 0; }
.split__art svg, .hero__art svg, .card__art svg { width: 100%; height: auto; display: block; }

.checklist { list-style: none; margin: 24px 0 0; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--ink-muted); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .52em; width: 15px; height: 15px;
  border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 4px #fff;
}
.section--alt .checklist li::before { box-shadow: inset 0 0 0 4px var(--bg-alt); }

/* --------------------------------------------------------------- Carduri */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #CEE4DA; }
.card__art { background: var(--brand-soft); padding: 22px 22px 0; }
.card__body { padding: 22px 24px 26px; }
.card__body h3 { margin-bottom: 8px; }
.card__body h3 a { color: var(--brand); text-decoration: none; }
.card__body h3 a:hover { color: var(--accent); }
.card__body p { color: var(--ink-muted); font-size: .95rem; }

/* --------------------------------------------------------------- Bandă */
.band { background: var(--brand); color: #C9ECDC; }
.band h2 { color: #fff; }
.band .eyebrow { color: #E8C377; }

/* --------------------------------------------------------------- Valori */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  border-top: 3px solid var(--accent);
}
.value__num { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.value h3 { margin: 8px 0 8px; }
.value p { color: var(--ink-muted); font-size: .95rem; }

/* ------------------------------------------------- Etape (proces secvențial) */
.steps { list-style: none; counter-reset: pas; margin: 0; padding: 0; max-width: 820px; }
.steps li {
  counter-increment: pas;
  position: relative;
  padding: 0 0 30px 66px;
  border-left: 2px solid var(--line);
  margin-left: 21px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(pas, decimal-leading-zero);
  position: absolute; left: -22px; top: -4px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .04em;
}
.steps h3 { margin-bottom: 6px; font-size: 1.08rem; }
.steps p { color: var(--ink-muted); font-size: .96rem; }
.section--alt .steps li { border-left-color: #DAEAE3; }

/* --------------------------------------------------------------- Notă laterală */
.callout {
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg); padding: 30px 34px; background: #fff;
}
.callout h2 { font-size: 1.25rem; margin-bottom: 6px; }
.callout p { color: var(--ink-muted); font-size: .96rem; max-width: 560px; }

/* --------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; gap: 20px; text-align: left;
  background: none; border: 0; cursor: pointer; padding: 24px 4px;
  font-family: var(--font-display); font-size: 1.13rem; font-weight: 600; color: var(--brand);
}
.faq__sign { margin-left: auto; flex: 0 0 20px; position: relative; height: 20px; margin-top: 2px; }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; left: 2px; top: 9px; width: 16px; height: 2px;
  background: var(--accent); transition: transform .2s;
}
.faq__sign::after { transform: rotate(90deg); }
.faq__item.is-open .faq__sign::after { transform: rotate(0deg); }
.faq__a { display: none; padding: 0 4px 26px; max-width: 720px; color: var(--ink-muted); }
.faq__item.is-open .faq__a { display: block; }

/* --------------------------------------------------------------- CTA */
.cta { background: var(--brand); color: #C9ECDC; }
.cta__inner { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: space-between; }
.cta h2 { color: #fff; max-width: 560px; }
.cta p { max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- Page head */
.page-head { background: var(--brand); color: #C9ECDC; padding-block: 56px 60px; }
.page-head h1 { color: #fff; }
.page-head > .wrap > p { max-width: 660px; font-size: 1.06rem; }
.page-head .eyebrow { color: #E8C377; }
.crumbs { font-size: .84rem; color: #9FD3BC; margin-bottom: 18px; }
.crumbs a { color: #C9ECDC; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-head__jump { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.page-head__jump a {
  display: inline-block; font-size: .85rem; color: #DCF3E8; text-decoration: none;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 14px;
}
.page-head__jump a:hover { background: rgba(255,255,255,.12); color: #fff; }
.page-head__meta { display: flex; align-items: center; gap: 8px; margin-top: 22px !important; font-size: .9rem; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #4FBF7B; display: inline-block; }

/* --------------------------------------------------------------- Noutăți */
.news-toolbar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); padding-block: 15px;
}
.news-toolbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.section--news { padding-block: 44px var(--section-y); }
.news-count { font-size: .88rem; color: var(--ink-muted); margin-bottom: 22px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-muted);
  border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .88rem; font-weight: 500;
  cursor: pointer; transition: all .16s;
}
.chip:hover { border-color: var(--brand-mid); color: var(--brand-mid); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip__count { opacity: .7; margin-left: 6px; font-size: .82em; }

.search-field { margin-left: auto; position: relative; flex: 1 1 240px; max-width: 330px; }
.search-field input {
  width: 100%; font: inherit; font-size: .92rem; padding: 10px 14px 10px 38px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.search-field input:focus { border-color: var(--brand-mid); }
.search-field svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; stroke: var(--ink-muted); fill: none; stroke-width: 2;
}

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 22px;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #CEE4DA; }
.news-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; }
.tag { border-radius: 5px; padding: 4px 9px; }
.tag--ro { background: var(--accent-soft); color: #8A5F14; }
.tag--eu { background: var(--brand-soft); color: var(--brand); }
.tag--intl { background: #E9F0F6; color: #16456F; }
.news-card__date { margin-left: auto; color: var(--ink-muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.news-card h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; line-height: 1.42; margin-bottom: 10px; letter-spacing: 0; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--brand-mid); text-decoration: underline; }
.news-card p { font-size: .91rem; color: var(--ink-muted); margin-bottom: 16px; }
.news-card__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; font-size: .83rem; color: var(--ink-muted);
}
.news-card__foot a { margin-left: auto; font-weight: 600; text-decoration: none; }
.news-card--pinned { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }

.news-state {
  grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: var(--radius-lg);
  padding: 56px 24px; text-align: center; color: var(--ink-muted);
}
.news-state strong { display: block; color: var(--ink); font-size: 1.06rem; margin-bottom: 6px; }

.skeleton { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.skeleton div {
  height: 12px; border-radius: 4px; margin-bottom: 10px;
  background: linear-gradient(90deg, #EEF6F3 25%, #F8FCFA 50%, #EEF6F3 75%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite linear;
}
.skeleton div:nth-child(1) { width: 40%; }
.skeleton div:nth-child(3) { width: 85%; }
.skeleton div:nth-child(4) { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.load-more { display: flex; justify-content: center; margin-top: 44px; }
.sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-bottom: 26px; }
.source-item { border-left: 3px solid var(--accent); padding-left: 16px; }
.source-item strong { display: block; font-size: .95rem; color: var(--brand); }
.source-item span { font-size: .87rem; color: var(--ink-muted); }

/* --------------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 64px; align-items: start; }
.form { margin-top: 28px; }
.form__row { margin-bottom: 18px; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form input, .form select, .form textarea, .admin-blocklist textarea, .admin-github input {
  width: 100%; font: inherit; font-size: .95rem; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink);
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand-mid); }
.form__consent { display: flex; gap: 11px; align-items: flex-start; margin: 22px 0; }
.form__consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; }
.form__consent label { font-weight: 400; font-size: .89rem; color: var(--ink-muted); margin: 0; }
.form__note { margin-top: 16px; font-size: .82rem; color: var(--ink-muted); }
.form__error {
  background: #FBEAEA; color: #8A2020;
  border-radius: var(--radius); padding: 13px 16px; margin-bottom: 20px;
  font-size: .92rem;
}
/* Câmp-capcană: invizibil pentru oameni, completat de roboți. */
.form__trap { position: absolute; left: -9999px; top: 0; height: 0; overflow: hidden; }
.form code { background: var(--bg-alt); padding: 1px 5px; border-radius: 4px; font-size: .92em; }

.contact-side { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 32px; }
.contact-side h2 { font-size: 1.3rem; }
.contact-side h3 { margin-top: 28px; font-size: 1rem; }
.contact-list { margin: 0; }
.contact-list dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 16px; }
.contact-list dd { margin: 3px 0 0; font-style: normal; }
.side-note { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.side-note p { font-size: .9rem; color: var(--ink-muted); }
.social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: .9rem; }
.social--stack { flex-direction: column; gap: 8px; }

/* ------------------------------------------------- Moduri de contact */
.contact-ways { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.contact-way {
  display: flex; align-items: center; gap: 18px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 24px; background: #fff; text-decoration: none;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
a.contact-way:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-way--static { background: var(--bg-alt); }
.contact-way__icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-soft); display: grid; place-items: center;
}
.contact-way__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-way__text { font-size: .92rem; color: var(--ink-muted); line-height: 1.5; }
.contact-way__text strong {
  display: block; font-family: var(--font-display); font-size: 1.14rem; font-weight: 700;
  color: var(--brand); letter-spacing: -.01em; margin-bottom: 2px;
}

/* --------------------------------------------------------------- Prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 42px; font-size: 1.4rem; }
.prose ul { color: var(--ink-muted); padding-left: 22px; }
.prose li { margin-bottom: 8px; }

/* --------------------------------------------------------------- Admin */
.page-head--admin { background: #152B22; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.admin-panel {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 20px;
}
.switch { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch > span:first-of-type {
  flex: 0 0 46px; width: 46px; height: 26px; border-radius: 999px; background: #C7DCD3;
  position: relative; transition: background .18s; margin-top: 2px;
}
.switch > span:first-of-type::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: transform .18s;
}
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.switch__text { font-size: .9rem; color: var(--ink-muted); }
.switch__text strong { display: block; color: var(--ink); font-size: .95rem; }

.admin-bulk { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.admin-blocklist, .admin-github { margin-top: 22px; }
.admin-blocklist summary, .admin-github summary { cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--brand); padding: 6px 0; }
.admin-blocklist > div, .admin-blocklist > p { margin-top: 14px; }
.admin-github {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 24px; margin-bottom: 20px;
}
.admin-github > *:not(summary) { margin-top: 14px; }

.admin-save {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 24px; margin-bottom: 20px;
}
.admin-save strong { display: block; font-size: .95rem; }
.admin-save.is-dirty { border-color: var(--accent); background: var(--accent-soft); }
.admin-save__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.admin-message { border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; font-size: .92rem; }
.admin-message.is-ok { background: #E8F2EC; color: #245239; }
.admin-message.is-err { background: #FBEAEA; color: #8A2020; }

.admin-list { display: flex; flex-direction: column; gap: 12px; }
.admin-item {
  border: 1px solid var(--line); border-left: 4px solid var(--line);
  border-radius: var(--radius); background: #fff; padding: 18px 20px;
}
.admin-item[data-status="approved"] { border-left-color: #4FBF7B; }
.admin-item[data-status="rejected"] { border-left-color: #D08B8B; opacity: .68; }
.admin-item[data-status="pending"] { border-left-color: var(--accent); }
.admin-item__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; margin-bottom: 10px; }
.admin-item h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; color: var(--ink); }
.admin-item h3 a { color: inherit; text-decoration: none; }
.admin-item h3 a:hover { color: var(--brand-mid); text-decoration: underline; }
.admin-item p { font-size: .9rem; color: var(--ink-muted); margin-bottom: 12px; }
.admin-item__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-item__edit { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.admin-item__edit input, .admin-item__edit textarea {
  width: 100%; font: inherit; font-size: .9rem; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px;
}
.badge { border-radius: 5px; padding: 3px 8px; background: var(--brand-soft); color: var(--brand); }
.badge--pin { background: var(--accent-soft); color: #8A5F14; }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--brand); color: #A9D6C2; padding-block: 66px 30px; font-size: .93rem; }
.site-footer a { color: #DCF2E8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-list { list-style: none; margin: 0; padding: 0; font-style: normal; }
.footer-list li, .footer-list p { margin: 0 0 9px; }
.footer-brand p { max-width: 340px; margin-top: 18px; color: #9FCDB8; }
.brand--footer { display: inline-block; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 26px; font-size: .85rem; color: #88BBA5; }

/* --------------------------------------------------------------- Ilustrații */
[data-art] svg { display: block; }
.art-ink { stroke: var(--brand); }
.art-fill-soft { fill: var(--brand-soft); }
.art-fill-brand { fill: var(--brand); }
.art-accent { stroke: var(--accent); }
.art-accent-fill { fill: var(--accent); }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 1120px) {
  .nav__list { gap: 20px; }
  .nav__list a { font-size: .91rem; }
  .header-cta { display: none; }
}

@media (max-width: 1000px) {
  :root { --section-y: 66px; }
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { display: none; }
  .split--reverse .split__art { order: 0; }
  .cards, .values, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar__contact { display: none; }
  .topbar__inner { justify-content: flex-end; min-height: 38px; }
  .lang { margin-left: 0; }
  .logo { height: 34px; }
  .nav-toggle { display: block; }
  .site-header__inner { position: relative; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 20px; box-shadow: var(--shadow);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .header-cta { display: none; }
  .cards, .values, .news-grid, .form__two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-toolbar { position: static; }
  .search-field { max-width: none; margin-left: 0; }
  .hero__proof { gap: 24px; }
  .contact-side { padding: 24px; }
  .admin-save { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .news-toolbar, .load-more, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .hero, .page-head, .band, .cta { background: #fff !important; color: #000 !important; }
  .hero h1, .page-head h1, .band h2, .cta h2 { color: #000 !important; }
}


/* ------------------------------------------- Articol arhivat: nota de datare */
.nota-arhiva {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 32px;
  font-size: .93rem;
  color: #6B4A10;
}
.nota-arhiva strong { display: block; margin-bottom: 4px; color: #4A330A; }
.nota-arhiva--veche { border-left-color: #B4512A; background: #FBEDE7; color: #7A3517; }
.nota-arhiva--veche strong { color: #5E2811; }

/* --------------------------------------------------------- Corpul articolului */
.articol { max-width: 760px; }
.articol__meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-size: .88rem; color: var(--ink-muted); margin-bottom: 28px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.articol__corp { font-size: 1.02rem; line-height: 1.75; }
.articol__corp h2 { font-size: 1.45rem; margin-top: 36px; }
.articol__corp h3 { font-size: 1.18rem; margin-top: 28px; }
.articol__corp img { border-radius: var(--radius); margin: 24px 0; height: auto; }
.articol__corp table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .92rem; }
.articol__corp td, .articol__corp th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.articol__corp blockquote {
  margin: 24px 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent); color: var(--ink-muted);
}
.articol__etichete { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.articol__etichete a {
  display: inline-block; font-size: .82rem; color: var(--ink-muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 13px; margin: 0 6px 8px 0; text-decoration: none;
}
.articol__etichete a:hover { border-color: var(--brand); color: var(--brand); }

.vecini { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.vecini a {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; text-decoration: none; color: var(--ink);
}
.vecini a:hover { border-color: var(--brand); }
.vecini span { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
@media (max-width: 720px) { .vecini { grid-template-columns: 1fr; } }

.index-litere { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.index-litere a { border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; text-decoration: none; font-size: .9rem; }
.an-grup { margin-bottom: 40px; }
.an-grup h2 { font-size: 1.5rem; border-bottom: 2px solid var(--accent); padding-bottom: 8px; display: inline-block; }
.an-lista { list-style: none; padding: 0; margin: 18px 0 0; }
.an-lista li { padding: 7px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; }
.an-lista time { flex: 0 0 108px; color: var(--ink-muted); font-size: .88rem; }
